[details=“Support intro”]
The Basics
- Nextcloud Server version (e.g., 29.x.x):
- 28.0.5
- Operating system and version (e.g., Ubuntu 24.04):
- Ubuntu 20.04.6
- Web server and version (e.g, Apache 2.4.25):
- Apache/2.4.63
-
Reverse proxy and version _(e.g. nginx 1.27.2)
- PHP version (e.g, 8.3):
- 8.1.32
- Is this the first time you’ve seen this error? (Yes / No):
- yes
- When did this problem seem to first start?
- After rollback
-
Installation method (e.g. AlO, NCP, Bare Metal/Archive, etc.)
- Are you using CloudfIare, mod_security, or similar? (Yes / No)
- cloudflare
Summary of the issue you are facing:
We had to rollback our Nextcloud to a previous version. We are using AWS S3 for primary storage. In the database, the oc_filecache table has the file information. The files exist in S3. But I cannot pull up the files in Nextcloud. I can search and find files (I’m guessing this is searching oc_filecache), but when I try to preview or download the found file, it doesn’t work. Previewing the file just spins with no result. Attempting to download the file gives a general “500 Internal Server Error”. I tried occ files:scan with no change.
Steps to replicate it (hint: details matter!):
Log entries
Nextcloud
Please provide the log entries from your Nextcloud log that are generated during the time of problem (via the Copy raw option from Administration settings->Logging screen or from your nextcloud.log
located in your data directory). Feel free to use a pastebin/gist service if necessary.
Log message from attempted file download:
{
"reqId": "qGBdy0IibrsnWin4G0QD",
"level": 3,
"time": "2025-06-02T20:23:49+00:00",
"remoteAddr": "xxx.xxx.xxx.xxx",
"user": "xxxxx",
"app": "webdav",
"method": "GET",
"url": "/nextcloud-conf/remote.php/dav/files/admin/Administration/Accounting/Financial/BM/AA%20RedCard/Old%20Statements/AnnualSummary2019-4273.pdf",
"message": "No such file or directory",
"userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:138.0) Gecko/20100101 Firefox/138.0",
"version": "28.0.5.1",
"exception": {
"Exception": "Sabre\\DAV\\Exception",
"Message": "No such file or directory",
"Code": 0,
"Trace": [
{
"file": "/var/www/html/nextcloud-conf/apps/dav/lib/Connector/Sabre/File.php",
"line": 501,
"function": "convertToSabreException",
"class": "OCA\\DAV\\Connector\\Sabre\\File",
"type": "->"
},
{
"file": "/var/www/html/nextcloud-conf/3rdparty/sabre/dav/lib/DAV/CorePlugin.php",
"line": 85,
"function": "get",
"class": "OCA\\DAV\\Connector\\Sabre\\File",
"type": "->"
},
{
"file": "/var/www/html/nextcloud-conf/3rdparty/sabre/event/lib/WildcardEmitterTrait.php",
"line": 89,
"function": "httpGet",
"class": "Sabre\\DAV\\CorePlugin",
"type": "->"
},
{
"file": "/var/www/html/nextcloud-conf/3rdparty/sabre/dav/lib/DAV/Server.php",
"line": 472,
"function": "emit",
"class": "Sabre\\DAV\\Server",
"type": "->"
},
{
"file": "/var/www/html/nextcloud-conf/3rdparty/sabre/dav/lib/DAV/Server.php",
"line": 253,
"function": "invokeMethod",
"class": "Sabre\\DAV\\Server",
"type": "->"
},
{
"file": "/var/www/html/nextcloud-conf/3rdparty/sabre/dav/lib/DAV/Server.php",
"line": 321,
"function": "start",
"class": "Sabre\\DAV\\Server",
"type": "->"
},
{
"file": "/var/www/html/nextcloud-conf/apps/dav/lib/Server.php",
"line": 373,
"function": "exec",
"class": "Sabre\\DAV\\Server",
"type": "->"
},
{
"file": "/var/www/html/nextcloud-conf/apps/dav/appinfo/v2/remote.php",
"line": 35,
"function": "exec",
"class": "OCA\\DAV\\Server",
"type": "->"
},
{
"file": "/var/www/html/nextcloud-conf/remote.php",
"line": 172,
"args": [
"/var/www/html/nextcloud-conf/apps/dav/appinfo/v2/remote.php"
],
"function": "require_once"
}
],
"File": "/var/www/html/nextcloud-conf/apps/dav/lib/Connector/Sabre/File.php",
"Line": 765,
"Previous": {
"Exception": "RedisException",
"Message": "No such file or directory",
"Code": 0,
"Trace": [
{
"file": "/var/www/html/nextcloud-conf/lib/private/RedisFactory.php",
"line": 117,
"function": "pconnect",
"class": "Redis",
"type": "->"
},
{
"file": "/var/www/html/nextcloud-conf/lib/private/RedisFactory.php",
"line": 158,
"function": "create",
"class": "OC\\RedisFactory",
"type": "->",
"args": [
"*** sensitive parameters replaced ***"
]
},
{
"file": "/var/www/html/nextcloud-conf/lib/private/Memcache/Redis.php",
"line": 70,
"function": "getInstance",
"class": "OC\\RedisFactory",
"type": "->"
},
{
"file": "/var/www/html/nextcloud-conf/lib/private/Memcache/Redis.php",
"line": 189,
"function": "getCache",
"class": "OC\\Memcache\\Redis",
"type": "->"
},
{
"file": "/var/www/html/nextcloud-conf/lib/private/Lock/MemcacheLockingProvider.php",
"line": 62,
"function": "getTTL",
"class": "OC\\Memcache\\Redis",
"type": "->"
},
{
"file": "/var/www/html/nextcloud-conf/lib/private/Lock/MemcacheLockingProvider.php",
"line": 84,
"function": "getTTL",
"class": "OC\\Lock\\MemcacheLockingProvider",
"type": "->"
},
{
"file": "/var/www/html/nextcloud-conf/lib/private/Files/Storage/Common.php",
"line": 766,
"function": "acquireLock",
"class": "OC\\Lock\\MemcacheLockingProvider",
"type": "->"
},
{
"file": "/var/www/html/nextcloud-conf/lib/private/Files/Storage/Wrapper/Wrapper.php",
"line": 616,
"function": "acquireLock",
"class": "OC\\Files\\Storage\\Common",
"type": "->"
},
{
"file": "/var/www/html/nextcloud-conf/lib/private/Files/Storage/Wrapper/Wrapper.php",
"line": 616,
"function": "acquireLock",
"class": "OC\\Files\\Storage\\Wrapper\\Wrapper",
"type": "->"
},
{
"file": "/var/www/html/nextcloud-conf/lib/private/Files/View.php",
"line": 1947,
"function": "acquireLock",
"class": "OC\\Files\\Storage\\Wrapper\\Wrapper",
"type": "->"
},
{
"file": "/var/www/html/nextcloud-conf/lib/private/Files/View.php",
"line": 2057,
"function": "lockPath",
"class": "OC\\Files\\View",
"type": "->"
},
{
"file": "/var/www/html/nextcloud-conf/lib/private/Files/View.php",
"line": 1141,
"function": "lockFile",
"class": "OC\\Files\\View",
"type": "->"
},
{
"file": "/var/www/html/nextcloud-conf/lib/private/Files/View.php",
"line": 987,
"function": "basicOperation",
"class": "OC\\Files\\View",
"type": "->"
},
{
"file": "/var/www/html/nextcloud-conf/apps/dav/lib/Connector/Sabre/File.php",
"line": 499,
"function": "fopen",
"class": "OC\\Files\\View",
"type": "->"
},
{
"file": "/var/www/html/nextcloud-conf/3rdparty/sabre/dav/lib/DAV/CorePlugin.php",
"line": 85,
"function": "get",
"class": "OCA\\DAV\\Connector\\Sabre\\File",
"type": "->"
},
{
"file": "/var/www/html/nextcloud-conf/3rdparty/sabre/event/lib/WildcardEmitterTrait.php",
"line": 89,
"function": "httpGet",
"class": "Sabre\\DAV\\CorePlugin",
"type": "->"
},
{
"file": "/var/www/html/nextcloud-conf/3rdparty/sabre/dav/lib/DAV/Server.php",
"line": 472,
"function": "emit",
"class": "Sabre\\DAV\\Server",
"type": "->"
},
{
"file": "/var/www/html/nextcloud-conf/3rdparty/sabre/dav/lib/DAV/Server.php",
"line": 253,
"function": "invokeMethod",
"class": "Sabre\\DAV\\Server",
"type": "->"
},
{
"file": "/var/www/html/nextcloud-conf/3rdparty/sabre/dav/lib/DAV/Server.php",
"line": 321,
"function": "start",
"class": "Sabre\\DAV\\Server",
"type": "->"
},
{
"file": "/var/www/html/nextcloud-conf/apps/dav/lib/Server.php",
"line": 373,
"function": "exec",
"class": "Sabre\\DAV\\Server",
"type": "->"
},
{
"file": "/var/www/html/nextcloud-conf/apps/dav/appinfo/v2/remote.php",
"line": 35,
"function": "exec",
"class": "OCA\\DAV\\Server",
"type": "->"
},
{
"file": "/var/www/html/nextcloud-conf/remote.php",
"line": 172,
"args": [
"/var/www/html/nextcloud-conf/apps/dav/appinfo/v2/remote.php"
],
"function": "require_once"
}
],
"File": "/var/www/html/nextcloud-conf/lib/private/RedisFactory.php",
"Line": 117
},
"message": "No such file or directory",
"exception": [],
"CustomMessage": "No such file or directory"
},
"id": "683e09372db34"
}
Web Browser
If the problem is related to the Web interface, open your browser inspector Console and Network tabs while refreshing (reloading) and reproducing the problem. Provide any relevant output/errors here that appear.
PASTE
Web server / Reverse Proxy
The output of your Apache/nginx/system log in /var/log/____
:
PASTE HERE
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": {
"objectstore": {
"class": "\\OC\\Files\\ObjectStore\\S3",
"arguments": {
"bucket": "ops-nextcloud-conf-prod",
"autocreate": true,
"key": "***REMOVED SENSITIVE VALUE***",
"secret": "***REMOVED SENSITIVE VALUE***",
"region": "us-east-1",
"use_ssl": true,
"use_path_style": false
}
},
"passwordsalt": "***REMOVED SENSITIVE VALUE***",
"secret": "***REMOVED SENSITIVE VALUE***",
"trusted_domains": [
"localhost",
"crow.biomech.us"
],
"datadirectory": "***REMOVED SENSITIVE VALUE***",
"dbtype": "pgsql",
"version": "28.0.5.1",
"overwrite.cli.url": "https:\/\/crow.biomech.us\/nextcloud-conf",
"dbname": "***REMOVED SENSITIVE VALUE***",
"dbhost": "***REMOVED SENSITIVE VALUE***",
"dbport": "",
"dbtableprefix": "oc_",
"dbuser": "***REMOVED SENSITIVE VALUE***",
"dbpassword": "***REMOVED SENSITIVE VALUE***",
"installed": true,
"instanceid": "***REMOVED SENSITIVE VALUE***",
"logfile": "\/var\/log\/nextcloud-conf\/nextcloud.log",
"loglevel": 3,
"default_phone_region": "US",
"trusted_proxies": "***REMOVED SENSITIVE VALUE***",
"mail_smtpmode": "smtp",
"mail_smtphost": "***REMOVED SENSITIVE VALUE***",
"mail_smtpport": "587",
"mail_smtpauthtype": "LOGIN",
"mail_smtpauth": 1,
"mail_domain": "***REMOVED SENSITIVE VALUE***",
"mail_smtpname": "***REMOVED SENSITIVE VALUE***",
"mail_smtppassword": "***REMOVED SENSITIVE VALUE***",
"memcache.local": "\\OC\\Memcache\\APCu",
"filelocking.enabled": true,
"memcache.locking": "\\OC\\Memcache\\Redis",
"redis": {
"host": "***REMOVED SENSITIVE VALUE***",
"port": 0,
"timeout": 0
},
"trashbin_retention_obligation": "15,30",
"maintenance": false,
"theme": "",
"updater.release.channel": "stable",
"mail_sendmailmode": "smtp",
"mail_smtpsecure": "tls",
"mail_from_address": "***REMOVED SENSITIVE VALUE***",
"maintenance_window_start": 5,
"twofactor_enforced": "true",
"twofactor_enforced_groups": [],
"twofactor_enforced_excluded_groups": [
"NonMFA"
]
}
}
Apps
Enabled:
- activity: 2.20.0
- circles: 28.0.0
- cloud_federation_api: 1.11.0
- comments: 1.18.0
- contactsinteraction: 1.9.0
- dashboard: 7.8.0
- dav: 1.29.1
- federatedfilesharing: 1.18.0
- federation: 1.18.0
- files: 2.0.0
- files_pdfviewer: 2.9.0
- files_reminders: 1.1.0
- files_sharing: 1.20.0
- files_trashbin: 1.18.0
- files_versions: 1.21.0
- firstrunwizard: 2.17.0
- logreader: 2.13.0
- lookup_server_connector: 1.16.0
- notifications: 2.16.0
- oauth2: 1.16.3
- password_policy: 1.18.0
- photos: 2.4.0
- privacy: 1.12.0
- provisioning_api: 1.18.0
- recommendations: 2.0.0
- related_resources: 1.3.0
- serverinfo: 1.18.0
- settings: 1.10.1
- sharebymail: 1.18.0
- support: 1.11.1
- survey_client: 1.16.0
- systemtags: 1.18.0
- text: 3.9.1
- theming: 2.3.0
- twofactor_backupcodes: 1.17.0
- twofactor_email: 2.7.4
- updatenotification: 1.18.0
- user_status: 1.8.1
- viewer: 2.2.0
- weather_status: 1.8.0
- workflowengine: 2.10.0
Disabled: - admin_audit: 1.18.0
- bruteforcesettings: 2.8.0
- encryption: 2.16.0
- files_external: 1.20.0
- files_rightclick: 0.15.1 (installed 1.6.0)
- nextcloud_announcements: 1.17.0 (installed 1.5.0)
- suspicious_login: 6.0.0
- twofactor_totp: 10.0.0-beta.2
- unsplash: 2.2.1 (installed 2.2.1)
- user_ldap: 1.19.0
Tips for increasing the likelihood of a response
- Use the
preformatted text
formatting option in the editor for all log entries and configuration output. - If screenshots are useful, feel free to include them.
- If possible, also include key error output in text form so it can be searched for.
- Try to edit log output only minimally (if at all) so that it can be ran through analyzers / formatters by those trying to help you.