Greetings,
I have been asked to help someone recover access to a dedicated OnlyOffice server.
I have root access to the machine running Linux.
From what I understand there was only one admin user for the web interface and they lost their password.
It does not look like the outgoing SMTP is configured or working.
I need some way to reset their admin password, or create a new admin user so we can regain access and restore service.
I tried setting up the logging to track outgoing email and find a password reset link, but that has not worked.
Hello @SS-Support
I believe we have to start with SMTP troubleshooting.
Please go to the host and run service onlyofficeNotify status (for docker, run it inside Community server container) > check the status, if it’s necessary, restart this service and ask your user to try to restore password again.
If it doesn’t help, please provide us with whole Community server logs folder. It’s located here:
docker : /app/onlyoffice/CommunityServer/logs/
deb\rpm: /var/log/onlyoffice/
By the way, please point me to the guide which you used for Workspace installation. Also let us know component versions (versions of Community server, Control Panel, etc.)
Is it possible to disable firewall for a test? Do I understand it right that you installed package version of Workspace (without docker container of Mail server)? Please go to the host and run apt list --installed | grep onlyoffice, please show us the result.
These are really old versions. I believe it’s better to troubleshoot the situation on the latest versions.
Is it possible to prepare whole server backup\snapshot? If something goes wrong during the next test, you will be able to rollback entire server to current state.
The idea is Workspace updating to the latest versions via installation script: https://helpcenter.onlyoffice.com/installation/workspace-install-linux.aspx
You can find exact command for update process in the provided link.
The difference between your current and the latest versions is big, so you might face some issues. But I believe that this step probably can resolve the situation with Notify service, because some config files are overwritten during the update process.
Please note that I can recommend this step if you have the opportunity to create whole server snapshots\backups only.
Hi,
I am using onlyoffice groups 12.1 and my SSO certificate got expired because of that sso based login not working and i forgot my local acocunt password , also SMTP is not working to send reset password email. how i can reset the password for that
Hello @vs30217
I believe the best way in this scenario is checking SMTP first. Please go to the host and run service onlyofficeNotify status (for docker, run it inside Community server container) > check the status, if it’s necessary, restart this service and try to rest
Also please point me to installation guide that you used.
Hi Alexandre,
SMTP is configured correctly and i can receive a test SMTP message also but because i am using SSO for login so i am not getting any password recovery emails. The email which was initially created is actually an SSO emailid and i forgot that password also. is it possible to reset the local account password via some command line. It is linux based installation.
I’m a little bit confused. If you have access to SMTP settings, then you have administrator access to the portal. Also, probably you might be able to reset password of the user on the SSO side where this user was originally created.
If I misunderstood the situation, please clarify it.
Dear @vs30217
Please reply in this very topic, not via mailbox.
*Hi Alexandre, * Password reset email not working because sso is configured and log shows that password recovery will not work for sso/ LDAP account. My original email which was used to install onlyoffice groups was actually a sso email address. So now I got stuck.
You need to contact your SSO provider and ask them to reset the password. The Groups doesn’t store SSO passwords.
Please clarify, if you are talking about administrator account, but not the portal owner account. Portal owner always has local account. Please go to your portal welcome page > disable SSO checkbox> try to login via local account (portal owner account) and try to restore password.