-
-
Notifications
You must be signed in to change notification settings - Fork 4.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
nc beta 4 internal server error due to totp backup codes #4941
Comments
Probably related to the recent PR #4425 |
Further errors where:
maybe short solution (for me it was) --> restart server I tried restarting nginx etc but then after restarting the whole server, i was redirected to the upgrade web page and could again do the upgrade process to beta 4. But i have done this with disabled totp now. All other occ commands didn't help before. |
I can't find that word (apart from the migration) in our code anymore. is it in the totp app? |
Maybe it helps ... these are log snippets from the update process error log belonging to totp
end of update process
|
I assume this was caused by opcache or something. Would explain why a full server restart fixes the issue. |
With nc beta 3 i have enabled opcache like it was mentioned in admin properties. |
Reminds me of clearing the opcache on every update just for safety reasons. I guess @LukasReschke proposed this. |
@LukasReschke When is better: At the end of the updater or the beginning of the upgrade command? |
|
Fixed |
Steps to reproduce
I have updated from beta 3 to beta 4 and get an internal server error. Couldn't log in.
After the update process to beta 4, i first saw that the version in administrator properties was still 12.0.3.
Now i disabled the totp app with occ command. Iam now getting back logged in to nextcloud.
Server configuration
Operating system: ubuntu 16.04.2 LTS
Web server: nginx
Database: mariadb 10.0.29
PHP version: 7.0.15
Nextcloud version: (see Nextcloud admin page)
Updated from an older Nextcloud/ownCloud or fresh install: updated from nc 12 beta 3
Where did you install Nextcloud from: official
Error Log
Doctrine\DBAL\Exception\TableNotFoundException: An exception occurred while executing 'SELECT
id
,user_id
,code
,used
FROMoc_twofactor_backup_codes
WHEREuser_id
= ?' with params ["admin"]: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'nextcloud.oc_twofactor_backup_codes' doesn't existThe text was updated successfully, but these errors were encountered: