Back

500 Internal server Error on settings and functions

  • 0
  • Tools
  • Functions
  • Web
David
2 Sep, 2023, 08:49

After successfully upgrading from 1.3.7 to 1.4.1 I get 500 Internal Error when I navigate to functions and settings pages. Anyone encountered this problem, how did you solve it?

TL;DR
User is experiencing a 500 Internal Server Error when trying to access settings and functions pages after upgrading from version 1.3.7 to 1.4.1. They tried restoring from backup but the metadata table is missing. They asked if it is possible to add it manually. Other users suggested running the migration command again and checking the network tab for the failing call. No solution was provided in the thread.
rohit90314
2 Sep, 2023, 08:53

Can you check network tab and see which call is failing

David
2 Sep, 2023, 09:01
rohit90314
2 Sep, 2023, 09:03

Can you also run docker compose logs appwrite ?

David
2 Sep, 2023, 09:17

Here are the log details in the file

D5
2 Sep, 2023, 09:25

@David Did you run the migration command?

David
2 Sep, 2023, 09:45

Yes, but it issued 1 error

David
2 Sep, 2023, 09:45

Is it advisable to run the migration again?

D5
2 Sep, 2023, 10:02

Run it again

David
2 Sep, 2023, 16:33

I get this error below

David
2 Sep, 2023, 16:33

Migrating Collection "_metadata" Failed to update project ("64ac3182732eff9bd858") version with error: Table 'appwrite._1__metadata' doesn't exist Table 'appwrite._1__metadata' doesn't exist

Drake
3 Sep, 2023, 20:40

This is the only error. Did it skip over this and migrate all others?

David
4 Sep, 2023, 09:02

Yes it migrated all others but this seem be to be the last one.

Drake
4 Sep, 2023, 14:09

Is that an important project?

David
4 Sep, 2023, 14:10

Oh yes, it's an important project

David
4 Sep, 2023, 14:10

In fact of them

David
4 Sep, 2023, 14:10

So I am opting to restore

Drake
4 Sep, 2023, 14:11

That's odd it's missing the metadata table 🧐

David
4 Sep, 2023, 14:12

Is it possible to add it manually?

David
4 Sep, 2023, 14:12

Or something ?

Drake
4 Sep, 2023, 14:13

There a lot of stuff in that table so it would be difficult to do so. You should restore from backup. Is it in your backup?

David
4 Sep, 2023, 14:15

I don't know if it's there in the backup but before upgrade, I backed up

David
4 Sep, 2023, 15:03

The restoration has worked

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