You can also check Stevne's gist for database backup.
Failed to update project when 1.1.2 upgrade to 1.4.1
Votes
0
Replies
24
Participants
Unknown
Messages
25
Rank 1: Thread
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.1Rank 1: Thread
I tried install to 1.2.1 and then migrate still 500 internal error
Run
docker logs appwrite
And share the results
Rank 1: Thread
Check your .env file for all the right values
Rank 1: Thread
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?
Rank 1: Thread
I ran the backup script as in here
Rank 1: Thread
why i dont see .env file
It's hidden
run
ls -lahAnd you should have backup of all your old .env files
Rank 1: Thread
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
Rank 1: Thread
Hi there I am able to fix the 500 already but
Rank 1: Thread
all my database gone i think. The account all missing
Rank 1: Thread
I cant login back
Restore to the DB backup you've made
Rank 1: Thread
gg I tried to restore but still same
Rank 1: Thread
so means that all my file are gone?
Files?
Have you made a db backup?