
I just upgraded my appwrite version from 1.2.1 to 1.3.1 following the upgrade instructions here: https://appwrite.io/docs/upgrade. The upgrade went fine without errors, the I went ahead to do the migration, which also had no errors.
Problem is now I cannot login to the upgraded instance or create a new account. The error on the logs is also in the screenshot:
[Error] Timestamp: 2023-04-19T09:17:14+00:00 [Error] Method: GET [Error] URL: /v1/account [Error] Type: Appwrite\Extend\Exception [Error] Message: User (role: guests) missing scope (account) [Error] File: /usr/src/code/app/controllers/general.php [Error] Line: 365 [Error] Timestamp: 2023-04-19T09:17:29+00:00 [Error] Method: POST [Error] URL: /v1/account [Error] Type: Appwrite\Extend\Exception [Error] Message: The current project has exceeded the maximum number of users. Please check your user limit in the Appwrite console. [Error] File: /usr/src/code/app/controllers/api/account.php [Error] Line: 97

v1.3.1 Can't Login After Upgrade

Hey, where did you run the upgrade command? in which folder?

Ah it could be an issue of a wrong directory when upgrading. This happened to me.
| root
|- appwrite
You need to run the upgrade command in the root
directory.
The migrate command needs to be run in the appwrite
directory.

When you upgrade, appwrite should create backups of your .env
. Compare the _APP_OPENSSL_KEY_V1
in the backup and in the new env

They need to be the same
Recommended threads
- I need urgent help - Error upgrading to ...
Hey guys, how are you? I waited for the self-hosted documentation to update so I could update my appwrite version to version 1.7.2. I ran the upgrade command ...
- S3 Bucket Error
Good afternoon. I tried to configure _APP_STORAGE_S3_ENDPOINT, Appwrite version 1.7.0. I tried two different providers, but on both I encountered an access erro...
- Upgrade from 1.6.2 to 1.7.2 error during...
I just went through the process of upgrading my selfhosted instance from `1.6.2` to `1.7.2`: ``` docker run -it --rm \ --volume /var/run/docker.sock:/var/r...
