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
- Realtime with multiple connections
I need the Realtime on multiple Collections for diffrent applicational logic. So my question is: Is there a way to have only 1 Websocket connection or do I need...
- Can't login or deploy functions in Appwr...
Hello, since i updatet to the appwrite cli 6.1.0 i can't login or deploy functions with the cli. When i call the command: "appwrite get account --verbose" i ge...
- Create admin user?
I'm not really sure how this is supposed to work, I installed Appwrite through docker-compose and set it up. When I launched the app and went into it, I created...