Back

Getting Sever Error when trying to create a project

  • 0
  • Self Hosted
  • Web
djcali
9 Jan, 2024, 20:58

I am using self hosted and when trying to create a new project i am getting "Sever Error", not sure how to debug or what container to view the docker logs to find out more details on the error.

Thanks

TL;DR
User is experiencing a "Sever Error" when attempting to create a new project on their self-hosted Appwrite installation. They are unsure how to debug or view the logs to find more details about the error. Another user suggests going to the Appwrite installation folder and running "docker compose logs appwrite" to view the logs for the appwrite container. Some users discuss permissions and whether they have been set correctly. The user experiencing the error mentions that they recently updated to the latest version of Appwrite. The error message they provide indicates an issue with an attribute called "region" in the document structure. Another user asks for clarification on
D5
9 Jan, 2024, 21:50

Do you have set permissions correctly?

D5
9 Jan, 2024, 21:50

You can check logs for appwrite container

djcali
9 Jan, 2024, 21:53

Permissions? I am logged into the Console, there are no permissions that i know of to create a new project?

What container? There are many appwrite containers?

D5
9 Jan, 2024, 22:52

Oh, sorry, I thought you were getting a document

D5
9 Jan, 2024, 22:52

There's a container called appwrite

D5
9 Jan, 2024, 22:53

Basically go to your Appwrite installation folder and run: docker compose logs appwrite

djcali
9 Jan, 2024, 23:25

Thanks for that. So here is the error.

TypeScript
appwrite                        | [Error] Method: POST
appwrite                        | [Error] URL: /v1/projects
appwrite                        | [Error] Type: Utopia\Database\Exception\Structure
appwrite                        | [Error] Message: Invalid document structure: Unknown attribute: "region"
appwrite                        | [Error] File: /usr/src/code/vendor/utopia-php/database/src/Database/Database.php
appwrite                        | [Error] Line: 2705```
D5
9 Jan, 2024, 23:28

How did you have installed Appwrite?

D5
9 Jan, 2024, 23:28

This is a new, clean installation, right?

djcali
9 Jan, 2024, 23:30

No. It has been installed for quite some time, I have a couple of projects already there. I did recently update to the latest version.

djcali
9 Jan, 2024, 23:30

I also ran the migrate command. The other projects seem to be working just fine.

D5
10 Jan, 2024, 06:09

From what version to what version?

djcali
10 Jan, 2024, 07:35

I'm pretty sure it was from 1.3.8 to the latest 1.4.13

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