-
-
Notifications
You must be signed in to change notification settings - Fork 4.5k
Description
Bug Description
I'm setting up a self-hosted Appflowy server for myself on my laptop. I tried to import my existing workspace from "local", so I did the following :
In my local session, I went to Settings > Manage Data > Backup your workspace
Everything's fine, the ZIP is correctly created.
Then I switch to "appflowy self-hosted" in cloud settings, with the address http://localhost (hosted on port 80, I have correctly access to the admin panel, the web app, and I can connect and create workspaces in the desktop app)
and from the desktop app connected to the Appflowy cloud server running on localhost, when I try to import my workspace, I get an error (see screenshot below) "Invalid file format".
So to see if the backup is corrupted or something, I go back to cloud settings and connect to Appflowy cloud, and from there, the import works fine, and I get my data in the cloud instance. From there I also do a new ZIP backup just in case some magic happens behind the scenes.
What I tried:
- import a zip backup from my local workspace in my self-hosted instance (doesn't work)
- import a zip backup from my cloud account into my self-hosted instance (doesn't work)
- import a zip backup from my local workspace to my cloud account (works!)
- both in 0.9.7 and 0.9.8
Am I doing something wrong, is this a bug with the "localhost" FQDN ?
How to Reproduce
Install 0.9.7
Create a local workspace (anonymous)
Backup as a ZIP
Deploy a self-hosted instance on localhost, default ports, default config other than localhost address
In the desktop app, connect to your localhost instance by choosing Self-hosted, address "http://localhost"
Once in your self-hosted instance, try to import your zip backup
Expected Behavior
It should import the workspace, as it does on the public cloud instance
Operating System
Arch Linux
AppFlowy Version(s)
0.9.7, 0.9.8
Screenshots

Additional Context
No response