My data directory “/” is integrated as external storage smb/cifs. “Log-in credentials save in session” is selected for authentication. The files can be accessed.
Unfortunately, the release of data to other users or via a link does not work.
[/details]
Nextcloud version (eg, 20.0.5): 26.0.1.1
Operating system and version (eg, Ubuntu 20.04): Ubuntu 22.04
Apache or nginx version (eg, Apache 2.4.25): Apache 2.4.52
PHP version (eg, 7.4): 8.1
The issue you are facing:
Is this the first time you’ve seen this error? (Y/N): Y
Steps to replicate it:
- Mount external smb/cifs storage as “/”. Select “Log-in credentials save in session” for authentication.
- Create a new file in the file directory.
- Share this file as a link or share this file with other users.
- A message appears that the share has been created.
- However, the release does not work. Furthermore, the shared file is not
The output of your Nextcloud log in Admin > Logging:
[no app in context] Warnung: OCP\Files\StorageNotAvailableException: File by id 538516 not found at <<closure>>
0. /var/www/html/lib/private/Files/Storage/Wrapper/Jail.php line 341
OC\Files\Storage\FailedStorage->free_space()
1. /var/www/html/lib/private/Files/Storage/Wrapper/Wrapper.php line 331
OC\Files\Storage\Wrapper\Jail->free_space()
2. /var/www/html/lib/private/legacy/OC_Helper.php line 525
OC\Files\Storage\Wrapper\Wrapper->free_space()
3. /var/www/html/apps/dav/lib/Connector/Sabre/Directory.php line 336
OC_Helper::getStorageInfo()
4. /var/www/html/3rdparty/sabre/dav/lib/DAV/CorePlugin.php line 770
OCA\DAV\Connector\Sabre\Directory->getQuotaInfo()
5. /var/www/html/3rdparty/sabre/dav/lib/DAV/PropFind.php line 95
Sabre\DAV\CorePlugin->Sabre\DAV\{closure}("*** sensitive parameters replaced ***")
6. /var/www/html/3rdparty/sabre/dav/lib/DAV/CorePlugin.php line 774
Sabre\DAV\PropFind->handle()
7. /var/www/html/3rdparty/sabre/event/lib/WildcardEmitterTrait.php line 89
Sabre\DAV\CorePlugin->propFind()
8. /var/www/html/3rdparty/sabre/dav/lib/DAV/Server.php line 1052
Sabre\DAV\Server->emit()
9. /var/www/html/3rdparty/sabre/dav/lib/DAV/Server.php line 984
Sabre\DAV\Server->getPropertiesByNode()
10. /var/www/html/3rdparty/sabre/dav/lib/DAV/Server.php line 1662
Sabre\DAV\Server->getPropertiesIteratorForPath()
11. /var/www/html/3rdparty/sabre/dav/lib/DAV/Server.php line 1647
Sabre\DAV\Server->writeMultiStatus()
12. /var/www/html/3rdparty/sabre/dav/lib/DAV/CorePlugin.php line 346
Sabre\DAV\Server->generateMultiStatus()
13. /var/www/html/3rdparty/sabre/event/lib/WildcardEmitterTrait.php line 89
Sabre\DAV\CorePlugin->httpPropFind()
14. /var/www/html/3rdparty/sabre/dav/lib/DAV/Server.php line 472
Sabre\DAV\Server->emit()
15. /var/www/html/3rdparty/sabre/dav/lib/DAV/Server.php line 253
Sabre\DAV\Server->invokeMethod()
16. /var/www/html/3rdparty/sabre/dav/lib/DAV/Server.php line 321
Sabre\DAV\Server->start()
17. /var/www/html/apps/dav/lib/Server.php line 366
Sabre\DAV\Server->exec()
18. /var/www/html/apps/dav/appinfo/v2/remote.php line 35
OCA\DAV\Server->exec()
19. /var/www/html/remote.php line 172
require_once("/var/www/html/a ... p")
Caused by:
OCP\Files\NotFoundException: File by id 538516 not found at <<closure>>
0. /var/www/html/apps/files_sharing/lib/SharedStorage.php line 532
OCA\Files_Sharing\SharedStorage->init()
1. /var/www/html/lib/private/Files/Storage/Wrapper/Wrapper.php line 494
OCA\Files_Sharing\SharedStorage->getWrapperStorage()
2. /var/www/html/apps/files_sharing/lib/SharedStorage.php line 201
OC\Files\Storage\Wrapper\Wrapper->instanceOfStorage()
3. /var/www/html/lib/private/Files/Storage/Wrapper/Wrapper.php line 494
OCA\Files_Sharing\SharedStorage->instanceOfStorage()
4. /var/www/html/lib/private/legacy/OC_Helper.php line 520
OC\Files\Storage\Wrapper\Wrapper->instanceOfStorage()
5. /var/www/html/apps/dav/lib/Connector/Sabre/Directory.php line 336
OC_Helper::getStorageInfo()
6. /var/www/html/3rdparty/sabre/dav/lib/DAV/CorePlugin.php line 770
OCA\DAV\Connector\Sabre\Directory->getQuotaInfo()
7. /var/www/html/3rdparty/sabre/dav/lib/DAV/PropFind.php line 95
Sabre\DAV\CorePlugin->Sabre\DAV\{closure}("*** sensitive parameters replaced ***")
8. /var/www/html/3rdparty/sabre/dav/lib/DAV/CorePlugin.php line 774
Sabre\DAV\PropFind->handle()
9. /var/www/html/3rdparty/sabre/event/lib/WildcardEmitterTrait.php line 89
Sabre\DAV\CorePlugin->propFind()
10. /var/www/html/3rdparty/sabre/dav/lib/DAV/Server.php line 1052
Sabre\DAV\Server->emit()
11. /var/www/html/3rdparty/sabre/dav/lib/DAV/Server.php line 984
Sabre\DAV\Server->getPropertiesByNode()
12. /var/www/html/3rdparty/sabre/dav/lib/DAV/Server.php line 1662
Sabre\DAV\Server->getPropertiesIteratorForPath()
13. /var/www/html/3rdparty/sabre/dav/lib/DAV/Server.php line 1647
Sabre\DAV\Server->writeMultiStatus()
14. /var/www/html/3rdparty/sabre/dav/lib/DAV/CorePlugin.php line 346
Sabre\DAV\Server->generateMultiStatus()
15. /var/www/html/3rdparty/sabre/event/lib/WildcardEmitterTrait.php line 89
Sabre\DAV\CorePlugin->httpPropFind()
16. /var/www/html/3rdparty/sabre/dav/lib/DAV/Server.php line 472
Sabre\DAV\Server->emit()
17. /var/www/html/3rdparty/sabre/dav/lib/DAV/Server.php line 253
Sabre\DAV\Server->invokeMethod()
18. /var/www/html/3rdparty/sabre/dav/lib/DAV/Server.php line 321
Sabre\DAV\Server->start()
19. /var/www/html/apps/dav/lib/Server.php line 366
Sabre\DAV\Server->exec()
20. /var/www/html/apps/dav/appinfo/v2/remote.php line 35
OCA\DAV\Server->exec()
21. /var/www/html/remote.php line 172
require_once("/var/www/html/a ... p")
PROPFIND /remote.php/dav/files/myuser/
from 188.193.128.12 by myuser at 2023-05-16T07:13:07+02:00
The output of your config.php file in /path/to/nextcloud
(make sure you remove any identifiable information!):
sudo -u www-data php occ config:list system
{
"system": {
"passwordsalt": "***REMOVED SENSITIVE VALUE***",
"datadirectory": "***REMOVED SENSITIVE VALUE***",
"dbtype": "mysql",
"version": "26.0.1.1",
"installed": true,
"maintenance": false,
"theme": "",
"trusted_domains": [
"localhost",
"firstcloud.ddnss.de",
],
"trusted_proxies": "***REMOVED SENSITIVE VALUE***",
"log_type": "file",
"loglevel": 2,
"logtimezone": "Europe\/Berlin",
"logfile": "\/var\/www\/nextcloud\/data\/nextcloud.log",
"syslog_tag": "Nextcloud",
"mail_from_address": "***REMOVED SENSITIVE VALUE***",
"mail_smtpmode": "smtp",
"mail_domain": "***REMOVED SENSITIVE VALUE***",
"mail_smtphost": "***REMOVED SENSITIVE VALUE***",
"mail_smtpport": "587",
"secret": "***REMOVED SENSITIVE VALUE***",
"trashbin_retention_obligation": 30,
"dbname": "***REMOVED SENSITIVE VALUE***",
"dbhost": "***REMOVED SENSITIVE VALUE***",
"dbuser": "***REMOVED SENSITIVE VALUE***",
"dbpassword": "***REMOVED SENSITIVE VALUE***",
"updatechecker": false,
"overwrite.cli.url": "http:\/\/firstcloud.ddnss.de",
"debug": false,
"enabledPreviewProviders": {
"0": "OC\\Preview\\PNG",
"1": "OC\\Preview\\JPEG",
"2": "OC\\Preview\\GIF",
"11": "OC\\Preview\\Illustrator",
"12": "OC\\Preview\\Postscript",
"13": "OC\\Preview\\Photoshop",
"14": "OC\\Preview\\TIFF"
},
"memcache.local": "\\OC\\Memcache\\APCu",
"memcache.distributed": "\\OC\\Memcache\\Redis",
"memcache.locking": "\\OC\\Memcache\\Redis",
"redis": {
"host": "***REMOVED SENSITIVE VALUE***",
"port": 6379
},
"default_language": "de",
"mysql.utf8mb4": true,
"updater.release.channel": "stable",
"instanceid": "***REMOVED SENSITIVE VALUE***",
"app_install_overwrite": [
"calendar",
"documents",
"joplin",
"ocdownloader",
"unsplash",
"imageconverter",
"richdocumentscode"
],
"has_rebuilt_cache": true,
"default_phone_region": "DE",
"mail_sendmailmode": "smtp",
"mail_smtpsecure": "tls",
"mail_smtpauth": 1,
"mail_smtpname": "***REMOVED SENSITIVE VALUE***",
"mail_smtppassword": "***REMOVED SENSITIVE VALUE***",
"mail_smtpauthtype": "PLAIN",
"twofactor_enforced": "true",
"twofactor_enforced_groups": [
"admin"
],
"twofactor_enforced_excluded_groups": [],
"remember_login_cookie_lifetime": 1296000,
"session_lifetime": 1800,
"session_keepalive": false,
"auto_logout": true
}
}
[details]