Admin
Please share the mariadb logs
Votes
1
Replies
24
Participants
Unknown
Messages
25
Admin
Please share the mariadb logs
Rank 3: Container
Rank 3: Container
Rank 3: Container
Admin
What are the specs on your server?
Admin
What else is there above this?
Rank 3: Container
I'm using localhost
Rank 3: Container
m1 Mac pro
Rank 3: Container
16 GB Ram.. 1 TB SSD
Rank 3: Container
it's just keeps scrolling
Admin
Maybe not enough resources were allocated for docker? Open docker desktop and check how much system resources were given to docker
Rank 3: Container
Rank 3: Container
isn't this enough?
Rank 3: Container
or should I change it to more?
Admin
No that's plenty.
Maybe your mariadb is corrupted. You might need to restore to a previous backup. If you don't care about the data, you can wipe it all and spin up a fresh Appwrite instance
Rank 3: Container
i haven't created the data yet but have created all the data structues and databases!
Rank 3: Container
either way it's not running so.. i'll try to fresh install appwrite.!
Rank 1: Thread
Hi Dipen, maybe awogen can avoid you the pain of losing your data structures next time : https://github.com/devloic/awogen/blob/main/examples/awogen_cli_example/README.md
Rank 1: Thread
(if you are using dart)
Rank 1: Thread
define dart classes and the tool will create the collections and attributes for you
Rank 1: Thread
in the database so they map to your classes
Rank 1: Thread
if the db crashes, you just regenerate the collections ( wont help you with the lost data though)
Admin
You might be able to use the CLI to pull the collection schema if you can still access it: https://appwrite.io/docs/command-line-deployment
Admin
To clear your data, go into your appwrite folder with the docker-compose.yml and run:
docker compose down -v
down stops and removes the containers and the -v flag says to also remove the volumes (where the data is)
Then you can start up Appwrite with
docker compose up -d
Rank 3: Container
it worked! I reinstalled appwrite from scratch! had to delete all the data!