Locked out of account on Synology nas after turning on 2fa

Steps to reproduce

Expected behaviour

Tell us what should happen

Actual behaviour

Tell us what happens instead

Server configuration

Operating system:

Web server:

Database:

PHP version:

ownCloud version: (see ownCloud admin page)

Updated from an older ownCloud or fresh install:

Where did you install ownCloud from:

Signing status (ownCloud 9.0 and above):

Login as admin user into your ownCloud and access 
http://example.com/index.php/settings/integrity/failed 
paste the results into https://gist.github.com/ and puth the link here.

The content of config/config.php:

Log in to the web-UI with an administrator account and click on
'admin' -> 'Generate Config Report' -> 'Download ownCloud config report'
This report includes the config.php settings, the list of activated apps
and other details in a well sanitized form.

or 

If you have access to your command line run e.g.:
sudo -u www-data php occ config:list system
from within your ownCloud installation folder

*ATTENTION:* Do not post your config.php file in public as is. Please use one of the above
methods whenever possible. Both, the generated reports from the web-ui and from occ config:list
consistently remove sensitive data. You still may want to review the report before sending.
If done manually then it is critical for your own privacy to dilligently
remove *all* host names, passwords, usernames, salts and other credentials before posting.
You should assume that attackers find such information and will use them against your systems.

List of activated apps:

If you have access to your command line run e.g.:
sudo -u www-data php occ app:list
from within your ownCloud installation folder.

Are you using external storage, if yes which one: local/smb/sftp/…

Are you using encryption: yes/no

Are you using an external user-backend, if yes which one: LDAP/ActiveDirectory/Webdav/…

LDAP configuration (delete this part if not used)

With access to your command line run e.g.:
sudo -u www-data php occ ldap:show-config
from within your ownCloud installation folder

Without access to your command line download the data/owncloud.db to your local
computer or access your SQL server remotely and run the select query:
SELECT * FROM `oc_appconfig` WHERE `appid` = 'user_ldap';


Eventually replace sensitive data as the name/IP-address of your LDAP server or groups.

Client configuration

Browser:

Operating system:

Logs

Web server error log

Insert your webserver log here

ownCloud log (data/owncloud.log)

Insert your ownCloud log here

Browser log

Insert your browser log here, this could for example include:

a) The javascript console log
b) The network log 
c) ...

I setup Owncloud on a Synology nas and was busy adding apps and didn’t where I should setup 2fa.

They were enterprise apps and I’m only running community software so removing the apps might solve my problem but I’m unable to log back in…

Thanks

1 Like

I have no other access than the visual login that I know of unless you can show me another way to get in, then again I wouldn’t know what to do if I did get in…
I’m not too proficient in operating the Linux command line unfortunately.,.
I remember the basic commands and do a few things from time to time but that’s about it…

Thanks

Hasn’t the Synology box something like a management console/panel? (I’m not an expert in that field)
As it seems to be a fresh installation, I’d start over from scratch.

Yes, I could stop the process from running on my end but the app is running from the other end or remotely as far as I can tell and there’s only one admin account on the system unfortunately.

As far as l know I’m using the app remotely and not from my end thus the admin really can’t do a thing as far as the apps are concerned…

If you lack the skills to administer it yourself, running your own Linux based file sync and share application is probably not suitable unless you are prepared to hire someone who is able to provide technical assistance.

It is unclear what you mean by

and

or who

is, if not you. If there is someone who manages the Synology device hosting your ownCloud, that is who you should probably ask for assistance first.

If you or someone acting on your behalf cannot use occ on the server via ssh or remove and reinstall the instalation, you are out of options.

2 Likes

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.