Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Shared folder its showing "Storage is temporarily not available" #9125

Closed
webtyphoon opened this issue Apr 9, 2018 · 25 comments
Closed

Shared folder its showing "Storage is temporarily not available" #9125

webtyphoon opened this issue Apr 9, 2018 · 25 comments
Labels
0. Needs triage Pending check for reproducibility or if it fits our roadmap bug needs info stale Ticket or PR with no recent activity

Comments

@webtyphoon
Copy link

webtyphoon commented Apr 9, 2018

Steps to reproduce

  1. Updated from NC13.0.0 - 13.0.1
  2. Click a shared folder its showing "Storage is temporarily not available"

Expected behaviour

Click a shared folder should open up.

Actual behaviour

All shared folders are redirecting to the root by clicking them. Small popup is showing "Storage is temporarily not available". I haven't add an external storage to the system.

When I try to open up a new share the loading cycle will appear and don't stop.

Server configuration

Operating system:
Linux v1hgb 4.13.13-6-pve #1 SMP PVE 4.13.13-41 (Wed, 21 Feb 2018 10:07:54 +0100) x86_64 GNU/Linux

Web server:
Server version: Apache/2.4.10 (Debian)
Server built: Sep 20 2017 04:37:43

Database:
mySQL 5.7.8

PHP version:
7.2.3 (also tested on 7.0.26

Nextcloud version: (see Nextcloud admin page)
13.0.1

Updated from an older Nextcloud/ownCloud or fresh install:
13.0.0

Where did you install Nextcloud from:
a view versions below - migration from owncloud

Signing status:

Signing status
No errors have been found.

List of activated apps:

App list
Enabled:
  - activity: 2.6.1
  - admin_audit: 1.3.0
  - admin_notifications: 1.0.1
  - audioplayer: 2.2.5
  - bookmarks: 0.11.0
  - bruteforcesettings: 1.0.3
  - calendar: 1.6.1
  - comments: 1.3.0
  - contacts: 2.1.3
  - dav: 1.4.6
  - external: 3.0.2
  - federatedfilesharing: 1.3.1
  - federation: 1.3.0
  - files: 1.8.0
  - files_downloadactivity: 1.2.0
  - files_external: 1.4.1
  - files_pdfviewer: 1.2.1
  - files_sharing: 1.5.0
  - files_texteditor: 2.5.1
  - files_trashbin: 1.3.0
  - files_versions: 1.6.0
  - files_videoplayer: 1.2.0
  - gallery: 18.0.0
  - logreader: 2.0.0
  - lookup_server_connector: 1.1.0
  - nextcloud_announcements: 1.2.0
  - notes: 2.3.2
  - notifications: 2.1.2
  - oauth2: 1.1.0
  - onlyoffice: 1.3.0
  - ownbackup: 17.5.0
  - password_policy: 1.3.0
  - provisioning_api: 1.3.0
  - quota_warning: 1.2.0
  - serverinfo: 1.3.0
  - sharebymail: 1.3.0
  - survey_client: 1.1.0
  - systemtags: 1.3.0
  - tasks: 0.9.6
  - theming: 1.4.1
  - twofactor_backupcodes: 1.2.3
  - updatenotification: 1.3.0
  - user_external: 0.4
  - workflowengine: 1.3.0
Disabled:
  - encryption
  - firstrunwizard
  - user_ldap

Nextcloud configuration:

Config report
{
    "system": {
        "instanceid": "***REMOVED SENSITIVE VALUE***",
        "passwordsalt": "***REMOVED SENSITIVE VALUE***",
        "secret": "***REMOVED SENSITIVE VALUE***",
        "trusted_domains": [
            "terrawaycloud.cplogin.de",
            "hgbcloud.cplogin.de"
        ],
        "datadirectory": "***REMOVED SENSITIVE VALUE***",
        "overwrite.cli.url": "https:\/\/domainname.de",
        "dbtype": "mysql",
        "version": "13.0.1.1",
        "dbname": "***REMOVED SENSITIVE VALUE***",
        "dbhost": "***REMOVED SENSITIVE VALUE***",
        "dbport": "",
        "dbtableprefix": "oc_",
        "mysql.utf8mb4": true,
        "dbuser": "***REMOVED SENSITIVE VALUE***",
        "dbpassword": "***REMOVED SENSITIVE VALUE***",
        "installed": true,
        "maintenance": false,
        "updater.secret": "***REMOVED SENSITIVE VALUE***",
        "theme": "",
        "loglevel": 2,
        "debug": false
    },
    "apps": {
        "activity": {
            "enabled": "yes",
            "installed_version": "2.6.1",
            "signed": "true",
            "types": "filesystem"
        },
        "admin_audit": {
            "enabled": "yes",
            "installed_version": "1.3.0",
            "types": "logging"
        },
        "admin_dependencies_chk": {
            "enabled": "no",
            "installed_version": "0.02",
            "ocsid": "166041",
            "types": ""
        },
        "admin_notifications": {
            "enabled": "yes",
            "installed_version": "1.0.1",
            "types": "logging"
        },
        "announcementcenter": {
            "enabled": "no",
            "installed_version": "1.1.2",
            "ocsid": "173921",
            "signed": "true",
            "types": ""
        },
        "audioplayer": {
            "enabled": "yes",
            "installed_version": "2.2.5",
            "types": "filesystem"
        },
        "backgroundjob": {
            "lastjob": "2"
        },
        "bookmarks": {
            "enabled": "yes",
            "installed_version": "0.11.0",
            "types": ""
        },
        "bruteforcesettings": {
            "enabled": "yes",
            "installed_version": "1.0.3",
            "types": ""
        },
        "calendar": {
            "enabled": "yes",
            "installed_version": "1.6.1",
            "signed": "true",
            "types": ""
        },
        "calendarplus": {
            "enabled": "no",
            "installed_version": "1.1.1",
            "ocsid": "170560",
            "types": ""
        },
        "comments": {
            "enabled": "yes",
            "installed_version": "1.3.0",
            "types": "logging"
        },
        "configreport": {
            "enabled": "no",
            "installed_version": "0.1.1",
            "types": "filesystem"
        },
        "contacts": {
            "backend_ldap": "false",
            "enabled": "yes",
            "installed_version": "2.1.3",
            "signed": "true",
            "types": ""
        },
        "core": {
            "OC_Channel": "daily",
            "backgroundjobs_mode": "webcron",
            "global_cache_gc_lastrun": "1439134454",
            "incoming_server2server_share_enabled": "no",
            "installed.bundles": "[\"CoreBundle\"]",
            "installedat": "1415178686.5768",
            "lastcron": "1474569906",
            "lastupdateResult": "[]",
            "lastupdatedat": "1523280983",
            "moveavatarsdone": "yes",
            "oc.integritycheck.checker": "[]",
            "outgoing_server2server_share_enabled": "no",
            "previewsCleanedUp": "1",
            "public_caldav": "calendar\/share.php",
            "public_calendar": "calendar\/share.php",
            "public_calendarplus": "calendarplus\/share.php",
            "public_calendarplusevent": "calendarplus\/shareevent.php",
            "public_documents": "documents\/public.php",
            "public_files": "files_sharing\/public.php",
            "public_gallery": "gallery\/public.php",
            "public_webdav": "dav\/appinfo\/v1\/publicwebdav.php",
            "remote_caldav": "dav\/appinfo\/v1\/caldav.php",
            "remote_calendar": "dav\/appinfo\/v1\/caldav.php",
            "remote_calendarplus": "calendarplus\/appinfo\/remote.php",
            "remote_carddav": "dav\/appinfo\/v1\/carddav.php",
            "remote_contacts": "dav\/appinfo\/v1\/carddav.php",
            "remote_dav": "dav\/appinfo\/v2\/remote.php",
            "remote_files": "dav\/appinfo\/v1\/webdav.php",
            "remote_filesync": "files\/appinfo\/filesync.php",
            "remote_webdav": "dav\/appinfo\/v1\/webdav.php",
            "repairlegacystoragesdone": "yes",
            "scss.variables": "85bc6b82ce5069e332ef088f55a65a5f",
            "shareapi_allow_mail_notification": "yes",
            "shareapi_allow_public_notification": "yes",
            "shareapi_allow_resharing": "yes",
            "shareapi_allow_share_dialog_user_enumeration": "no",
            "shareapi_default_expire_date": "no",
            "shareapi_enabled": "yes",
            "shareapi_enforce_links_password": "no",
            "shareapi_exclude_groups": "no",
            "shareapi_only_share_with_group_members": "yes",
            "umgmt_send_email": "false",
            "umgmt_show_backend": "false",
            "umgmt_show_email": "false",
            "umgmt_show_last_login": "true",
            "umgmt_show_storage_location": "false",
            "updater.secret.created": "1496913502",
            "vendor": "nextcloud"
        },
        "dav": {
            "buildCalendarSearchIndex": "yes",
            "enabled": "yes",
            "installed_version": "1.4.6",
            "types": "filesystem"
        },
        "direct_menu": {
            "enabled": "no",
            "installed_version": "0.7.1",
            "types": ""
        },
        "disablerememberlogin": {
            "enabled": "no",
            "installed_version": "0.3",
            "ocsid": "162551",
            "types": ""
        },
        "documents": {
            "converter": "off",
            "enabled": "no",
            "installed_version": "0.13.1",
            "ocsid": "168711",
            "types": "",
            "unstable": "false"
        },
        "external": {
            "enabled": "yes",
            "installed_version": "3.0.2",
            "types": ""
        },
        "federatedfilesharing": {
            "enabled": "yes",
            "installed_version": "1.3.1",
            "types": ""
        },
        "federation": {
            "enabled": "yes",
            "installed_version": "1.3.0",
            "types": "authentication"
        },
        "files": {
            "cronjob_scan_files": "500",
            "default_quota": "25 GB",
            "enabled": "yes",
            "installed_version": "1.8.0",
            "types": "filesystem"
        },
        "files_antivirus": {
            "av_path": "\/usr\/bin\/clamscan",
            "enabled": "no",
            "installed_version": "0.10.0.0",
            "ocsid": "157439",
            "types": "filesystem"
        },
        "files_downloadactivity": {
            "enabled": "yes",
            "installed_version": "1.2.0",
            "types": "filesystem"
        },
        "files_external": {
            "enabled": "yes",
            "installed_version": "1.4.1",
            "ocsid": "166048",
            "types": "filesystem"
        },
        "files_locking": {
            "enabled": "no",
            "installed_version": "",
            "types": "filesystem"
        },
        "files_pdfviewer": {
            "enabled": "yes",
            "installed_version": "1.2.1",
            "signed": "true",
            "types": ""
        },
        "files_sharing": {
            "enabled": "yes",
            "incoming_server2server_share_enabled": "no",
            "installed_version": "1.5.0",
            "lookupServerUploadEnabled": "no",
            "outgoing_server2server_share_enabled": "no",
            "types": "filesystem"
        },
        "files_texteditor": {
            "enabled": "yes",
            "installed_version": "2.5.1",
            "signed": "true",
            "types": ""
        },
        "files_trashbin": {
            "enabled": "yes",
            "installed_version": "1.3.0",
            "types": "filesystem"
        },
        "files_versions": {
            "enabled": "yes",
            "installed_version": "1.6.0",
            "types": "filesystem"
        },
        "files_videoplayer": {
            "enabled": "yes",
            "installed_version": "1.2.0",
            "types": ""
        },
        "files_videoviewer": {
            "enabled": "no",
            "installed_version": "0.1.3",
            "ocsid": "166054",
            "types": ""
        },
        "firstrunwizard": {
            "enabled": "no",
            "installed_version": "1.1",
            "ocsid": "166055",
            "types": ""
        },
        "gallery": {
            "enabled": "yes",
            "installed_version": "18.0.0",
            "signed": "true",
            "types": ""
        },
        "imprint": {
            "content": "Imprint and Privacy Policy is comming soon....",
            "enabled": "no",
            "installed_version": "0.2.5",
            "position-guest": "footer-right",
            "position-login": "footer-right",
            "position-user": "header-right",
            "standalone": "false",
            "types": ""
        },
        "logreader": {
            "enabled": "yes",
            "installed_version": "2.0.0",
            "ocsid": "170871",
            "types": ""
        },
        "lookup_server_connector": {
            "enabled": "yes",
            "installed_version": "1.1.0",
            "types": "authentication"
        },
        "market": {
            "enabled": "no",
            "installed_version": "0.1.0",
            "types": ""
        },
        "nextcloud_announcements": {
            "enabled": "yes",
            "installed_version": "1.2.0",
            "types": "logging"
        },
        "notes": {
            "enabled": "yes",
            "installed_version": "2.3.2",
            "ocsid": "174554",
            "types": ""
        },
        "notifications": {
            "enabled": "yes",
            "installed_version": "2.1.2",
            "types": "logging"
        },
        "oauth2": {
            "enabled": "yes",
            "installed_version": "1.1.0",
            "types": "authentication"
        },
        "ojsxc": {
            "apiSecret": "YLhK5+iU2CtsEofSKfGEUEJ",
            "boshUrl": "",
            "chromeExtension": "",
            "enabled": "no",
            "externalServices": "",
            "firefoxExtension": "",
            "iceCredential": "",
            "iceSecret": "",
            "iceTtl": "",
            "iceUrl": "",
            "iceUsername": "",
            "installed_version": "3.2.1",
            "serverType": "internal",
            "timeLimitedToken": "false",
            "types": "prelogin",
            "xmppDomain": "",
            "xmppOverwrite": "false",
            "xmppPreferMail": "false",
            "xmppResource": "",
            "xmppStartMinimized": "false"
        },
        "onlyoffice": {
            "DocumentServerInternalUrl": "",
            "DocumentServerSecret": "",
            "DocumentServerUrl": "https:\/\/domainname.de\/docing\/",
            "StorageUrl": "",
            "defFormats": "{\"docx\":\"true\",\"xlsx\":\"true\",\"pptx\":\"true\",\"ppsx\":\"true\",\"txt\":\"true\"}",
            "enabled": "yes",
            "installed_version": "1.3.0",
            "ocsid": "174798",
            "sameTab": "false",
            "skey": "1496930121876",
            "types": "filesystem"
        },
        "ownbackup": {
            "enabled": "yes",
            "installed_version": "17.5.0",
            "ocsid": "170674",
            "signed": "true",
            "types": ""
        },
        "ownnote": {
            "disableAnnouncement": null,
            "enabled": "no",
            "installed_version": "1.08",
            "types": ""
        },
        "password_policy": {
            "enabled": "yes",
            "installed_version": "1.3.0",
            "types": ""
        },
        "provisioning_api": {
            "enabled": "yes",
            "installed_version": "1.3.0",
            "types": "prevent_group_restriction"
        },
        "quicknotes": {
            "enabled": "no",
            "installed_version": "0.1.0",
            "ocsid": "174716",
            "types": ""
        },
        "quota_warning": {
            "enabled": "yes",
            "installed_version": "1.2.0",
            "types": "filesystem"
        },
        "richdocuments": {
            "enabled": "no",
            "installed_version": "1.12.32",
            "types": "prevent_group_restriction"
        },
        "search_lucene": {
            "enabled": "no",
            "installed_version": "0",
            "ocsid": "168709",
            "types": "filesystem"
        },
        "serverinfo": {
            "enabled": "yes",
            "installed_version": "1.3.0",
            "types": ""
        },
        "sharebymail": {
            "enabled": "yes",
            "installed_version": "1.3.0",
            "types": "filesystem"
        },
        "spreed": {
            "enabled": "no",
            "installed_version": "2.0.1",
            "types": "prevent_group_restriction"
        },
        "survey_client": {
            "enabled": "yes",
            "installed_version": "1.1.0",
            "types": ""
        },
        "systemtags": {
            "enabled": "yes",
            "installed_version": "1.3.0",
            "types": "logging"
        },
        "tasks": {
            "enabled": "yes",
            "installed_version": "0.9.6",
            "ocsid": "164356",
            "types": ""
        },
        "templateeditor": {
            "enabled": "yes",
            "installed_version": "0.2",
            "types": ""
        },
        "theming": {
            "backgroundMime": "image\/jpeg",
            "cachebuster": "17",
            "color": "#159AB9",
            "enabled": "yes",
            "installed_version": "1.4.1",
            "name": "HGB Cloud",
            "slogan": "ein sicherer Ort f\u00fcr all Ihre Daten",
            "types": "logging",
            "url": "https:\/\/hgbcloud.cplogin.de"
        },
        "twofactor_backupcodes": {
            "enabled": "yes",
            "installed_version": "1.2.3",
            "types": ""
        },
        "updatenotification": {
            "enabled": "yes",
            "installed_version": "1.3.0",
            "notify_groups": "[]",
            "types": ""
        },
        "updater": {
            "enabled": "no",
            "installed_version": "0.6",
            "types": ""
        },
        "user_external": {
            "enabled": "yes",
            "installed_version": "0.4",
            "types": "authentication,prelogin"
        },
        "workflowengine": {
            "enabled": "yes",
            "installed_version": "1.3.0",
            "types": "filesystem"
        },
        "153220": {
            "enabled": "no"
        },
        "170678": {
            "enabled": "no"
        }
    }
}

Are you using external storage, if yes which one: local/smb/sftp/...

Are you using encryption: yes/no

Are you using an external user-backend, if yes which one: LDAP/ActiveDirectory/Webdav/...

LDAP configuration (delete this part if not used)

LDAP config
With access to your command line run e.g.:
sudo -u www-data php occ ldap:show-config
from within your Nextcloud installation folder

Without access to your command line download the data/owncloud.db to your local
computer or access your SQL server remotely and run the select query:
SELECT * FROM `oc_appconfig` WHERE `appid` = 'user_ldap';


Eventually replace sensitive data as the name/IP-address of your LDAP server or groups.

Client configuration

Browser:
firefox latest, chrome latest, safari latest

Operating system:
Mac OS 10.13.4

Logs

Web server error log

Web server error log
No errors

Nextcloud log (data/nextcloud.log)

Nextcloud log

fatal | webdav  | Sabre\DAV\Exception\ServiceUnavailable: Storage is temporarily not available/var/www/.../htdocs/next18/3rdparty/sabre/dav/lib/DAV/Server.php - line 967:  OCA\DAV\Connector\Sabre\ObjectTree->getNodeForPath('Feines Mahl')/var/www/.../htdocs/next18/3rdparty/sabre/dav/lib/DAV/Server.php - line 1666:  Sabre\DAV\Server->getPropertiesIteratorForPath('Feines Mahl', Array, 1)/var/www/.../htdocs/next18/3rdparty/sabre/dav/lib/DAV/CorePlugin.php - line 355:  Sabre\DAV\Server->generateMultiStatus(Object(Generator), false)[internal function] Sabre\DAV\CorePlugin->httpPropFind(Object(Sabre\HTTP\Request), Object(Sabre\HTTP\Response))/var/www/.../htdocs/next18/3rdparty/sabre/event/lib/EventEmitterTrait.php - line 105:  call_user_func_array(Array, Array)/var/www/.../htdocs/next18/3rdparty/sabre/dav/lib/DAV/Server.php - line 479:  Sabre\Event\EventEmitter->emit('method PROPFIND', Array)/var/www/.../htdocs/next18/3rdparty/sabre/dav/lib/DAV/Server.php - line 254:  Sabre\DAV\Server->invokeMethod(Object(Sabre\HTTP\Request), Object(Sabre\HTTP\Response))/var/www/.../htdocs/next18/apps/dav/appinfo/v1/webdav.php - line 80:  Sabre\DAV\Server->exec()/var/www/.../htdocs/next18/remote.php - line 164:  require_once('/var/www/...'){main}

{"reqId":"...","level":4,"time":"2018-04-09T13:45:17+00:00","remoteAddr":"...","user":"...","app":"webdav","method":"PROPFIND","url":"\/remote.php\/webdav\/Feines%20Mahl","message":"Exception: {\"Exception\":\"Sabre\\\\DAV\\\\Exception\\\\ServiceUnavailable\",\"Message\":\"Storage is temporarily not available\",\"Code\":0,\"Trace\":\"#0 \\\/var\\\/www\\\/...\\\/htdocs\\\/next18\\\/3rdparty\\\/sabre\\\/dav\\\/lib\\\/DAV\\\/Server.php(967): OCA\\\\DAV\\\\Connector\\\\Sabre\\\\ObjectTree->getNodeForPath('Feines Mahl')\\n#1 \\\/var\\\/www\\\/...\\\/htdocs\\\/next18\\\/3rdparty\\\/sabre\\\/dav\\\/lib\\\/DAV\\\/Server.php(1666): Sabre\\\\DAV\\\\Server->getPropertiesIteratorForPath('Feines Mahl', Array, 1)\\n#2 \\\/var\\\/www\\\/...\\\/htdocs\\\/next18\\\/3rdparty\\\/sabre\\\/dav\\\/lib\\\/DAV\\\/CorePlugin.php(355): Sabre\\\\DAV\\\\Server->generateMultiStatus(Object(Generator), false)\\n#3 [internal function]: Sabre\\\\DAV\\\\CorePlugin->httpPropFind(Object(Sabre\\\\HTTP\\\\Request), Object(Sabre\\\\HTTP\\\\Response))\\n#4 \\\/var\\\/www\\\/...\\\/htdocs\\\/next18\\\/3rdparty\\\/sabre\\\/event\\\/lib\\\/EventEmitterTrait.php(105): call_user_func_array(Array, Array)\\n#5 \\\/var\\\/www\\\/...\\\/htdocs\\\/next18\\\/3rdparty\\\/sabre\\\/dav\\\/lib\\\/DAV\\\/Server.php(479): Sabre\\\\Event\\\\EventEmitter->emit('method:PROPFIND', Array)\\n#6 \\\/var\\\/www\\\/...\\\/htdocs\\\/next18\\\/3rdparty\\\/sabre\\\/dav\\\/lib\\\/DAV\\\/Server.php(254): Sabre\\\\DAV\\\\Server->invokeMethod(Object(Sabre\\\\HTTP\\\\Request), Object(Sabre\\\\HTTP\\\\Response))\\n#7 \\\/var\\\/www\\\/...\\\/htdocs\\\/next18\\\/apps\\\/dav\\\/appinfo\\\/v1\\\/webdav.php(80): Sabre\\\\DAV\\\\Server->exec()\\n#8 \\\/var\\\/www\\\/...\\\/htdocs\\\/next18\\\/remote.php(164): require_once('\\\/var\\\/www\\\/....')\\n#9 {main}\",\"File\":\"\\\/var\\\/www\\\/...\\\/htdocs\\\/next18\\\/apps\\\/dav\\\/lib\\\/Connector\\\/Sabre\\\/ObjectTree.php\",\"Line\":163}","userAgent":"Mozilla\/5.0 (Macintosh; Intel Mac OS X 10_13_4) AppleWebKit\/537.36 (KHTML, like Gecko) Chrome\/65.0.3325.181 Safari\/537.36","version":"13.0.1.1"}

Browser log

Browser log
Insert your browser log here, this could for example include:

?
@kyaky
Copy link

kyaky commented Apr 17, 2018

exactly same problem

@tomtomas99911
Copy link

Same problem here

@4001982248998
Copy link

4001982248998 commented May 16, 2018

Also seemingly affected here: Error message “Storage is temporarily not available”, although no external storage is being used.

Nextcloud version 13.0.2.1, updated from 13.0.1 (previously updated from multiple earlier versions).

The share has been in use for roughly a year. Suddenly it is not accessible anymore. Trying to edit the share results in the documented behaviour (never ending loading cycle animation).

PHP 7.0.28 on Apache 2.4.18. Can provide more debugging information if helpful.

@4001982248998
Copy link

maybe #9298 is related?

@4001982248998
Copy link

to clarify: the storage is not external, so it is very likely an internal error.

@cyberb
Copy link
Contributor

cyberb commented Jun 22, 2018

Can a user access share if the author of the share is logged in to Nextcoud at the same time?

@4001982248998
Copy link

meanwhile I could find out that the share's author account has since been deleted.

It was shared with another user, who has shared a folder further with other users.

So the share's author has been deleted, but the share remained, but is in sort of a zombie state. You can see it, but neither use nor manipulate it. It is also causing errors in the desktop sync client.

@slankes
Copy link

slankes commented Jun 25, 2018

I am seeing the issue as well under the same circumstances that @4001982248998 has.
I just updated to 13.0.4 (from 13.0.2) and the issue is still there.

@mariuspana
Copy link

I am seeing this as well with 13.0.4 due to a weird LDAP sync issue.
Our ldap was offline for a few hours, came back but in nextcloud our groups were empty and user mappings seem to have changed. Now we have dozens of shares in this zombie state.

@raqbit
Copy link

raqbit commented Nov 28, 2018

I also have this issue, which I think is related to how the folder has been deleted by the user who shared it from their Nextcloud instance. Now this would be expected but I am also not able to remove the folder, so it's currently stuck in my Nextcloud.

@mikolodz
Copy link

mikolodz commented Dec 5, 2018

Same problem on 13.0.7 without deleting directories nor user accounts (those who have shared their folder).

I didn't upgrade the nextcloud version - I just created a full copy of the nextcloud (snap) and moved it to the other machine. Everything seems to be working fine except group folder sharing. After clicking on a directory, I'm getting same error "Storage is temporarily not available". In addition, just as @raqbit wrote, I cannot delete those broken folders. The problem is serious because it makes NextCloud unreliable - if I can't clone the system so it would work properly, I'm only asking for trouble.

@skjnldsv
Copy link
Member

Hi everyone!
Is this still happening for any of you?

@skjnldsv skjnldsv added 0. Needs triage Pending check for reproducibility or if it fits our roadmap bug needs info labels May 22, 2019
@cyberb
Copy link
Contributor

cyberb commented May 22, 2019

Not for me, I think ldap group was not correctly configured.

@raqbit
Copy link

raqbit commented May 22, 2019

I am still having the same exact issue

@skjnldsv
Copy link
Member

@cyberb good news :)

@raqbit Could you share your oc_share_external table with me?
You can send it at skjnldsv@protonmail.com (Commit sign proof)

@ghost
Copy link

ghost commented Jun 21, 2019

This issue has been automatically marked as stale because it has not had recent activity and it seems to be missing some essential informations. It will be closed if no further activity occurs. Thank you for your contributions.

@ghost ghost added the stale Ticket or PR with no recent activity label Jun 21, 2019
@ghost ghost closed this as completed Jul 5, 2019
@NathanRHD
Copy link

@cyberb good news :)

@raqbit Could you share your oc_share_external table with me?
You can send it at skjnldsv@protonmail.com (Commit sign proof)

Did you ever got that info you needed? I think I'm still experiencing this issue!

@choffm
Copy link

choffm commented Jul 23, 2020

Experiencing the same issue with two nextcloud instances, both running 19.0

@vwbusguy
Copy link

I'm seeing this, too. In my case, it appears to have caused the problem here: nextcloud/maps#193

@vwbusguy
Copy link

I was able to fix it by deleting the offending row in oc_mounts and oc_share_external.

@mhellmeier
Copy link

mhellmeier commented Jan 1, 2021

Same problem here with Nextcloud 20.

The manual DB remove suggested by @vwbusguy works if you want to delete the shared folder but it doesn't solve the initial problem. Here is another, more detail explanation how to find and delete the correct table cells: #14797 (comment)

@LaurentiuCTN
Copy link

The issue still persists even on nextcloud 21.0.3 only with shared folders with a huge number of files/folders
Ubuntu 20 LTS
Apache, PHP 8
PostgreSQL 13

I tried many installations (also with PHP 7, or MariaDB) but the problem still persists.

There really is no solution to this issue that persist for so long?

@mhellmeier
Copy link

@raqbit Could you share your oc_share_external table with me? You can send it at skjnldsv@protonmail.com (Commit sign proof)

I just shared some detailed information with you, @skjnldsv. Hope that helps!

Since this issue was closed by the Nextcloud bot although the problem still exists, I created a new issue with detailed information for Nextlocud 22.X : #29515

@frocelu
Copy link

frocelu commented Nov 24, 2021

It seems like the app "file sharing" caused this happened,too.
I also have this problem in 21.0.0.2. I could not open the setting page and get "Storage is temporarily not available" message until I disable the "file sharing".

Here is my log
{"reqId":"Ftl4Hc2PcWOfqRWby0BD","level":2,"time":"2021-11-24T08:58:44+08:00","remoteAddr":"10.172.10.26","user":"cpco","app":"no app in context","method":"GET","url":"/settings/user","message":"External storage not available: Sabre\\HTTP\\ClientHttpException: Internal Server Error","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.45 Safari/537.36","version":"21.0.2.1"} {"reqId":"Ftl4Hc2PcWOfqRWby0BD","level":2,"time":"2021-11-24T08:58:44+08:00","remoteAddr":"10.172.10.26","user":"cpco","app":"no app in context","method":"GET","url":"/settings/user","message":{"Exception":"OCP\\Files\\StorageNotAvailableException","Message":"Sabre\\HTTP\\ClientHttpException: Internal Server Error","Code":1,"Trace":[{"file":"/var/www/nextcloud/lib/private/Files/Storage/DAV.php","line":288,"function":"convertException","class":"OC\\Files\\Storage\\DAV","type":"->"},{"file":"/var/www/nextcloud/lib/private/Files/Storage/DAV.php","line":586,"function":"propfind","class":"OC\\Files\\Storage\\DAV","type":"->"},{"file":"/var/www/nextcloud/lib/private/Files/Storage/Common.php","line":458,"function":"stat","class":"OC\\Files\\Storage\\DAV","type":"->"},{"file":"/var/www/nextcloud/apps/files_sharing/lib/External/Storage.php","line":191,"function":"test","class":"OC\\Files\\Storage\\Common","type":"->"},{"file":"/var/www/nextcloud/lib/private/Files/Storage/Wrapper/Wrapper.php","line":475,"function":"test","class":"OCA\\Files_Sharing\\External\\Storage","type":"->"},{"file":"/var/www/nextcloud/lib/private/Files/Storage/Wrapper/Availability.php","line":70,"function":"test","class":"OC\\Files\\Storage\\Wrapper\\Wrapper","type":"->"},{"file":"/var/www/nextcloud/lib/private/Files/Storage/Wrapper/Availability.php","line":84,"function":"updateAvailability","class":"OC\\Files\\Storage\\Wrapper\\Availability","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/var/www/nextcloud/lib/private/Files/Storage/Wrapper/Availability.php","line":93,"function":"isAvailable","class":"OC\\Files\\Storage\\Wrapper\\Availability","type":"->"},{"file":"/var/www/nextcloud/lib/private/Files/Storage/Wrapper/Availability.php","line":383,"function":"checkAvailability","class":"OC\\Files\\Storage\\Wrapper\\Availability","type":"->"},{"file":"/var/www/nextcloud/lib/private/Files/Storage/Wrapper/Wrapper.php","line":382,"function":"hasUpdated","class":"OC\\Files\\Storage\\Wrapper\\Availability","type":"->"},{"file":"/var/www/nextcloud/lib/private/Files/Cache/Watcher.php","line":128,"function":"hasUpdated","class":"OC\\Files\\Storage\\Wrapper\\Wrapper","type":"->"},{"file":"/var/www/nextcloud/lib/private/Files/View.php","line":1348,"function":"needsUpdate","class":"OC\\Files\\Cache\\Watcher","type":"->"},{"file":"/var/www/nextcloud/lib/private/Files/View.php","line":1390,"function":"getCacheEntry","class":"OC\\Files\\View","type":"->"},{"file":"/var/www/nextcloud/lib/private/Files/Node/Root.php","line":201,"function":"getFileInfo","class":"OC\\Files\\View","type":"->"},{"file":"/var/www/nextcloud/lib/private/Files/Node/Folder.php","line":149,"function":"get","class":"OC\\Files\\Node\\Root","type":"->"},{"file":"/var/www/nextcloud/lib/private/Files/Node/Folder.php","line":158,"function":"get","class":"OC\\Files\\Node\\Folder","type":"->"},{"file":"/var/www/nextcloud/apps/settings/lib/Settings/Personal/ServerDevNotice.php","line":86,"function":"nodeExists","class":"OC\\Files\\Node\\Folder","type":"->"},{"file":"/var/www/nextcloud/apps/settings/lib/Controller/CommonSettingsTrait.php","line":138,"function":"getForm","class":"OCA\\Settings\\Settings\\Personal\\ServerDevNotice","type":"->"},{"file":"/var/www/nextcloud/apps/settings/lib/Controller/PersonalSettingsController.php","line":77,"function":"formatSettings","class":"OCA\\Settings\\Controller\\PersonalSettingsController","type":"->"},{"file":"/var/www/nextcloud/apps/settings/lib/Controller/CommonSettingsTrait.php","line":149,"function":"getSettings","class":"OCA\\Settings\\Controller\\PersonalSettingsController","type":"->"},{"file":"/var/www/nextcloud/apps/settings/lib/Controller/PersonalSettingsController.php","line":68,"function":"getIndexResponse","class":"OCA\\Settings\\Controller\\PersonalSettingsController","type":"->"},{"file":"/var/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php","line":218,"function":"index","class":"OCA\\Settings\\Controller\\PersonalSettingsController","type":"->"},{"file":"/var/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php","line":127,"function":"executeController","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->"},{"file":"/var/www/nextcloud/lib/private/AppFramework/App.php","line":157,"function":"dispatch","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->"},{"file":"/var/www/nextcloud/lib/private/Route/Router.php","line":302,"function":"main","class":"OC\\AppFramework\\App","type":"::"},{"file":"/var/www/nextcloud/lib/base.php","line":993,"function":"match","class":"OC\\Route\\Router","type":"->"},{"file":"/var/www/nextcloud/index.php","line":37,"function":"handleRequest","class":"OC","type":"::"}],"File":"/var/www/nextcloud/lib/private/Files/Storage/DAV.php","Line":862,"Hint":"Storage is temporarily not available","CustomMessage":"--"},"userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.45 Safari/537.36","version":"21.0.2.1"} {"reqId":"DTj9M5nFq1d1AbT0o3Vk","level":3,"time":"2021-11-24T08:58:45+08:00","remoteAddr":"10.172.10.26","user":"cpco","app":"PHP","method":"GET","url":"/apps/files/","message":"Required parameter $internalPath follows optional parameter $mountId at /var/www/nextcloud/lib/private/Files/Config/CachedMountFileInfo.php#34","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.45 Safari/537.36","version":"21.0.2.1"}


In advanced testing, I found to remove a record in table "oc_storages" will fix this.
So maybe something wrong when sharing some broken folder/file will cause this.
433,shared::040a902068c5ce1b503932cf74ff226a,0,1637655498

I don't know about "shared::040a902068c5ce1b503932cf74ff226a" mean in oc_storages and will not trace further.

@mhellmeier
Copy link

Great progress on this issue, @frocelu !

I just tested it in my concrete case. If the file-sharing plugin is activated, I can see the shared (problematic) folder but if I try to access it I get the message "Storage is temporarily not available". After disabling the plugin, the (problematic) folder disappears completely.

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
0. Needs triage Pending check for reproducibility or if it fits our roadmap bug needs info stale Ticket or PR with no recent activity
Projects
None yet
Development

No branches or pull requests