Owner/Admin migration in Cloudron 5
-
Cloudron 5 has user roles. There are owners and admins. The distinction is primarily that we assume owners have SSH access and admins do not. With this in mind, some features naturally split between them. Only owners can setup a subscription, configure backups, and setup branding. You can also think of this as a way for service providers/IT providers (who are now owners) to give out Cloudrons to customers (who can be admins). An owner can then setup a Cloudron how they want it (branding and backups) and give it out to someone else.
Cloudron needs atleast 1 owner. What we have done is that we have take the "earliest" create admin user and made him an owner. In most cases, this works out but it can incorrectly assign someone else as the owner. For example, you set it up for someone else and you added yourself later.
To fix this:
- SSH into the server
cloudron-support --admin-login(yes, poorly named). This will give you temporary credentials to login as the owner.- Login as owner in the dashboard and make yourself the owner in the Users page.
- On the server,
rm /home/yellowtent/platformdata/cloudron_ghost.json. - If required, you can now change the previous owner as an admin by logging in as yourself.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login