Hello! I installed the latest version of apwrite on my MacBook to test it. Everything was installed successfully, but I can’t access the control panel. When creating a new user, it says that the limit is over. How can I solve this problem
Summary
User is experiencing an issue with creating a new user on Appwrite. They installed Appwrite from scratch and received an error message stating that the user limit has been reached. They have already tried checking the console and running various commands. The user mentions wanting to upgrade to a new version and also mentions having a working version on their server. A suggestion is given to check the environment variables of Appwrite. The issue might be resolved by disabling the _APP_CONSOLE_WHITELIST_ROOT variable or whitelisting emails or IPs.
Solution: Check the environment variables of Appwrite and either disable the _APP_CONSOLE_WHITELIST_ROOT variable or
WhiteWalker72
Rank 2: Process
Nov 2, 2023, 12:54
Hi, you might want to look at the environment variables of Appwrite at: https://appwrite.io/docs/advanced/self-hosting/environment-variables
By default I think you can only register 1 user for the control panel. You can disable that by changing the _APP_CONSOLE_WHITELIST_ROOT variable or you can choose to whitelist emails or ips
Sabit
Rank 2: Process
Nov 2, 2023, 12:55
I can't create the first user as a primary administrator
Sabit
Rank 2: Process
Nov 2, 2023, 13:00
If I disable _APP_CONSOLE_WHITELIST_ROOT the server error
Sabit
Rank 2: Process
Nov 2, 2023, 13:03
I already have a working version on my server. but in the old version there was no such problem. I wanted to update the new version, but before that I wanted to check whether to update or not.
WhiteWalker72
Rank 2: Process
Nov 2, 2023, 13:09
Does the issue persist when using a lower minor version?
I personally only tried it with version 1.3.x on MacBook
Drake
Nov 2, 2023, 16:49
I wanted to update the new version, but before that I wanted to check whether to update or not.
How did you upgrade? Uhh did you try to install ANOTHER appwrite instance on the same machine? If so, that doesn't work 👀
Sabit
Rank 2: Process
Nov 2, 2023, 17:03
I already have a working version of appwrite on the server (Linux). But this is an old version. I wanted to upgrade to a new one. But before updating I wanted to install it on my MacBook. There is no other copy. I installed the latest version from scratch. I wanted to see if I should update to a new one or not.
Sabit
Rank 2: Process
Nov 2, 2023, 17:07
But now I can't create the first user. “It says that the limit on the number of users has been reached, look at the console.” This is the kind of message that comes out.
Drake
Nov 2, 2023, 17:09
what's the output of docker volume ls
Sabit
Rank 2: Process
Nov 2, 2023, 17:16
I installed docker and appwrite from scratch. There cannot be another copy.
Sabit
Rank 2: Process
Nov 2, 2023, 17:17
Drake
Nov 2, 2023, 17:37
please share the output of docker volume ls.
Please also share the output of this:
docker exec -it appwrite-mariadb sh -c 'mysql -uroot -p$MYSQL_ROOT_PASSWORD $MYSQL_DATABASE -e "select _id as \"Internal ID\", _uid as \"User ID\", name as \"Name\", _createdAt as \"Created At\" from _console_users;"'
Sabit
Rank 2: Process
Nov 4, 2023, 08:26
Drake
Nov 5, 2023, 16:22
Run docker inspect appwrite_appwrite-mariadb
Drake
Nov 5, 2023, 16:24
The command you executed doesn't match what I sent