What type of hardware are you using: Other(?)
What YunoHost version are you running: 12.0.11
What app is this about: 2fauth
Describe your issue
Hi all,
My 2FAuth didn’t work anymore after upgrading from 5.2.0~ynh2 to 5.4.3~ynh1.
After restoring the backup, I was still not able to use the (old version of the) app.
When trying to use the app:
- I go to the 2fauth.domain.tld URL
- I enter my email address and password, click “Login”
- Nothing happens
- I enter my email addres and password again, click “Login” once more
- An error is displayed, “An error occured: Already authenticated, please log out first”
- I can chose “Close” or “Back to home” (which points at 2fauth.domain.tld/accounts)
- “Close” returns me to the login screen
- “Back to home” does not work most of the time; of 5-10 clicks, maybe once I’ll be forwarded to the application
- If so being forwarded, I’m presented with an empty list of 2FAs: “No 2FA here! Pick a method and add your first account”
- Here is a “Sign out” link, besides “Settings” and “Admin” (this user is admin)
- Clicking “Admin” gives an error in red on top, “Data can not be refreshed from the server”
- Admin settings are available though; the “Users” gives an error, “An error occured: s.response is undefined”
- Settings are available, but my settings have disappeared (I did clear cookies and data in my browser in an earlier attempt to log out)
All in all it seems the datastore for 2FAs has disappeared.
The dockerfile has the database configured at /srv/database/database.sqlite, for which I’m unable to locate a volume.
In the 2FAuth directory under /var/www/2fauth/
there is a directory storage/app/qrcodes
that has only a .gitignore file, no qrcodes. The log directory there has only logs about the app version.
Before I dive in a backup of the machine, where should I look?
Share relevant logs or error messages
There is no error in the upgrade log: https://paste.yunohost.org/raw/oxuwizusub
The nginx-error log is empty, the access log has nothing that catches my eye.