Repository navigation
Import from Wiki.js 2.x - Request failed with status code 502 #8358
Unanswered
59split
asked this question in
3.x - Help / Questions
Replies: 1 comment
|
That error comes from your reverse proxy (e.g. nginx) and can be caused by various things:
Check the docker logs for the container while the import is running. |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Description
Description
When importing from Wiki.js 2.x i get the following error in the console after it started importing (real domain replaced with mywikiserver.com):
Page history: 390 imported, 30 skipped.
08:31:00
Assets: starting (284 records)...
08:34:10
Request failed with status code 502: POST https://mywikiserver.com/_api/import/sessions/c2bca8ca-fb71-4e3a-90de-11e5f20433dd/blobs/5fd83f7bcc95ffb70db9f921a7aa4e9a2acf518da7397705d88ab1287ff8ad37
After that nothing seem to happen. The loading bar at the top stays, but becomes red.
It does seem like the pages are imported even if there is an error.
What i don't know if there is anything else that is supposed to be imported after the pages.
To Reproduce
Steps to reproduce the behavior:
Export to 3.x from 2.5.317
Go to Import from Wiki.js 2.x in Wikijs 3.5
Import to default site
Select the archive you exported from 2.x
Start import
Expected behavior
The import would succeed.
Note this is similar to #8316 but its a 502 error, not a 504. Restarting the import multiple times did not have any effect and it still errors out with the same error.
Wiki.js Version
3.6.1
Deployment Platform
Docker
Upload screenshots
No response
All reactions