SMB External Storage shares not mounted after some time, logout and login required

A SAMBA File Server is joined to a domain controller. Nextcloud uses LDAP (the same domain controller) for user/password queries and accesses the samba file server via External Storag SMB/CIFS

Authentication is set to “Login credentials saved in database”.

After some time and if the browser tab was closed the mounted folders disappear. This happens also on the Android App.

In the log the following entries show up:

OCP\Files\StorageNotAvailableException: Storage with mount id 8 is not available at

The Workaround is to logout and login again. Now all the shares are accessible again.

Nextcloud version: 26.05
Operating system and version : Docker Image
Apache or nginx version: 2.4.57
PHP version: 8.2.8

Nextlcoud Config

{
“system”: {
“htaccess.RewriteBase”: “/”,
“memcache.local”: “\OC\Memcache\APCu”,
“apps_paths”: [
{
“path”: “/var/www/html/apps”,
“url”: “/apps”,
“writable”: false
},
{
“path”: “/var/www/html/custom_apps”,
“url”: “/custom_apps”,
“writable”: true
}
],
“instanceid”: “REMOVED SENSITIVE VALUE”,
“passwordsalt”: “REMOVED SENSITIVE VALUE”,
“secret”: “REMOVED SENSITIVE VALUE”,
“trusted_domains”: [
“172.17.0.1:7080”,
“cloud.yyy.yy”,
“192.168.222.*”
],
“forwarded_for_headers”: [
“HTTP_X_FORWARDED_FOR”
],
“datadirectory”: “REMOVED SENSITIVE VALUE”,
“dbtype”: “mysql”,
“version”: “26.0.5.1”,
“overwrite.cli.url”: “http://192.168.222.11:7080”,
“dbname”: “REMOVED SENSITIVE VALUE”,
“dbhost”: “REMOVED SENSITIVE VALUE”,
“dbport”: “”,
“dbtableprefix”: “oc_”,
“mysql.utf8mb4”: true,
“dbuser”: “REMOVED SENSITIVE VALUE”,
“dbpassword”: “REMOVED SENSITIVE VALUE”,
“installed”: true,
“theme”: “”,
“loglevel”: 2,
“maintenance”: false,
“default_phone_region”: “DE”,
“allow_local_remote_servers”: true,
“trusted_proxies”: “REMOVED SENSITIVE VALUE”,
“mail_smtpmode”: “smtp”,
“mail_smtphost”: “REMOVED SENSITIVE VALUE”,
“mail_smtpport”: “587”,
“mail_smtpsecure”: “tls”,
“mail_smtpauth”: true,
“mail_smtpauthtype”: “plain”,
“mail_smtpname”: “REMOVED SENSITIVE VALUE”,
“mail_from_address”: “REMOVED SENSITIVE VALUE”,
“mail_domain”: “REMOVED SENSITIVE VALUE”,
“mail_smtppassword”: “REMOVED SENSITIVE VALUE
},
“apps”: {
“activity”: {
“enabled”: “yes”,
“installed_version”: “2.18.0”,
“notify_email_calendar”: “1”,
“notify_email_calendar_event”: “0”,
“notify_email_calendar_todo”: “0”,
“notify_email_contacts”: “0”,
“notify_email_favorite”: “0”,
“notify_email_file_changed”: “0”,
“notify_email_file_favorite_changed”: “0”,
“notify_email_group_settings”: “1”,
“notify_email_public_links”: “1”,
“notify_email_remote_share”: “0”,
“notify_email_shared”: “1”,
“notify_email_systemtags”: “0”,
“notify_notification_calendar”: “0”,
“notify_notification_calendar_event”: “0”,
“notify_notification_calendar_todo”: “0”,
“notify_notification_contacts”: “0”,
“notify_notification_favorite”: “0”,
“notify_notification_file_changed”: “0”,
“notify_notification_file_favorite_changed”: “0”,
“notify_notification_group_settings”: “1”,
“notify_notification_personal_settings”: “0”,
“notify_notification_public_links”: “0”,
“notify_notification_remote_share”: “0”,
“notify_notification_security”: “1”,
“notify_notification_shared”: “0”,
“notify_notification_systemtags”: “0”,
“notify_setting_batchtime”: “3600”,
“notify_setting_self”: “0”,
“notify_setting_selfemail”: “0”,
“types”: “filesystem”
},
“admin_audit”: {
“enabled”: “yes”,
“installed_version”: “1.16.0”,
“types”: “logging”
},
“audioplayer”: {
“enabled”: “no”,
“installed_version”: “3.1.0”,
“types”: “filesystem”
},
“backgroundjob”: {
“lastjob”: “1833”
},
“bruteforcesettings”: {
“enabled”: “yes”,
“installed_version”: “2.6.0”,
“types”: “”
},
“calendar”: {
“enabled”: “yes”,
“installed_version”: “4.4.4”,
“types”: “”
},
“circles”: {
“enabled”: “no”,
“installed_version”: “26.0.0”,
“loopback_tmp_scheme”: “http”,
“maintenance_run”: “0”,
“maintenance_update”: “{"maximum":3,"3":1691492700,"2":1691495100,"1":1691495400,"4":1657936801,"5":1657940401}”,
“migration_22”: “1”,
“migration_22_1”: “1”,
“migration_run”: “0”,
“types”: “filesystem,dav”
},
“cloud_federation_api”: {
“enabled”: “yes”,
“installed_version”: “1.9.0”,
“types”: “filesystem”
},
“comments”: {
“enabled”: “no”,
“installed_version”: “1.10.0”,
“types”: “logging”
},
“contacts”: {
“allowSocialSync”: “no”,
“enabled”: “yes”,
“installed_version”: “5.3.2”,
“types”: “dav”
},
“contactsinteraction”: {
“enabled”: “no”,
“installed_version”: “1.1.0”,
“types”: “dav”
},
“core”: {
“backgroundjobs_mode”: “cron”,
“emailTestSuccessful”: “1”,
“installed.bundles”: “["CoreBundle","CoreBundle"]”,
“installedat”: “1691497314.5953”,
“lastcron”: “1693215000”,
“lastupdateResult”: “{"version":"27.0.2.1","versionstring":"Nextcloud 27.0.2","url":"https:\/\/download.nextcloud.com\/server\/releases\/nextcloud-27.0.2.zip","web":"https:\/\/docs.nextcloud.com\/server\/27\/admin_manual\/maintenance\/upgrade.html","changes":"https:\/\/updates.nextcloud.com\/changelog_server\/?version=27.0.2","autoupdater":"1","eol":"0"}”,
“lastupdatedat”: “1693213071”,
“moveavatarsdone”: “yes”,
“oc.integritycheck.checker”: “[]”,
“previewsCleanedUp”: “1”,
“public_files”: “files_sharing/public.php”,
“public_webdav”: “dav/appinfo/v1/publicwebdav.php”,
“shareapi_default_expire_date”: “no”,
“shareapi_default_internal_expire_date”: “yes”,
“shareapi_enforce_internal_expire_date”: “yes”,
“shareapi_enforce_links_password”: “yes”,
“shareapi_internal_expire_after_n_days”: “30”,
“theming.variables”: “d41d8cd98f00b204e9800998ecf8427e”,
“updater.secret.created”: “1691662416”,
“vendor”: “nextcloud”
},
“dashboard”: {
“enabled”: “yes”,
“installed_version”: “7.6.0”,
“types”: “”
},
“dav”: {
“buildCalendarReminderIndex”: “yes”,
“buildCalendarSearchIndex”: “yes”,
“builtSocialSearchIndex”: “yes”,
“chunks_migrated”: “1”,
“enabled”: “yes”,
“installed_version”: “1.25.0”,
“regeneratedBirthdayCalendarsForYearFix”: “yes”,
“types”: “filesystem”
},
“federatedfilesharing”: {
“enabled”: “yes”,
“installed_version”: “1.16.0”,
“types”: “”
},
“federation”: {
“enabled”: “no”,
“installed_version”: “1.10.1”,
“types”: “authentication”
},
“files”: {
“cronjob_scan_files”: “500”,
“enabled”: “yes”,
“installed_version”: “1.21.1”,
“types”: “filesystem”
},
“files_downloadactivity”: {
“enabled”: “yes”,
“installed_version”: “1.16.0”,
“types”: “filesystem”
},
“files_external”: {
“allow_user_mounting”: “no”,
“enabled”: “yes”,
“installed_version”: “1.18.0”,
“types”: “filesystem”,
“user_mounting_backends”: “ftp,dav,owncloud,sftp,amazons3,swift,smb,\OC\Files\Storage\SFTP_Key,\OC\Files\Storage\SMB_OC”
},
“files_pdfviewer”: {
“enabled”: “yes”,
“installed_version”: “2.7.0”,
“types”: “”
},
“files_rightclick”: {
“enabled”: “yes”,
“installed_version”: “1.5.0”,
“types”: “”
},
“files_sharing”: {
“enabled”: “yes”,
“installed_version”: “1.18.0”,
“types”: “filesystem”
},
“files_trashbin”: {
“enabled”: “no”,
“installed_version”: “1.11.0”,
“types”: “filesystem,dav”
},
“files_versions”: {
“enabled”: “no”,
“installed_version”: “1.13.0”,
“types”: “filesystem,dav”
},
“firstrunwizard”: {
“enabled”: “no”,
“installed_version”: “2.9.0”,
“types”: “logging”
},
“holiday_calendars”: {
“enabled”: “no”,
“installed_version”: “0.3.0”,
“types”: “”
},
“logreader”: {
“enabled”: “yes”,
“installed_version”: “2.11.0”,
“levels”: “00111”,
“types”: “”
},
“lookup_server_connector”: {
“enabled”: “yes”,
“installed_version”: “1.14.0”,
“types”: “authentication”
},
“mail”: {
“enabled”: “no”,
“installed_version”: “3.2.5”,
“types”: “”
},
“nextcloud_announcements”: {
“enabled”: “no”,
“installed_version”: “1.9.0”,
“pub_date”: “Thu, 24 Oct 2019 00:00:00 +0200”,
“types”: “logging”
},
“notes”: {
“enabled”: “yes”,
“installed_version”: “4.8.1”,
“types”: “”
},
“notifications”: {
“enabled”: “yes”,
“installed_version”: “2.14.0”,
“types”: “logging”
},
“oauth2”: {
“enabled”: “yes”,
“installed_version”: “1.14.1”,
“types”: “authentication”
},
“password_policy”: {
“enabled”: “no”,
“installed_version”: “1.10.1”,
“types”: “authentication”
},
“photos”: {
“enabled”: “yes”,
“installed_version”: “2.2.0”,
“lastPlaceMappedUser”: “80988C0B-7756-417D-B48C-52EE28FD9E1B”,
“lastPlaceMappingDone”: “true”,
“types”: “dav,authentication”
},
“privacy”: {
“enabled”: “yes”,
“installed_version”: “1.10.0”,
“readableLocation”: “ch”,
“types”: “”
},
“provisioning_api”: {
“enabled”: “yes”,
“installed_version”: “1.16.0”,
“types”: “prevent_group_restriction”
},
“recommendations”: {
“enabled”: “no”,
“installed_version”: “0.8.0”,
“types”: “”
},
“related_resources”: {
“enabled”: “yes”,
“installed_version”: “1.1.0”,
“types”: “”
},
“richdocuments”: {
“disable_certificate_verification”: “yes”,
“enabled”: “yes”,
“installed_version”: “8.0.3”,
“types”: “prevent_group_restriction”,
“wopi_url”: “http://192.168.222.11:7080/custom_apps/richdocumentscode/proxy.php?req=”
},
“richdocumentscode”: {
“enabled”: “yes”,
“installed_version”: “23.5.202”,
“types”: “”
},
“serverinfo”: {
“cached_count_filecache”: “1867920”,
“cached_count_storages”: “66”,
“enabled”: “yes”,
“installed_version”: “1.16.0”,
“types”: “”
},
“settings”: {
“enabled”: “yes”,
“installed_version”: “1.8.0”,
“types”: “”
},
“sharebymail”: {
“enabled”: “no”,
“installed_version”: “1.10.0”,
“types”: “filesystem”
},
“spreed”: {
“enabled”: “no”,
“has_reference_id”: “yes”,
“installed_version”: “16.0.5”,
“project_access_invalidated”: “1”,
“signaling_token_privkey_es256”: “REMOVED SENSITIVE VALUE”,
“signaling_token_pubkey_es256”: “REMOVED SENSITIVE VALUE”,
“stun_servers”: “REMOVED SENSITIVE VALUE”,
“types”: “dav,prevent_group_restriction”
},
“support”: {
“enabled”: “no”,
“installed_version”: “1.3.0”,
“types”: “session”
},
“survey_client”: {
“enabled”: “no”,
“installed_version”: “1.8.0”,
“types”: “”
},
“suspicious_login”: {
“enabled”: “no”,
“installed_version”: “4.4.0”,
“types”: “authentication”
},
“systemtags”: {
“enabled”: “no”,
“installed_version”: “1.10.0”,
“types”: “logging”
},
“tasks”: {
“enabled”: “yes”,
“installed_version”: “0.15.0”,
“types”: “”
},
“text”: {
“enabled”: “yes”,
“installed_version”: “3.7.2”,
“types”: “dav”
},
“theming”: {
“cachebuster”: “2”,
“enabled”: “no”,
“installed_version”: “2.1.1”,
“name”: “Marco’s Cloud”,
“types”: “logging”,
“url”: “REMOVED SENSITIVE VALUE
},
“twofactor_backupcodes”: {
“enabled”: “yes”,
“installed_version”: “1.15.0”,
“types”: “”
},
“updatenotification”: {
“audioplayer”: “3.2.1”,
“calendar”: “4.4.4”,
“contacts”: “5.3.2”,
“core”: “27.0.2.1”,
“enabled”: “yes”,
“installed_version”: “1.16.0”,
“mail”: “1.10.3”,
“related_resources”: “1.0.4”,
“richdocuments”: “7.1.4”,
“tasks”: “0.15.0”,
“types”: “”,
“update_check_errors”: “0”
},
“user_ldap”: {
“background_sync_interval”: “43200”,
“background_sync_offset”: “0”,
“background_sync_prefix”: “s02”,
“cleanUpJobOffset”: “0”,
“enabled”: “yes”,
“installed_version”: “1.16.0”,
“s02_lastChange”: “1692258883”,
“s02has_memberof_filter_support”: “1”,
“s02home_folder_naming_rule”: “”,
“s02last_jpegPhoto_lookup”: “0”,
“s02ldap_agent_password”: “REMOVED SENSITIVE VALUE”,
“s02ldap_attributes_for_group_search”: “”,
“s02ldap_attributes_for_user_search”: “”,
“s02ldap_backup_host”: “”,
“s02ldap_backup_port”: “”,
“s02ldap_base”: “DC=trautes,DC=heim”,
“s02ldap_base_groups”: “DC=trautes,DC=heim”,
“s02ldap_base_users”: “DC=trautes,DC=heim”,
“s02ldap_cache_ttl”: “600”,
“s02ldap_configuration_active”: “1”,
“s02ldap_default_ppolicy_dn”: “”,
“s02ldap_display_name”: “displayname”,
“s02ldap_dn”: “CN=ldap_bind,CN=Users,DC=trautes,DC=heim”,
“s02ldap_dynamic_group_member_url”: “”,
“s02ldap_email_attr”: “mail”,
“s02ldap_experienced_admin”: “0”,
“s02ldap_expert_username_attr”: “”,
“s02ldap_expert_uuid_group_attr”: “”,
“s02ldap_expert_uuid_user_attr”: “”,
“s02ldap_ext_storage_home_attribute”: “”,
“s02ldap_gid_number”: “gidNumber”,
“s02ldap_group_display_name”: “cn”,
“s02ldap_group_filter”: “(|(cn=Cloud Users))”,
“s02ldap_group_filter_mode”: “0”,
“s02ldap_group_member_assoc_attribute”: “gidNumber”,
“s02ldap_groupfilter_groups”: “Cloud Users”,
“s02ldap_groupfilter_objectclass”: “”,
“s02ldap_host”: “dc.trautes.heim”,
“s02ldap_login_filter”: “(&(|(|(memberof=CN=Cloud Users,CN=Users,DC=trautes,DC=heim)(primaryGroupID=1104)))(|(samaccountname=%uid)(|(mailPrimaryAddress=%uid)(mail=%uid))(|(sAMAccountName=%uid))))”,
“s02ldap_login_filter_mode”: “0”,
“s02ldap_loginfilter_attributes”: “sAMAccountName”,
“s02ldap_loginfilter_email”: “1”,
“s02ldap_loginfilter_username”: “1”,
“s02ldap_matching_rule_in_chain_state”: “unknown”,
“s02ldap_nested_groups”: “0”,
“s02ldap_override_main_server”: “”,
“s02ldap_paging_size”: “500”,
“s02ldap_port”: “389”,
“s02ldap_quota_attr”: “”,
“s02ldap_quota_def”: “”,
“s02ldap_tls”: “0”,
“s02ldap_turn_off_cert_check”: “0”,
“s02ldap_turn_on_pwd_change”: “0”,
“s02ldap_user_avatar_rule”: “default”,
“s02ldap_user_display_name_2”: “”,
“s02ldap_user_filter_mode”: “0”,
“s02ldap_userfilter_groups”: “Cloud Users”,
“s02ldap_userfilter_objectclass”: “”,
“s02ldap_userlist_filter”: “(|(|(memberof=CN=Cloud Users,CN=Users,DC=trautes,DC=heim)(primaryGroupID=1104)))”,
“s02use_memberof_to_detect_membership”: “1”,
“types”: “authentication”
},
“user_status”: {
“enabled”: “no”,
“installed_version”: “1.0.1”,
“types”: “”
},
“viewer”: {
“enabled”: “yes”,
“installed_version”: “1.10.0”,
“types”: “”
},
“weather_status”: {
“enabled”: “no”,
“installed_version”: “1.0.0”,
“types”: “”
},
“workflowengine”: {
“enabled”: “yes”,
“installed_version”: “2.8.0”,
“types”: “filesystem”
}
}
}

Detailed Log

[no app in context] Warning: OCP\Files\StorageNotAvailableException: Storage with mount id 8 is not available at <>

  1. /var/www/html/lib/private/Files/Storage/Wrapper/Wrapper.php line 545
    OC\Files\Storage\FailedStorage->getAvailability()
  2. /var/www/html/lib/private/Files/Storage/Wrapper/Wrapper.php line 545
    OC\Files\Storage\Wrapper\Wrapper->getAvailability()
  3. /var/www/html/lib/private/Files/Storage/Wrapper/Availability.php line 81
    OC\Files\Storage\Wrapper\Wrapper->getAvailability()
  4. /var/www/html/lib/private/Files/Storage/Wrapper/Availability.php line 92
    OC\Files\Storage\Wrapper\Availability->isAvailable()
  5. /var/www/html/lib/private/Files/Storage/Wrapper/Availability.php line 342
    OC\Files\Storage\Wrapper\Availability->checkAvailability()
  6. /var/www/html/lib/private/legacy/OC_Helper.php line 525
    OC\Files\Storage\Wrapper\Availability->free_space(“”)
  7. /var/www/html/apps/dav/lib/Connector/Sabre/Directory.php line 336
    OC_Helper::getStorageInfo(“/scan”, [“OC\Files\Node\Folder”], false)
  8. /var/www/html/3rdparty/sabre/dav/lib/DAV/CorePlugin.php line 770
    OCA\DAV\Connector\Sabre\Directory->getQuotaInfo()
  9. /var/www/html/3rdparty/sabre/dav/lib/DAV/PropFind.php line 95
    Sabre\DAV\CorePlugin->Sabre\DAV{closure}(“*** sensitive parameters replaced ***”)
  10. /var/www/html/3rdparty/sabre/dav/lib/DAV/CorePlugin.php line 768
    Sabre\DAV\PropFind->handle(“{DAV:}quota-available-bytes”, [“Closure”])
  11. /var/www/html/3rdparty/sabre/event/lib/WildcardEmitterTrait.php line 89
    Sabre\DAV\CorePlugin->propFind([“Sabre\DAV\PropFind”], [“OCA\DAV\Connector\Sabre\Directory”])
  12. /var/www/html/3rdparty/sabre/dav/lib/DAV/Server.php line 1052
    Sabre\DAV\Server->emit(“propFind”, [["Sabre\DAV\P … ]])
  13. /var/www/html/3rdparty/sabre/dav/lib/DAV/Server.php line 984
    Sabre\DAV\Server->getPropertiesByNode([“Sabre\DAV\PropFind”], [“OCA\DAV\Connector\Sabre\Directory”])
  14. /var/www/html/3rdparty/sabre/dav/lib/DAV/Server.php line 1662
    Sabre\DAV\Server->getPropertiesIteratorForPath(“files/61CD9C9C- … 8”, ["{DAV:}getlastm … "], 1)
  15. /var/www/html/3rdparty/sabre/dav/lib/DAV/Server.php line 1647
    Sabre\DAV\Server->writeMultiStatus(["Sabre\Xml\Wr … ]], [“Generator”], false)
  16. /var/www/html/3rdparty/sabre/dav/lib/DAV/CorePlugin.php line 346
    Sabre\DAV\Server->generateMultiStatus([“Generator”], false)
  17. /var/www/html/3rdparty/sabre/event/lib/WildcardEmitterTrait.php line 89
    Sabre\DAV\CorePlugin->httpPropFind([“Sabre\HTTP\Request”], [“Sabre\HTTP\Response”])
  18. /var/www/html/3rdparty/sabre/dav/lib/DAV/Server.php line 472
    Sabre\DAV\Server->emit(“method:PROPFIND”, [["Sabre\HTTP\ … ]])
  19. /var/www/html/3rdparty/sabre/dav/lib/DAV/Server.php line 253
    Sabre\DAV\Server->invokeMethod([“Sabre\HTTP\Request”], [“Sabre\HTTP\Response”])
  20. /var/www/html/3rdparty/sabre/dav/lib/DAV/Server.php line 321
    Sabre\DAV\Server->start()
  21. /var/www/html/apps/dav/lib/Server.php line 366
    Sabre\DAV\Server->exec()
  22. /var/www/html/apps/dav/appinfo/v2/remote.php line 35
    OCA\DAV\Server->exec()
  23. /var/www/html/remote.php line 172
    require_once(“/var/www/html/a … p”)

Caused by:

OCP\Files\StorageNotAvailableException: Storage with mount id 8 is not available at <>

  1. <>
    OCA\Files_External\Config\ConfigAdapter->OCA\Files_External\Config{closure}(“*** sensitive parameters replaced ***”)
  2. /var/www/html/apps/files_external/lib/Config/ConfigAdapter.php line 137
    array_map([“Closure”], ["*** sensitive … “], [”*** sensitive … "])
  3. /var/www/html/lib/private/Files/Config/MountProviderCollection.php line 89
    OCA\Files_External\Config\ConfigAdapter->getMountsForUser([“OC\User\User”], [“OC\Files\Storage\StorageFactory”])
  4. /var/www/html/lib/private/Files/Config/MountProviderCollection.php line 138
    OC\Files\Config\MountProviderCollection->getMountsFromProvider(["OCA\Files_Ext … "], [“OC\User\User”], [“OC\Files\Storage\StorageFactory”])
  5. /var/www/html/lib/private/Files/SetupManager.php line 224
    OC\Files\Config\MountProviderCollection->addMountForUser([“OC\User\User”], [“OC\Files\Mount\Manager”], [“Closure”])
  6. /var/www/html/lib/private/Files/SetupManager.php line 327
    OC\Files\SetupManager->OC\Files{closure}(“*** sensitive parameters replaced ***”)
  7. /var/www/html/lib/private/Files/SetupManager.php line 223
    OC\Files\SetupManager->setupForUserWith([“OC\User\User”], [“Closure”])
  8. /var/www/html/lib/private/Files/SetupManager.php line 406
    OC\Files\SetupManager->setupForUser([“OC\User\User”])
  9. /var/www/html/lib/private/Files/Mount/Manager.php line 128
    OC\Files\SetupManager->setupForPath(“/61CD9C9C-7D24- … s”, true)
  10. /var/www/html/lib/private/Files/View.php line 1497
    OC\Files\Mount\Manager->findIn(“/61CD9C9C-7D24- … s”)
  11. /var/www/html/lib/private/Files/Node/Folder.php line 101
    OC\Files\View->getDirectoryContent(“/61CD9C9C-7D24- … /”, “”, [“OC\Files\Node\LazyUserFolder”])
  12. /var/www/html/lib/private/Share20/DefaultShareProvider.php line 696
    OC\Files\Node\Folder->getDirectoryListing()
  13. /var/www/html/lib/private/Share20/Manager.php line 1310
    OC\Share20\DefaultShareProvider->getSharesInFolder(“61CD9C9C-7D24-4A2E-AF32-958EAB554D18”, [“OC\Files\Node\Folder”], true, true)
  14. <>
    OC\Share20\Manager->OC\Share20{closure}(“*** sensitive parameters replaced ***”)
  15. /var/www/html/lib/private/Share20/Manager.php line 1309
    array_reduce(["*** sensitive … ]], [“Closure”], “*** sensitive parameters replaced ***”)
  16. /var/www/html/apps/dav/lib/Connector/Sabre/SharesPlugin.php line 135
    OC\Share20\Manager->getSharesInFolder(“61CD9C9C-7D24-4A2E-AF32-958EAB554D18”, [“OC\Files\Node\Folder”], true)
  17. /var/www/html/apps/dav/lib/Connector/Sabre/SharesPlugin.php line 195
    OCA\DAV\Connector\Sabre\SharesPlugin->getSharesFolder([“OC\Files\Node\Folder”])
  18. /var/www/html/3rdparty/sabre/event/lib/WildcardEmitterTrait.php line 89
    OCA\DAV\Connector\Sabre\SharesPlugin->handleGetProperties([“Sabre\DAV\PropFind”], [“OCA\DAV\Files\FilesHome”])
  19. /var/www/html/3rdparty/sabre/dav/lib/DAV/Server.php line 1052
    Sabre\DAV\Server->emit(“propFind”, [["Sabre\DAV\P … ]])
  20. /var/www/html/3rdparty/sabre/dav/lib/DAV/Server.php line 984
    Sabre\DAV\Server->getPropertiesByNode([“Sabre\DAV\PropFind”], [“OCA\DAV\Files\FilesHome”])
  21. /var/www/html/3rdparty/sabre/dav/lib/DAV/Server.php line 1662
    Sabre\DAV\Server->getPropertiesIteratorForPath(“files/61CD9C9C- … 8”, ["{DAV:}getlastm … "], 1)
  22. /var/www/html/3rdparty/sabre/dav/lib/DAV/Server.php line 1647
    Sabre\DAV\Server->writeMultiStatus(["Sabre\Xml\Wr … "], [“Generator”], false)
  23. /var/www/html/3rdparty/sabre/dav/lib/DAV/CorePlugin.php line 346
    Sabre\DAV\Server->generateMultiStatus([“Generator”], false)
  24. /var/www/html/3rdparty/sabre/event/lib/WildcardEmitterTrait.php line 89
    Sabre\DAV\CorePlugin->httpPropFind([“Sabre\HTTP\Request”], [“Sabre\HTTP\Response”])
  25. /var/www/html/3rdparty/sabre/dav/lib/DAV/Server.php line 472
    Sabre\DAV\Server->emit(“method:PROPFIND”, [["Sabre\HTTP\ … ]])
  26. /var/www/html/3rdparty/sabre/dav/lib/DAV/Server.php line 253
    Sabre\DAV\Server->invokeMethod([“Sabre\HTTP\Request”], [“Sabre\HTTP\Response”])
  27. /var/www/html/3rdparty/sabre/dav/lib/DAV/Server.php line 321
    Sabre\DAV\Server->start()
  28. /var/www/html/apps/dav/lib/Server.php line 366
    Sabre\DAV\Server->exec()
  29. /var/www/html/apps/dav/appinfo/v2/remote.php line 35
    OCA\DAV\Server->exec()
  30. /var/www/html/remote.php line 172
    require_once(“/var/www/html/a … p”)

PROPFIND /remote.php/dav/files/61CD9C9C-7D24-4A2E-AF32-958EAB554D18/
from 193.34.100.34 by 61CD9C9C-7D24-4A2E-AF32-958EAB554D18 at 2023-08-28T07:49:24+00:00

Are these External Storage mounts admin-level or personal-level? And are you trying to authenticate the SMB mounts on a per-user basis or using the same credentials across users?

Per user level as each user has his own “Home” on the samba file server.

So the content of this mount point
sudo mount -t cifs -o user=marco,domain=mydomain //192.168.233.11/home /tmp/mnt
is different for all users.

Mounting the shares this way works reliable.

For test purpose I stored the User/Password as “Username and Password” for two shares.
These shares work as expected.

For the other shares, including the “uses home share” I left “Login Credentials save in Database”.
When using “Login Credentials save in Database” an orange bullet is shown mentioning “insufficient data, no login credential saved”

The other (test shares) ones are green.

This is the phenomena:

Now a logout and login results in a working session: