When I run this command docker-compose exec -T mariadb sh -c 'exec mysql -u"$MYSQL_USER" -p"$MYSQL_PASSWORD"' < dump.sql
I get this error. The file is uploaded and named accordingly
ERROR: The Compose file './docker-compose.yml' is invalid because:
Invalid top-level property "x-logging". Valid top-level sections for this Compose file are: version, services, networks, volumes, and extensions starting with "x-".
You might be seeing this error because you're using the wrong Compose file version. Either specify a supported version (e.g "2.2" or "3.3") and place your service definitions under the `services` key, or omit the `version` key and place your service definitions at the root of the file to use version 1.
For more on the Compose file format versions, see https://docs.docker.com/compose/compose-file/```
I am following this guide.
https://dev.to/appwrite/appwrite-in-production-backups-and-restores-4beg
I was able to create the dump file but cant restore it .
what version of docker and docker compose do you have?
Docker version 24.0.2, build cb74dfc
docker-compose version 1.25.0, build unknown
You need to use docker compose v2
Ty
I have updated compose to 2.18.1 and still same error
What's docker-compose version show?
1.25v
How do I update then. I tired and it did not work
So you might be using the old one still
You can try uninstalling the old one
Ok I got it to work but when i go to look at the web panel I got logged out and cant login
I got it all working! I had to reset password in order to beable to login
If i change my username and password to the db in the the .env will that break anything?
what do you mean? you can't change those values after the database has started
Is there anyway to change the username password?
you do it like any other mariadb database: https://linuxconfig.org/how-to-change-mariadb-user-password
Recommended threads
- User ID case sensitivity
I see that through REST (and SDK as well), getting a user is not case sensitive. And even though documentation does not clearly state that it is, the wording "V...
- Any way to temporarily bypass the email ...
Hey guys, any way to bypass the email verification to use the accounts again? i need to recover some projects that due to recent changes have been stopped, and ...
- How to use Sites on selfhosted appwrite
whenever I try to create a site even with template it says 404 nginx error