Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Error while restoring backup of previous Confluence server

Łukasz March 13, 2018

When I am trying to restore (moving from one server to another) our instance of Confluence I encounter a strange, not a very descriptive error:

  • Your session has expired. You may need to re-submit the form or reload the page

I tried two different backup files (ZIP), tried changing permissions around, etc. No idea anymore.

The new installation is a docker container (official, latest). Migrating from MySQL to PostgreSQL on the way. Besides that nothing special I would say...

2 answers

1 vote
Andreas Gounaris October 7, 2019

Trying to migrate my dev installation to production, I faced the same issue.

My problem was Chrome! When I switched to FF it went through.

Confluence version (both servers): 6.14.1

Chrome version: 77.0.3865.90 (Official Build) (64-bit)

0 votes
AnnWorley
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
March 13, 2018

Hi!

Please let us know more: At what point in the restore do you see the error? Are you restoring a site XML backup under Confluence Admin>Backup and Restore? Does the session timeout abort the restore?

Are you uploading the backup or is it in a directory on the server's file system:

To upload and import a small site:

  1. Go to  > General Configuration > Backup and Restore
  2. Choose Choose File and browse for the site export file.
  3. Uncheck Build Index if you want to create the index at a later stage.
  4. Choose Upload and Restore.

To import a site from the restore directory: 

  1. Copy your export file to <confluence-home>/restore. 
    (If you're not sure where this directory is located, the path is listed in the Backup and Restore screen)
  2. Go to  > General Configuration > Backup and Restore
  3. Select your site export file under Restore a backup from the Confluence Home Directory.
  4. Uncheck Build Index if you want to create the index at a later stage.
  5. Choose Restore.

If the latter, it seems like the restore would complete despite your browser session expiring.

Please check whether another Atlassian application is overwriting your cookie: Logging into another Atlassian application logs me out of Confluence

Thanks,

Ann

Łukasz March 13, 2018

Well, I found the issue - proxy settings for the container. But, based on the error message that was one of the last things I would check. Pure luck...

AnnWorley
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
March 13, 2018

Thanks for the good news, I am relieved that you found the issue.

If you have time to update this thread to let us know what you set differently on the proxy it may help the next person with an ambiguous error like that. (We have had a lot of Docker questions lately so it could be really useful.)

Lars Solberg August 19, 2018

I'm in the same position now... Mind sharing what configuration you did to your proxy?

Lars Solberg August 20, 2018

I accessed confluence directly on it's port exposed using docker (8090), but I still got this message. I ended up doing the setup using a blank start, then doing restore from admin, after I logged in using the admin-user...

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events