youngmon/atlassian-qna huggingface dataset:
Slow upgrade from 4.2.3 to 4.3.1 which may crash
Asked by Matthew Stublefield:

In the course of a test-upgrade, it appears that a process is running that relates to the new personal task list feature. Here is a sample from the logs:

2012-09-19 13:21:06,303 INFO main confluence.upgrade.upgradetask.UserIndexingUpgradeTask doUpgrade Created 28980 from 43108 missing Personal Information objects.

2012-09-19 13:21:15,991 INFO main confluence.upgrade.upgradetask.UserIndexingUpgradeTask doUpgrade Created 28990 from 43108 missing Personal Information objects.

When the process began, multiple groups of 10 were processed per second. By the 8000s, it was taking \~4 seconds for a group of 10. At this stage, a group of 10 takes about 9 seconds.

We only have about 1800 user accounts on the system, but since I'm not quite sure what's going on here, I'm wondering if there's a way to either have it not do this process or to do it more efficiently. Perhaps it is trying to pull in all LDAP accounts? I suspect it will crash at some point since it keeps getting slower, but even if it doesn't, I don't know that I will be able to perform the upgrade within the maintenance window I have.

Any suggestions or guidance would be greatly appreciated. I would like to know exactly what Confluence is doing here and what we can do to speed up the upgrade.


Answers:
author: Alejandro Conde Carrillo
body: Hi Matthew.

This is a known issue of Confluence 4.3.1: [CONF-26742](https://jira.atlassian.com/browse/CONF-26742 "Slow Upgrade Due to UserIndexingUpgradeTask introduced in Confluence 4.3.1 "). This issue was resolved in Confluence 4.3.2. I recommend you to try with that version instead.


author: Matthew Stublefield
body: While this inexplicably took forever on the test system, on production it finished quickly and cleanly.


Tags: upgrade
Confluence 4.3 - Menus do not appear when browsing spaces/pages.
Asked by Laercio PTI:

At dashboard, the browse and user's menu are running ok. But when the user is viewing a page/space the menu don't appear, it seems to be under the page.


Answers:
author: William Zanchet [Atlassian]
body: Hi Rodrigo,  

This problem seems to be like a plugin issue. I saw this behavior, a few weeks ago with a customer. We're able to fix that by rebuilding our bundled plugins. Here is the snippet to achieve our goal:  
Being said that it will be possible to rebuild our bundled plugins?  

\* Shutdown Confluence  
Delete the content from the following folders:  
\* \<confluence-home\>/plugin-cache  
\* \<confluence-home\>/plugins-osgi-cache  
\* \<confluence-home\>/plugins-temp  
\* \<confluence-home\>/bundled-plugins  
\* \<confluence-home\>/bundled-plugins_language  
\* Startup Confluence  

(!) I highly suggest that you schedule a downtime to perform it, because we don't want to disturb your business.  

I hope this helps.  

Cheers,  

WZ


Tags: error

menu
Publish page changes at a future date
Asked by Trevor Clarke:

I generate release notes for my product in our Confluence instance. I'd like to edit a front page which links to the latest release notes and downloads but delay the publication of the edits until a set date (the release date of the new version). Is this possible?


Answers:
author: Trevor Clarke
body: I ended using a plug-in called Ad-hoc Workflows. I can't publish on a specific date but I can cause a page to move from draft to published in a specific number of days. This seems to work well enough.


author: AddteqS
body: Hi,

If you want to schedule publishing a new version of a page in Confluence you can utilize a plugin called "Scroll Versions" : https://marketplace.atlassian.com/plugins/com.k15t.scroll.scroll-versions

If you are using this plugin, before adding a page, you must create a version for the page. Open the space where you want to add a version. Click Browse and then Scroll versions. Next, click Manage Versions then Add Version. Now, you can select a release date.

comments: author: Trevor Clarke
body: I ended using a plug-in called Ad-hoc Workflows. I can't publish on a specific date but I can cause a page to move from draft to published in a specific number of days. This seems to work well enough.


author: Rodrigo Girardi Adami
body: Hi there!

I believe there no automated way to perform that. I've searched for it but I couldn't find such specific feature as publishing pages over an specific date for the public. If I'm correct, this is done manually.

I've created a feature request for you. Hope that helps :)

<https://jira.atlassian.com/browse/CONF-26693>
Add Multiple Pages at Once
Asked by Richard Lucas:

Hello all,

I have hundreds of lines of text in a .txt document. I want each line to be a title of a page. Is there a way to bulk add pages so I do not have to continually click "Add Page", copy in title, save it, then repeat. All help is greatly appreciated.

Thank you.


Answers:
author: Renjith Pillai
body: Use the CLI: <https://marketplace.atlassian.com/plugins/org.swift.confluence.cli>

Loop through the text and call CLI using addPage.

CLI runs on your desktop and you can use it to connect to any Confluence including OnDemand.

comments: author: Richard Lucas
body: Thank you Renjith.

Do you need admin privileges if you would like to use this software?


author: Richard Lucas
body: Bumpitybumpbump


Tags: cloud

confluence-cloud
Link view permission
Asked by Nabil Sayegh:

I'm using Confluence 4.1.4 and want links to spaces and pages to be visible to anybody, even if the user hasn't got view permission for the target.

This is the code:

```
&lt;ac:link&gt;&lt;ri:space ri:space-key="FOO"/&gt;&lt;ac:plain-text-link-body&gt;Bar&lt;/ac:plain-text-link-body&gt;&lt;/ac:link&gt;
```

The user won't see "Bar" but only FOO. IMHO it would be even better not to display the link at all.

Is there a workaround that displays the page title (without using an exotic plugin).

Upgrading is not an option, as we currently have no resources for testing.


Answers:
author: Nabil Sayegh
body: The (ugly) workaround in our case is to treat the links as external links.


Tags: link

permission
Migrate and Upgrade
Asked by Shane Shelley:

hi, we currently have installed Confluence version 2.9.1 installed running on Solaris and postgress. Our aim is to upgrade to the latest version (currently 4.3) and migrate to Microsoft SQL Server 2008 R2 on Windows Server.

Can you please advise on the upgrade path.

kind regards

Shane


Answers:
author: Rodrigo Girardi Adami
body: Hi Shane,

thanks for clarifying. Actually the process of using the XML is the best for migrating between databases, but you won't be successful uploading an XML from 2.9 to a 4.3. You must first generate an XML in 2.9 and import into another 2.9 using the MSSQL DB. Then you can upgrade confluence in that server using the new database.

I hope this helps.

Rodrigo


author: Shane Shelley
body: many thanks for all your help.

We want to try SQL Server becuase we has support for this database. We dont have any exposure to MySql. Any advice is welcome.


author: AlysonA
body: Hi Shane,

Something important to note is that since you're planning on upgrading from a 2.9.\* version, you NEED to take some intermediary steps in order the upgrade to succeed, so you can't simply restore a 2.9  
1 XML backup into a 4.3, it will definitely fail.  

In this case, the upgrade path should be: 2.9.1 \> 3.0 (introduces a new license version) \> 3.5.17 \> 4.3 by following the upgrade instructions outlined in [https://confluence.atlassian.com/display/DOC/Upgrading+Confluence.
Hope](https://confluence.atlassian.com/display/DOC/Upgrading+Confluence.%3Cbr%3E%3Cbr%3EHope) this helps.


author: Alejandro Conde Carrillo
body: An simple upgrade path could be:

1. Set your new server
2. Create the new database
3. Take an XML backup of your current Confluence instance
4. Install Confluence 4.3 in the new server
5. When prompted, load the data from the XML back up

Please take this as a personal advice: Why are you willing to migrate to a Windows server? I personally preffer \*nix platforms and Postgres to MS SQL.


Tags: database

migration

ms-sql

postgres

upgrade
How to setup a second datasource in confluence?
Asked by John Constantinou:

Hello,

I would like to configure a second datasource in confluence. From the manual "Database Setup for Oracle" it gives an example for setting up only one datasource: [https://confluence.atlassian.com/display/CONF35/Database+Setup+for+Oracle.](https://confluence.atlassian.com/display/CONF35/Database+Setup+for+Oracle.%C2%A0) Does anyone know how i can do that?

Thank you very much for your help!

Best Regards,

John


Answers:
author: Nic Brough -Adaptavist-
body: On the Confluence side, you just add another "resource" section.

However, I'm really not sure that's of any help to you because I don't know why you want to set up a new datasource (although I can think of a few possibilities, I'm not going to guess and wander off in the wrong direction) That will make it available for use inside Confluence, but you'll then need to write stuff to actually use it...

comments: author: John Constantinou
body: Hi Nic,

Thanks a lot for your reply! I have already added that in server.xml and web.xml of tomcat but somehow i have to link that with confluence (smth. like `java:comp/env/jdbc/confluence`) as i did for the first one. I need this as i am connecting with two databases.

Thank you once again!

Best Regards,

John


author: Nic Brough -Adaptavist-
body: I don't know what you mean by "link that with confluence", or what you want to do with the second connection?


author: Nic Brough -Adaptavist-
body: You're missing the point, sorry, I'm not being clear.

Why do you want to connect to two databases? What is the goal?


author: John Constantinou
body: I mean when you set up confluence with an external database you have to provide the name of the datasource. In the setup there is no other choice of providing a second name. I am doing this because I want to connect at these two databases at the same time.


author: Nic Brough -Adaptavist-
body: I'm afraid I still don't understand. What are you actually trying to do? I understand that you want to access data in another database, but what do you want to do with it?


author: John Constantinou
body: Ou sorry...because the data that i am retrieving from these two databases are different and the thing is that i can not change that in order to put everything in one.


author: John Constantinou
body: Hi Nic, the documentation is for the confluence as a whole and not for a plugin. I think for a plugin you can add as many datasources as you want.

Greetings,


author: Nic Brough -Adaptavist-
body: I'm well aware of that. It only covers a single datasource because Confluence only uses one, but the theory applies if you want to make more available. What matters is what you actually want to do with another datasource, which you aren't saying.


author: Bob Swift (personal)
body: Normally you define additional datasources for use by the [SQL Plugin for Confluence](https://bobswift.atlassian.net/wiki/display/SQL)


author: John Constantinou
body: Hi Bob,

Yes i actually found that example, and it works :)!

Thank you all for your help!

Greetings,


Tags: administration

app

database

oracle
How do you move table content? (Selecting text / content inside a macro).
Asked by Jodie Miners:

<http://www.screencast.com/t/YZvyLjU7t4I>

I've done this video to show how I can't seem to select table content easily to move it. (It is times like this when I really really miss Wiki Markup).

I can't seem to select the content with the mouse. I can with the keyboard but it is very tedious.

I'm using 4.2.13 (hopefully this is fixed or easier in 4.3). Is this a bug or am I not doing something correctly?


Answers:
author: Felicity Chapman
body: There may be a 'proper' way to do this that I'm unaware of, but when I cannot work out how to do something then I switch to the Storage Format view. You can then copy and paste content as if it were wiki markup (it's just harder to find the right pieces of text).

This requires you to install the Confluence Source Editor plug-in, but can be a useful workaround.

comments: author: Pavel Potcheptsov
body: This trick doesn't work in recent Confluence versions.

To be more specific after changing something is Source Editor it's not possible to save result, because Apply button doesn't work.


Tags: content

rich-text
I am administrator,however, I have not permission to see the page I built ,ironically,the account I invite can do this.
Asked by zhang sean:

Today, I try to taste you confluence.As a administrator, I built the page then share my colleague.meanwhile ,he is able to edit this page.so I want to prohibit this functionality for colleague and restrict this page.It occur that I have not permission to access to this page(see attachement),however, my colleague keep editing. I want to know the reason and solution. help you reply soon!


Answers:
author: AlysonA
body: Hi Zhang,

If you created the page, then you should have access to it, can you confirm exactly which error message you're getting upon trying to access the page (sorry, the attachment didn't come through)? I'd like to confirm if it's indeed a permission violation message or other kind of error.

Cheers.


author: Nic Brough -Adaptavist-
body: Depends - look first at the space permissions you have allocated, and then secondly, the page restrictions (note that they are inheritable - if you restrict a page in some way, then any child pages will inherit those restrictions by default)

In both cases, look in the space admin section - first for permissions, then for the list of restricted pages.


Tags: cloud

page

permission
Turn OFF "Recommended updates email"
Asked by Patricia Xia:

After v4.2.7 upgrade, the "Recommended update email" was ON by default system wide. I noticed this afterwards, and then unchecked the "Send by default" box (under Conflucence Admin\| Recommended update email \| Send by Default ) . However, this seems only affect newer users. All existing users had, by default, already subscribe to it (from the top menu bar \| User Name \| Settings \| Email \| Subscribe to recommended updates is CHECKED).

It is important to allow users opt-in, rather than sending the messages by default. By the way, in our case, almost ALL newly created pages/comments made it to "Recommended ..." and therefore being sent system wide to ALL users within the permission setting. It is way too much. We have to stop it.

<br />

Can we update this setting on all users in the SQL database? In which table/field is this subscription stored?

<br />


Answers:
author: Markus Lepper
body: I've tried the same =\> It seems that ONLY user having edited their email-seetings once are added to this sql-table.

All other others just get the updates ...

aaargh: How to disable this for ALL confluence users.

The only solution I curretnly see is buying the "Confluence SU" plugin and editing each and every user profile manually.

Any better idea highly welcome.


author: Colin Goudie
body: Check out the results of this query  

```
select * from os_propertyentry where entity_key like 'confluence.prefs.daily.summary.receive.updates.set';
```

You can modify it with something like  

```
update os_propertyentry set boolean_val = 'f' where entity_key like 'confluence.prefs.daily.summary.receive.updates';
```


author: Wade Sturman
body: Has any figured this out yet? It's a big deal to my Customers, and I can't seem to find another solution.


author: William Zanchet [Atlassian]
body: Hi CRL,  

I found a KB, that will help us in this case:  

<https://confluence.atlassian.com/display/CONFKB/Unable+to+disable+the+Send+By+Default+option+in+Recommended+Updates+Email+Configuration>  

Basically this KB proposes to us, to update the BANDANA table, that way we can set a value as false in the table, and the recommended update mail should be off.  

I hope this helps.  

Cheers,  

WZ
jiraissues maco and custom fields
Asked by Rodney Sawyer:

<br />

I have a jira project with a number of custom fields. When I try to bring it into Confluence using the jira issues macro like this:

{jiraissues:url=http://myjira.com/sr/jira.issueviews:searchrequest-xml/temp/SearchRequest.xml?jqlQuery=project+%3D+%22Marketing+Advocacy+Process%22+AND+resolution+%3D+Unresolved\&tempMax=1000\|columns=Key,MAR Name,Reporter,Summary,BAC Prioritization Status,Date of MAP Council Review,Marketing Prioritization Status\|width=75%\|height=380}

I do not get the last three custom fields. My assumption is that since these fields have unusually long names it could be causing an issue. In the above macro MAR Name is a custom field and shows up correctly, however BAC Prioritization Status, Date of MAP Council Review and Marketing Prioritization Status do not. I am attaching the xml for this as well so that you can see the fields are actually there.

Just out of curiosity, is there a way to use the customfield_id instead of the name?


Answers:
author: Karie Kelly
body: You may also want to confirm that you have the column names correct - export to excel to see how they appear there and copy and paste from the cell to your jira macro. I've not had any issues displaying long names - at least as long as your BAC one. Don't have one that is like your MAP one
Did something change with the Confluence 3.5 courses?
Asked by Dale Miller:

It looks like we cannot get to the non-video Confluence 3.5 University classes. As we haven't upgraded to 4.3 quite yet is this a permanent change or is something wrong. They all seem to link to some embeddedsherpa40 site that asks for a password. Can this be restored or is it being taken down permanently.


Answers:
author: Jesse Katz
body: Hi Dale. The Confluence courses are back up and working. Sorry for the trouble.

comments: author: Dale Miller
body: Thanks for the quick response.


author: Jesse Katz
body: Hi Dale. The Confluence courses are back up and working. Sorry for the trouble.


Tags: atlassian-university
How to add Confluence site wide labels?
Asked by Daniel Samuels:

Hi,

I seem to be having trouble adding labels that will apply to my entire Confluence site. I can add labels to one space (by adding them to a page), but they are not coming up (as autocomplete when typing a label) in other spaces.

I want to add labels that will be accessible from my entire Confluence site (all the spaces). Is this possible?

Did I, perchance, add them in the wrong place for them to be accessible site wide?

Thanks for any help,

D.


Answers:
author: Daniel Samuels
body: Hi Everyone,

I have been working on this issue with Atlassian for awhile now trying to find a solution and have just been told: there is no problem, this is how Confluence is meant to work.

Labels are space-specific, they were never designed to cross spaces and thus should not auto-suggest in other spaces.

I am sorry to have such a bad answer and I know that none of the Confluence docmentation mentions anything of the sort - to which I have made Atlassian aware.

Hopefully they will change this in an upcoming update.

Thanks,

Sam


author: Selcuk Savas
body: Hi Sam,

Thanks. I am looking forward hearing from you. We have been up and running for only 4 months. I am new with Confluenec and I am trying to learn as much as I can and as soon as possible.

Cheers,

Selcuk


author: Selcuk Savas
body: Hi Guilherme,

Are you sure that the labels are global? I checke dour labels and they don't appear on other spaces.

I check the document that you suggest whioch requires shutting down the server.

If we need to reindex it should be some other easy way.

Hey Sam,

Have you doine the reindexing? Did it solve the issue?

Cheers,

Selcuk

comments: author: Harry Chan
body: Yes, it is global. As said it might be an indexing issues or other issues with your instance. I'd check the logs for any errors.


author: Daniel Samuels
body: Hi Selcuk,

I have not reindexed yet. I was kind of hoping for an easier way to do this as well. I will try and find some time next week to take down the enitre site, and report back on results.

Thanks,

Sam


author: GuilhermeA
body: Hello Sam,

Labels are always global. You can't create more than one label, even on different spaces. It could be that your Confluence is not correctly indexing its content. I would suggest performing a full reindex from scratch.

<http://confluence.atlassian.com/display/DOC/Rebuild+the+Content+Indices+from+scratch>

If the problem persist then I'd suggest to create a Support Ticket.

Cheers,

Guilherme

comments: author: Daniel Samuels
body: Hi Gulherme,

Thanks for the advice. I will have to try and find some down time to take down the enitre instance.

This is kind of dissapointing that this problem is coming up, as we have only been up and running for 2 months, but I appreciate your help.

Thanks,

Sam
Show-if macro
Asked by Pascal DANIELS:

How can I use the show-if macros in Confluence 4.2.5. The latest version seems to have busted up my page desing.


Answers:
author: Nicolas Casel
body: Even if my answer comes late, the plugin 'Visibility' embeds the 'show-if' and 'hide-if' macros.


author: FernandoA
body: Do you know what is the name of the plugin that uses the show-if macro?

You can check at [marketplace.atlassian.com](http://marketplace.atlassian.com) if there is a version of this plugin which will be compatible with Confluence 4.2.5.

Hope this helps.


Tags: cloud

confluence-cloud
I keep getting redirected to login page for confluence
Asked by Dragica Soldo:

I am evaluating different versions of confluence, and I have successfully installed and run zipped version of confluence standalone 4.2.1 and 4.2.2 When I tried the same for 4.1.2 I couldn't get passed the login page. I've followed the tutorial for installation, the same as for other two versions but when I come to starting using confluence I am always redirected to login page. When I try non existing user I get the message that user/password is not valid, but for admin/admin (or whatever other user I set previously) I get empty login fields shown again with no additional message displayed. Same happens for included as well as for external mysql database that I use.

Most interesting thing is that now the same happens for other two (4.2.1 and 4.2.2 installations as well) and I can not log in there as well.

Any help will be most appreciated.


Answers:
author: Lucas Molenaar
body: 1. Clear browsers cache
2. Close/reopen browser
3. Please remove the trailing "?os_destination=%2Fhomepage.action" (or similar) from the URL and reload the page
4. Login


author: behzad khosa
body: I was having exact same issue with IE, even clearing the cache didn't work. Tried Google Chrome and it worked the first time. Thanks for the information in this thread!


author: Dragica Soldo
body: Thanks for the answers, they where most helpful. Clearing locally stored browser data solved the problem.


author: Harry Chan
body: Hi, have you tried another browser? I've had this happen due to browser caching. You could clear cookies etc and try again.