I had v1.9.0 installed on a VPS without a web server installed, I followed the instructions as per the upgrade guide with the added --migrate=true arg as there is no web server on the VPS to run the installation URL provided during an normal install/upgrade. All wen twell, the docker compose and .env were backed up and new args were added, I ran the upgrade command and stepped through the questions, set no to assistant and all others came from the .env file, secrets etc are unchanged. All green. I ran the migrate command, no issues in the output.
Since completing I have been unable to login with the console, 404 Not Found Error for Login, register and reset password
Console outputs POST https://..***/v1/account/sessions/email 404 (Not Found)
There is no error output in the logs, with a 200 response from /v1/health/version in the http.request.
Running docker ps --no-trunc I see all looks good EXCEPT for the appwrite container: appwrite/appwrite:1.9.5 - "docker-php-entrypoint php app/http.php" - 25 minutes ago - Up 25 minutes (unhealthy) - 80/tcp - appwrite
Where the executor uses the same args but is healthy. openruntimes/executor:0.25.1 - "docker-php-entrypoint php app/http.php" - 25 minutes ago - Up 25 minutes (healthy) - 80/tcp - exc1
Any ideas before I wipe the VPS and start again?
I can help. This usually happens when the Appwrite container upgrade didnβt complete properly or the reverse proxy/API routing is broken after migration, especially since the appwrite container is showing unhealthy and /v1/account/sessions/email is returning 404. Did you check the logs specifically for the appwrite and traefik/nginx containers, and can you confirm whether /v1/account endpoints respond locally from inside the VPS?
Hi Albert, I did look at container logs and nothing shows an error in appwrite logs and traefik logs are empty, appwrite-console does show normal load of page but no logs when clicking Sign-In etc. The VPS cannot connect locally either, 404 error still.
Running docker inspect appwrite in the Health->Status->Log section I see this
Running Appwrite Doctor for version 1.9.5 ...
[Settings] π’ Hostname is valid (###) π’ CNAME record target is valid (###) π’ A record target is valid (127.0.0.1) π’ AAAA record target is valid (::1) π’ Using a unique secret key for encryption π’ App environment is set for production π’ Abuse protection is enabled π’ Console access limits are enabled π΄ HTTPS force option is disabled π΄ HTTPS force option is disabled for function/site domains π΄ Logging adapter is misconfigured
[Connectivity] π΄ Console.DB.(console)...........................disconnected π΄ Projects.DB.(database_db_main).................disconnected π’ Cache(cache_redis_main)...........................connected
Warning: foreach() argument must be of type array|object, null given in /usr/src/code/src/Appwrite/Platform/Tasks/Doctor.php on line 179 π’ PubSub(pubsub)....................................connected
Recommended threads
- Unable to Migrate from Selfhosted 1.9.5 ...
I am trying to migrate my Appwrite to the cloud however it keeps failing. Errors in the Appwrite cloud logs say: { "$id": "6a4a0b2767ba6cf5348f", "$creat...
- image: openruntimes/executor:0.25.1 erro...
*this issue is not new and did happen on older versions using 0.7.22 removes the issue log ```ruby #2 /usr/local/app/http.php(78): Utopia\Http\Http->start() ...
- Executor with custom S3 doesn't work in ...
Was testing to upgrade appwrite to 1.9.5 and when testing the S3 part i saw the executor didn't work anymore. When looking closly i saw the `StorageFactory` doe...