Admin
Check the docker logs for your mariadb container
Votes
0
Replies
24
Participants
Unknown
Messages
25
Admin
Check the docker logs for your mariadb container
Rank 2: Process
Rank 2: Process
is this mysqld error 6 issue ? i am really lost understanding the logs...
Rank 2: Process
mysqld signal 6 sorry...
Rank 2: Process
starting with docker compose up .. i see that appwrite-worker is deleting a lot of documents...
Rank 2: Process
and this is what always rolls up...
Rank 2: Process
my latest flutter app is built flutter 3.7.8 ... dart sdk 2.19.5 i'm using appwrite 8.2.0 in pubspec yml... and i'm running appwrite 1.2.0...
iirc last time i updated my flutter apps built flutter 3.3.3 dart sdk 2.18 and with the same appwrite 1.2.0...
maybe upgrading may fix this ?
Admin
2 things:
FTS auxillary line is caused by a corrupted index. See https://dba.stackexchange.com/questions/195310/how-to-resolve-innodb-error-duplicate-key-writing-word-node-to-fts-auxiliary
MySQLd error 6 is another corrupt DB error. You can search online for that
Rank 2: Process
appwrite-worker deletes a lot
Admin
Are you deleting things?
Rank 2: Process
ALTER TABLE tablename ENGINE=InnoDB; how can i run this command though ?
Admin
You might also run docker stats to see how your system is handling things
Rank 2: Process
i was deleting files from storage bukcet..but this always happens when starting up...
Admin
Then that might explain the deletes.
Your database is already corrupted so...ya, you'll have problems until it's fixed
Rank 2: Process
i must admit i have no knowledge on mariadb... how do i got about fixing this ?
Admin
Can't help you there. I guess it's time for you to do some research 😜
Rank 2: Process
gee.. i mean i use appwrite because i thought i don't have to deal with the underlying databases..
Rank 2: Process
i find this thread https://github.com/appwrite/appwrite/issues/5157
Rank 2: Process
docker compose exec mariadb sh -c 'mysql -uroot -p$MYSQL_ROOT_PASSWORD $MYSQL_DATABASE -e "show indexes from _2_database_3_collection_1"'
if i run the aboe... do i change $MYSQL_ROOT_PASSWORD with the rootpassword in my .env ?
Admin
When you self host, you have to manage and take care of the system including the database
Admin
No, $name dereferences an environment variable
Rank 2: Process
@Steven Levey ALTER TABLE tablename ENGINE=InnoDB; is there a general guide on mariadb appwrite overview ? do i run this using docker compose exec 'mysql .. ' as well ?
Admin
These aren't appwrite specific things so I'm sure any resource you find online will suffice
Rank 2: Process
this does the trick, as the how to i got the hint from https://discord.com/channels/564160730845151244/1087377262640365728/1087377262640365728 albeit i'm not able to follow the guide using datagrip but was able to find another way by use of docker exec -it into the mariadb container. can be marked as solved.
Rank 2: Process
[SOLVED] PDOException : MySQLServer has gone away when uploading into the storage bucket