I have spent the past 2 hours trying to figure this out but I really dont know what to do. 1.8. was a fresh install because the upgrade from 1.7.4 was a total mess. I wanna get this production ready but its just a pain. 1.8.1. now again just reciving error 500 when trying to log into the console. Logs in the containers do not show much, I do not know where to look...
can anyone please help me find the right direction, I am really loosing my mind. Its just a simple upgrade from 1.8.0 to 1.8.1, it shouldnt be that messy no?
the logs just give 'unknown resource type' for everything...
I had to revert to 1.7.5, run the migration, install 1.8.0, run the migration again, and now it works, even the backups. I went straight to 1.8.1 and migration, it seems that caused the problem
So 1.8 to 1.8.1 caused the issue?
1.7.4 > 1.8.1
I didn't go back to upgrade to 1.8.1, but reverting to 1.8.0 solved the problem.
Or maybe it was because it was necessary to run the 1.8.0 migration and then 1.8.1. I only ran the 1.7.5 migration and went straight to 1.8.1 and migrated. And I had this timeout problem.
Yeah you always need to upgrade to major versions first you cannot upgrade from 1.7.4 to 1.8.1 in one step... I wanted to upgrade from 1.8.0 to 1.8.1 and it destroyed everything...
I actually realized that the problem was caused by the cron job I had for backups; for some reason in version 1.8 it causes MariaDB to freeze and time out.
`docker-compose exec mariadb sh -c
\
'exec mysqldump
\
--single-transaction
\
--quick
\
--skip-lock-tables
\
-u"user" -p"password" appwrite' \
backupDaily/dump-$(date +%F).sql`
I edited it like this and the problem was solved
[SOLVED] Update from 1.8 to 1.8.1 failing
@Guille why did you close it? Itβs not resolved? Hortigado is talking about a completely different issue that has nothing to do with my problem.
@hortigado this has nothing to do with my initial issue, why are you writing those things here? I donβt have cronjobs for backups.
I'm sorry I didn't realize it was a different user. I'll open it again
Update from 1.8 to 1.8.1 failing
That's correct, your migration is corrupted; you'll have to run a backup.
Recommended threads
- function subdomain ssl certs
The generated subdomain isn't getting a valid ssl cert, I was wondering if appwrite automatically generates one or uses a wildcard for *.functions.domain.com? ...
- Whats best practise for Appwrite Cloud?
Appwrite Teams map very nicely to my needs, it is how i group users together. ... I use roles to define permissions. Should I also map a table to each team ? ...
- Error getting preview of file
Rest Response: ``` { "message": "Server Error", "code": 500, "type": "general_unknown", "version": "1.8.1" } ``` Appwrite Logs ``` appwrite ...