Skip to content
Back

Update from 1.8 to 1.8.1 failing

  • 0
  • Self Hosted
Flyto
11 Jan, 2026, 16:45

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...

TL;DR
Update from 1.8 to 1.8.1 failing due to a corrupted migration. Solution: revert to 1.7.5, run migration, install 1.8.0, run migration, then update to 1.8.1. Make sure to follow the proper upgrade path. The issue was caused by skipping necessary migrations.
Flyto
11 Jan, 2026, 17:02

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?

Flyto
11 Jan, 2026, 17:30

the logs just give 'unknown resource type' for everything...

hortigado
11 Jan, 2026, 21:06

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

Flyto
12 Jan, 2026, 04:39

So 1.8 to 1.8.1 caused the issue?

hortigado
12 Jan, 2026, 04:42

1.7.4 > 1.8.1

hortigado
12 Jan, 2026, 04:42

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.

Flyto
12 Jan, 2026, 09:40

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...

hortigado
12 Jan, 2026, 15:19

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.

hortigado
12 Jan, 2026, 15:20

`docker-compose exec mariadb sh -c
\ 'exec mysqldump
\ --single-transaction
\ --quick
\ --skip-lock-tables
\ -u"user" -p"password" appwrite' \

backupDaily/dump-$(date +%F).sql`

hortigado
12 Jan, 2026, 15:20

I edited it like this and the problem was solved

Guille
12 Jan, 2026, 15:44

[SOLVED] Update from 1.8 to 1.8.1 failing

Flyto
12 Jan, 2026, 20:00

@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.

Flyto
12 Jan, 2026, 20:01

@hortigado this has nothing to do with my initial issue, why are you writing those things here? I don’t have cronjobs for backups.

Guille
12 Jan, 2026, 20:01

I'm sorry I didn't realize it was a different user. I'll open it again

Guille
12 Jan, 2026, 20:02

Update from 1.8 to 1.8.1 failing

hortigado
12 Jan, 2026, 20:02

That's correct, your migration is corrupted; you'll have to run a backup.

Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more