- Nextcloud Server version:
- Hub 9 (30.0.5)
- Operating system and version:
- Debian GNU/Linux 12 (bookworm)
- Web server and version:
- Apache/2.4.62 (Debian)
- Reverse proxy and version _(e.g. nginx 1.27.2)
- none
- PHP version:
- 8.3
- Is this the first time you’ve seen this error? (Yes / No):
- no
- When did this problem seem to first start?
- at least two months ago
- Installation method (e.g. AlO, NCP, Bare Metal/Archive, etc.)
- through SSL
wget https://download.nextcloud.com/server/releases/latest.zip
- through SSL
- Are you using CloudfIare, mod_security, or similar? (Yes / No)
- I am using PiHole
Summary of the issue you are facing:
Error logs flooded with dns_get_record() errors.
Steps to replicate it (hint: details matter!):
Click “Administration settings” in the browser.
Log entries
Nextcloud
{"reqId":"V3Ik3wMeSuJmpF0CFitN","level":3,"time":"2025-01-23T07:28:55+01:00","remoteAddr":"192.168.PC","user":"USER","app":"PHP","method":"GET","url":"/index.php/settings/ajax/checksetup","message":"dns_get_record(): A temporary server error occurred. at /var/www/nextcloud/lib/private/Http/Client/DnsPinMiddleware.php#99","userAgent":"Mozilla/5.0 (X11; Linux x86_64; rv:134.0) Gecko/20100101 Firefox/134.0","version":"30.0.5.1","data":{"app":"PHP"},"id":"6791e33fb914a"}
This error occured 07:28:55, thrice 07:28:54, twice 07:17:15, twice 07:17:14 and so on.
Web Browser
no errors
Web server / Reverse Proxy
The output of your Apache log in /var/log/____
:
[Thu Jan 23 05:14:36.315620 2025] [php:error] [pid 1162705:tid 1162705] [client 143.110.***:42690] script '/var/www/nextcloud/alive.php' not found or unable to stat
[Thu Jan 23 07:14:13.214593 2025] [php:warn] [pid 1190731:tid 1190731] [client 192.168.PC:35980] PHP Warning: require_once(/var/www/nextcloud/lib/versioncheck.php): Failed to open stream: No such file or directory in /var/www/nextcloud/ocs/v1.php on line 7
[Thu Jan 23 07:14:13.215009 2025] [php:warn] [pid 1162703:tid 1162703] [client 192.168.PC:35970] PHP Warning: require_once(/var/www/nextcloud/ocs/../lib/versioncheck.php): Failed to open stream: No such file or directory in /var/www/nextcloud/ocs/v1.php on line 7
[Thu Jan 23 07:14:13.715412 2025] [php:error] [pid 1162703:tid 1162703] [client 192.168.PC:35970] PHP Fatal error: Uncaught Error: Failed opening required '/var/www/nextcloud/ocs/../lib/versioncheck.php' (include_path='.:/usr/share/php') in /var/www/nextcloud/ocs/v1.php:7\nStack trace:\n#0 /var/www/nextcloud/ocs/v2.php(7): require_once()\n#1 {main}\n thrown in /var/www/nextcloud/ocs/v1.php on line 7
[Thu Jan 23 07:14:13.715412 2025] [php:error] [pid 1190731:tid 1190731] [client 192.168.PC:35970] PHP Fatal error: Uncaught Error: Failed opening required '/var/www/nextcloud/ocs/../lib/versioncheck.php' (include_path='.:/usr/share/php') in /var/www/nextcloud/ocs/v1.php:7\nStack trace:\n#0 /var/www/nextcloud/ocs/v2.php(7): require_once()\n#0 /var/www/nextcloud/ocs/v2.php(7): require_once()\n#1 {main}\n thrown in /var/www/nextcloud/ocs/v1.php on line 7
I updated from 30.0.4 to 30.0.5. around this time so they might be related to that. There are no other errors after that.
Configuration
Nextcloud
"system": {
"instanceid": "***REMOVED SENSITIVE VALUE***",
"passwordsalt": "***REMOVED SENSITIVE VALUE***",
"secret": "***REMOVED SENSITIVE VALUE***",
"trusted_domains": [
***Removed Private Info***
],
"datadirectory": "***REMOVED SENSITIVE VALUE***",
"dbtype": "mysql",
"version": "30.0.5.1",
"overwrite.cli.url": "https:\/\/***PI***.local",
"dbname": "***REMOVED SENSITIVE VALUE***",
"dbhost": "***REMOVED SENSITIVE VALUE***",
"dbport": "",
"dbtableprefix": "oc_",
"mysql.utf8mb4": true,
"dbuser": "***REMOVED SENSITIVE VALUE***",
"dbpassword": "***REMOVED SENSITIVE VALUE***",
"installed": true,
"default_phone_region": "DE",
"filelocking.enabled": true,
"memcache.local": "\\OC\\Memcache\\APCu",
"memcache.locking": "\\OC\\Memcache\\Redis",
"memcache.distributed": "\\OC\\Memcache\\Redis",
"redis": {
"host": "***REMOVED SENSITIVE VALUE***",
"port": 0,
"timeout": 0
},
"mail_smtpmode": "sendmail",
"mail_sendmailmode": "pipe",
"maintenance": false,
"maintenance_window_start": 3,
"log_type": "file",
"logtimezone": "Europe\/Berlin",
"logfile": "\/var\/log\/nextcloud.log",
"loglevel": 2,
"syslog_tag": "Nextcloud",
"theme": "",
"enable_previews": true,
"enabledPreviewProviders": [
"OC\\Preview\\PNG",
"OC\\Preview\\JPEG",
"OC\\Preview\\GIF",
"OC\\Preview\\HEIC",
"OC\\Preview\\BMP",
"OC\\Preview\\XBitmap",
"OC\\Preview\\MP3",
"OC\\Preview\\TXT",
"OC\\Preview\\MarkDown",
"OC\\Preview\\Movie",
"OC\\Preview\\MKV",
"OC\\Preview\\MP4",
"OC\\Preview\\AVI",
"OC\\Preview\\PDF"
],
"preview_max_x": 1024,
"preview_max_y": 1024,
"preview_max_filesize_image": 20,
"preview_max_memory": 512
}
}
Apps
Enabled:
- activity: 3.0.0
- bruteforcesettings: 3.0.0
- calendar: 5.0.9
- circles: 30.0.0
- cloud_federation_api: 1.13.0
- comments: 1.20.1
- contacts: 6.1.3
- contactsinteraction: 1.11.0
- cospend: 3.0.8
- dashboard: 7.10.0
- dav: 1.31.1
- federatedfilesharing: 1.20.0
- federation: 1.20.0
- files: 2.2.0
- files_downloadlimit: 3.0.0
- files_pdfviewer: 3.0.0
- files_reminders: 1.3.0
- files_sharing: 1.22.0
- files_trashbin: 1.20.1
- files_versions: 1.23.0
- firstrunwizard: 3.0.0
- logreader: 3.0.0
- lookup_server_connector: 1.18.0
- nextcloud_announcements: 2.0.0
- notes: 4.11.0
- notifications: 3.0.0
- oauth2: 1.18.1
- password_policy: 2.0.0
- photos: 3.0.2
- previewgenerator: 5.7.0
- privacy: 2.0.0
- provisioning_api: 1.20.0
- recommendations: 3.0.0
- related_resources: 1.5.0
- richdocuments: 8.5.3
- richdocumentscode_arm64: 24.4.1103
- serverinfo: 2.0.0
- settings: 1.13.0
- sharebymail: 1.20.0
- support: 2.0.0
- survey_client: 2.0.0
- systemtags: 1.20.0
- tasks: 0.16.1
- text: 4.1.0
- theming: 2.5.0
- twofactor_backupcodes: 1.19.0
- twofactor_totp: 12.0.0-dev
- updatenotification: 1.20.0
- user_status: 1.10.0
- viewer: 3.0.0
- weather_status: 1.10.0
- webhook_listeners: 1.1.0-dev
- workflowengine: 2.12.0
Disabled:
- admin_audit: 1.20.0
- app_api: 4.0.5 (installed 4.0.0)
- documentserver_community: 0.1.20 (installed 0.1.20)
- encryption: 2.18.0
- files_external: 1.22.0
- mail: 4.0.2 (installed 4.0.2)
- onlyoffice: 9.5.0 (installed 9.5.0)
- suspicious_login: 8.0.0
- twofactor_nextcloud_notification: 4.0.0
- user_ldap: 1.21.0