Support intro
Sorry to hear you’re facing problems
help.nextcloud.com is for home/non-enterprise users. If you’re running a business, paid support can be accessed via portal.nextcloud.com where we can ensure your business keeps running smoothly.
In order to help you as quickly as possible, before clicking Create Topic please provide as much of the below as you can. Feel free to use a pastebin service for logs, otherwise either indent short log examples with four spaces:
example
Or for longer, use three backticks above and below the code snippet:
longer
example
here
Some or all of the below information will be requested if it isn’t supplied; for fastest response please provide as much as you can
Nextcloud version (eg, 12.0.2): 18.0.0
Operating system and version (eg, Ubuntu 17.04): Centos 7
Apache or nginx version (eg, Apache 2.4.25): 2.4.6
PHP version (eg, 7.1): 7.3.14
The issue you are facing: I am getting dozens of log errors multiple times per second that re
Is this the first time you’ve seen this error? (Y/N):
Steps to replicate it:
- Run nextcloud 17.0.3 with all health checks and everything clean.
- Upgrade to nextcloud 18 following the manual upgrade process to a tee
- Ensure apps are updated and support NC18 and enable them.
- Notice performance issues, find very high IO on disks, check logs, and find Nextcloud clobbering your system.
The output of your Nextcloud log in Admin > Logging:
Error tasks RuntimeException: App class OCA\Tasks\AppInfo\Application is not setup via query() but directly
seconds ago
Error tasks RuntimeException: App class OCA\Tasks\AppInfo\Application is not setup via query() but directly
seconds ago
Error tasks RuntimeException: App class OCA\Tasks\AppInfo\Application is not setup via query() but directly
seconds ago
Error tasks RuntimeException: App class OCA\Tasks\AppInfo\Application is not setup via query() but directly
seconds ago
Error tasks RuntimeException: App class OCA\Tasks\AppInfo\Application is not setup via query() but directly
seconds ago
Error password_policy RuntimeException: App class OCA\Password_Policy\AppInfo\Application is not setup via query() but directly
seconds ago
Error password_policy RuntimeException: App class OCA\Password_Policy\AppInfo\Application is not setup via query() but directly
seconds ago
Error password_policy RuntimeException: App class OCA\Password_Policy\AppInfo\Application is not setup via query() but directly
seconds ago
Error password_policy RuntimeException: App class OCA\Password_Policy\AppInfo\Application is not setup via query() but directly
seconds ago
Error password_policy RuntimeException: App class OCA\Password_Policy\AppInfo\Application is not setup via query() but directly
seconds ago
Error password_policy RuntimeException: App class OCA\Password_Policy\AppInfo\Application is not setup via query() but directly
seconds ago
It appears that every time the password_policy error occurs a query is sent to my LDAP server causing essentially a DoS attack. NextCloud gets throttled and then fails to bind. If I disable the app the issues are basically resolved. I expected this from the third part apps, but some like password_policy are built into NC so I can’t imagine those having these issues normally.
The apps I am seeing trigger these warnings are:
- Terms of Service
- Ransomware Protection
- Quota Warning
- Password Policy
- Calendar
- Bookmarks