You can also check Stevne's gist for database backup.
so after backup i just run this command ?
docker run -it --rm --volume /var/run/docker.sock:/var/run/docker.sock --volume "$(pwd)"/appwrite:/usr/src/code/appwrite:rw --entrypoint="upgrade" appwrite/appwrite:1.2.1
That should work
Just, in older versions the --entrypoint was "install" so like so:
docker run -it --rm --volume /var/run/docker.sock:/var/run/docker.sock --volume "$(pwd)"/appwrite:/usr/src/code/appwrite:rw --entrypoint="install" appwrite/appwrite:1.2.1
I tried install to 1.2.1 and then migrate still 500 internal error
Run
docker logs appwrite
And share the results
Check your .env file for all the right values
which one is .env file
In the same folder you'll have .env file which contains all the information for your Appwrite instance.
Do you have a snapshot backup for your server?
I ran the backup script as in here
why i dont see .env file
It's hidden run
ls -lah
And you should have backup of all your old .env files
ya i do see all env is there
Good
Now you can compere current .env file with some backup to see that all the values are correct
Hi there I am able to fix the 500 already but
all my database gone i think. The account all missing
I cant login back
Restore to the DB backup you've made
gg I tried to restore but still same
so means that all my file are gone?
Files?
Have you made a db backup?
Recommended threads
- Selfhost - Starting Docker containers fa...
I am stuck at installing appwrite. Specifically, the containers dont want to start up. The images are downloaded and ready. Dockhand is reporting containers st...
- It says domain already used but I have d...
I accidentally deleted the project in which I used my domain originally (orexia.app) from name.com. Now I am trying to add it to a different project and it says...
- Is this normal in the self host custom d...
when i try to add custom domain to the project did not see this in 1.8.0 ok when pressed the retry it says "DNS verification failed with resolver 8.8.8.8. Domai...