Back

[Sovled] 500 after restore and update version

  • 0
  • Databases
  • Self Hosted
Suiii
4 Oct, 2023, 13:48
TL;DR
After restoring and updating the version, the user encountered a 500 error. They found a solution by using the command "docker-compose exec appwrite migrate". They also mentioned following the self-hosting documentation on the Appwrite website. The user asked if having a .env file could help solve the issue. The error message showed a "Filter not found" exception in the Database.php file. The user could access the project but received a 500 error when selecting a project. They mentioned accessing the application only through localhost and asked if using ngrok could help. The user also asked where they could check to identify the problem.
Suiii
4 Oct, 2023, 13:53

where can I check to see what went wrong

Suiii
4 Oct, 2023, 13:54
Idan Elazar
4 Oct, 2023, 13:57

did you try to use ngrok?

Suiii
4 Oct, 2023, 13:59

I only access localhost

Suiii
4 Oct, 2023, 13:59

I can access.

Suiii
4 Oct, 2023, 13:59

but when I select project it shows 500

Suiii
4 Oct, 2023, 14:00
TypeScript
[Error] Method: GET
[Error] URL: /v1/projects
[Error] Type: Utopia\Database\Exception
[Error] Message: Filter not found
[Error] File: /usr/src/code/vendor/utopia-php/database/src/Database/Database.php
[Error] Line: 4574
[Error] Timestamp: 2023-10-04T13:58:23+00:00
[Error] Method: GET
[Error] URL: /v1/projects
[Error] Type: Utopia\Database\Exception
[Error] Message: Filter not found
[Error] File: /usr/src/code/vendor/utopia-php/database/src/Database/Database.php
[Error] Line: 4574
[Error] Timestamp: 2023-10-04T13:58:23+00:00
[Error] Method: GET
[Error] URL: /v1/projects
[Error] Type: Utopia\Database\Exception
[Error] Message: Filter not found
[Error] File: /usr/src/code/vendor/utopia-php/database/src/Database/Database.php
[Error] Line: 4574
[Error] Timestamp: 2023-10-04T13:58:23+00:00
[Error] Method: GET
[Error] URL: /v1/projects
[Error] Type: Utopia\Database\Exception
[Error] Message: Filter not found
[Error] File: /usr/src/code/vendor/utopia-php/database/src/Database/Database.php
[Error] Line: 4574```
Idan Elazar
4 Oct, 2023, 14:02

do you have .env file in your system?

Suiii
4 Oct, 2023, 14:02

ah maybe

Suiii
4 Oct, 2023, 14:03
Idan Elazar
4 Oct, 2023, 14:07
Suiii
4 Oct, 2023, 14:08

i have folloed this

Suiii
4 Oct, 2023, 14:12

fixed: docker compose exec appwrite migrate

Suiii
4 Oct, 2023, 14:13

[Sovled] 500 after restore and update version

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