youngmon/atlassian-qna huggingface dataset:
Recovery from backup failed
Asked by Jaden liang:

I exported the backup file on the old server, The ZIP include entities.xml, and the attachments folder is also copied. After importing zip and recovering XML on the new service, the document is recovered, but the attachment recovery fails. The attachments folder is copied to /var/atlassian/application-data/confluence/attachments and / var /var/atlassian/application-data/confluence/attachments/ver003, including rebuilding the index.


Answers:
author: Fabio Racobaldo _Herzum_
body: Hi [@Jaden liang](/t5/user/viewprofilepage/user-id/4774942) ,

did u have some error on your logs? Did u selected "Include attachments" property when you performed the backup?

Please, let us know.

Fabio

comments: author: Jaden liang
body: Hi\~  
I didn't choose to include attachments during backup because the attachments are too large. I chose to copy the attachment folder manually


author: Fabio Racobaldo _Herzum_
body: Hi [@Jaden liang](/t5/user/viewprofilepage/user-id/4774942) ,

if attachments are not included into you backup, you should restore them manually using the following how-to guide <https://confluence.atlassian.com/doc/retrieving-file-attachments-from-a-backup-187758.html>

Fabio


author: Jaden liang
body: WARN \[http-nio-8090-exec-1\] \[atlassian.confluence.pages.DefaultAttachmentManager\] getAttachmentData Could not find data for attachment: Attachment: image2021-9-15_10-44-0.png v.1 (98436660) chenbingrui - com.atlassian.confluence.pages.persistence.dao.filesystem.AttachmentDataFileSystemException: No such file for Attachment: image2021-9-15_10-44-0.png v.1 (98436660) chenbingrui. Were looking at /var/atlassian/application-data/confluence/attachments/ver003/151/118/22118401/159/186/98436659/98436660/1


author: Fabio Racobaldo _Herzum_
body: Please follow instruction at this page <https://confluence.atlassian.com/doc/retrieving-file-attachments-from-a-backup-187758.html>


author: Jaden liang
body: Unfortunately, my old server has been damaged and can't do anything in the old server. Is there any other way?


author: Jaden liang
body: Unfortunately, my old server has been damaged and can't do anything in the old server. Is there any other way?


author: Radek Dost?l
body: Any other way, such as conjuring those attachments out of thin air? Do you have those attachments somewhere or not?

You need to have them copied from the source server so you can then process them and "import" them. You cannot just copy paste them somewhere. Pages refer to attachment ids, attachments are separate db entries, attachment paths are built with with space id, page id, (both of these used multiple times in different way) attachment entry ids. Confluence has to process the files to ensure it stores them correctly with correct ids.


author: Jaden liang
body: I have copied the complete attachment folder from the old server, that is, the attachments are completely copied, but these attachments cannot be associated on the new server


Tags: confluence-server

server
is it possible configure two identical AD in Confluence
Asked by Davida:

Hello everyone

Today we have had a problem accessing the AD due to a certificate issue that we have solved by pointing to a second active directory identical to the first

We currently have two identical LDAP with distinct domains in our company and I wanted to know if we can configure both in our Confluence access as two directories in case one fails, use the other.

The confluence user would have to remain independent of which of the two domains/directories is accessed

Best regards


Answers:
author: Radek Dost?l
body: Authentication is first in order depending on where the user trying to log in exists. To make use of both ext. directories, each user would need to have an account in both of them.

So when you're logging in, Confluence "scans" directories top to bottom and authenticate you against the first match. This means that you will always be using the first directory you have your user in. Regardless of whether that directory times out or fails. The failover/redundant AD support is on the roadmap - <https://jira.atlassian.com/browse/CONFSERVER-8867>

I believe you would be able to set this up in Crowd, at least from initial looks, just not in Confluence out of box <https://confluence.atlassian.com/crowd/configuring-directories-for-failover-authentication-890749126.html>


author: Nic Brough -Adaptavist-
body: This won't work - Confluence considers each directory you configure as a different source. So even if they are the same, "directory 1: nic" would not be the same user in Confluence as "directory 2: nic"

You can't use Confluence's directories for directory fail-over (yet)

You need to do one of

1. Implement failover recovery on the directories, not Confluence
2. Use something that abstracts the directories away from Confluence
3. Wait for failover to be implemented in Confluence

Points 2 and 3 here are better explained by [@Radek Dost?l](/t5/user/viewprofilepage/user-id/715713)


Tags: active-directory

confluence-server

server
Conflence??????????
Asked by Jieyi_liu:

????????????????????


Answers:
author: Ollie Guan
body: Hi [@Jieyi_liu](/t5/user/viewprofilepage/user-id/4774832) ,

?????????????????

<https://confluence.atlassian.com/conf713/collaborative-editing-1077913139.html>

comments: author: Jieyi_liu
body: ??????????????????????????\~


author: Ollie Guan
body: ?Confluence Cloud??Confluence Server/DC?


author: Jieyi_liu
body: ?????????\~
Transfer project ownership
Asked by shilpa_vs:

Is there an option to transfer project from one site to other site instead of migrating all elements?

My aim is to get the project moved from one organization to other with all the history and legacy data. I read an article on 'Migration' option. I've tried that and it has few limitations.


Answers:
author: Daniel Ebers
body: Hi [@shilpa_vs](/t5/user/viewprofilepage/user-id/2320769)

there is some information around about how to export content - when you say you tried migration: was is that guide you referred to or a different one?

* **Export content to Word, PDF, HTML, and XML** <https://support.atlassian.com/confluence-cloud/docs/export-content-to-word-pdf-html-and-xml/>

A different approch would be migrating from cloud to cloud:

* **Migrating from Confluence Cloud to Confluence Cloud** <https://confluence.atlassian.com/cloudkb/migrating-from-confluence-cloud-to-confluence-cloud-691011969.html>

Regards,  
Daniel


Tags: cloud

confluence-cloud

migration

project
Download issue
Asked by Robert Pineres:

Hello Group,

Simple question. I have used the link function to upload a link to an excel spreadsheet. In the past, it would immediately download the file. Now it shows a bad screenshot and has to click on the top right to download if you want. Can someone assist me to find out if something is wrong (user error) or is it my system issue?

Upfront thank you for your time to assist me.

Robert


Answers:
author: Dave Menconi
body: Hi Robert,

Correct me if I'm wrong but I think you're talking about confluence.

The link function should only give you a link to the url. It sounds like it's working as expected.

But there is also an Excel Macro. If you attach your spreadsheet to the excel macro it actually shows the data in your page without the viewer having to download anything.

It sounds like that's the functionality you want: attach the spreadsheet to the confluence page and then use the excel macro to display it.

Dave

comments: author: Robert Pineres
body: Thank you, Dave!


author: Erica Moss
body: [@Robert Pineres](/t5/user/viewprofilepage/user-id/4488779) Hey, Robert! What product are you referring to?

comments: author: Robert Pineres
body: My apologies. It is confluence


Tags: download
Links persist when I copy pages to a new space
Asked by Richard Moens:

When I copy a page (that has inline links) from space A to space B,

* Some links "map" to target pages in space B
* Some links persist to space A.

I end up having to manually find and correct those links in space B.

Any tips?


Answers:
author: Pramodh M
body: Hi [@Richard Moens](/t5/user/viewprofilepage/user-id/4223532)

If you need to persist the link to Space B the relative links are helpful here

Reference here

<https://community.atlassian.com/t5/Confluence-questions/Is-there-a-way-to-create-a-relative-vs-absolute-link-inside-a/qaq-p/1286901>


Tags: cloud

confluence-cloud

copy

link

space
Version history
Asked by Sean F_:

I just lost most of the content on my Confluence page. How do I roll back to the previous of what I had?


Answers:
author: Ash Pitt
body: Ahoy [@Sean F_](/t5/user/viewprofilepage/user-id/4560885)

Everything you need to know is here <https://confluence.atlassian.com/doc/page-history-and-page-comparison-views-139379.html>

Restore a previous version {#toc-hId--1182690604}
-------------------------------------------------

1. Go to the page and choose ![](https://confluence.atlassian.com/doc/files/704577869/704577870/2/1517274795952/ellipsis.png) \> **Page History**
2. Choose **Restore this version** beside the version you want to restore (or at the top of the page if you've opened the version)
3. Change the default change comment if necessary, and choose **OK**

![(info)](https://confluence.atlassian.com/s/-yaoclo/8402/45c55aec607bd3c0b24eb377ecd790d998a06033/_/images/icons/emoticons/information.svg) All page history is retained; restoring an older version creates a copy of that version. For example, if you restore version 39, Confluence will create a copy of version 39 and the copy will become the new, current version.

If the page has an unpublished draft, the content of the draft will be lost when you restore a previous version. We'll warn you if there is an unpublished draft.

Cheers!

Ash

comments: author: Sean F_
body: Thank you Ash


author: Ash Pitt
body: You are most welcome :)


Tags: cloud

confluence-cloud
How does billing work if I change Standard Confluence Yearly subscription to Premium?
Asked by Stalea:

Hello,

Could you please clarify how the process of upgrading of Confluence Standard Year subscription to Premium work? If I purchased 20 accounts for Standard Confluence Yearly subscription to and after 4-5 months it is decided to move to Premium?

Thank you!


Answers:
author: carlosughini
body: Hello Stalea,

Welcome to the Community!

JIRA subscription billing is based on the user tier at the end of your monthly billing cycle. In Annual subscription, it works in the same way, but with a discount of two months per year in your subscription.

That being said, let's suppose that you have 8 users on your company and have subscribed for an Annual subscription on April 19th for the 10 user tier. Then on May 23rd, you decided to add 3 new users, updating your billing for the 15 user tier.

You'll be charged for the 10 users tier in April and May, however, in June you will be billed for the 15 user tier and so on., always remembering the discount provided by the annual subscription.

For more information about it, check the documentation below:

- [Billing and User Count](https://confluence.atlassian.com/cloud/billing-and-user-count-873871345.html)

- [Monthly Convert to Annual](https://www.atlassian.com/licensing/cloud/future-pricing#monthly-convert-annual)

Please check the information above and let me know if it helps.

Regards,

Carlos

comments: author: Stalea
body: Hi Carlos,

The question was more about changing billing plans. Could you please clarify how it works if I purchase Standard Jira (annual subscription) on April 19 and then want to switch to Premium on May 23?

Thank you!


author: carlosughini
body: Hi Stalea,

It happens as I mentioned in my example, in this case you will be be charged for the Standard Jira in April and May, however, in June you will be billed for the Premium and so on.

Please let me know if it helps or if you have any questions.

Regards,

Carlos


author: Anastasia Leonova
body: Got it, thank you!


Tags: cloud

confluence-cloud
Confluence Migration Assistant Error
Asked by John McAlpin:

### Cause {#toc-hId-1315324560}

I'm currently on 7.10.2 locally hosted server. Attempting to migrate to the cloud. When I run the migration assistant I receive the below. Can someone please point me in the right direction? Thanks!

org.apache.velocity.exception.MethodInvocationException: Invocation of method 'getInitialState' in class com.atlassian.migration.agent.web.AppAction threw exception com.atlassian.util.concurrent.LazyReference$InitializationException: javax.persistence.PersistenceException: Failed to update database schema at /templates/app.vm\[line 21, column 44\]  
at org.apache.velocity.runtime.parser.node.ASTIdentifier.execute(ASTIdentifier.java:228)

caused by: com.atlassian.util.concurrent.LazyReference$InitializationException: javax.persistence.PersistenceException: Failed to update database schema  
at com.atlassian.util.concurrent.LazyReference.getInterruptibly(LazyReference.java:149)

caused by: javax.persistence.PersistenceException: Failed to update database schema  
at com.atlassian.migration.agent.store.jpa.impl.LiquibaseSchemaUpgrader.upgrade(LiquibaseSchemaUpgrader.java:35)

caused by: liquibase.exception.LockException: java.lang.ClassCastException: class java.time.LocalDateTime cannot be cast to class java.util.Date (java.time.LocalDateTime and java.util.Date are in module java.base of loader 'bootstrap')  
at liquibase.lockservice.StandardLockService.listLocks(StandardLockService.java:399)

caused by: java.lang.ClassCastException: class java.time.LocalDateTime cannot be cast to class java.util.Date (java.time.LocalDateTime and java.util.Date are in module java.base of loader 'bootstrap')  
at liquibase.lockservice.StandardLockService.listLocks(StandardLockService.java:388)


Answers:
author: Thiago Masutti
body: Hi [@John McAlpin](/t5/user/viewprofilepage/user-id/3659372)   
I hope you are well.

The following articles may help you with the error you are experiencing:

* <https://confluence.atlassian.com/confkb/confluence-upgrade-failed-with-liquibase-exception-lockexception-could-not-acquire-change-log-lock-error-969527207.html>
* <https://jira.atlassian.com/browse/MIG-3>

Kind regards,  
Thiago Masutti

comments: author: John McAlpin
body: That did the trick. Thanks!


Tags: confluence-server

migration-customer-care

server
Anchors Links not communicating when Expand Macro is closed
Asked by Yllien Verdes:

Dear Community:

I have been searching the Discussion Boards and Google to find a solution, which seems to have gotten a lot of attention: Links NOT opening to their corresponding Anchors if the referenced section in hidden in a collapsed Expand Macros.

Seems to me that Confluence has pushed the benefits of using Expand Macros to make Pages look tidy and organized; likewise, Anchors are supposed to aid with complex cross-referencing.

Honestly, if I thought that I would need to choose between Anchors and Expand Macros, then I would have opted for Anchors. I need these data to be linked to one another!

Could someone speak to this matter? All of the existing discussions are rather old.

Perhaps there's a fix now that we're in 2022 and users have been complaining about this glitch since 2013.

Please! I would like an experience wherein a user can click a link and be taken to its anchor, irrespective of whether or not all sections of the page are tucked away in Expand Macros or not.

Thank you!


Answers:
author: Brant Schroeder
body: [@Yllien Verdes](/t5/user/viewprofilepage/user-id/4769615) you need to vote for the enhancement request here <https://jira.atlassian.com/browse/CONFCLOUD-27357>


Tags: anchor

cloud

confluence-cloud

expand

link
Unable to change indexing language for the Confluence Cloud on the Free plan
Asked by Gregor Giataganas:

Hello,

I've decided to try out Confluence but wasn't able to change the indexing language (I need to set it to the Russian).

The configuration page of the Confluence cloud states that

Temporarily, currently only sysadmin can change the indexing language and reindex all documents. Contact Atlassian Support if you need help.  
But as a free plan user, I'm unable to create a ticket in the Atlassian Support.

I was told about a case when a ticket for a similar issue was created with the help of the Community Support. So I hope that someone can help me too.

Best Regards,  
Gregor


Answers:
author: Gregor Giataganas
body: Hi Carlos,  
since it is the Free plan, unfortunately I can not open a ticket.

Best Regards,  
Gregor

comments: author: carlosughini
body: Hey [@Gregor Giataganas](/t5/user/viewprofilepage/user-id/4770006) ,

Could you please provide me your site URL so I can try to open a ticket for you?

Looking forward to hearing from you.

Regards,

Carlos


author: carlosughini
body: Hi Gregor,

Welcome to the community!

As you mentioned that you are using Confluence Cloud, the best approach here is to open a support request with the Atlassian Support Team.

You can create your support ticket from the [support site.](https://support.atlassian.com/contact/#/) You will need to create the ticket using your primary technical contact so that they have permission to make the change in your system.

Let me know if you have any trouble doing that.

Kind Regards,  
Carlos


Tags: cloud

confluence-cloud
Where is the link to upgrade from standard trial to premium trial?
Asked by R M:

Hello,

I have been using confluence cloud at the free level, and like it.

I want to get a free trial of premium.

I clicked the link to get a trial of standard. I assumed that a link to upgrade to premium would appear after that, somewhere.

However, now that I'm in the standard trial, there seems to be no link, either in my profile or in any settings, that would let me upgrade to a premium trial. Where the "try standard" link was at the top (appeared when I click my avatar at top right), there is simply nothing there.

It seems that I am unable to help Atlassian take more of my money. :)

Can someone please direct me to the link to a premium trial?

Thanks!


Answers:
author: R M
body: Found it!

Settings gear =\> Billing (left nav) =\> Manage Subscriptions (left nav) =\> Change link.


author: Andy Gladstone
body: [@R M](/t5/user/viewprofilepage/user-id/4760161) I do not believe that there is an option for a free trial of Premium coming from a free trial of Standard. To access Premium features, you need to be on a paid Standard account and then upgrade for a free Premium trial.

Hope this helps.

comments: author: R M
body: That does help. Thanks Andy!

I was hoping to try some premium features (especially team calendars) today. Am I stuck with waiting out the standard trial for two weeks, before I can try that?

Thanks again.


author: Darquise Leblanc
body: If you decide not to use Premium, can you downgrade back to Standard. We also need to try Premium just for the Calendars!


Tags: cloud

confluence-cloud

premium
How can i disable page notifications to the owner when content is modified
Asked by Perry:

Just want to disable page email notifications so the owner is not sent unwanted emails


Answers:
author: Srinatha T
body: Hi [@Perry](/t5/user/viewprofilepage/user-id/4131590) ,

Welcome to Atlassian community.

In order to stop getting notified for page modifications. You have to stop watching the page. You can navigate as below :

Goto --\> Profile --\> Settings --\> Watches --\> From here you can click "Stop Watching" for any unwanted spaces or pages you like.  

You can get more information regarding the same in the below page:

* [Watch pages spaces and blogs.](https://confluence.atlassian.com/doc/watch-pages-spaces-and-blogs-139579.html#:~:text=manage%20your%20watches%3A-,Choose%20your%20profile%20picture%20at%20top%20right%20of%20the%20screen,any%20unwanted%20spaces%20or%20pages.)

You can also turn off auto watch the info is on the page. Read about the same.

I hope the above information helps. Have a good day.

Thanks,

Srinath T

comments: author: Perry
body: hi Srinath,

Thank you for the reply. Sorry, I was not very clear, I am an admin and would like to turn off notifications for a page that another user created. I want to be able to stop all the email notifications routing to the page creator every time the page is updated without contacting the page creator. is that possible? We are on Server 7.14

thanks

perry


Tags: confluence-server

server
REST API. Find the page by title pattern.
Asked by krivonos:

Hi all,

Please, give me an idea how to find the page by pattern using REST API. For example, in the SQL query i could write: PageTitle like 'Report%' and I'll find pages with titles 'Report2021', 'Report2022' etc.

I tried to use REST API with asterix symbol like that:

[http://mysite:myport/rest/api/content/?title=REPORT\*\&spaceKey=TESTSPACE](http://mysite:myport/rest/api/content/?title=REPORT*&spaceKey=TESTSPACE)

No result :(

Thanks in advance.


Answers:
author: David Bakkers
body: Hello [@krivonos](/t5/user/viewprofilepage/user-id/4691405)

CQL is not the same syntax as SQL. There are lots of mistakes in the URL you've provided as your example:

1. REST API endpoints do not end with a backslash before the question mark (to denote the start of declaring any parameters)
2. Ampersands (\&) are not used to join CQL clauses. The joining keyword is "*AND*"
3. You can only use the wildcard (\*) character with the *Contains* (\~) operator
4. If you do use the wildcard character, you must enclose the text to search for with quotation marks
5. CQL is case sensitive, so REPORT != Report

I would suggest you spend some time re-reading the [Confluence CQL documentation](https://developer.atlassian.com/server/confluence/advanced-searching-using-cql/) and looking at the examples to get a better understanding of how to construct properly formed CQL queries.

comments: author: krivonos
body: David, thanks for your answer.

That did work for me:

[http://mysite:myport/rest/api/content/search?cql=(title\~](http://mysite:myport/rest/api/content/search?cql=(title~)"REPORT\*")\&(spaceKey=TESTSPACE)


Tags: confluence-server

server
Bubble Up Action Items On A Page
Asked by samantha.dohna:

I have a confluence document that is very long - outlining the specific uses for the different pieces of a Jira ticket (fields, labels, etc.).

The document is set up using a layout with two columns. One column being larger than the other. The large column displays the content of the document. The smaller column displays a table of contents and links to related documents.

Throughout the document there are action items assigned.

I'd like to have a section under my table of contents, on the smaller section of the layout that will show all of the action items that are throughout the page. Ideally, a user would be able to click on any action item in this list and it will jump to where that action item is on the page.

Is this possible? Is there a widget to support this?


Answers:
author: Ash Pitt
body: Hey [@samantha.dohna](/t5/user/viewprofilepage/user-id/4749090)

Welcome to the community!

You can use the "Task Report" marco to do this <https://support.atlassian.com/confluence-cloud/docs/insert-the-task-report-macro/>

Hope that helps :)

Ash


Tags: cloud

confluence-cloud