Admin Login - OWNCLOUD


Just loaded product;

I want to ADMIN the Owncloud instance, I am setup as an “admin” in the Mail in a Box admin page, but that does not allow me to login as admin to Owncloud. How do I get in as a ADMIN?

Owncloud file encryption
Expand Nextcloud installation to backup files too?


There is a script at but once you run it you are on your own!

How to access the administrator account for Nextcloud server?
NextCloud Admin Account?
Nextcloud calendar email notifications


Thanks so much for the very quick response,
Nice package of goodies,
Your instructions are the best I have seen,
Very easy to follow,



@joshdata, I’m just running tests and was wondering:

  1. There’s a default owncloud admin root account with a random password that I see after running the above script. I want to update it and login via that account.
  2. After changing it, will it break your updates and if so, how do I set it back to a password your scripts understand to run the appropriate update & so MIAB controls it.

I know it’s not supported but I simply want to know about this root account & it’s password. I couldn’t find the documentation to secure it to hopefully change this password to my own random password that’s not system-set (you know, for paranoid reasons).

Thank you for your time.

Use MiaB as backup server?

Hello ,
After ran the script in my box , I’m still not having admin access,
I would like to enable external storage in owncloud …
Any suggestion?


Did run it from the correct directory? I can’t remember exactly but you either need in the dir where the script resides or one level up.


Also curious about item 2 here. Been looking around and have yet to find a solid answer.


does this script work for the nextcloud ? and does the next cloud work as a full nextcloud application with the ability to use all the add-ons?


This says how to change set what user/mail account will be the NextCloud admin.


The last open question is: how to enter owncloud login via web once admin account is accepted? Is that configured in nginx somewhere?


@michael-heuberger, Bro, this post was first opened in 2014. We don’t even use Owncloud anymore, we use its modernized fork–Nextcloud. Make a new topic.


Use the box URL so for example


Granted, Michael should have added this question to his current topic which he had opened… but sometimes mistakes happen. It is not the end of the world.
Even though MiaB switched to the NextCloud fork, this topic is EXTREMELY relevant still as the steps to adding the NextCloud admin are the same still even including the file name involved. Though granted, I think I linked the wrong post … even worse the process is easier nowadays as the script is in ./mailinabox/tools in everyone’s MiaB … so no need to download the script directly from Github anymore.


thanks man … what if instead of, i want to change it to cloud.example.som?

have it a subdomain instead of a path. where can i change this? under nginx?


You can technically do that, but it’s unsupported and I wouldn’t recommend it.

If you need to, you can make it so that say redirects or reverse proxies instead.