#After upgrading to 1.4.5, this error shows:

73 messages · Page 1 of 1 (latest)

crimson halo
#
Unable to parse DSN: mariadb://user:...```
#

The password contains characters like } ] ) ; *

#

After downgrading to 1.3.7, this shows

Starting Data Migration to version 1.3.7

Warning: Redis::pconnect(): php_network_getaddresses: getaddrinfo failed: Try again in /usr/src/code/app/init.php on line 650
php_network_getaddresses: getaddrinfo failed: Try again
novel jolt
#

Check and follow this

crimson halo
#

So I can call docker compose up -d without having migrated yet?

novel jolt
#

That for sure

#

Also it's recommend to upgrade and migrate to 1.3.8 first

crimson halo
#

Updating to 1.3.8 and docker compose down && docker compose up -d didn't help. Same error afterwards.

#

Also the fix to you've sent me the link to was regarding the appwrite migrate for 1.3.7, which is not the main issue. Was just funny that it couldn't migrate to the same version. The main (first) error is with 1.4.5.

novel jolt
#

The restarting of the compose should remove the first error

crimson halo
#

Didn't help 😦

#

Everything that I need works well with 1.3.8, so I'll just try upgrading some other time.
Thanks for your effort and help ❤️

crimson halo
#

I still have the same error when upgrading to 1.4.13

strong topaz
#

Do you have backups?

crimson halo
#

Yes. I just finished recovering from the backup.

strong topaz
#

And now it works?

#

What's the version you have?

crimson halo
#

1.3.8

This is my upgrade procedure (I tried with 1.4.5 before, and today with 1.4.13)

docker pull appwrite/appwrite:1.3.8

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

cd appwrite

(When upgrading major or minor version:)
docker compose exec appwrite migrate

docker compose up -d

strong topaz
# crimson halo I used this script: https://gist.github.com/Meldiron/47b5851663668102a676aff43c6...

I recommend Steven's backup procedure in the future: https://youtu.be/lM5yZEPtlvg?si=G-4HowqXCQvzLCcX

Appwrite is a self-hosted backend-as-a-service platform that provides developers with all the core APIs required to build any application.

It's a good practice to backup your Appwrite server data regularly if you need to restore it later.

Backup/Restore scripts: https://gist.github.com/stnguyen90/fee636ff652b8ecbf761935b2aa254fb

Backup Notes...

▶ Play video
crimson halo
#

But is the bug known that I got after every upgrading to 1.4.x?

Unable to parse DSN: mariadb://user:...

strong topaz
#

And yes, it's directly to latest patch

crimson halo
#

That's exactly what I pasted above, no?

strong topaz
crimson halo
#

Yes, obviously I replaced the version with the one I installed

So the entrypoint could have been the issue?

#

It worked many times before lol

strong topaz
#

Maybe. No idea

open nexus
#

if that doesn't work, you might need to change the password 😬

crimson halo
#

How to encode it

#

Am I the only one with special characters in the pw

strong topaz
#

Wait, but you're not able to make it run even in older versions?

crimson halo
#

1.3.8 works. I use Appwrite for a long time.

But any upgrade to 1.4.x failed.

I'm trying with the correct entrypoint now...

#

Is this a yes?

Previous installation found, do you want to overwrite it (a backup will be created before overwriting)? (Y/n)

strong topaz
#

Do you have made a backup prior to this?

crimson halo
#

No, as I just recovered it from the DigitalOcean backup, and will do it again if it fails

#

I recovered via the script mentioned above, which worked after a few attempts, but my sql users weren't able to connect

crimson halo
#

Thanks, it's running

strong topaz
#

After it, it won't work. Run after

docker compose exec appwrite migrate
crimson halo
#

Same error, the entrypoint change didn't help

strong topaz
crimson halo
#

migrate

strong topaz
#

When running the docker exec appwrite migrate?

crimson halo
#

If it's because of the special characters in the pw, maybe there could be a fix in the future

#

Yes

strong topaz
crimson halo
#

Appwrite installed successfully
root@api:~# cd appwrite
root@api:~/appwrite# docker compose exec appwrite migrate
Unable to parse DSN: mariadb://user...

strong topaz
#

As Steven mentioned

#

Seems, yes, definitely the DB password 😅

crimson halo
#

Ok so I'll wait for a fix

strong topaz
#

You can change the DB password to something that doesn't contain special characters and then update the env var. It should work that way

crimson halo
#

Okay

Do you think, in a future release there will be a fix for this issue?

strong topaz
#

You can change the password, run migration, and then change the password to what it was initially

open nexus
crimson halo
#

And DS told me to change the passwords.

I changed (all 4) database passwords and was able to upgrade and to the migration.
If changed back, the migrate fails again.

Now it's running, the database connects, but the domain and its ip say bad gateway.

strong topaz
crimson halo
#

Yes it has, and it also happens through the droplet's ip

strong topaz
#

Could you send a screenshot of it?

crimson halo
#

Of a blank page saying Bad Gateway at the top left?

strong topaz
#

Okay, then I know what's it, thanks for the description 😅

#

What do you get when running
docker compose logs appwrite
?
And
docker compose logs traefik
?

#

In your appwrite installation folder

crimson halo
#

Just restored the droplet again.

I really appreciate your super fast support, and the product, but I don't have time for fixing bugs when I don't actually need an upgrade.

open nexus
crimson halo
#

The database was accessible. The user interface was not.

open nexus
crimson halo
#

I used incognito mode

jagged bough