Forums

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

import space and site fails: a required security token was not present in the request

Daniel Naber February 26, 2014

I cannot import a site export created with Confluence 5.4.3, neither a space exported with that version. The site ZIP is 50MB, the space is 10MB. I'm trying to import into our newly created onDemand version. Strangely, the first site import today from 4.2.2 worked (but the spaces were missing):

20 seconds (for the 10MB space) after pressing the "Import" button, I get "Your request could not be processed because a required security token was not present in the request. You may need to re-submit the form or reload the page". Firebug tells me that this is a 403 error for the POST to /wiki/admin/import/doimportconfluencesite.action.

Happens with both Firefox and Chromium. What can I do?

2 answers

1 accepted

0 votes
Answer accepted
Daniel Naber March 18, 2014

This was finally resolved by support. Only importing spaces (instead of the whole site) helped, which meant the users needed to be re-created manually (which was okay in my case).

0 votes
Jonathan Simonoff
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
February 26, 2014

First, you can't import spaces exported from a different major version, so I'd expect the 4.2.2 one to fail. (The only way to get material over is to upgrade the 4.2.2 site before upgrading.)

As for the failure importing the one exported from the same version, all I have is a guess: it sounds like there's a permissions problem -- perhaps you don't have sufficient permissions on the new site, or it has been too long since login and your security token has expired.

Daniel Naber February 26, 2014

I indeed originally imported only the site from version 4.2.2, not a space. Permissons shouldn't be a problem, as I'm the admin and can do everything else in the admin area.

Jonathan Simonoff
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
February 26, 2014

You can't import a site from a different version, either.

Daniel Naber February 26, 2014

Confluence site import says: "Confluence OnDemand accepts full site imports from version 4.0 and newer releases."

Jonathan Simonoff
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
February 26, 2014

So it does, and https://confluence.atlassian.com/display/DOC/Restoring+a+Siteseems to indicate the same thing (that you can upgrade a site by importing to a newer version). However, there is a reply from Atlassian in the comments indicating that it is problematic to import from a different major version. I'm not sure why they're so unclear about this.

divyesh
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
May 21, 2014

I am running into the same issue importing a site from our own hosted confluence 4.3.2 to AOD - Only one space shows up after the backup is imported (the zip file size is 83MB and the XML size inside is 66MB). Attempting to reimport results in the issue described in the original post.

Importing individual spaces would a painful task since I would need to upgrade the installation, etc.

Please help

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events