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

Error: disk_free_space(): No such file or directory at /var/www/html/lib/private/Files/Storage/Local.php#381 #187

Closed
marcatsmci opened this issue Feb 1, 2022 · 8 comments
Labels
needs info Not enough information provided

Comments

@marcatsmci
Copy link

This problem occurs when I open an dir but I still can access the files...
Only showing in the log, no problem using NC.

nc-err.pdf

AIO 0.2.1
Nextcloud 23.0.1
Debian 11
Docker version 20.10.5+dfsg1, build 55c4c88
Let's Encrypt

Not a physical disk problem :

nc-err-disk.pdf

What can I provide to help solving this problem ?

@szaimen
Copy link
Collaborator

szaimen commented Feb 1, 2022

Hi, it seems like somehow the database got out of sync with the files. Did you maybe changed the files externally?
Can you please try to run sudo chown -R 33:0 /var/lib/docker/volumes/nextcloud_aio_nextcloud_data/_data/* && sudo docker exec -it nextcloud-aio-nextcloud php occ files:scan --all and report back if it fixes the issue? Thanks!

@szaimen szaimen added the needs info Not enough information provided label Feb 1, 2022
@marcatsmci
Copy link
Author

OK, I launched and I will check...

@marcatsmci
Copy link
Author

files:scan did not have the desired effect, there is still the message.

I think the culprit is the cron: the message comes immediately at cron time, every 5 minutes...
Any log file to investigate ?

@szaimen
Copy link
Collaborator

szaimen commented Feb 1, 2022

Hm... Maybe another idea: sudo docker exec -it nextcloud-aio-nextcloud php occ files:scan-app-data

Otherwise looking at the nextcloud logs should be sufficient. Please share the raw log. That should help. Thanks!

@marcatsmci
Copy link
Author

Done

@marcatsmci
Copy link
Author

I think it's ok now. No more message after files:scan-app-data
Bravo !

@szaimen
Copy link
Collaborator

szaimen commented Feb 3, 2022

Seems like this is actually a bug...
nextcloud/server#30992

@marcatsmci
Copy link
Author

I confirm, the message came back ;-(

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 13, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
needs info Not enough information provided
Projects
None yet
Development

No branches or pull requests

2 participants