server icon indicating copy to clipboard operation
server copied to clipboard

[Bug]: Error: `disk_free_space()`: No such file or directory at /lib/private/Files/Storage/Local.php#420

Open Sieboldianus opened this issue 1 year ago • 13 comments

⚠️ This issue respects the following points: ⚠️

  • [X] This is a bug, not a question or a configuration/webserver/proxy issue.
  • [X] This issue is not already reported on Github (I've searched it).
  • [X] Nextcloud Server is up to date. See Maintenance and Release Schedule for supported versions.
  • [X] Nextcloud Server is running on 64bit capable CPU, PHP and OS.
  • [X] I agree to follow Nextcloud's Code of Conduct.

Bug description

This was already reported in #30992, with the recommendation to open new issue.

I am seeing this on 24.0.6, while uploading a large number of files using the latest Windows Client.

Steps to reproduce

  1. Upload files using the Windows Client

Expected behavior

No error should appear, as I have 23.97 TB of free space left (ZFS).

Installation method

Community Docker image

Operating system

Debian/Ubuntu

PHP engine version

PHP 8.0

Web server

Apache (supported)

Database engine version

MariaDB

Is this bug present after an update or on a fresh install?

Fresh Nextcloud Server install

Are you using the Nextcloud Server Encryption module?

Encryption is Disabled

What user-backends are you using?

  • [X] Default user-backend (database)
  • [ ] LDAP/ Active Directory
  • [ ] SSO - SAML
  • [ ] Other

Configuration report

"url": "\/apps",
                "writable": false
            },
            {
                "path": "\/var\/www\/html\/custom_apps",
                "url": "\/custom_apps",
                "writable": true
            }
        ],
        "memcache.distributed": "\\OC\\Memcache\\Redis",
        "memcache.locking": "\\OC\\Memcache\\Redis",
        "redis": {
            "host": "***REMOVED SENSITIVE VALUE***",
            "password": "***REMOVED SENSITIVE VALUE***",
            "port": 6379
        },
        "instanceid": "***REMOVED SENSITIVE VALUE***",
        "passwordsalt": "***REMOVED SENSITIVE VALUE***",
        "secret": "***REMOVED SENSITIVE VALUE***",
        "datadirectory": "***REMOVED SENSITIVE VALUE***",
        "dbtype": "mysql",
        "version": "24.0.6.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,
        "overwritehost": "cloud.local.mytld.com",
        "overwriteprotocol": "https",
        "overwrite.cli.url": "https:\/\/cloud.local.mytld.com",
        "maintenance": false,
        "theme": "",
        "loglevel": 2,
        "default_phone_region": "DE",
        "data-fingerprint": "3c7e8103de51bfde88b3053c908f0ec8",
        "mail_smtpmode": "smtp",
        "mail_smtpsecure": "ssl",
        "mail_sendmailmode": "smtp",
        "mail_from_address": "***REMOVED SENSITIVE VALUE***",
        "mail_domain": "***REMOVED SENSITIVE VALUE***",
        "mail_smtpauthtype": "LOGIN",
        "mail_smtphost": "***REMOVED SENSITIVE VALUE***",
        "mail_smtpport": "465",
        "mail_smtpauth": 1,
        "mail_smtpname": "***REMOVED SENSITIVE VALUE***",
        "mail_smtppassword": "***REMOVED SENSITIVE VALUE***",
        "app_install_overwrite": [
            "files_texteditor"
        ]
    }
}

List of activated Apps

Enabled:
  - accessibility: 1.10.0
  - activity: 2.16.0
  - calendar: 3.5.1
  - circles: 24.0.1
  - cloud_federation_api: 1.7.0
  - comments: 1.14.0
  - contacts: 4.2.2
  - contactsinteraction: 1.5.0
  - dashboard: 7.4.0
  - dav: 1.22.0
  - federatedfilesharing: 1.14.0
  - federation: 1.14.0
  - files: 1.19.0
  - files_external: 1.16.1
  - files_markdown: 2.3.6
  - files_pdfviewer: 2.5.0
  - files_rightclick: 1.3.0
  - files_sharing: 1.16.2
  - files_texteditor: 2.14.0
  - files_trashbin: 1.14.0
  - files_versions: 1.17.0
  - files_videoplayer: 1.13.0
  - firstrunwizard: 2.13.0
  - logreader: 2.9.0
  - lookup_server_connector: 1.12.0
  - nextcloud_announcements: 1.13.0
  - notifications: 2.12.1
  - oauth2: 1.12.0
  - password_policy: 1.14.0
  - photos: 1.6.0
  - privacy: 1.8.0
  - provisioning_api: 1.14.0
  - ransomware_protection: 1.13.0
  - recommendations: 1.3.0
  - serverinfo: 1.14.0
  - settings: 1.6.0
  - sharebymail: 1.14.0
  - support: 1.7.0
  - survey_client: 1.12.0
  - systemtags: 1.14.0
  - theming: 1.15.0
  - twofactor_backupcodes: 1.13.0
  - updatenotification: 1.14.0
  - user_status: 1.4.0
  - viewer: 1.8.0
  - weather_status: 1.4.0
  - workflow_script: 1.9.0
  - workflowengine: 2.6.0
Disabled:
  - admin_audit
  - bruteforcesettings
  - encryption
  - text: 3.4.1
  - user_ldap

Nextcloud Signing status

No errors have been found.

Nextcloud Logs

{"reqId":"8MRK7gbWlVOnziFUlac0","level":3,"time":"2022-10-22T12:04:16+00:00","remoteAddr":"192.168.178.22","user":"admin","app":"PHP","method":"GET","url":"/ocs/v2.php/cloud/users/details?offset=0&limit=25&search=","message":"disk_free_space(): No such file or directory at /var/www/html/lib/private/Files/Storage/Local.php#395","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:106.0) Gecko/20100101 Firefox/106.0","version":"24.0.6.1","exception":{"Exception":"Error","Message":"disk_free_space(): No such file or directory at /var/www/html/lib/private/Files/Storage/Local.php#395","Code":0,"Trace":[{"function":"onError","class":"OC\\Log\\ErrorHandler","type":"::","args":[2,"disk_free_space(): No such file or directory","/var/www/html/lib/private/Files/Storage/Local.php",395]},{"file":"/var/www/html/lib/private/Files/Storage/Local.php","line":395,"function":"disk_free_space","args":["/var/www/html/data/elasticsearch"]},{"file":"/var/www/html/lib/private/Files/Storage/Wrapper/Wrapper.php","line":334,"function":"free_space","class":"OC\\Files\\Storage\\Local","type":"->","args":["files"]},{"file":"/var/www/html/lib/private/Files/Storage/Wrapper/Wrapper.php","line":334,"function":"free_space","class":"OC\\Files\\Storage\\Wrapper\\Wrapper","type":"->","args":["files"]},{"file":"/var/www/html/lib/private/legacy/OC_Helper.php","line":545,"function":"free_space","class":"OC\\Files\\Storage\\Wrapper\\Wrapper","type":"->","args":["files"]},{"file":"/var/www/html/apps/provisioning_api/lib/Controller/AUserData.php","line":248,"function":"getStorageInfo","class":"OC_Helper","type":"::","args":["/"]},{"file":"/var/www/html/apps/provisioning_api/lib/Controller/AUserData.php","line":149,"function":"fillStorageInfo","class":"OCA\\Provisioning_API\\Controller\\AUserData","type":"->","args":["elasticsearch"]},{"file":"/var/www/html/apps/provisioning_api/lib/Controller/UsersController.php","line":205,"function":"getUserData","class":"OCA\\Provisioning_API\\Controller\\AUserData","type":"->","args":["elasticsearch"]},{"file":"/var/www/html/lib/private/AppFramework/Http/Dispatcher.php","line":225,"function":"getUsersDetails","class":"OCA\\Provisioning_API\\Controller\\UsersController","type":"->","args":["",25,0]},{"file":"/var/www/html/lib/private/AppFramework/Http/Dispatcher.php","line":133,"function":"executeController","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->","args":[{"__class__":"OCA\\Provisioning_API\\Controller\\UsersController"},"getUsersDetails"]},{"file":"/var/www/html/lib/private/AppFramework/App.php","line":172,"function":"dispatch","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->","args":[{"__class__":"OCA\\Provisioning_API\\Controller\\UsersController"},"getUsersDetails"]},{"file":"/var/www/html/lib/private/Route/Router.php","line":298,"function":"main","class":"OC\\AppFramework\\App","type":"::","args":["OCA\\Provisioning_API\\Controller\\UsersController","getUsersDetails",{"__class__":"OC\\AppFramework\\DependencyInjection\\DIContainer"},["ocs.provisioning_api.Users.getUsersDetails"]]},{"file":"/var/www/html/ocs/v1.php","line":62,"function":"match","class":"OC\\Route\\Router","type":"->","args":["/ocsapp/cloud/users/details"]},{"file":"/var/www/html/ocs/v2.php","line":23,"args":["/var/www/html/ocs/v1.php"],"function":"require_once"}],"File":"/var/www/html/lib/private/Log/ErrorHandler.php","Line":92,"CustomMessage":"--"},"id":"6353dcf8a3a28"}

Additional info

No response

Sieboldianus avatar Oct 22 '22 12:10 Sieboldianus

I have the same error with Nextcloud 24.0.6, PHP 8.1 and plenty of free space. I don't use the docker image but the good old installation via zip-package. My nextcloud is updated since version 21 as far i remember.

[PHP] Fehler: Error: disk_free_space(): No such file or directory at /nextcloud/lib/private/Files/Storage/Local.php#395 at <<closure>>

 0. <<closure>>
    OC\Log\ErrorHandler::onError()
 1. /nextcloud/lib/private/Files/Storage/Local.php line 395
    disk_free_space()
 2. /nextcloud/lib/private/Files/Storage/Wrapper/Wrapper.php line 334
    OC\Files\Storage\Local->free_space()
 3. /nextcloud/lib/private/Files/Storage/Wrapper/Wrapper.php line 334
    OC\Files\Storage\Wrapper\Wrapper->free_space()
 4. /nextcloud/lib/private/legacy/OC_Helper.php line 545
    OC\Files\Storage\Wrapper\Wrapper->free_space()
 5. /nextcloud/apps/dav/lib/Connector/Sabre/Directory.php line 341
    OC_Helper::getStorageInfo()
 6. /nextcloud/3rdparty/sabre/dav/lib/DAV/CorePlugin.php line 764
    OCA\DAV\Connector\Sabre\Directory->getQuotaInfo()
 7. /nextcloud/3rdparty/sabre/dav/lib/DAV/PropFind.php line 95
    Sabre\DAV\CorePlugin->Sabre\DAV\{closure}("*** sensitive parameters replaced ***")
 8. /nextcloud/3rdparty/sabre/dav/lib/DAV/CorePlugin.php line 767
    Sabre\DAV\PropFind->handle()
 9. /nextcloud/3rdparty/sabre/event/lib/WildcardEmitterTrait.php line 89
    Sabre\DAV\CorePlugin->propFind()
10. /nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php line 1052
    Sabre\DAV\Server->emit()
11. /nextcloud/3rdparty/icewind/searchdav/src/DAV/SearchHandler.php line 183
    Sabre\DAV\Server->getPropertiesByNode()
12. <<closure>>
    SearchDAV\DAV\SearchHandler->getPropertiesIteratorResults()
13. /nextcloud/3rdparty/icewind/searchdav/src/DAV/SearchHandler.php line 90
    iterator_to_array()
14. /nextcloud/3rdparty/icewind/searchdav/src/DAV/SearchPlugin.php line 119
    SearchDAV\DAV\SearchHandler->handleSearchRequest()
15. /nextcloud/3rdparty/sabre/event/lib/WildcardEmitterTrait.php line 89
    SearchDAV\DAV\SearchPlugin->searchHandler()
16. /nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php line 472
    Sabre\DAV\Server->emit()
17. /nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php line 253
    Sabre\DAV\Server->invokeMethod()
18. /nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php line 321
    Sabre\DAV\Server->start()
19. /nextcloud/apps/dav/lib/Server.php line 358
    Sabre\DAV\Server->exec()
20. /nextcloud/apps/dav/appinfo/v2/remote.php line 35
    OCA\DAV\Server->exec()
21. /nextcloud/remote.php line 166
    require_once("/var/www/vhosts ... p")

SEARCH /remote.php/dav
from 3cXX:66e0:b04:af30:e0XX:9d74:ff3e:19c2 by User at 2022-10-26T10:28:14+02:00

Obi-Wahn avatar Oct 26 '22 08:10 Obi-Wahn

After the update to 24.0.7 the error message changed a little bit:

[PHP] Fehler: Error: disk_free_space(): No such file or directory at /var/www/nextcloud/lib/private/Files/Storage/Local.php#402 at <<closure>>

 0. <<closure>>
    OC\Log\ErrorHandler::onError()
 1. /var/www/nextcloud/lib/private/Files/Storage/Local.php line 402
    disk_free_space()
 2. /var/www/nextcloud/lib/private/Files/Storage/Wrapper/Wrapper.php line 334
    OC\Files\Storage\Local->free_space()
 3. /var/www/nextcloud/lib/private/Files/Storage/Wrapper/Wrapper.php line 334
    OC\Files\Storage\Wrapper\Wrapper->free_space()
 4. /var/www/nextcloud/lib/private/legacy/OC_Helper.php line 545
    OC\Files\Storage\Wrapper\Wrapper->free_space()
 5. /var/www/nextcloud/apps/dav/lib/Connector/Sabre/Directory.php line 341
    OC_Helper::getStorageInfo()
 6. /var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/CorePlugin.php line 764
    OCA\DAV\Connector\Sabre\Directory->getQuotaInfo()
 7. /var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/PropFind.php line 95
    Sabre\DAV\CorePlugin->Sabre\DAV\{closure}("*** sensitive parameters replaced ***")
 8. /var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/CorePlugin.php line 767
    Sabre\DAV\PropFind->handle()
 9. /var/www/nextcloud/3rdparty/sabre/event/lib/WildcardEmitterTrait.php line 89
    Sabre\DAV\CorePlugin->propFind()
10. /var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php line 1052
    Sabre\DAV\Server->emit()
11. /var/www/nextcloud/3rdparty/icewind/searchdav/src/DAV/SearchHandler.php line 183
    Sabre\DAV\Server->getPropertiesByNode()
12. <<closure>>
    SearchDAV\DAV\SearchHandler->getPropertiesIteratorResults()
13. /var/www/nextcloud/3rdparty/icewind/searchdav/src/DAV/SearchHandler.php line 90
    iterator_to_array()
14. /var/www/nextcloud/3rdparty/icewind/searchdav/src/DAV/SearchPlugin.php line 119
    SearchDAV\DAV\SearchHandler->handleSearchRequest()
15. /var/www/nextcloud/3rdparty/sabre/event/lib/WildcardEmitterTrait.php line 89
    SearchDAV\DAV\SearchPlugin->searchHandler()
16. /var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php line 472
    Sabre\DAV\Server->emit()
17. /var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php line 253
    Sabre\DAV\Server->invokeMethod()
18. /var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php line 321
    Sabre\DAV\Server->start()
19. /var/www/nextcloud/apps/dav/lib/Server.php line 358
    Sabre\DAV\Server->exec()
20. /var/www/nextcloud/apps/dav/appinfo/v2/remote.php line 35
    OCA\DAV\Server->exec()
21. /var/www/nextcloud/remote.php line 170
    require_once("/var/www/vhosts ... p")

SEARCH /remote.php/dav
from 78.96.3XX.2XX by User at 2022-11-05T10:15:07+01:00

Obi-Wahn avatar Nov 05 '22 13:11 Obi-Wahn

I have the same error with nextcloud version 25.0.0.

brknkfr avatar Nov 07 '22 06:11 brknkfr

The last error message with "Local.php#402" is now three days old and no new message of this type appeared.

Now i get the error "OCP\Files\NotFoundException:" with "/Files/Node/Node.php - line 344: OC\Files\Node\Node->getFileInfo()" but this is another bug.

Obi-Wahn avatar Nov 08 '22 13:11 Obi-Wahn

I have the same issue with v25.0.1. The "fix NC25 for 32-bit" for NC25.0.2 worked for me.

https://github.com/nextcloud/server/pull/34905/commits/c12445688194eb1cdb4a642d520b5f1fa38c4caa

mostofthetime avatar Nov 09 '22 15:11 mostofthetime

Still an issue on NC 25.0.1 and NC 25.0.1

{"reqId":"Vv5Gzyp67inNVlSK4bbS","level":3,"time":"2022-12-02T14:01:04-06:00","remoteAddr":"1.1.1.1","user":"andy","app":"PHP","method":"SEARCH","url":"/remote.php/dav","message":"disk_free_space(): No such file or directory at /var/www/nextcloud/lib/private/Files/Storage/Local.php#420","userAgent":"Mozilla/5.0 (iOS) Nextcloud-iOS/4.5.7","version":"25.0.1.1","exception":{"Exception":"Error","Message":"disk_free_space(): No such file or directory at /var/www/nextcloud/lib/private/Files/Storage/Local.php#420","Code":0,"Trace":[{"function":"onError","class":"OC\\Log\\ErrorHandler","type":"::"},{"file":"/var/www/nextcloud/lib/private/Files/Storage/Local.php","line":420,"function":"disk_free_space"},{"file":"/var/www/nextcloud/lib/private/Files/Storage/Wrapper/Quota.php","line":117,"function":"free_space","class":"OC\\Files\\Storage\\Local","type":"->"},{"file":"/var/www/nextcloud/lib/private/Files/Storage/Wrapper/Wrapper.php","line":334,"function":"free_space","class":"OC\\Files\\Storage\\Wrapper\\Quota","type":"->"},{"file":"/var/www/nextcloud/lib/private/legacy/OC_Helper.php","line":517,"function":"free_space","class":"OC\\Files\\Storage\\Wrapper\\Wrapper","type":"->"},{"file":"/var/www/nextcloud/apps/dav/lib/Connector/Sabre/Directory.php","line":328,"function":"getStorageInfo","class":"OC_Helper","type":"::"},{"file":"/var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/CorePlugin.php","line":764,"function":"getQuotaInfo","class":"OCA\\DAV\\Connector\\Sabre\\Directory","type":"->"},{"file":"/var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/PropFind.php","line":95,"function":"Sabre\\DAV\\{closure}","class":"Sabre\\DAV\\CorePlugin","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/CorePlugin.php","line":767,"function":"handle","class":"Sabre\\DAV\\PropFind","type":"->"},{"file":"/var/www/nextcloud/3rdparty/sabre/event/lib/WildcardEmitterTrait.php","line":89,"function":"propFind","class":"Sabre\\DAV\\CorePlugin","type":"->"},{"file":"/var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php","line":1052,"function":"emit","class":"Sabre\\DAV\\Server","type":"->"},{"file":"/var/www/nextcloud/3rdparty/icewind/searchdav/src/DAV/SearchHandler.php","line":183,"function":"getPropertiesByNode","class":"Sabre\\DAV\\Server","type":"->"},{"function":"getPropertiesIteratorResults","class":"SearchDAV\\DAV\\SearchHandler","type":"->"},{"file":"/var/www/nextcloud/3rdparty/icewind/searchdav/src/DAV/SearchHandler.php","line":90,"function":"iterator_to_array"},{"file":"/var/www/nextcloud/3rdparty/icewind/searchdav/src/DAV/SearchPlugin.php","line":119,"function":"handleSearchRequest","class":"SearchDAV\\DAV\\SearchHandler","type":"->"},{"file":"/var/www/nextcloud/3rdparty/sabre/event/lib/WildcardEmitterTrait.php","line":89,"function":"searchHandler","class":"SearchDAV\\DAV\\SearchPlugin","type":"->"},{"file":"/var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php","line":472,"function":"emit","class":"Sabre\\DAV\\Server","type":"->"},{"file":"/var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php","line":253,"function":"invokeMethod","class":"Sabre\\DAV\\Server","type":"->"},{"file":"/var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php","line":321,"function":"start","class":"Sabre\\DAV\\Server","type":"->"},{"file":"/var/www/nextcloud/apps/dav/lib/Server.php","line":360,"function":"exec","class":"Sabre\\DAV\\Server","type":"->"},{"file":"/var/www/nextcloud/apps/dav/appinfo/v2/remote.php","line":35,"function":"exec","class":"OCA\\DAV\\Server","type":"->"},{"file":"/var/www/nextcloud/remote.php","line":171,"args":["/var/www/nextcloud/apps/dav/appinfo/v2/remote.php"],"function":"require_once"}],"File":"/var/www/nextcloud/lib/private/Log/ErrorHandler.php","Line":92,"CustomMessage":"--"},"id":"638a5a4514635"}

{"reqId":"0mhaklGRYvrYjPY97vaI","level":3,"time":"2022-12-11T23:23:57-06:00","remoteAddr":"10.241.202.104","user":"ixheli","app":"PHP","method":"SEARCH","url":"/remote.php/dav","message":"disk_free_space(): No such file or directory at /var/www/nextcloud/lib/private/Files/Storage/Local.php#420","userAgent":"Mozilla/5.0 (iOS) Nextcloud-iOS/4.5.7","version":"25.0.2.3","exception":{"Exception":"Error","Message":"disk_free_space(): No such file or directory at /var/www/nextcloud/lib/private/Files/Storage/Local.php#420","Code":0,"Trace":[{"function":"onError","class":"OC\\Log\\ErrorHandler","type":"::"},{"file":"/var/www/nextcloud/lib/private/Files/Storage/Local.php","line":420,"function":"disk_free_space"},{"file":"/var/www/nextcloud/lib/private/Files/Storage/Wrapper/Quota.php","line":117,"function":"free_space","class":"OC\\Files\\Storage\\Local","type":"->"},{"file":"/var/www/nextcloud/lib/private/Files/Storage/Wrapper/Wrapper.php","line":334,"function":"free_space","class":"OC\\Files\\Storage\\Wrapper\\Quota","type":"->"},{"file":"/var/www/nextcloud/lib/private/legacy/OC_Helper.php","line":521,"function":"free_space","class":"OC\\Files\\Storage\\Wrapper\\Wrapper","type":"->"},{"file":"/var/www/nextcloud/apps/dav/lib/Connector/Sabre/Directory.php","line":328,"function":"getStorageInfo","class":"OC_Helper","type":"::"},{"file":"/var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/CorePlugin.php","line":764,"function":"getQuotaInfo","class":"OCA\\DAV\\Connector\\Sabre\\Directory","type":"->"},{"file":"/var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/PropFind.php","line":95,"function":"Sabre\\DAV\\{closure}","class":"Sabre\\DAV\\CorePlugin","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/CorePlugin.php","line":767,"function":"handle","class":"Sabre\\DAV\\PropFind","type":"->"},{"file":"/var/www/nextcloud/3rdparty/sabre/event/lib/WildcardEmitterTrait.php","line":89,"function":"propFind","class":"Sabre\\DAV\\CorePlugin","type":"->"},{"file":"/var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php","line":1052,"function":"emit","class":"Sabre\\DAV\\Server","type":"->"},{"file":"/var/www/nextcloud/3rdparty/icewind/searchdav/src/DAV/SearchHandler.php","line":183,"function":"getPropertiesByNode","class":"Sabre\\DAV\\Server","type":"->"},{"function":"getPropertiesIteratorResults","class":"SearchDAV\\DAV\\SearchHandler","type":"->"},{"file":"/var/www/nextcloud/3rdparty/icewind/searchdav/src/DAV/SearchHandler.php","line":90,"function":"iterator_to_array"},{"file":"/var/www/nextcloud/3rdparty/icewind/searchdav/src/DAV/SearchPlugin.php","line":119,"function":"handleSearchRequest","class":"SearchDAV\\DAV\\SearchHandler","type":"->"},{"file":"/var/www/nextcloud/3rdparty/sabre/event/lib/WildcardEmitterTrait.php","line":89,"function":"searchHandler","class":"SearchDAV\\DAV\\SearchPlugin","type":"->"},{"file":"/var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php","line":472,"function":"emit","class":"Sabre\\DAV\\Server","type":"->"},{"file":"/var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php","line":253,"function":"invokeMethod","class":"Sabre\\DAV\\Server","type":"->"},{"file":"/var/www/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php","line":321,"function":"start","class":"Sabre\\DAV\\Server","type":"->"},{"file":"/var/www/nextcloud/apps/dav/lib/Server.php","line":360,"function":"exec","class":"Sabre\\DAV\\Server","type":"->"},{"file":"/var/www/nextcloud/apps/dav/appinfo/v2/remote.php","line":35,"function":"exec","class":"OCA\\DAV\\Server","type":"->"},{"file":"/var/www/nextcloud/remote.php","line":171,"args":["/var/www/nextcloud/apps/dav/appinfo/v2/remote.php"],"function":"require_once"}],"File":"/var/www/nextcloud/lib/private/Log/ErrorHandler.php","Line":92,"CustomMessage":"--"},"id":"63976b776ac26"}

AndyXheli avatar Dec 02 '22 20:12 AndyXheli

@szaimen can you please mark this as NC 25 feedback as well ?

AndyXheli avatar Dec 12 '22 17:12 AndyXheli

Same here PHP 8.0.26 Nextcloud 25.0.2 Armbian 22.11.1 Bullseye Linux 5.19.17-meson64 ARMv8

The weirdest thing is that I can upload some files, but not all of them. I don't understand what is different. I have documents with the same extension, similar size, the document names doesn't use special characters. I started having this problem when I updated to php8 and nextcloud 24.

image

All images with errors in the picture are newer that the others, but I was able to upload some files today and these files are still failing.

joaomorenorf avatar Dec 18 '22 00:12 joaomorenorf

Same issue here NC 25.0.3:

{"reqId":"KKGpXlP9CTzMcNaOpYlO","level":3,"time":"2023-02-07T09:56:55+00:00","remoteAddr":"83.221.241.87","user":"TGrundmann","app":"PHP","method":"PROPFIND","url":"/remote.php/webdav/Kundensupport/NeuDom/5.%20Literatur/9.%20Sonstiges","message":"disk_free_space(): No such file or directory at /var/www/vhosts/hosting175033.ae88e.netcup.net/cloud.vaf-technik.de/lib/private/Files/Storage/Local.php#420","userAgent":"--","version":"25.0.3.2","exception":{"Exception":"Error","Message":"disk_free_space(): No such file or directory at /var/www/vhosts/hosting175033.ae88e.netcup.net/cloud.vaf-technik.de/lib/private/Files/Storage/Local.php#420","Code":0,"Trace":[{"function":"onError","class":"OC\\Log\\ErrorHandler","type":"::"},{"file":"/var/www/vhosts/hosting175033.ae88e.netcup.net/cloud.vaf-technik.de/lib/private/Files/Storage/Local.php","line":420,"function":"disk_free_space"},{"file":"/var/www/vhosts/hosting175033.ae88e.netcup.net/cloud.vaf-technik.de/lib/private/Files/Storage/Wrapper/Quota.php","line":110,"function":"free_space","class":"OC\\Files\\Storage\\Local","type":"->"},{"file":"/var/www/vhosts/hosting175033.ae88e.netcup.net/cloud.vaf-technik.de/lib/private/Files/Storage/Wrapper/Wrapper.php","line":334,"function":"free_space","class":"OC\\Files\\Storage\\Wrapper\\Quota","type":"->"},{"file":"/var/www/vhosts/hosting175033.ae88e.netcup.net/cloud.vaf-technik.de/lib/private/legacy/OC_Helper.php","line":521,"function":"free_space","class":"OC\\Files\\Storage\\Wrapper\\Wrapper","type":"->"},{"file":"/var/www/vhosts/hosting175033.ae88e.netcup.net/cloud.vaf-technik.de/apps/dav/lib/Connector/Sabre/Directory.php","line":328,"function":"getStorageInfo","class":"OC_Helper","type":"::"},{"file":"/var/www/vhosts/hosting175033.ae88e.netcup.net/cloud.vaf-technik.de/3rdparty/sabre/dav/lib/DAV/CorePlugin.php","line":764,"function":"getQuotaInfo","class":"OCA\\DAV\\Connector\\Sabre\\Directory","type":"->"},{"file":"/var/www/vhosts/hosting175033.ae88e.netcup.net/cloud.vaf-technik.de/3rdparty/sabre/dav/lib/DAV/PropFind.php","line":95,"function":"Sabre\\DAV\\{closure}","class":"Sabre\\DAV\\CorePlugin","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/var/www/vhosts/hosting175033.ae88e.netcup.net/cloud.vaf-technik.de/3rdparty/sabre/dav/lib/DAV/CorePlugin.php","line":767,"function":"handle","class":"Sabre\\DAV\\PropFind","type":"->"},{"file":"/var/www/vhosts/hosting175033.ae88e.netcup.net/cloud.vaf-technik.de/3rdparty/sabre/event/lib/WildcardEmitterTrait.php","line":89,"function":"propFind","class":"Sabre\\DAV\\CorePlugin","type":"->"},{"file":"/var/www/vhosts/hosting175033.ae88e.netcup.net/cloud.vaf-technik.de/3rdparty/sabre/dav/lib/DAV/Server.php","line":1052,"function":"emit","class":"Sabre\\DAV\\Server","type":"->"},{"file":"/var/www/vhosts/hosting175033.ae88e.netcup.net/cloud.vaf-technik.de/3rdparty/sabre/dav/lib/DAV/Server.php","line":984,"function":"getPropertiesByNode","class":"Sabre\\DAV\\Server","type":"->"},{"file":"/var/www/vhosts/hosting175033.ae88e.netcup.net/cloud.vaf-technik.de/3rdparty/sabre/dav/lib/DAV/Server.php","line":1662,"function":"getPropertiesIteratorForPath","class":"Sabre\\DAV\\Server","type":"->"},{"file":"/var/www/vhosts/hosting175033.ae88e.netcup.net/cloud.vaf-technik.de/3rdparty/sabre/dav/lib/DAV/Server.php","line":1647,"function":"writeMultiStatus","class":"Sabre\\DAV\\Server","type":"->"},{"file":"/var/www/vhosts/hosting175033.ae88e.netcup.net/cloud.vaf-technik.de/3rdparty/sabre/dav/lib/DAV/CorePlugin.php","line":346,"function":"generateMultiStatus","class":"Sabre\\DAV\\Server","type":"->"},{"file":"/var/www/vhosts/hosting175033.ae88e.netcup.net/cloud.vaf-technik.de/3rdparty/sabre/event/lib/WildcardEmitterTrait.php","line":89,"function":"httpPropFind","class":"Sabre\\DAV\\CorePlugin","type":"->"},{"file":"/var/www/vhosts/hosting175033.ae88e.netcup.net/cloud.vaf-technik.de/3rdparty/sabre/dav/lib/DAV/Server.php","line":472,"function":"emit","class":"Sabre\\DAV\\Server","type":"->"},{"file":"/var/www/vhosts/hosting175033.ae88e.netcup.net/cloud.vaf-technik.de/3rdparty/sabre/dav/lib/DAV/Server.php","line":253,"function":"invokeMethod","class":"Sabre\\DAV\\Server","type":"->"},{"file":"/var/www/vhosts/hosting175033.ae88e.netcup.net/cloud.vaf-technik.de/3rdparty/sabre/dav/lib/DAV/Server.php","line":321,"function":"start","class":"Sabre\\DAV\\Server","type":"->"},{"file":"/var/www/vhosts/hosting175033.ae88e.netcup.net/cloud.vaf-technik.de/apps/dav/appinfo/v1/webdav.php","line":85,"function":"exec","class":"Sabre\\DAV\\Server","type":"->"},{"file":"/var/www/vhosts/hosting175033.ae88e.netcup.net/cloud.vaf-technik.de/remote.php","line":171,"args":["/var/www/vhosts/hosting175033.ae88e.netcup.net/cloud.vaf-technik.de/apps/dav/appinfo/v1/webdav.php"],"function":"require_once"}],"File":"/var/www/vhosts/hosting175033.ae88e.netcup.net/cloud.vaf-technik.de/lib/private/Log/ErrorHandler.php","Line":92,"CustomMessage":"--"},"id":"63e221ebbaa9d"}

chrystt avatar Feb 07 '23 10:02 chrystt

Same here, 25.0.3 also. [PHP] Erreur: Error: disk_free_space(): No such file or directory at /var/www/nextcloud/lib/private/Files/Storage/Local.php#420

Doesn't think to be of consequence, apart from spamming the log

Djiock avatar Feb 08 '23 19:02 Djiock

Same with NC26beta3, line number changed to 421:

disk_free_space(): No such file or directory at …/lib/private/Files/Storage/Local.php#421
full nextcloud.log entry
{
  "reqId": "xucm63dW56R2nOpKqqUD",
  "level": 3,
  "time": "2023-02-15T14:59:17+01:00",
  "remoteAddr": "192.168.1.2",
  "user": "MYUSER",
  "app": "PHP",
  "method": "PROPFIND",
  "url": "/remote.php/dav/files/SOMEPATH",
  "message": "disk_free_space(): No such file or directory at /DATAFOLDER/lib/private/Files/Storage/Local.php#421",
  "userAgent": "Mozilla/5.0 (X11; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/110.0",
  "version": "26.0.0.5",
  "data": {
    "app": "PHP"
  }
}

nursoda avatar Feb 15 '23 14:02 nursoda

Same error here : NC25.0.4 Debian 11 php 8.1 No Docker

UPDATE : as I did some user migrations, I observed that not everyone was affected. So I deleted my user, recreated it, and it works !

battosai30 avatar Mar 09 '23 08:03 battosai30

Please check if https://github.com/nextcloud/server/pull/37062 helps (shipped on next update - 25.0.7, 26.0.2)

solracsf avatar Apr 28 '23 16:04 solracsf

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

nextcloud-command avatar Jun 02 '23 00:06 nextcloud-command

@solracsf I don't see any 'disk_free_space' warnings in NC 26.0.2 and 27.0.0RCx., so it seems to be fixed for me. Can anyone else confirm?

nursoda avatar Jun 02 '23 05:06 nursoda

No more occurrence for me since update, I think we're good !

Djiock avatar Jun 02 '23 07:06 Djiock

No more occurrence for me since update, I think we're good !

Thanks for verifying!

szaimen avatar Jun 04 '23 21:06 szaimen

I get the error on NC 28.0.2. Immediatelly after the error, I also get the error: "Failed to get fileinfo for ..."

marco-calautti avatar Feb 28 '24 16:02 marco-calautti