The Basics
- Nextcloud Server version (e.g., 29.x.x):
31.0.7
- Operating system and version (e.g., Ubuntu 24.04):
Debian 12
- Web server and version (e.g, Apache 2.4.25):
Apache/2.4.62 (Debian)
- Reverse proxy and version _(e.g. nginx 1.27.2)
N/A
- PHP version (e.g, 8.3):
PHP 8.2.29
- Is this the first time you’ve seen this error? (Yes / No):
Yes
- When did this problem seem to first start?
Not entirely sure, but recently
- Installation method (e.g. AlO, NCP, Bare Metal/Archive, etc.)
Bare metal
- Are you using CloudfIare, mod_security, or similar? (Yes / No)
No
Summary of the issue you are facing:
I get lots of repeated strange errors in the logs.
The error is repeated every five minutes in two interspersed streams:
Time | Diff to second below |
---|---|
20:08:39 | 05:00 |
20:07:53 | 05:00 |
20:03:39 | 05:00 |
20:02:53 | 05:01 |
19:58:39 | 05:00 |
19:57:52 | 04:59 |
19:53:39 | 05:00 |
19:52:53 | 05:00 |
19:48:39 | 05:00 |
19:47:53 | 05:00 |
19:43:39 | 05:00 |
19:42:53 | 05:00 |
19:38:39 | 04:59 |
19:37:53 | 05:00 |
19:33:40 | 05:00 |
19:32:53 | |
19:28:40 |
Steps to replicate it (hint: details matter!):
Not sure. I have users using iOS, Android, web interface, and Gnome accounts. The error seems to refer only to the iOS one.
Log entries
Nextcloud
[no app in context] Error: OCA\DAV\CalDAV\CalendarImpl::getSchedulingTransparency(): Return value must be of type ?Sabre\CalDAV\Xml\Property\ScheduleCalendarTransp, string returned in file '/var/www/nextcloud/apps/dav/lib/CalDAV/CalendarImpl.php' line 71
GET /nextcloud/ocs/v2.php/apps/user_status/api/v1/user_status?format=json
from 111.111.11.111 by iosuser at 4 Aug 2025, 20:03:39
Web server / Reverse Proxy
The output of your Apache/nginx/system log in /var/log/____
:
As none of the URLs seem related to me, I’m leaving them in, in case it’s useful.
Aug 04 03:26:58 Debian systemd[1]: Started apache2.service - The Apache HTTP Server.
Aug 04 03:26:58 Debian apache2[169154]: [ssl:error] [pid 169154:tid 169154] AH02218: ssl_stapling_init_cert: no OCSP URI in certificate and no SSLStaplingForceURL set [subject: CN=myurl.com / issuer: CN=E6,O=Let's Encrypt,C=US / serial: ****************************** / notbefore: Jun 30 11:50:11 2025 GMT / notafter: Sep 28 11:50:10 2025 GMT]
Aug 04 03:26:58 Debian apache2[169154]: [ssl:error] [pid 169154:tid 169154] AH02604: Unable to configure certificate myurl.com:443:0 for stapling
Aug 04 04:49:14 Debian apache2[169156]: [autoindex:error] [pid 169156:tid 169285] [client 206.168.34.55:46870] AH01276: Cannot serve directory /var/www/nextcloud: No matching DirectoryIndex (none) found, and server-generated directory index forbidden by Options directive
Aug 04 06:23:54 Debian apache2[169156]: [proxy_fcgi:error] [pid 169156:tid 169275] [client 162.243.228.240:45968] AH01071: Got error 'Primary script unknown'
Aug 04 06:23:55 Debian apache2[169156]: [proxy_fcgi:error] [pid 169156:tid 169282] [client 162.243.228.240:46012] AH01071: Got error 'Primary script unknown'
Aug 04 06:23:55 Debian apache2[169156]: [proxy_fcgi:error] [pid 169156:tid 169286] [client 162.243.228.240:46024] AH01071: Got error 'Primary script unknown'
Aug 04 10:29:53 Debian apache2[169156]: [autoindex:error] [pid 169156:tid 169195] [remote 147.161.167.85:58544] AH01276: Cannot serve directory /var/www/nextcloud: No matching DirectoryIndex (none) found, and server-generated directory index forbidden by Options directive
Aug 04 12:59:07 Debian apache2[169156]: [proxy_fcgi:error] [pid 169156:tid 169247] [client 78.153.140.151:46488] AH01071: Got error 'Primary script unknown'
Aug 04 14:54:07 Debian apache2[169156]: [core:error] [pid 169156:tid 169229] [client 124.71.231.117:58836] AH10244: invalid URI path (/cgi-bin/.%2e/.%2e/.%2e/.%2e/.%2e/.%2e/.%2e/.%2e/.%2e/.%2e/bin/sh)
Aug 04 14:54:07 Debian apache2[169156]: [core:error] [pid 169156:tid 169273] [client 124.71.231.117:32954] AH10244: invalid URI path (/cgi-bin/%%32%65%%32%65/%%32%65%%32%65/%%32%65%%32%65/%%32%65%%32%65/%%32%65%%32%65/%%32%65%%32%65/%%32%65%%32%65/bin/sh)
Aug 04 14:54:19 Debian apache2[169156]: [proxy_fcgi:error] [pid 169156:tid 169266] [client 124.71.231.117:35076] AH01071: Got error 'Primary script unknown'
Aug 04 14:54:20 Debian apache2[169156]: [proxy_fcgi:error] [pid 169156:tid 169234] [client 124.71.231.117:35076] AH01071: Got error 'Primary script unknown'
Aug 04 14:54:20 Debian apache2[169156]: [proxy_fcgi:error] [pid 169156:tid 169252] [client 124.71.231.117:35076] AH01071: Got error 'Primary script unknown'
Aug 04 16:01:55 Debian apache2[169156]: [http2:warn] [pid 169156:tid 169242] [client 147.161.167.85:34108] h2_stream(169156-2788-19,CLEANUP): started=1, scheduled=1, ready=0, out_buffer=0
Aug 04 16:02:55 Debian apache2[169156]: [http2:warn] [pid 169156:tid 169242] [client 147.161.167.85:34108] h2_stream(169156-2788-19,CLEANUP): started=1, scheduled=1, ready=0, out_buffer=0
Aug 04 17:43:03 Debian apache2[169156]: [proxy_fcgi:error] [pid 169156:tid 169238] [client 78.153.140.179:37714] AH01071: Got error 'Primary script unknown'
Aug 04 17:43:05 Debian apache2[169156]: [proxy_fcgi:error] [pid 169156:tid 169241] [client 78.153.140.179:54202] AH01071: Got error 'Primary script unknown'
Aug 04 17:43:06 Debian apache2[169156]: [proxy_fcgi:error] [pid 169156:tid 169253] [client 78.153.140.179:58150] AH01071: Got error 'Primary script unknown'
Aug 04 17:43:14 Debian apache2[169156]: [proxy_fcgi:error] [pid 169156:tid 169259] [client 78.153.140.179:59614] AH01071: Got error 'Primary script unknown'
Aug 04 17:43:15 Debian apache2[169156]: [proxy_fcgi:error] [pid 169156:tid 169225] [client 78.153.140.179:38622] AH01071: Got error 'Primary script unknown'
Aug 04 19:46:15 Debian apache2[169156]: [proxy_fcgi:error] [pid 169156:tid 169234] [client 64.227.29.204:42464] AH01071: Got error 'Primary script unknown'
Configuration
Nextcloud
The output of occ config:list system
or similar is best, but, if not possible, the contents of your config.php
file from /path/to/nextcloud
is fine (make sure to remove any identifiable information!):
{
"system": {
"passwordsalt": "***REMOVED SENSITIVE VALUE***",
"secret": "***REMOVED SENSITIVE VALUE***",
"trusted_domains": [
"localhost",
"*"
],
"datadirectory": "***REMOVED SENSITIVE VALUE***",
"dbtype": "mysql",
"version": "31.0.7.1",
"hashingThreads": 4,
"memcache.local": "\\OC\\Memcache\\APCu",
"filelocking.enabled": true,
"memcache.locking": "\\OC\\Memcache\\Redis",
"redis": {
"host": "***REMOVED SENSITIVE VALUE***",
"port": 0
},
"overwrite.cli.url": "https:\/\/myurl.com\/nextcloud",
"htaccess.RewriteBase": "\/nextcloud",
"dbname": "***REMOVED SENSITIVE VALUE***",
"dbhost": "***REMOVED SENSITIVE VALUE***",
"dbport": "",
"dbtableprefix": "oc_",
"mysql.utf8mb4": true,
"dbuser": "***REMOVED SENSITIVE VALUE***",
"dbpassword": "***REMOVED SENSITIVE VALUE***",
"installed": true,
"instanceid": "***REMOVED SENSITIVE VALUE***",
"maintenance": false,
"maintenance_window_start": 2,
"default_phone_region": "GB",
"app_install_overwrite": [
"documentserver_community",
"keeweb",
"epubviewer",
"maps"
],
"mail_smtpmode": "smtp",
"mail_smtpsecure": "ssl",
"mail_sendmailmode": "smtp",
"mail_from_address": "***REMOVED SENSITIVE VALUE***",
"mail_domain": "***REMOVED SENSITIVE VALUE***",
"mail_smtphost": "***REMOVED SENSITIVE VALUE***",
"mail_smtpport": "465",
"mail_smtpauth": 1,
"mail_smtpname": "***REMOVED SENSITIVE VALUE***",
"mail_smtppassword": "***REMOVED SENSITIVE VALUE***",
"theme": "",
"loglevel": 0,
"memories.db.triggers.fcu": true,
"memories.exiftool": "\/var\/www\/nextcloud\/apps\/memories\/bin-ext\/exiftool-amd64-glibc",
"memories.vod.path": "\/var\/www\/nextcloud\/apps\/memories\/bin-ext\/go-vod-amd64",
"enabledPreviewProviders": [
"OC\\Preview\\Image",
"OC\\Preview\\HEIC",
"OC\\Preview\\Movie"
],
"memories.gis_type": 1,
"memories.vod.disable": false,
"memories.vod.ffmpeg": "\/usr\/bin\/ffmpeg",
"memories.vod.ffprobe": "\/usr\/bin\/ffprobe",
"has_internet_connection": "true"
}
}
Apps
The output of occ app:list
(if possible).
Enabled:
- activity: 4.0.0
- admin_audit: 1.21.0
- app_api: 5.0.2
- bookmarks: 15.1.3
- bruteforcesettings: 4.0.0
- calendar: 5.3.8
- circles: 31.0.0
- cloud_federation_api: 1.14.0
- comments: 1.21.0
- contacts: 7.2.3
- contactsinteraction: 1.12.0
- dashboard: 7.11.0
- dav: 1.33.0
- drawio: 3.1.0
- epubviewer: 1.8.0
- event_update_notification: 2.6.1
- federatedfilesharing: 1.21.0
- files: 2.3.1
- files_downloadlimit: 4.0.0
- files_external: 1.23.0
- files_fulltextsearch: 31.0.0
- files_pdfviewer: 4.0.0
- files_reminders: 1.4.0
- files_sharing: 1.23.1
- files_trashbin: 1.21.0
- files_versions: 1.24.0
- firstrunwizard: 4.0.0
- flow_notifications: 2.0.1
- fulltextsearch: 31.0.0
- fulltextsearch_elasticsearch: 31.0.0
- integration_paperless: 1.0.6
- integration_tmdb: 2.1.0
- keeweb: 0.6.21
- logreader: 4.0.0
- lookup_server_connector: 1.19.0
- mail: 5.1.10
- maps: 1.6.0
- memories: 7.6.1
- music: 2.2.0
- news: 26.1.0
- notes: 4.12.2
- notifications: 4.0.0
- oauth2: 1.19.1
- password_policy: 3.0.0
- phonetrack: 0.8.2
- photos: 4.0.0
- previewgenerator: 5.9.0
- privacy: 3.0.0
- profile: 1.0.0
- provisioning_api: 1.21.0
- recognize: 9.0.3
- recommendations: 4.0.0
- related_resources: 2.0.0
- richdocuments: 8.7.3
- richdocumentscode: 25.4.202
- serverinfo: 3.0.0
- settings: 1.14.0
- sharebymail: 1.21.0
- spreed: 21.1.2
- support: 3.0.0
- survey_client: 3.0.0
- suspicious_login: 9.0.1
- systemtags: 1.21.1
- tasks: 0.16.1
- text: 5.0.0
- theming: 2.6.1
- thesearchpage: 1.2.12
- twofactor_backupcodes: 1.20.0
- twofactor_nextcloud_notification: 5.0.0
- twofactor_totp: 13.0.0-dev.0
- updatenotification: 1.21.0
- user_status: 1.11.0
- viewer: 4.0.0
- weather_status: 1.11.0
- webapppassword: 25.3.0
- webhook_listeners: 1.2.0
- workflow_ocr: 1.31.2
- workflowengine: 2.13.0
Disabled:
- assistant: 2.5.0 (installed 2.5.0)
- documentserver_community: 0.2.0 (installed 0.2.0)
- encryption: 2.19.0 (installed 2.16.0)
- federation: 1.21.0 (installed 1.18.0)
- nextcloud_announcements: 3.0.0 (installed 1.17.0)
- onlyoffice: 9.9.0 (installed 9.9.0)
- user_ldap: 1.22.0