Nextcloud version: 18.0.3
Operating system and version: Debian 8 (Jessie)
Apache version: 2.0
PHP version: 7.2.31
Hi there,
I was smart enough to lock myself out of my own Nextcloud installation by changing my password.
It runs on a managed hosting account and I do not have any root privileges.
I was the only admin, but there is a second, non-admin user, that I can still use to get in via the web UI.
Of course, I tried sending an email to myself, but did not provide one within my account.
I also tried resetting it by following these instructions but got the following message:
Sorry, user xxxxxxx is not allowed to execute '/usr/local/bin/php /var/www/nextcloud/occ user:resetpassword admin' as www-data on xxxxx.xxxxxxx.xxxxxxxx.de.
I contacted my hosting provider, but neither are they able to run this command for me, nor are they able to grant me higher permissions.
I then found this article (in German) which basically says, that you could copy the password of a different, existing user to the admin user via phpMyAdmin within the user table oc_users
.
I tried that, but for some reason that table does not contain the two users I created months ago and have been using ever since. It only holds one user that I created initially, when installing Nextcloud in the first place.
Does anybody know…
- why I am not allowed to run the command stated above (is it actually a matter of permissions),
- where the users’ data is stored or why I am not able to see them in the table (I did install the App End-to-end Encryption, though; maybe that’s got something to do with it) or
- anything else I could try to get back into my account?
Any help is greatly appreciated!
Thanks in advance!
Soeren