youngmon/atlassian-qna huggingface dataset:
confluence 3.5 to 5.0.3 upgrade failed at LoginInfoUpgradeTask
Asked by DudeMcBacon:

I'm trying to upgrade a Confluence install from 3.5 to 5.0.3 and I'm seeing the following exception:

2015-02-24 23:39:14,126 ERROR \[main\] \[atlassian.confluence.upgrade.UpgradeLauncherServletContextListener\] contextInitialized Upgrade failed, application will not start: Upgrade task com.atlassian.confluence.upgrade.upgradetask.LoginInfoUpgradeTask@223c36de failed during t  
he UPGRADE phase due to: query did not return a unique result: 2  
com.atlassian.confluence.upgrade.UpgradeException: Upgrade task com.atlassian.confluence.upgrade.upgradetask.LoginInfoUpgradeTask@223c36de failed during the UPGRADE phase due to: query did not return a unique result: 2  
at com.atlassian.confluence.upgrade.AbstractUpgradeManager.executeUpgradeStep(AbstractUpgradeManager.java:251)  
at com.atlassian.confluence.upgrade.AbstractUpgradeManager.runUpgradeTasks(AbstractUpgradeManager.java:187)  
at com.atlassian.confluence.upgrade.AbstractUpgradeManager.upgrade(AbstractUpgradeManager.java:132)  
at com.atlassian.confluence.upgrade.UpgradeLauncherServletContextListener.contextInitialized(UpgradeLauncherServletContextListener.java:45)  
at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4206)  
at org.apache.catalina.core.StandardContext.start(StandardContext.java:4705)

...

<br />

It seems like the issue is that some SQL query that is run during the task is not returning a unique result. Does anyone know the query that gets run here so I can run it myself and see what the conflict is? Has anyone else experience this issue and know of a solution?


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

I was able to find this other answer which have a similar error for the login info. [This might help](https://answers.atlassian.com/questions/93605/error-while-upgrading-from-confluence-wiki-3-5-1-to-4-0-5).

I recommend to enable the SQL logging from before the upgrade:

1. Change the following lines in `log4j.properties `from `ERROR `to `DEBUG`:

   ```
   ## log hibernate prepared statements/SQL queries (equivalent to setting 'hibernate.show_sql' to 'true')## DEBUG, TRACE or ALL is required to see query stringslog4j.logger.net.sf.hibernate.SQL=DEBUG
   ```

Then start Confluence upgrade and it should appear the SQL running from before the happens.

Cheers,

Rodrigo


author: Mallmann
body: Hey Brandon,

Just before we investigate this logs any further, can you confirm which version of Confluence 3.5 are you running to try to upgrade directly to 5.0.3? You must be running 3.5.13 or 3.5.17 to be able to upgrade to 5.0.3.

Once you confirm it we can focus on this log entry.

Eduardo


Tags: confluence-administration
Upload Folders ->structure and documents
Asked by Victor Prasad:

Hello,

Am I able to bulk upload a folder that contains subfolders and documents? We have some folders with hundreds of documents and many, many folders. I do not want to have to recreate them an individually upload.

Is there and admin tool to do this if it can't be done by a user?

Thanks,

V


Answers:
author: Guilherme Nedel [Atlassian]
body: Hello Victor, you can use for that sort of operation the [Confluence webdav interface](https://confluence.atlassian.com/display/DOC/Using+a+WebDAV+Client+to+Work+with+Pages) to be accessed with a client such as CyberDuck.
Link to network drives?
Asked by Victor Prasad:

Hello,

We have an internal install of confluence at our organization and frequently use large shared network folders.

I tried to share a link to a network folder file://\\\\share\\folder\\subfolder\\document.doc but it puts http:// infront of it.

What is the best way to share a network folder link?

Thanks,

V


Answers:
author: AnnWorley
body: Please see the options Ted posted as well:

[Confluence: How to place a link to a file on a server share in a confluence page?](https://community.atlassian.com/t5/Confluence-questions/Confluence-How-to-place-a-link-to-a-file-on-a-server-share-in-a/qaq-p/258790#M84981)


author: Thomas Peter Berntsen
body: Hi Victor,

The "Infinidex" plugin which we've developed for searching and linking files on network shares within Confluence helps with exactly this (and automatically works around some of the browser quirks wrt linking to files).

Check it out on: <https://marketplace.atlassian.com/plugins/dk.translucent.atlassian.confluence.infinidex>

Best,  
Thomas (Translucent - developers of Infinidex)


author: Mallmann
body: Hello Victor,

It seems to be related to the browser, just as discussed on this thread: <https://answers.atlassian.com/questions/21205>

Can you have a look there and see whether that's indeed the problem you're facing? :smile:

I hope it helps.

Eduardo
I can't edit anything when I create a page
Asked by Udaya L?ost:

I just created a page whose title is "PAGE 1" but when I try to edit this page I don't have the hand on the toolbar?

Could you help me?


Answers:
author: Udaya L?ost
body: Hi, Jaime, thank you for your answer.

I checked all the permissions and it can't be that problem because all the permissions are right and I am connected with the admin account.

Maybe if I could be a little more clear, you could help me. I am working on the evaluation version and I have the following problems : I can't edit a page that I create except the title, I can't use the "watched" feature because it doesn't suggest me check box, I can't write any comments on a page, etc...

Thank you for your answer, I hope you will able to help me.

Tell me if you need some added information.

Thanks a lot. Kind regards,

Udaya


author: Jaime S
body: Hi, Udaya.

Have you checked the space permissions?

Maybe you have permissions to create and view pages, but not edit them? You should check (or ask an administrator to check) these permissions.

Kind regards,  
Jaime Kirch da Silveira  
Atlassian Cloud Support


Tags: confluence-administration
Confluence log not older than 1 day
Asked by AKASH BHARDWAJ:

Hi Genius ,

We have Confluence PROD Instance, we need to look at Confluence log files to improve Confluence Performance.

When i go through Confluence Directory, I could only find that Confluence log shows only logs generated till today. I would be looking at logs prior to that 2 weeks older but i am unable to find it. Can anyone let me know where can i find it or if it's being purged?

Thanks,  
Akash


Answers:
author: Nic Brough -Adaptavist-
body: It will be being purged by something. You can configure the Tomcat that Confluence runs in to do it with a bit of fiddling, but it's usually done best by the operating system - logrotate is the most widely used tool on Unix machines.


author: Steve Gerstner [bridgingIT]
body: You can configure that in confluence/WEB-INF/classes/log4j.properties

These are the interesting lines:

log4j.appender.confluencelog.MaxFileSize=20480KB  
log4j.appender.confluencelog.MaxBackupIndex=5

If you are writing 100 MB log file a day, you have enough for one day.

If that's not satisfying, try <http://www.simonsite.org.uk/download.htm>

Regards

Steve
Glossareintr?ge des Plugins "Glossary" werden nicht mit einem Popupfenster versehen
Asked by Andre Mocker:

Hallo Support,

<https://marketplace.atlassian.com/plugins/fr.spectrumgroupe.confluence.plugins.glossary>

wir nutzen Powered by Scroll Content Management Add-ons for Atlassian Confluence 5.6.4 \| 2.7 mit eingeschalteten Versions Management und eingeschalteten Translation Management und evaluieren Ihr Glossary. Wir haben Glossareintr?ge angelegt, bekommen aber nicht wie hier beschrieben ein Popup (Blocker ist aus):  
<http://lab.spectrumgroupe.fr/confluence/display/SBD/Glossary+user+guide>  
-\> Just click on the glossary's icon then click on the highlighted text that appears. A pop-up shows more information on the term, like definition, term link and labels.

Was m?ssen wir tun, damit wir den gew?nschten Effekt sehen.

<br />

Mit freundlichen Gr??en

Andre Mocker - GK SOFTWARE AG  
Technischer Redakteur


Answers:
author: Guilherme Nedel [Atlassian]
body: Wir haben ein Etikett hinzugef?gt, damit das Add on Anbieter k?nnen diese Abfrage zu ?berpr?fen.(We have added a label so the add on vendor can review this query.)


author: Guilherme Nedel [Atlassian]
body: Hallo Her Andre, Die durch diesen Kanal bereitgestellt werden unterst?tzt: Englisch, dagegen bitte, dass f?r k?nftige Beitr?ge.
Search in Confluence in child pages -- how to?
Asked by Rumceisz:

Hi Everyone,

many users of our Confluence need a search function which search only in the current page and its child pages. They have plenty levels of page hierarchy and they don't want to search through the whole space.

Is there a feature for this?

Thanks,

Rumi


Answers:
author: Steven F Behnke
body: Hello @Rumceisz,

You are asking for a page tree search, so why don't you use the page tree search macro? [Page Tree Search Macro](https://confluence.atlassian.com/display/DOC/Page+Tree+Search+Macro) Screen Shot 2015-02-25 at 9.39.22 AM.png

This will combine your search with the ANCESTORID:Page ID to search under AND "User's search terms," and will net you the results you are looking for. For the record, this searchs PAGES and ATTACHMENTS, not COMMENTS.

[](https://community.atlassian.com/t5/Confluence-questions/Search-in-Confluence-in-child-pages-how-to/qaq-p/422227?attachment-id=1270){#link_11928d332be50a}  
[](/tnckb94959/attachments/tnckb94959/confluence-questions/71586/1/Screen%20Shot%202015-02-25%20at%209.39.22%20AM.png){#display_11928d332be50a_0}


author: chucktalk
body: Hi @Rumceisz,

You can either choose to limit your search using the built in filter to search within the Space, or you can use the customization provided by @Giuliano de Campos found [here](https://answers.atlassian.com/questions/98060/limiting-search-box-to-a-space-by-default) as follows:

This cuztomization requires you to use it under the HTML macro:

<https://confluence.atlassian.com/display/DOC/HTML+Macro>

You can try the following **customisation**with on your page/space:

*\<form method="POST" action="/dosearchsite.action" name="searchForm" style="padding: 1px; margin: 1px"\>*   
*\<input type="hidden" name="quickSearch" value="true" /\>*   
*\<input type="hidden" name="searchQuery.spaceKey" value="spacekey" /\>*   
*\<input type="text" accessKey="s" name="searchQuery.queryString" size="25"/\>*   
*\<input type="submit" value="Search Space Name"/\>*   
*\</form\>*

Replace the value of "spacekey" in the searchQuery.spaceKey hidden item for the space key of your space.

You only need to insert it through the desired page/space and then replace the **name="searchQuery.spaceKey"** for **name="searchQuery.The Space Key of your Space**".

In example, I have a space named "Careful With That Axe, Eugene" and the spacekey for it is **CTE**. I've replaced the SearchQuery to name="searchQuery.CTE".

I do hope this helps and Kudos to @Giuliano de Campos for the answer. :wink:

Sincerely,

Chuck Talk \| Confluence Support  
Atlassian


author: Dirk Brutscher
body: The question is a bit older, but maybe other users have the same problem, in which case my app "SearchBelow" could possibly be helpful, you can check it out on Atlassian Marketplace:

* <https://marketplace.atlassian.com/apps/1224150/searchbelow>


Tags: confluence-administration
Changes of user data after directory synchronization activity are assigned to a random users activity stream
Asked by Manuel Kummerl?nder:

Hi,

recently I noticed that sometimes a user has many user change activities in his/her activity stream on the profile page. I guess that these changes are made by the user directory synchronization job and I guess further, that this synchronization has some bugs in the logging functionality. It seems that the changes made by the sync are in any way assigned to one (random?) user so that this one user has all the changes in the activity stream.

Does anybody has ever heard about that? Is this the result of some wrong configuration? How can I handle this?

Thanks in advance,

Regards  
Manuel


Answers:
author: Manuel Kummerl?nder
body: Hi @Rodrigo Adami,

I would like to specify a bit what I noticed, maybe the problem becomes a bit clearer.

When I call the activity stream of a user

```
/plugins/recently-updated/changes.action?theme=sidebar&amp;pageSize=10&amp;startIndex=80&amp;searchToken=536522&amp;authors=johndoe&amp;spaceKeys=*&amp;contentType=-mail,page,comment,blogpost,attachment,userinfo,spacedesc,personalspacedesc,status,space,draft,custom
```

I get a long list of changes of users like this one:

```
&lt;li class="update-item"&gt;    &lt;div class="update-item-icon"&gt;    	&lt;span class="icon content-type-userinfo"&gt;&lt;/span&gt;    &lt;/div&gt;    &lt;div class="update-item-details"&gt;    	&lt;div&gt;        	&lt;a href="/display/~janedoe" title=""&gt;Jane Doe&lt;/a&gt;        &lt;/div&gt;		&lt;ul class="update-item-meta"&gt;        	&lt;li class="update-item-desc-and-date"&gt;Updated 2015-02-19&lt;/li&gt;        &lt;/ul&gt;	&lt;/div&gt;&lt;/li&gt;
```

As I understand this means, that my user "johndoe" seems to be the author of the change of "janedoe", is that correct?

This can't be, cause johndoe is not able to change janedoe in any way. My conclusion is, that this has something to do with the LDAP sync and/or the indexing of these changes. If this happens the activity stream of the user is full of other users. This happens on-again-off-again and not always for the user "johndoe". It seems that "johndoe" is however randomly chosen.

Do you have an idea where I can look and for what? Could this have to do with the indexing?

Regards,  
Manuel


author: Rodrigo Girardi Adami
body: Hi Manuel,

I have not heard of such behavior before. The user sync should not change (migrate) the activities of one user to another one. Is there any error in logs regarding user activities? Are you able to replicate this behavior on a test environment?

Cheers,

Rodrigo


Tags: activity-stream

confluence-administration

crowd

ldap

sync
viewtracker error: The license could not be verified: License Certificate has expired
Asked by Dan Campbell:

We are seeing an error: The license could not be verified: License Certificate has expired for the viewtracker macro


Answers:
author: Dan Campbell
body: The pugin vendor has replied with the following:

This isn't a error thrown by our plugins. In our code isn't such String and our registration framework doesn't expire any registered free add-on.

So I'm sorry, we aren't responsible for this error message.


author: Rodrigo Girardi Adami
body: Hi Dan.

I believe this macro is related to bitvodoo viewtracker plugin here: <https://marketplace.atlassian.com/plugins/ch.bitvoodoo.confluence.plugins.viewtracker>

I recommend to check if the plugin license is not expired and contact the plugin vendor to check the license as well.

Cheers,

Rodrigo
Get Data out of Confluence into BI Tool
Asked by Alexander Sch?tzle:

Hello everybody,

we designed in Confluence a kind of a Project Overview Table, where every Project is listed with different information like Potential of turnover etc....

At the moment I'm trying to get this table into a BI tool. The problem is, that if I am using the odbc connector, the tables is store in the Confluence-DB as html content (logically), so I can not use it for Reporting etc.

When I'm trying to get the connection via the web-file integration, the table is not recognized from the BI tool.  
(I'm using the Source-Link of the Confluence Table, where the Project table is...)

Anyway, if I am using the simple Excel "from Web-File" integration, it works.

As you can suerly guess, this is not a very "perfect" solution...

So my question is, is there a tool which can export exactly the table?  
I allready read the documention of the Confluence CLI (Bobswift) but I'm not quite shure if it'll work that way.

Otherwise maybe it is possible with a simple ODBC connection?

Has anybody experience with this kind of use case ? :smile:

Thank you so much!

Greets Alex :wink:


Answers:
author: Andrey Khaneev _StiltSoft_
body: [Table Filter](https://marketplace.atlassian.com/plugins/com.stiltsoft.confluence.plugin.tablefilter.tablefilter) has a [Pivot Table](https://docs.stiltsoft.com/display/TableFilter/How+to+use+Pivot+table+macro?src=contextnavpagetreemode) macro that provides basic BI tools. Also there is a [Chart from Table](https://docs.stiltsoft.com/display/TableFilter/How+to+use+Chart+from+Table+macro?src=contextnavpagetreemode) macro that can help you to visualize results.

Hope it will help you.


author: Bob Swift (personal)
body: I don't think the Confluence CLI will help. It can provide the page html or page source xhtml, but you still need a script or something to transform that into another form.


Tags: auto-export

database

database-connection
Does Comala workflow enables end users to see the latest published page while in review
Asked by Danijela Divac:

Once a page goes through the 1st approval process and is now published, I want to the same page to go through the update and place under the same revision (workflow) process. However, I want the end user to see the current version (the recently published version). I cannot find in your documentation how to do this?


Answers:
author: Guilherme Nedel [Atlassian]
body: Hello Danijela, there is a graph explaining the workflows functioning after [this jump](https://wiki.comalatech.com/display/CW/Understanding+the+Comala+Workflow+Engine). In case additional info is necessary please post to this, a label for the correponding vendor has been addded to this case.


Tags: addon-com.comalatech.workflow
Editing a page in another users's personal space
Asked by guybrush:

In our installation, it's by default not possible to edit pages in another user's personal space but everyone has "view" permissions on all personal spaces.

I now want to allow a specific user to edit a specific page in my personal space.

Granting "Add" permissions to that user does **not** do the trick (no editing possible, e.g. no "Edit" button).

I assume that is because the user does not have "Add" permissions on the space. But that's correct: he should only be able to edit that one page.

How can I achive that?


Answers:
author: Nic Brough -Adaptavist-
body: You have to grant them "add/edit" at a space level, then restrict the other pages in the space.

comments: author: guybrush
body: Seems a bit clumsy, no?What about new pages? Do I have to remember to remove "Add" permissions for every page I create from now on?The "top down" logic (need same permission on parent) seems to be a bad choice in that case...


author: Nic Brough -Adaptavist-
body: Correct. The main argument from Atlassian I've heard is that Confluence is there for collaboration, and you generally want to work together on everything.One common trick is to:Grant "create" to everyone who should be able to edit your pagesPut a restriction on the "home" page to limit edit to yourself and people who should be able to edit all of itCreate a new page at the same level as "home" called something like "public edit"Move your "everyone can edit" page(s) underneath the public oneWhere you want your public pages to exist in your main space tree, use an "include" macro to pull it inThis works because the restrictions cascade down from the "home" page. None of your limited users will be able to amend anything beneath home, and you won't have to think about adding restrictions. Your only overhead is that you'll have to keep an eye on pages created in the public area to see if they are worth including in the main tree or should be junked.
Internet Explorer 9 can't preview this file
Asked by Simo Suurla:

Hi, why I cant preview PDF in IE9?

image2015-2-25 9:30:25.png

Using confluence 5.7  
[](https://community.atlassian.com/t5/Confluence-questions/Internet-Explorer-9-can-t-preview-this-file/qaq-p/283824?attachment-id=12298){#link_11928dcb2ef7b6}  
[](/tnckb94959/attachments/tnckb94959/confluence-questions/48069/1/image2015-2-25%209%3A30%3A25.png){#display_11928dcb2ef7b6_0}


Answers:
author: Peter Van de Voorde
body: Hi Simo,

IE 9.0 is an old version of IE and isn't that well supported anymore.

See here : <https://confluence.atlassian.com/display/DOC/Supported+Platforms#SupportedPlatforms-5>

You should probably use a newer version of IE or a different browser (like the message says).

Best regards,

Peter

comments: author: Joe Meyer
body: Is it possible to disable the preview functionality? We recently upgraded to confluence 5.7.1 and now our links which would previously download the pdf are opening this warning which is far from ideal for our users.


author: Wolfgang Lutz
body: Is there a possibility to disable the preview function?
Create a Form in Confluence From where Users can Input and Create Jira Issues
Asked by Rajkumar:

My Requirement is as Below.

1. Create a Form in Confluence where the requester can input his request details.
2. Then Click on Create JIRA Button and a JIRA ticket will be created to my Group.

Could you please guide me for this requirement. I am new to JIRA and Confluence.

Any help is appreciated..


Answers:
author: Peter Van de Voorde
body: Hi Rajkumar,

Take a look at Issue Collectors and how to embed them in a Confluence page:

<https://confluence.atlassian.com/display/JIRA/Using+the+Issue+Collector>

<https://confluence.atlassian.com/display/JIRA/Advanced+Use+of+the+JIRA+Issue+Collector#AdvancedUseoftheJIRAIssueCollector-EmbeddingtheIssueCollector>

Best regards,

Peter


author: Rajkumar
body: Hi,

Thanks a lot for your suggestions and help.

I am currently checking out on these options.

Thanks and Regards,

Raj


author: Bob Swift (personal)
body: The same techniques as described in [How to create a self service create project page](https://bobswift.atlassian.net/wiki/display/CCLI/How+to+create+a+self+service+create+project+page) can be used to create issues. This includes the option to allow for non-JIRA users to create issues.


author: Steve Gerstner [bridgingIT]
body: Hi Rajkumar,

have you tried the build-in mechanism -\> <https://confluence.atlassian.com/display/DOC/JIRA+Issues+Macro>

and read *"Creating a new JIRA issue in the editor"?*

Regards

Steve
How to go back to first or earlier user status updates, like twitter timeline?
Asked by akiko_pusu:

Hi All,

Our Confluence users love and use "user status" just like Twitter.   
And they often ask me "How to trace back older user statuses?".   
We can get some selected user's update status list from his/her profile screen, but they want to see all the uses's statuses in a same list.

As workaround, I use "Update Recently Macro" with these parameters, spaces=@all,types=status, max=100, but I can't get the older user statuses and also can't see "Show more" link over 200 statuses.

Is there any way or macro, plugin to go back to earlier user status updates?  
Only way I can is dump the records from my database.

Any comments would be appreciated.


Answers:
author: Paul Herwarth von Bittenfeld
body: Hi Akiko, if you're actively using status updates in your organization you might like "Microblogging for Confluence". <https://marketplace.atlassian.com/plugins/net.seibertmedia.plugin.confluence.microblog>. It's a bit different and with lots more functionality than just status updates, but might fit very well for your organization.


Tags: confluence-administration
tableenhancer for Confluence
Asked by DebbieR:

Hi,  
Can someone explain to me why this macro only freezes a table column in preview mode but not when the page is saved? I'm using the documentation theme? Thanks


Answers:
author: Steven F Behnke
body: Hello, it looks like the add-on itself doesn't support the documentation theme:  
image2015-2-24 20:28:13.png

This is **probably** because the ++Table Enhancer++ add-on looks for specific CSS in the default theme to style the table appropriately, and the documentation theme uses *different*CSS.  
[](https://community.atlassian.com/t5/Confluence-questions/tableenhancer-for-Confluence/qaq-p/434695?attachment-id=9931){#link_1188d1f95e5e37}  
[](/tnckb94959/attachments/tnckb94959/confluence-questions/73657/1/image2015-2-24%2020%3A28%3A13.png){#display_1188d1f95e5e37_0}


Tags: addon-com.tngtech.confluence.plugins.tableenhancer

confluence-administration