I got a server error 500 during organization or project creation. How to check what is going on?
Here is a HTTP response in dev mode.
Hi - please share the response and which version of appwrite are you using?
The latest one, the account was created on some previous version and I think that is the problem here.
I tried to move all MariaDB from old version to the latest one. How can I restore these data? How to move e.g one project only from old app write instance?
Here are logs from response
Unfortunately, I was aware of Upgrade section in Doc and it doesn't changing anything
Now, I can't create a new user, new organization, or new project.
thank you for sharing - let me check once
can you check docker logs once?
[Error] Timestamp: 2023-04-18T14:13:10+00:00 [Error] Method: POST [Error] URL: /v1/projects [Error] Type: Utopia\Database\Exception\Structure [Error] Message: Invalid document structure: Unknown attribute: "region" [Error] File: /usr/src/code/vendor/utopia-php/database/src/Database/Database.php [Error] Line: 2426
It's true, but I run migration few times and there is no change 😦
docker logs appwritedocker ps -a
outputs please
[Error] Timestamp: 2023-04-18T14:20:11+00:00
[Error] Method: POST
[Error] URL: /v1/projects
[Error] Type: Utopia\Database\Exception\Structure
[Error] Message: Invalid document structure: Unknown attribute: "region"
[Error] File: /usr/src/code/vendor/utopia-php/database/src/Database/Database.php
[Error] Line: 2426
[2023-04-18 14:21:41 #1.1] INFO Server is shutdown now
Worker 5 started successfully
Worker 6 started successfully
Worker 4 started successfully
Worker 3 started successfully
Worker 2 started successfully
Worker 1 started successfully
[Setup] - Server database init started...
[Setup] - Creating database: appwrite...
[Setup] - Server database init completed...
Server started successfully (max payload is 6,291,456 bytes)
Master pid 1, manager pid 7
[Error] Timestamp: 2023-04-18T14:24:15+00:00
[Error] Method: POST
[Error] URL: /v1/projects
[Error] Type: Utopia\Database\Exception\Structure
[Error] Message: Invalid document structure: Unknown attribute: "region"
[Error] File: /usr/src/code/vendor/utopia-php/database/src/Database/Database.php
[Error] Line: 2426
since you mentioned you already ran migration - which is the ideal solution
please confirm once this has been replicated: https://github.com/appwrite/appwrite/discussions/5066#discussioncomment-4833537
usually server errors after migration happen after forgetting to run a command. If you have done these steps then it must be an internal error and I will need to investigate a bit deeper
Yeah, it still reproducing. I have made a migration few times, I also few times restarted a app write dockers.
In case when I am running fresh instance then this problem is not occurring, but I would like to keep my data, or at least the structure of projects.
makes sense, making a note of this for my team
@Pietras any update after running the migration?
Recommended threads
- Rec'd a "phishing" email that apparently...
I received an email attempting to convince me that my password expired - and the link wanted to send me to an appwrite instance: (https://updating-projects-ads....
- HackByte X AppWrite
I am Om an Organiser at Hackbyte, Central India's largest hackathon. We are an MLH acreddited hackathon and this is our 4th iteration. Last year we had around ...
- 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 ? ...