Suddenly can't login anymore



So... all of a sudden I'm unable to login into my account (admin). I don't know what happened, also the desktop client and mobile client are not working anymore.

All I can remember is that I tried to login from a different workstation at a remote location and that I got an error message, something in regards to untrusted domains I believe (but I'm not sure). I ignored it at the time, now a week later I want to login but I can't.

When I try to reset the password I get the message that there is no email associated with the account... does it mean I'm locked out permanently? Or would it be possible to add an email by editing the database manually?

Thanks for any assistance!


you can create a new admin-user via the occ command:

sudo -u www-data php occ user:add username -g admin

or, you could simply reset your password as well via the occ command:

sudo -u www-data php occ user:resetpassword username