-
-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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
OCP\AppFramework\QueryException: Could not resolve OCA\BruteForceSettings\Settings\IPWhitelist! Class OCA\BruteForceSettings\Settings\IPWhitelist does not exist #6054
Comments
Could you check the nextcloud.log in your data directory? And give us a list of enabled apps: Thanks :) |
oc_appconfig:``` appid,configkey,configvalue activity,enabled,yes activity,installed_version,2.5.2 activity,types,filesystem backgroundjob,lastjob,51 bruteforcesettings,enabled,yes bruteforcesettings,installed_version,1.0.2 bruteforcesettings,types,"" comments,enabled,yes comments,installed_version,1.2.0 comments,types,logging core,backgroundjobs_mode,cron core,installed.bundles,"[""CoreBundle""]" core,installedat,1501975917.0096 core,lastcron,1502346602 core,lastupdateResult,[] core,lastupdatedat,1502347133 core,moveavatarsdone,yes core,oc.integritycheck.checker,[] core,previewsCleanedUp,1 core,public_files,files_sharing/public.php core,public_webdav,dav/appinfo/v1/publicwebdav.php core,scss.variables,656483ad7fa703348219056f06dd4863 core,updater.secret.created,1502119273 core,vendor,nextcloud dav,enabled,yes dav,installed_version,1.3.0 dav,types,filesystem federatedfilesharing,enabled,yes federatedfilesharing,installed_version,1.2.0 federatedfilesharing,types,"" federation,enabled,yes federation,installed_version,1.2.0 federation,types,authentication files,cronjob_scan_files,500 files,enabled,yes files,installed_version,1.7.2 files,types,filesystem files_pdfviewer,enabled,yes files_pdfviewer,installed_version,1.1.1 files_pdfviewer,ocsid,166049 files_pdfviewer,types,"" files_sharing,enabled,yes files_sharing,installed_version,1.4.0 files_sharing,types,filesystem files_texteditor,enabled,yes files_texteditor,installed_version,2.4.1 files_texteditor,ocsid,166051 files_texteditor,types,"" files_trashbin,enabled,yes files_trashbin,installed_version,1.2.0 files_trashbin,types,filesystem files_versions,enabled,yes files_versions,installed_version,1.5.0 files_versions,types,filesystem files_videoplayer,enabled,yes files_videoplayer,installed_version,1.1.0 files_videoplayer,types,"" firstrunwizard,enabled,yes firstrunwizard,installed_version,2.1 firstrunwizard,types,logging gallery,enabled,yes gallery,installed_version,17.0.0 gallery,types,"" keeweb,enabled,no keeweb,installed_version,0.4.0 keeweb,types,"" logreader,enabled,yes logreader,installed_version,2.0.0 logreader,ocsid,170871 logreader,types,"" lookup_server_connector,enabled,yes lookup_server_connector,installed_version,1.0.0 lookup_server_connector,types,authentication nextcloud_announcements,enabled,yes nextcloud_announcements,installed_version,1.1 nextcloud_announcements,pub_date,"Sat, 10 Dec 2016 00:00:00 +0100" nextcloud_announcements,types,logging notifications,enabled,yes notifications,installed_version,2.0.0 notifications,types,logging oauth2,enabled,yes oauth2,installed_version,1.0.5 oauth2,types,authentication password_policy,enabled,yes password_policy,installed_version,1.2.2 password_policy,types,"" provisioning_api,enabled,yes provisioning_api,installed_version,1.2.0 provisioning_api,types,prevent_group_restriction serverinfo,enabled,yes serverinfo,installed_version,1.2.0 serverinfo,types,"" sharebymail,enabled,yes sharebymail,installed_version,1.2.0 sharebymail,types,filesystem survey_client,enabled,yes survey_client,installed_version,1.0.0 survey_client,types,"" systemtags,enabled,yes systemtags,installed_version,1.2.0 systemtags,types,logging theming,cachebuster,1 theming,enabled,yes theming,installed_version,1.3.0 theming,types,logging theming,url,https://xxx twofactor_backupcodes,enabled,yes twofactor_backupcodes,installed_version,1.1.1 twofactor_backupcodes,types,"" updatenotification,bruteforcesettings,1.0.2 updatenotification,enabled,yes updatenotification,installed_version,1.2.0 updatenotification,types,"" updatenotification,update_check_errors,0 workflowengine,enabled,yes workflowengine,installed_version,1.2.0 workflowengine,types,filesystem ``` |
This needs to be something else. In 12.0.1 this is not a problem, because we catch this exception: server/lib/private/Settings/Manager.php Line 353 in f26764c
Where did you fetched the container from? I just checked it and this could not be caused with this stack trace by the container, because it contains the failsafe:
|
I set up the nextcloud installation with the official docker image a few days ago when it was at version 12.0.0. Then I got an update notification and pulled the new image and did a docker-compose down/up. Then the upgrade page appeared and the upgrade succeded. |
This then seems to be a problem with the docker image. Please report it in that repo: https://github.com/nextcloud/docker - cc @tilosp |
Well when I do the command you provided in my container |
Hi, i dont think so, that this bug is only in docker image. I am using non docker version 12.0.0 updated recently to 12.0.1 and after that update I have this bug in log file. So for me this is not closed.
|
Absolutely not a Docker problem:
|
contains the failsafe, BUT
does the logging:
Caught too often, I'd say :) |
Nice to see you, @danimo 😉 |
The "oc_admin_settings" table has an entry for class "OCA\BruteForceSettings\Settings\IPWhitelist" in section "security", probably added from a previous install of the BruteForce app. As the corresponding class is only available if the BruteForce app is installed, this currently causes the exception to be triggered repeatingly as long as the app is not installed again. |
Got it - it is the fallback. It first tries to look it up in the server container and then in the application container. Duplicate of #5067 |
Steps to reproduce
Expected behaviour
Normal sync
Actual behaviour
Server gets internal error and stops
The text was updated successfully, but these errors were encountered: