youngmon/atlassian-qna huggingface dataset:
LONG upgrade time from 3.5.17 > 4.3.1
Asked by Paul Anderson:

The upgrade process from 3.5.17 to 4.3 worked with little delay. When we went to finally do our upgrade 4.3.1 was out and I decided to upgrade to it instead. During the upgrade process all 20,000+ user objects from LDAP where added to confluence. Why did this functionality change? Only users that are a member of certain groups should be added to confluence. We did not have this problem with 4.3. In the past it seems that users where only added to confluence on initial login.

The upgrade took about 4 hours instead of the 5-10 minutes it took when upgrading to 4.3.


Answers:
author: Amalia
body: This is a bug in Confluence 4.3.1 due to the new upgrade task recently introduced in this version. Here's the detailed bug report for this <https://jira.atlassian.com/browse/CONF-26742>


Tags: ldap
Active Directory sync doesn't import nested groups correctly and throws GroupNotFoundException
Asked by JuliaL:

There are two major problems:

1. We have nested groups. But although we checked the option in Confluence, the sync throws Exceptions at several groups:

```
2012-09-17 14:46:20,311 WARN QuartzScheduler_Worker-10 atlassian.crowd.directory.DbCachingRemoteChangeOperations addGroupMembershipsForGroup Could not add child group A to parent group B . One or both groups was not foundcom.atlassian.crowd.exception.GroupNotFoundException: Group A does not existat com.atlassian.confluence.user.crowd.CachedCrowdGroupDao.findGroup(CachedCrowdGroupDao.java:86)at com.atlassian.confluence.user.crowd.CachedCrowdGroupDao.findByName(CachedCrowdGroupDao.java:104)at com.atlassian.crowd.directory.AbstractInternalDirectory.findGroupByName(AbstractInternalDirectory.java:556)...
```

2. There is one Group which has about 1200 members. If we add a user in AD, it will not be synced with Confluence. So new users can't access Confluence until we add them manually.

We use Micosoft Active Directory with \~70,000 users, \~50,000 groups and \~400,000 memberships. Users that actively use Confluence are about 18,000.


Answers:
author: Bruna Griebeler
body: Make sure that you have nested groups enabled on your LDAP configuration in Crowd, although the groups that are inside other groups, will not be imported.

Cheers!


Tags: active-directory

crowd

nested-group
Canon Therefore and Confluence
Asked by Frode Haugland:

Do you have any experience with automated export from Canon Therefore into Confluence?


Answers:
author: AlysonA
body: Hi Frode,

I tried researching for Canon Therefore but I couldn't find enough information that would give me a good picture of whether it works with Confluence or not. Can you provide further info on what this "tool" is meant for so we can try to provide a better help here?

comments: author: Frode Haugland
body: This is the most descriptive link: <http://www.canon-europe.com/For_Work/Solutions/Solutions/Office_Software/Therefore/>

It is a document control and handling system. What we are looking for is a good way of exporting a working document within this database solution directly to Conflunence, like a publish service
Random undocumented confluence plugin dependencies causing upgrade nightmare
Asked by JamieA:

OK this is more of a rant than a question.

I'm preparing the confluence upgrade and spending hours of pain with plugins problems. If you use a plugin, you will get an immediate benefit, but you are just borrowing pain from destiny that will be paid back at some random time, at around the rate of ten times the benefit. And I include my own plugins in this.

Here's my latest problem. If you disable the jira-connector plugin, this causes the keyboard shortcuts to fail, but only when in edit mode. Why? I'm not exactly sure, but I saw in the code that it includes a hack for a problem with the jira-connector macro, so it probably tries to set some global variable that the other plugin sets, or uses a selector that assumes the other plugin's presence.

The source editor icon also fails to appear. My problem is, logically there is no connection between disabling the jira-connector plugin and either of these other plugins failing. The javascript error or stack trace is not revealing at all. To debug it in the traditional sense you need to go through the 91k lines in batch.js.

Anyway getting to even understand the fix involved hours of binary chopping, let alone working out what the root cause is, which I leave to someone else.

I had a similar but not as painful problem with another plugin that was stomping on an xwork package name.

How do other people deal with this? Or is it just shizzle that one must go through? Or do you stay well away from upgrades and let other people handle it first?


Answers:
author: JamieA
body: Here's another couple of dependencies/interactions just discovered today:

The {survey} macro breaks the {toc}

The Kwik notes plugin removes whitespace between a \<strong\> and an \<em\> html element.


author: skorzinetzki
body: This is the main problem. Installing plugins runs well, easy, yeah. But planning an upgrade is a pain with a mess of installed plugins. So the best advice is always: keep your installation of whatever system as close to the standard as possible...


author: JamieA
body: I would like to do that but I don't see how I can, it would leave thousands of pages broken. Also we have 10k active users rather than dozens.

The problem is, for most plugins, once you install it, it's forever.


author: Jozef Kotl?r
body: We are going the same way setting up 4.2 instead of 3.5. Having dozen of active users, we took shortcut way - uninstalled all plugins, upgraded, reconsidered our needs and installed back just a bare minimum...

... and will see.


Tags: confluence-app

upgrade
Upgrade from 3.3.3 to 3.5.17 fails with Oracle-DB
Asked by Andre Lehmann:

Hi,

to stay in support we want to upgrade to 3.5 (and this version we also have to upgrade if we upgrade to 4.x later).

I made all custom changes (server.xml, setenv.sh, atlassian-user.xml) and started the new Confluence-Version.

The upgrade stops with an db-error.

I will attach the complete Log-file

Kind regards

Andr?


Answers:
author: Andre Lehmann
body: Answer from Atlassian Support:

```
This is due to a dependency in the database that the upgrade is trying to apply. It is a foreign key constraint on the BODYCONTENT table - the CONTENTID field must reference an entry in the CONTENT table. You'll see this error when there are BODYCONTENT entries with CONTENTIDs that do not exist in the CONTENT table. These two tables are used to hold page information.What you'll need to do is firstly do some backups of your database and file system, just in case anything goes wrong, then run some SQL queries against the oracle database:select * from BODYCONTENT where CONTENTID not in (select CONTENTID from CONTENT);This should give you some results. It is safe to delete them by running this command:delete from BODYCONTENT where BODYCONTENTID = &lt;the bodycontentid value from the above query&gt;;Don't worry that you'll be losing pages by the way - this is orphaned corrupt data that we're removing. Once that's done the constraint should be successfully added to the database during the upgrade, which will mean these kinds of orphans can't happen again.
```


author: Gerin Abraham
body: I had this same issue when doing a Confluence 3.5 to 5.0.3 upgrade. Ran the above SQLs to resolve this and proceed with the upgrade. Thank You !


author: Andre Lehmann
body: ```
2012-09-27 08:30:58,331 ERROR [main] [hibernate.tool.hbm2ddl.SchemaUpdate] execute Unsuccessful: alter table BODYCONTENT add constraint FKA898D4778DD41734 foreign key (CONTENTID) references CONTENT2012-09-27 08:30:58,332 ERROR [main] [hibernate.tool.hbm2ddl.SchemaUpdate] execute ORA-02298: cannot validate (CONFLUENCE.FKA898D4778DD41734) - parent keys not found2012-09-27 08:30:58,333 ERROR [main] [hibernate.tool.hbm2ddl.SchemaUpdate] execute could not complete schema updatejava.sql.SQLIntegrityConstraintViolationException: ORA-02298: cannot validate (CONFLUENCE.FKA898D4778DD41734) - parent keys not foundCaused by: java.sql.SQLIntegrityConstraintViolationException: ORA-02298: cannot validate (CONFLUENCE.FKA898D4778DD41734) - parent keys not found
```


Tags: oracle

update
Customising the email notification
Asked by Selcuk Savas:

Dear All,

We are planning to use email notification soon.

Is it possible to edit look and feel of the email that users receives?

How I can do it?

Any help will be highly appreciated it.

Regards,

Selcuk


Answers:
author: Vishwajeet Singh
body: You would need to edit existing email templates

comments: author: Selcuk Savas
body: Hi Vishwajeet,

I am very new in Confluenece. Where I can find the email template?

Cheers,

Selcuk


author: Vishwajeet Singh
body: This article would help you <https://confluence.atlassian.com/display/DOC/Customising+the+eMail+Templates>
Plugin upgrade and enabling issue
Asked by Selcuk Savas:

Dear All,

I did upgrade Widget Connector plugin but after a while it appears on the Upgrade list as well.

In the mean time CustomWare Tracking and linking plugins became disable and I cannot enable them.

I tried to uninstall them all and reinstall, funny enough, it gave me v. 2.0.2 for widget connector instead of 2.0.3 which is the latest version.

Any toughts?

Cheers,

Selcuk


Answers:
author: Amalia
body: You can try removing the plugin manually from the database <https://confluence.atlassian.com/display/DOC/Removing+Malfunctioning+Plugins>

After that, [clear plugin cache](https://confluence.atlassian.com/display/CONFKB/How+to+Clear+Confluence+Plugins+Cache) and try to install the plugin again


author: Nic Brough -Adaptavist-
body: What does the log file say?
Confluence shut down, can't restart, how to remove plug-in manually
Asked by Kevin Buchs:

For some reason, our 3.5.1 instance stopped responding this afternoon sometime before 2pm. When we restart it, it responds briefly but then stops responding. We found one message related to a plug-in, but our attempts to uninstall the plug-in during the brief response period are failing (because it stops responding).

Here are some error messages from the log that we have been working with:

2012-09-26 16:59:24,402 ERROR Thread-1 confluence.conveyor.config.ConveyorConfigurationProvider addPackageOverride An action with the specified name already exists in the 'pages' package: checkforscaff; net.customware.confluence.plugin.scaffolding.actions.RedirectEditAction

2012-09-26 16:59:24,402 ERROR Thread-1 confluence.conveyor.config.ConveyorConfigurationProvider addPackageOverride An action with the specified name already exists in the 'pages' package: alteditpage; com.atlassian.confluence.pages.actions.EditPageAction

I can attach the latest log file, but clearly I need more to get the full picture and right now I have to wait on my sys admin to get those to me.

Can I manually uninstall the plug-in? Can you give me the procedure?


Answers:
author: SimonS
body: Hi Kevin,

You should be able to dig into the Confluence home directory and remove the jar files associated with the plugin to get it gone for now.

Check out this page:

<https://confluence.atlassian.com/display/DOC/Removing+Malfunctioning+Plugins>

Let us know the answer here if this works for you.

\*forgot to mention that you will need full system access for these instructions.

-Simon

comments: author: Kevin Buchs
body: Yes, this worked along with deeper measures of re-aligning the build # in the dB and the home directory and setting both to be consistent with the content. It was a real mess!
How do I see who made changes on the space admin page?
Asked by Chris Flynn:

Someone changed the theme on one of our spaces and I would like to know who made the change. Is there anywhere I can see this information from Confluence? We are using version 4.1.4.


Answers:
author: AlysonA
body: Hi Chris,

Unless you turned on user access logging I believe there isn't a way to pinpoint the one who changed the theme.

However, considering that in order to change a theme within a space you need to be a space admin, you can check with all space admins from this specific space to find out who's responsible for it.

Hope it helps!

comments: author: Chris Flynn
body: Thank you very much for the help. Luckily we are small enough that I could go around and ask the admins. It is good to know if we start having real issues we can turn on "user access logging" too.
Is there a Read-Only role that can be add to a group that is not a user and is not Anonymous Access?
Asked by John Parente:

All,

I am designing a client-facing wiki using confluence and I've run into a snag. Is possible to create a role for an external client that is not included in the Can Use global permission (and thus does not suck up a User seat) but can be included in specific Groups?

I know that was confusing so I'll try and explain my problem in detail. I produce technical (API) documentation that is written for clients who develop their applications on different platforms (e.g. Java, .NET, C, etc). The design that I came up with for the client-facing wiki uses a combination of the Include+ macro, the Show If macro, Groups, Permissions, and Restrictions to hide pages and blocks of text in the wiki so the client only sees the information that is pertinent to their own use case. For example, a client that writes programs using Java does not need to see information related to the .NET and C programming languages, so that client is currently set up as a user and is added to a group that can view the Java specific information and nothing else (keep in mind I'm over simplyfying the model the reader's sake).

The problem is that every time we bring on a new client, we will need to burn another User seat. I would be okay with that if the client was going to use Confluence to its fullest potential, but the client only needs Read-Only access to Confluence. I can't just utilize the Anonymous Access role because I need to hide information from client to client based on use case. If anyone has a viable solution, I would love to hear about it.

Thanks,

John


Answers:
author: John Parente
body: There is no apparent way to accomplish what I want to do using Confluence. Each unique user is tied to a User License. There is no way to give a unique user read-only access to Confluence without using up a User License.


author: David at David Simpson Apps
body: Hmm. It sounds like you want to create a fully fledged Confluence user, but without exceeding your licensed number of users.

There are likely 2 choices here:

* Swallow the extra cost of a bigger license
* Remove old clients from the can use global permissions

If one doesnt work, you'll have to try the other.


Tags: read-only
Can't create a user who is part of confluence-admin group for Confluence and a basic user for JIRA
Asked by Raphael Allegre:

I want to be the Admin of Confluence and a basic user of JIRA.

We didn't manage to do that. So far I can only be part of the administrator group for both JIRA and Confluence or part of the user group.

<br />


Answers:
author: Jeison
body: Hi Raphael,

The user must be part of the "users" group to have access to the instance. What you can do then is grant him administrator permissions inside Confluence Global Permissions.

Go to **administration** , click on the **wiki** tab, then **global permissions** . Add this user as "**individual user**" and set his permissions exactly as the "andministrators" permissions. Now you have a basic user of JIRA who have administrator permissions for Confluence.

Also, please note that the group "Confluence-admin" is not for customer use, as stated in the documentation <https://confluence.atlassian.com/display/AOD/Default+groups+and+permissions+in+Atlassian+OnDemand>

Hope it helps!

Cheers.


Tags: cloud
Is it possible to be part of confluence-administrators for Confluence and part of users group in JIRA?
Asked by Raphael Allegre:

We (BonitaSoft) just purchased JIRA and Confliuence On-Demand and we would like to create a user that is part of confluence-administrators for Confluence and a "basic" user in JIRA?

We didn't manage to do so. The only way is to be part of the admin group for both JIRA and COnfluence...

Thanks for your support.

Raphael ALLEGRE

[raphael.allegre@bonitasoft.com](mailto:raphael.allegre@bonitasoft.com)


Answers:
author: Jeison
body: Answered in [https://answers.atlassian.com/questions/90583/can-t-create-a-user-who-is-part-of-confluence-admin-group-for-confluence-and-a-basic-user-for-jira?page=1#90609](/questions/90583/can-t-create-a-user-who-is-part-of-confluence-admin-group-for-confluence-and-a-basic-user-for-jira?page=1#90609)


Tags: cloud

confluence-cloud
Content Auto Formatting - OFF
Asked by MPal Pal:

Confluence does something really annoying, which is auto formatting my content. It is very hard to manage.

When I export to PDF, it takes some areas which are "paragraph" as "heading 3".

Is there a way to switch this feature off please?

Thanks


Answers:
author: HosseinA
body: Hi,

It may be late, but you may try the following:

Navigate to user profile \> Settings \> (From the left side bar) Editor

Then press Edit and "Disable Autoformatting".


author: MPal Pal
body: Hi Simon,

Is there a way to turn off the rich text formatting? Even when I edit content in confluence it sometimes puts linebreaks and stuff as it wishes.

comments: author: SimonS
body: Afraid not - the rich text/WYSIWYG editor can't be turned off while editing. There are quirks and bugs we are working on - hopefully it will improve over time.

You can always edit the source diectly with the Source Editor plugin, but it is tougher than the rich text editor:

<https://marketplace.atlassian.com/plugins/com.atlassian.confluence.plugins.editor.confluence-source-editor>


author: SimonS
body: Hi MPal,

I don't think you can turn the feature off per-se, but you can override the PDF styling when you export:

<https://confluence.atlassian.com/display/DOC/Customising+Exports+to+PDF>

-Simon


Tags: content

export

format
can't download Excel files that have plus signs in the file name from Confluence
Asked by Mick Davidson:

Good afternoon,

We can't download spreadsheets that have plus signs in the file name. For example:

* details_of_financial_results_for_Jan+Feb+March_2012.xlsx

We've had this problem twice now with two different files.

The resolution is to remove all the plus signs, then re-attach the file.

I can't see anything on this as a bug, has anybody got any ideas why this happens?

Cheers,


Answers:
author: Jeison
body: Hey Mick,

Have a look at those bug reports:

<https://jira.atlassian.com/browse/CONF-4602>

<https://jira.atlassian.com/browse/CONF-4503>

<https://jira.atlassian.com/browse/CONF-4460>

<https://jira.atlassian.com/browse/CONF-5193>

Please let us know how it goes.

Cheers!

comments: author: Mick Davidson
body: Jeison,

thanks for the info. These certainly relate to this issue, but I think this is the most recent version of this problem:

<https://jira.atlassian.com/browse/CONF-22338> (Thanks to Tony in Amsterdam for this link.)

It's a known bug, so I'll close this question.

Cheers.


author: David at David Simpson Apps
body: Rename the file without the "+" characters.


Tags: file

ms-excel
How to display JIRA dashboards in Confluence?
Asked by v:

As the jiraportlet macro has been deprecated in the newer versions, is it still possible to display JIRA dashboards in Confluence?


Answers:
author: Jobin Kuruvilla [Adaptavist]
body: Follow this: <https://confluence.atlassian.com/display/DOC/Adding+JIRA+Gadgets+to+a+Confluence+Page>
Migration of dashboards from portlet to gadget
Asked by S?b P.:

Hi all,

I'm migrating from Jira v3.13.5 to Jira v5.1 and I have an issue with the migration of my users' dashboards. I have an old custom plugin that display a portlet in the dashboard of most of my users. I have upgraded that old plugin to make it use the new gadget API, and the whole works like a charm.

But after the migration of data from v3 to v4 and to v5, all my dashboards that were using the portlet/gadget display the following error: "invalid/legacy/portlet/Please_remove_this_gadget_from_your_dashboard"

How could I migrate my users' configuration to use the new gadget and keep theire settings? What is the expected procedure to do this? I really can't tell my 500+ users to manually adapt their setting for all of their dashboards...

Any idea? Thanks!

PS : I didn't change my portlets/gadgets keys in the config...


Answers:
author: Wojciech Seliga
body: I guess you need to write a plugin upgrade task - <https://confluence.atlassian.com/display/JIRA/Writing+a+Plugin+Upgrade+Task+for+JIRA+4.0> (this link actually as a sample upgrade task describes the process of converting portlet config to gadget).

To make it harder - Portlet-specific classes were removed in JIRA 5.0, so if you use them (and not manipulate DB directly) you would need to do the upgrade in 2 phases - so that your plugin upgrade task runs in 4.x first before eventually being used in 5.0.

comments: author: S?b P.
body: After some tests I was able to make it work :)

Thanks!


Tags: data

gadget

migration

user
Is there a limit on the amount of memory i can storage for my OnDemand service?
Asked by Sergio Ramirez:

Hi,

In my company we generate a lot of PSD files for graphics and we were wondering if there is a limit in the number of files and size that we can store. Is there a way to check how much we have and how much we can store?

Thank and regards


Answers:
author: JohnA
body: Hi Sergio,  

The initial storage available for each Atlassian OnDemand instance is 25GB. Accounts that exceed that amount will be billed an over limit fee of $1.00 per gigabyte per month, (correct as of September 2012), but please keep updated with our [OnDemand storage policy](https://confluence.atlassian.com/pages/viewpage.action?pageId=253231650) to stay upto date with the storage limits and the cost of the excess.

There isn't currently an option for you to check how much storage is being consumed by your instance, but in the event that you need this information then you can request that from [Support](https://support.atlassian.com/). We also have an open feature request to ask for a public facing interface that allows users to measure their storage consumption, so I would suggest that you watch/vote/comment on the issue if that is something that interests you: <https://studio.atlassian.com/browse/JST-3060>

All the best,  
John

comments: author: Sergio Ramirez
body: Just a clarification, does the $1.00 per GB per month mean that we will pay the charge extra montly for each additional GB used or that we will use each mont the GB additional to the basic 25GB?

For example, if this month our instance is 30GB we will pay 5.00 extra, but if next moth it's is 37, then next month we will pay 2 USD extra.... Or we will pay 5.00 extra this month and the next one we will pay 7.00 and so on until we delete data to be below 25GB?

Thanks and regards


Tags: cloud

confluence-cloud
Remove Team Calendar from Confluence Dashboard
Asked by Jens Lippmann:

We evaluated Team Calendar a while ago, but didn't find it particularly useful for us (yet another calendar)

How do I remove the error message shown on the main Confluence dashboard? (see attachment)


Answers:
author: SimonS
body: Hi Jens,

You should be able to disable the plugin and the error should go away. Please see: <https://confluence.atlassian.com/display/DOC/Disabling+or+Enabling+a+Plugin>

It looks like your attachemnt did not come through in the original message either, so I'm not sure what the error is.

-Simon