Can't get myself admin

Hello, I can't get to make myself admin on my instance. I can't find the internal config in museum.yaml
5 Replies
Ducky
Ducky4mo ago
To assign yourself as an admin, you need to whitelist your user ID in the museum.yaml file. First, connect to the ente_db database using the command docker exec -it <postgres-ente-container-name> psql -U pguser -d ente_db (if using Docker) or psql -U pguser -d ente_db (if using psql directly). Then, retrieve your user ID by running the SQL query SELECT * from users;. Next, edit the museum.yaml file to include your user ID under internal.admins (for multiple admins) or internal.admin (for a single admin), like this:
internal:
admins:
- <user_id>
internal:
admins:
- <user_id>
or
internal:
admin: <user_id>
internal:
admin: <user_id>
Finally, restart the Museum cluster for the changes to take effect. You can find more information at https://help.ente.io/self-hosting/administration/users#whitelist-admins and https://help.ente.io/self-hosting/installation/post-install#step-2-whitelist-admins. -# If your issue is resolved, please use the /solved command to close this thread. If you'd like to ask me another question use /docsearch
User Management - Self-hosting | Ente Help
Guide to configuring Ente CLI for Self Hosted Instance
Post-installation steps - Self-hosting | Ente Help
Steps to be followed post-installation for smooth experience
Zaitara
ZaitaraOP4mo ago
In my museum.yaml, I can't find an internal section. I tried to write it, put my ID but I'm not admin
vishnu
vishnu4mo ago
You can create this section if it's missing
Zaitara
ZaitaraOP4mo ago
Indeed, thank you!
Ducky
Ducky4mo ago
-# If your issue is resolved, you can use the /solved command to close the thread. If not, use /unsolve to cancel. Thread marked as solved. It will be closed in <t:1754588877:R>. This thread is now closed.

Did you find this page helpful?