youngmon/atlassian-qna huggingface dataset:
Confluence backup restore issue
Asked by Yogesh Mude:

Team,

We are using confluence v6.10.0 on production and we want to set up confluence test instance and tried to restore the prod confluence backup to new test instance and got the below error.

```
2018-12-31 17:24:06,024 ERROR [Long running task: Importing data] [confluence.importexport.actions.ImportLongRunningTask] runInternal Failure during import

?-- url: /confluence/longrunningtaskxml.action | referer:  | traceId: 4e35f5669f826fca | userName: admin@edelweiss | action: longrunningtaskxml

org.springframework.transaction.TransactionSystemException: Could not roll back Hibernate transaction; nested exception is net.sf.hibernate.TransactionException: Unable to rollback against JDBC Connection

? ? ? ? at org.springframework.orm.hibernate.HibernateTransactionManager.doRollback(HibernateTransactionManager.java:532)

? ? ? ? at com.atlassian.confluence.impl.hibernate.ConfluenceHibernateTransactionManager.doRollback(ConfluenceHibernateTransactionManager.java:81)

? ? ? ? at org.springframework.transaction.support.AbstractPlatformTransactionManager.processRollback(AbstractPlatformTransactionManager.java:853)

? ? ? ? at org.springframework.transaction.support.AbstractPlatformTransactionManager.rollback(AbstractPlatformTransactionManager.java:830)

? ? ? ? at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

? ? ? ? at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)

? ? ? ? at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
```


Answers:
author: Gonchik Tsymzhitov
body: Hi!

1. Could you verify you DB is not corrupted?

2. Please, have a look this article which related to the your stacktrace

<https://confluence.atlassian.com/confkb/unable-to-start-due-to-net-sf-hibernate-exception-genericjdbcexception-cannot-open-connection-128843899.html>

3. Also, Ii will be good verify the JDBC pool <https://confluence.atlassian.com/confkb/confluence-slows-and-times-out-during-periods-of-high-load-due-to-database-connection-pool-146407630.html>

4. Also, it will be good if you provide more info about RDBMS (which DB are you using?).

5. Is it start after a few second?

Cheers,

Gonchik Tsymzhitov


author: Johan Soetens _Dumblefy_
body: Are the versions on both production and test identical (6.10.0)?

comments: author: Yogesh Mude
body: Yes both r the same versions.


author: Johan Soetens _Dumblefy_
body: Hi,

have you verified the Troubleshooting hints from [Restoring a Site](https://confluence.atlassian.com/doc/restoring-a-site-152034.html) ?

It's possible that you don't have enough storage during the actual import - it really uses lots extra - please verify it.

When you have a clean new test database, all data from XML backup will overwrite this database (license as well).


Tags: confluence-server

server
Unable to upload excel post using edit in office
Asked by Chetan Deshpande:

Hi Community,

We are facing some challenges upload the excel files post editing in office, getting error as below attachment, culdn't find any docs or good online solutions.

Please Help!

![CMS excel upload error.PNG](/t5/image/serverpage/image-id/41361iE17F26FB57259ED6/image-size/large?v=v2&px=999 "CMS excel upload error.PNG")


Answers:
author: Nic Brough -Adaptavist-
body: That's not what it is saying. It is telling you that since you downloaded a copy to edit, someone else has changed it and it cannot merge in your new changes.

You'll need to get a new copy with the updates, and put your changes into that.


author: Chetan Deshpande
body: Hi Nic,

I tried a document which isn't opened by anybody still the same error


author: Nic Brough -Adaptavist-
body: The message means what it says - someone else has edited the attachment and it can't merge the changes. You'll need to get a new copy with the updates, and put your changes into that.


Tags: confluence-server

ms-excel

server
Unlink mislinked rows in code block
Asked by Tsiki Yurman:

Hi all,

I inserted a code block to a page. When viewing the page, some of the rows contain a dot operator which is translated by confluence as link.

for example:

int n = MyClass.int_member

MyClass.int_member will appear as link. The address will be

page_location/MyClass.int_member

Can I prevent this behavior or fix it?

Thanks.

### Confluence 6.9.1 {#toc-hId-1654943269}

![Untitled.png](https://community.atlassian.com/t5/image/serverpage/image-id/41505i93B00CBD4BADEE1C/image-size/large?v=v2&px=999 "Untitled.png")


Answers:
author: Stephen Sifers
body: Hello Tsiki and welcome to the Community!

I created a Confluence page (Confluence 6.13), inserted a code macro and copied your example code provided below. The code came through without any included links. Here is a screenshot;

![image.png](https://community.atlassian.com/t5/image/serverpage/image-id/41460i88FF740C08C3AB33/image-dimensions/550x134?v=v2 "image.png")

When you mention "is translated by Jira as a link", can you provide further details as to what you mean by this?

Please include any screenshots available to help us understand where you are seeing the code block macro creating links. Along with which version of Confluence and Jira you are presently running.

Once we have further information and some screenshots of the issue we will attempt to further recreate the issue.

Regards,  
Stephen Sifers

comments: author: Tsiki Yurman
body: Hi Stephen,

I wrote JIRA but actually meant Confluence. Sorry about that. Edited my question.

Thanks.


author: Stephen Sifers
body: Hello again Tsiki,

I re-tested within Confluence 6.9.1 and was able to re-create your reported issue. Any code within the code block macro with a period (.) will cause a URL to be created (valid or not).

However, in the latest version of Confluence, I can confirm this behavior has been removed. There are a few requests to resolve this issue. I attempted to find where the bug report or suggestion was that cause this to be corrected in the later version of Confluence but was unsuccessful. I am able to confirm within the latest version of Confluence, the URLs are not created within the code block macro.

Regards,  
Stephen Sifers


author: Tsiki Yurman
body: Many Thanks!


Tags: code

confluence-server

link

server
ConfiForms Calendar
Asked by shaikh faizan:

Hello,  

In the below link there is an example which is matching with my requirement.  
[https://wiki.vertuna.com/display/CONFIFORMS/Using+ConfiForms+CalendarView+to+display+data+in+Calendar+in+Confluence](https://wiki.vertuna.com/display/CONFIFORMS/Using+ConfiForms+CalendarView+to+display+data+in+Calendar+in+Confluence "ConfiForms Calendar")  
my only concern is i do not know anything about macros :) hence i don't know how to do the last step.  
Help!!!


Answers:
author: Alex Medved _ConfiForms_
body: Hi

Not sure I understand the full context of your question - do you know what a Confluence macro is, in general? [The best starting point is to read this tutorial.](https://confluence.atlassian.com/doc/macros-139387.html)

As for ConfiForms Calendar - this macro is a part of [ConfiForms app for Confluence for building data forms and mini apps](https://marketplace.atlassian.com/apps/1211860/confiforms-data-forms-workflows)

You need to install this app into your Confluence and then you will have the corresponding macros in your server available

Hope it helps and unblocks you for now

comments: author: shaikh faizan
body: Hi Alex,

Thanks for sharing the basics of macros, i will surely try to go through it and learn also i have confiforms installed i am aable to do all mentioned step on that page..can you help me with my previous query where in the above link(at bottom) my question is specific for the "group by" function used for field label ...i don't know syntax of "group by" function and i am unable to get that from confi help site as well.i have a very short time to create this on priority only the obstructing part is group by else everything is shown there on link step by step.

Thanks


author: Alex Medved _ConfiForms_
body: There is nothing extra required to be done to group the fields by date, there is no extra "group by" function.

You just need to put your date field you want to use in your CalendarView into the "Name of the field to use as a grouping field" parameter, as shown in the screenshot at <https://wiki.vertuna.com/display/CONFIFORMS/Using+ConfiForms+CalendarView+to+display+data+in+Calendar+in+Confluence?preview=/2064423/2064420/calendar-view-3.png>

And the data will be grouped by this date field in the calendar for you


author: shaikh faizan
body: Thanks Alex i'll try to do the way you mentioned once i'll be back at my workplace


Tags: confiforms
Spaces are causing CQL query to fail
Asked by Foti Mougos:

I'm trying to use a cql query in an Ajax GET to get some search suggestions. So far it works for a single word (like below), and returns 5 suggestions as intended.

http://\<myurl.com.au\>/rest/api/content/search?cql=text\~wifi\&limit=5\&type=page

However any spaces I add to the search end up double encoding the spaces as %2520 and cause the query to fail with the following error:

http://\<myurl.com.au\>/rest/api/content/search?cql=text\~wifi%2520network\&limit=5\&type=page

```
"message":"Could not parse cql : text~wifi%20network"}
```

Is my syntax for the request wrong? How can I handle spaces/multiple words better? I'd be happy to share more of my code if its relevant.


Answers:
author: Moses Thomas
body: [@Foti Mougos](/t5/user/viewprofilepage/user-id/2493783)You should try like this

http://\<myurl.com.au\>/rest/api/content/search?cql=text\~"wifi network"\&limit=5\&type=page

I think you are missing the quotation mark double quotation mark " "

see here also for some other example <https://developer.atlassian.com/server/confluence/performing-text-searches-using-cql/>

best regards,

comments: author: Foti Mougos
body: Hi Moses,

Thanks for the reply, unfortunately this didn't work:

https://\<myurl.com.au\>/rest/api/content/search?cql=text\~%2522wifi%2522\&limit=5\&type=page

Unfortunately the quotations are still getting double encoded as %2522 when they reach the server.

My javascript that builds the URL and passes it to the Ajax is below, I've tried both using quotes explicitly and using the encoded %22.

var searchURL = '[http://myurl.com.au/rest/api/content/search?cql=text\~%22](http://myurl.com.au/rest/api/content/search?cql=text~%22)' + text + '%22\&limit=' + limit + "\&type=page";

OR

var searchURL = 'http://myurl.com.au/rest/api/content/search?cql=text\~"' + text + '"\&limit=' + limit + "\&type=page";

If I copy paste the URL with %22 I don't get any errors. I'm just not sure what is double encoding the quotation marks or spaces in my request. Do you have any other ideas?


Tags: confluence-server

server
Unable to get into Confluence and cannot reset password due to
Asked by Katherine Riverwood:

Specific login error is:  
"The following error(s) occurred:

* Please re-enter your login details and type in the word below."

I have entered all my usual passwords multiple times and I am surely getting the capture word correct.

Reset error:  
"Sorry, you can't retrieve your password as no email service has been configured for Confluence. Please contact your administrators for assistance."  

Is my account locked and it's not telling me? I don't understand how NO passwords can be working.  
What can I do to regain access please? I am the admin.


Answers:
author: Nic Brough -Adaptavist-
body: It is likely that the user directory system has failed. You should be able to tell from the logs what is wrong (even if it's not that) - see \<confluence home\>/log/atlassian-confluence.log

If the user directory is ok and you are locked out, then see <https://confluence.atlassian.com/doc/restore-passwords-to-recover-admin-user-rights-158390.html>


Tags: login

password
How to place the latest comment on top, without refreshing the page?
Asked by Jazon Reyes:

I actually already saw a lot of topics such as putting macro and stuff. But the thing is, whenever i type a new comment, it is still appearing on the bottom. Hopefully someone can help.


Answers:
author: Maarten Cautreels
body: Hi Jazon,

There's no officially supported way to do this. If you're on Confluence Server this Question (and its answer) might help: <https://community.atlassian.com/t5/Confluence-questions/Is-it-possible-to-reverse-the-order-in-which-comments-appear/qaq-p/21425>

Hope this helps.

Best,

Maarten

comments: author: Jazon Reyes
body: Thank you for your reply. I actually tried those methods. They work great, but the only thing missing is to put the new comments to appear on the top without refreshing the page. Since they always appear on the bottom.
How to transfer folders from onedrive to Confluence?
Asked by sang chung:

I try to transfer a folder contains many files from onedrive to confluence, is there any way I can transfer directly?


Answers:
author: Shannon S
body: Hello Sang,

I would recommend seeing if there's some way you can use Confluence's [WebDAV feature](https://confluence.atlassian.com/doc/configuring-a-webdav-client-for-confluence-148044.html) to transfer the documents.

Let me know if you have any trouble with that.

Regards,

Shannon
All users including admins can't edit or add page
Asked by Mohammad Hashem:

Hello,

I have a confluence server with 10 users license, I am using admin user and if I want to add a new page or edit existing page I am getting a white page that I can't edit or write in it.

Regards


Answers:
author: Sid
body: Hi [@Mohammad Hashem](/t5/user/viewprofilepage/user-id/1638150),

Might be this because of context path configurations - See if the resolution in this KB fixes the issue.

<https://confluence.atlassian.com/confkb/getting-a-blank-or-white-screen-when-accessing-confluence-via-browser-318669136.html>

Post the logs if you can

comments: author: Mohammad Hashem
body: Hello,

I have resolved this by disabling/enabling collaborative editing.

Regards


Tags: confluence-server

server
"This page is taking longer to load than usual"
Asked by Lucian Tumurug:

Hi,

We are having a problem related to this error message: "This page is taking longer to load than usual. Give it a few moments, then try refreshing. Still having issues? Contact your Confluence admin."

The Collaborative Editing also seems to have some issues as an error message pops-up when opening that feature: "Something went wrong. Please try again."

Also, other steps from this guide were tried but still no success <https://confluence.atlassian.com/confkb/unable-to-edit-any-pages-in-confluence-6-x-due-to-collaborative-editing-867362716.html>

Any ideas, please?

Thanks


Answers:
author: Craig Castle-Mead
body: Hi Lucian,

What version of Confluence is this on? Our environment has an issue that impacts us every now and then where Synchrony (the collaborative editing service) doesn't start correctly/in the right order and any attempt to edit a page results in this error. It's a race condition during application startup and on the version we're on, no known fix, the workaround is to restart confluence until it works. Unsure if this is any relationship to your issue, but felt worth mentioning.

CCM

comments: author: Lucian Tumurug
body: Hi Craig,

Thanks for the input. I've tried the restart Confluence already twice, but maybe a 3rd time might help.

Confluence version 6.9.1

Cheers


author: Craig Castle-Mead
body: Third time is a charm - right?

If this is the issue you're having, it sometimes takes 6 or 7 restarts to get ours happy.

FYI - <https://confluence.atlassian.com/confkb/plugins-failing-to-start-due-to-plugin-has-an-extra-copy-of-atlassian-spring-scanner-annotation-classes-959299076.html> is the KB article we were directed to by support when we had this issue.

CCM


author: Lucian Tumurug
body: We have a bingo after 4th time!!

Actually, I would have abandoned after the 3rd time, but "it sometimes takes 6 or 7 restarts to get ours happy" kinda motivated me :)

Thanks


author: Justin Zhao
body: Congratulations Lucian, the wiki running Confluence for the company I'm working in right now is super slow... Any suggestions?


author: Wade Sturman
body: We see this issue on some confluence pages, but it does work for some browsers. Anyone run into this?

Usually, if people clear their cache, it works; sometimes it doesn't.

comments: author: Andrews
body: Hi [@Wade Sturman](/t5/user/viewprofilepage/user-id/2152059)

I was opening a page in Wiki, I captured how much time It took around 40-45 sec to load the wiki page.  

Sometimes, I face this slowness. Not always.

And sometimes I get this.

**504 Gateway Time-out**

nginx

Could you please guide me on how to fix this issue?


author: Sid
body: Hi Lucian,

I have similar issue in the past.This may because a corruption of the plugins cache or some other system plugins disabled, causing dependency errors

<https://confluence.atlassian.com/confkb/how-to-reset-all-confluence-plugins-back-to-their-default-state-through-the-database-859509873.html>.

After trying this if you still have issue post the logs.


Tags: confluence-server

server
Unable to save a confluence page.
Asked by Karthick Jaganathan:

When i edit a confluence page and save it, getting a error stating " There are unpublished changes made bu you and other users"

Collaborative editing is in ON mode.

Can you please check what else to check on this?

Thanks,

Karthick


Answers:
author: Ollie Guan
body: Hi [@Karthick Jaganathan](/t5/user/viewprofilepage/user-id/1487451),

The system has enabled the collaborative editing mode. Other users are editing the content of this page at the same time. It is possible that multiple users have modified the same content. The saved users may affect the previously saved content, and the system will prompt which places. There is a conflict, or you can find other user confirmations that are being edited according to the prompt at the top right of the page.

<https://confluence.atlassian.com/jirasoftwarecloud/editing-and-collaborating-on-issues-764478442.html>


Tags: confluence-server

server
Where does Confluence store page properties in the database?
Asked by JongBum Lee:

Dear All

I want to know to which table the page property macro value (per page) is stored.

because we have to do a large query.

Please help me.

Best Regards


Answers:
author: Shannon S
body: Hi JongBum

Page content including macros is stored in the table ***bodycontent***:

* [Confluence Data Model](https://confluence.atlassian.com/doc/confluence-data-model-127369837.html)

> The content of Confluence pages. No version information or other metadata is stored here. That is all in the content table.

Can you let us know if you have any questions about that? If so, what do you need exactly to do with your query? Perhaps we can help.

Regards,

Shannon


Tags: confluence-development
why my JQl Macro does not display EPIC name
Asked by Stephane:

Dear all

I am trying to filter issues by Epic name but failes. So i used JQL Macro to list all Issue of my project and corresponding Epic name but this field is empty. Could you explain in which issue field the Epic name is stored.

best regards and Happy Holiday

Stephane


Answers:
author: Bastian Stehmann
body: Hi [@Stephane Matringe](/t5/user/viewprofilepage/user-id/2450511),

Do you want to show this from epics or from issues that are linked to epics.

If the issues are linked to epic, try Epic Link instead of Epic Name.

comments: author: Stephane
body: Dear All, Thanks for your contributions.

In deed I would like to list the issues and the corresponding Epic name and/or Epic link those issues are included in. Unfortunately those 2 fields are for now empty for the issues despite the fact those same issues are included inside Epics.

Stephane


author: Stephane
body: Dear All, Thanks for your contributions.

In deed I would like to list the issues and the corresponding Epic name and/or Epic link those issues are included in. Unfortunately those 2 fields are for now empty for the issues despite the fact those same issues are included inside Epics.

Stephane


author: Tarun Sapra
body: Hello [@Stephane Matringe](/t5/user/viewprofilepage/user-id/2450511)

The field is "Epic Link" which stories the information of the epic on the story, thus look for "Epic link" field.

comments: author: Stephane
body: Dear All, Thanks for your contributions.

In deed I would like to list the issues and the corresponding Epic name and/or Epic link those issues are included in. Unfortunately those 2 fields are for now empty for the issues despite the fact those same issues are included inside Epics.

Stephane


author: Ollie Guan
body: Hi [@Stephane Matringe](/t5/user/viewprofilepage/user-id/2450511),

Do you mean "Epic Name" or summary?  

If it is "Epic Name", use the following statement, can you find out the result?

JQL?"Epic Name" is not null
How do I easily create new pages on the fly?
Asked by Bachittar_Singh:

I know in the typical wiki you can use double brackets around a text and that would create a page. Is there a more intuitive way to create pages from text? My use case is to create documentation around some software we use and it has sub pages etc. I would rather create them on the fly then have to create the new pages, name them and then link them back to the page.

Thanks in advance!


Answers:
author: Nic Brough -Adaptavist-
body: In Confluence, just use square brackets to name a link. This becomes a linked page. If the page exists, clicking on it takes you there. If it does not, then it takes the user to the create new page process, with the page title pre-set.

comments: author: Pedro Braga
body: I'm working with two different Confluence (in two organisations).

In one, as soon as I write "\[" and some letters it immediately starts showing me titles of pages ("Link suggestions") and the option to create a new page ("Insert link to create page""). \[Confluence 6.15.10\]

On the other, nothing happens. \[Confluence 1000.0.0-xxxx...\]

What happened with this '\[' option? Is it a special option we have to activate? I thought this would be the basics of a wiki-like tool, like Confluence.


Tags: cloud

confluence-cloud
Adding Epics listings to Confluence page?
Asked by Richard Aponte:

Hello,

I need some assistance to my confluence page. I'm trying to display a list of all Epics from Jira onto a page. I can only show three (3) Epics and when I add additional Epics I receive an error to display them.

I'm using the proect tracker widget and have added the following to list the epics.

"Key in (CDM-126, CDM-351, CDM-199, CDM-351)"


Answers:
author: Tyler Brown
body: Hey Richard,

Have you tired using the JIRA issue filter?

You could use "issuetype = Epic" and it also gives you some customization around how many to display as well as what fields to display.

Hope this helps,

Tyler

comments: author: Richard Aponte
body: Hello Tyler,

Thank You for responding. I'll try using Issue Type.

I have not used Jira Issues. I can try this after issues type.


author: Richard Aponte
body: O.K. I tried both and I still have the same outcome. For Issue Type I don't see any of my Epics display in the listing, and for Jira ssues Filter. I'm only able to filter three epics


author: Tyler Brown
body: Hey Richard,

Would you be able to share a screen shot of both?

Also what fields are you trying to display?

Tyler