
You're running

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.3.8

For version 1.3.8 change upgrade
to install

In the entrypoint

The upgrade is only from version 1.4.x

after all that i got exact same error as at the beginning

also by trying to acces the site not by localhost but by ip adress i got this error

i tried to check logs on docker desktop but they are all empty except these

In version 1.3.8 everything operated correctly?

The migration when smoothly?

should i migrate from 1.3.1 to 1.3.8?

Yes

Step 3

Make sure you've all the backups

migration went smoothly but i cannot login to my account now

Check to see if you see errors? Try in incognito

You can always restore to the backup and to version 1.3.1

actually i dont have backup of volumes cause it was beyond my skills i only have sql dump and collections headers

i tried now rolling back to 1.3.1 to 1.3.8 then to 1.4.3 but now as i start i have this error showed up: {"message":"Error: Error handler had an error: Failed to create connection: php_network_getaddresses: getaddrinfo failed: Try again","code":500,"file":"usrsrccodevendorutopia-phpframeworksrcApp.php","line":551,"trace":[{"file":"usrsrccodevendorutopia-phpframeworksrcApp.php","line":673,"function":"execute","class":"UtopiaApp","type":"->","args":[{},{},{}]},{"file":"usrsrccodeapphttp.php","line":253,"function":"run","class":"UtopiaApp","type":"->","args":[{},{}]}],"version":"1.4.3"}

For that all you need to do is run
docker compose down && docker compose up -d
Again. Then migrate

i somehow got past previous problem but got stopped by another

Soo after trying dozens of things i think it's time to uninstall whole appwrite with rest of the packages but i don't know how "compose down -v" doesn't seem to work

how about docker compose down -v
?

Yea, that's what I meant, I eventually got it by deleting individual images on docker and recreating whole database, so I learned a lesson to create better backups

[SOLVED] Problem with migrating from 1.3.1 to 1.4.3
Recommended threads
- CSV Import not working
I am running 1.7.4, trying the sample book csv import. I get a pop up saying import started and then a quick follow up saying completed. Nothing ever appears ...
- ❗[Help] Function stuck in "waiting" stat...
Hi Appwrite team 👋 I'm trying to contribute to Appwrite and followed the official setup instructions from the CONTRIBUTING.md guide to run the platform locall...
- 1.7.0 Self Hosted Upgrade
Hi, I've tried a fresh install on 1.7.0 and I've also done a fresh install on 1.6.2. 1.6.2 is working fine fresh, update to 1.7.0 and migrate fails Fresh inst...
