I have recnetly upgraded my self-hosted server to 1.5.7 (from 1.4.9 through 1.4.14 as earlier suggested here)
Now in the web console, when i go to the Auth screen of project (any project, I have 6 of them)
I get the 500 server error screen, in my app, the I try to create an emailPasswordSession, the server returns 500.
please help.
Summary
Developers upgraded to version 1.5.7 and encountered Server Error on Auth. They are unable to log out and face issues creating emailPasswordSession. The issue may be due to running the migration command incorrectly. Make sure to run the upgrade command outside the appwrite folder. Also, check the docker compose logs for errors and ensure that the command is run in the right location.
D5
Jun 2, 2024, 11:17
Do you have run the migration command?
D5
Jun 2, 2024, 11:17
What was it's result?
D5
Jun 2, 2024, 11:17
What do you mean by having 6 of them?
YahalomS
Rank 2: Process
Jun 2, 2024, 11:20
I meant I have 6 projects on my server
ran it , it seemed ok,
If i try to run it again, i get several
Tables not ready yet.
and then
Console is not ready yet. please try again later
YahalomS
Rank 2: Process
Jun 2, 2024, 11:22
ran
docker compose up -d
again, just to make sure, srill same error
D5
Jun 2, 2024, 11:24
What command/s did you have run?
YahalomS
Rank 2: Process
Jun 2, 2024, 11:25
for migration
docker compose exec appwrite migrate
YahalomS
Rank 2: Process
Jun 2, 2024, 11:26
looking around,
Messeging menu of the project not working as well and the overview page, in the Image
D5
Jun 2, 2024, 11:26
Ok. Where did you have run the command?
YahalomS
Rank 2: Process
Jun 2, 2024, 11:26
D5
Jun 2, 2024, 11:27
The upgrade command should be run outside the appwrite folder. Do you have run it inside the folder?
YahalomS
Rank 2: Process
Jun 2, 2024, 11:27
the migration, in appwrite folder,
the upgrades in the root (above it)
YahalomS
Rank 2: Process
Jun 2, 2024, 11:27
no, of course not
D5
Jun 2, 2024, 11:28
When you run the migration command you get tables not ready error?
YahalomS
Rank 2: Process
Jun 2, 2024, 11:29
in the 2nd time
in the first time it seemed ok, I cannot recall any error
D5
Jun 2, 2024, 11:30
What are the logs for docker compose logs mariadb?
YahalomS
Rank 2: Process
Jun 2, 2024, 11:34
before that please.
After the upgrade it seems like i didnt need to re-logon
and it shown all the errors I mentioned
and I cannot log out.
When I try to log on from another browser,
I cannot login
I get error 500
YahalomS
Rank 2: Process
Jun 2, 2024, 11:35
YahalomS
Rank 2: Process
Jun 2, 2024, 11:35
Makes more sense, and means I am in deeper problem than I thought……
YahalomS
Rank 2: Process
Jun 2, 2024, 11:37
A question,
assuming i have a recent backup,
can I completely delete
appwrite folder and install fresh new version?
Maybe I can install the “old”version I had before the upgrade, recover the data, and start over with the upgrade process