nextcloud / backup

Backup now. Restore later.
GNU Affero General Public License v3.0
242 stars 33 forks source link

"Your storage is full, files cannot be updated or synced anymore!", but quota is set to Unlimited #525

Closed janaxhell closed 2 months ago

janaxhell commented 1 year ago

Steps to reproduce

  1. Browse to Files
  2. The message "Your storage is full, files cannot be updated or synced anymore!" appears
  3. Go to Users
  4. Check users quota, in my case only as admin and user -> quota is Unlimited (169,7 GB used)

Expected behavior

No error

Actual behavior

There should be no error message, I have a 2 Tb disk of which only 169 Gb are used.

Host OS

Docker

Nextcloud AIO version

Nextcloud Hub 3 (25.0.4)

Current channel

Other valuable info

I have read about this problem in older posts suggesting sudo docker exec --user www-data next_app_1 php occ user:setting USERNAME files quota "999 GB" I have done that and, yes, quota changed to 999, but I still got the Storage Full error. Switched between Default and Unlimited and ending with Unlimited, but the error is still there.

Before this happened I had just added an External Storage on SMB to make a backup of Nextcloud that only created an empty folder inside shared SMB folder. I thought that was the problem, so I removed both the External Storage folder and the app. But no change. I mentioned the issue here https://github.com/nextcloud/backup/issues/521

EDIT I see now that Open Media Vault is showing /dev/sda1 100% full. I have run this command and got

root@openmediavault2:~# root@openmediavault2:~# du -a / | sort -n -r | head -n 10
du: cannot access '/proc/22091/task/22091/fd/3': No such file or directory
du: cannot access '/proc/22091/task/22091/fdinfo/3': No such file or directory
du: cannot access '/proc/22091/fd/4': No such file or directory
du: cannot access '/proc/22091/fdinfo/4': No such file or directory
du: cannot access '/proc/23064': No such file or directory
du: cannot access '/proc/23065': No such file or directory
du: cannot access '/proc/23066': No such file or directory
du: cannot access '/proc/23673': No such file or directory
du: cannot access '/proc/23699': No such file or directory
2047612536      /
2036955440      /srv
1919973640      /srv/dev-disk-by-uuid-ba4514c7-4c36-4c08-9827-3f3f584ab6b0
1919973600      /srv/dev-disk-by-uuid-ba4514c7-4c36-4c08-9827-3f3f584ab6b0/data
1919973588      /srv/dev-disk-by-uuid-ba4514c7-4c36-4c08-9827-3f3f584ab6b0/data/nextcloud
1742831636      /srv/dev-disk-by-uuid-ba4514c7-4c36-4c08-9827-3f3f584ab6b0/data/nextcloud/appdata_ocfk5q0tgxex
1740399492      /srv/dev-disk-by-uuid-ba4514c7-4c36-4c08-9827-3f3f584ab6b0/data/nextcloud/appdata_ocfk5q0tgxex/backup
192301708       /srv/dev-disk-by-uuid-ba4514c7-4c36-4c08-9827-3f3f584ab6b0/data/nextcloud/appdata_ocfk5q0tgxex/backup/20230420020929-full-1XVdA2FryRBLMDO
192301664       /srv/dev-disk-by-uuid-ba4514c7-4c36-4c08-9827-3f3f584ab6b0/data/nextcloud/appdata_ocfk5q0tgxex/backup/20230420013432-full-iWBB8w8wxcREWX9
192301664       /srv/dev-disk-by-uuid-ba4514c7-4c36-4c08-9827-3f3f584ab6b0/data/nextcloud/appdata_ocfk5q0tgxex/backup/20230420005928-full-A65Snc56TnMfB7g
root@openmediavault2:~# cd /srv/dev-disk-by-uuid-ba4514c7-4c36-4c08-9827-3f3f584ab6b0/data/nextcloud/appdata_ocfk5q0tgxex/backup
root@openmediavault2:/srv/dev-disk-by-uuid-ba4514c7-4c36-4c08-9827-3f3f584ab6b0/data/nextcloud/appdata_ocfk5q0tgxex/backup# ls
20230419165215-full-x2zQC1jJ2ZTQguk          20230421015425-differential-HeuJp4WobplUHgX
20230419173402-differential-oDfZrNJK3f1OPmV  20230421021426-differential-TFuhmz2dcwpjxIe
20230419194923-full-WxYdzGBsIr1Ligp          20230421023425-differential-Sq7jFN6SairWTKV
20230419212427-full-SpaWBMJ6lsWwcXb          20230421025425-differential-r6Y2JGWEHff1ESQ
20230419231427-full-T6kjDofUrwwiZT5          20230421031425-differential-aoDsvKKnx9yimX3
20230419234928-full-plh5DRdFaa7uvdv          20230421033425-differential-JUQtOTZiMkwBvfa
20230420002428-full-2mDPRqdytSoR8fE          20230421035426-differential-eY8Sp2fKoO6fuEz
20230420005928-full-A65Snc56TnMfB7g          20230421041425-differential-ShsbdYEbTcAunxv
20230420013432-full-iWBB8w8wxcREWX9          20230421043425-differential-kuBTMC3XEz2U7Gy
20230420020929-full-1XVdA2FryRBLMDO          20230421045425-differential-FSf2DVAPhmFUQTt
20230420024429-full-gcudeJL4hopXIXJ          20230421051425-differential-BsviGNGRcrgfxuy
20230420170425-differential-YegH5AT9i73oO5Z  20230421053426-differential-Lw99EZuCLM2If3Q
20230420192425-differential-vXdxeM5dIPdkrWm  20230421064925-differential-aihUWRpGwYlqoOG
20230420194425-differential-hpDFMsYrm4ZBB8G  20230421105926-differential-7hsGleWzioI1oiC
20230420195926-differential-Uj3XkmMdk7vH6SH  20230421161930-differential-MjqJhkHInggiyuQ
20230420211925-differential-8wDtrH5tqTZQjGI  20230421202930-differential-5KRtpfEjKdZoRRh
20230420233425-differential-7I2w3Xdkq99ULZd  20230421223926-differential-ZIuGsAbEBxatBnb
20230420235425-differential-O5SIEV1ANk7ZT8t  20230421234927-differential-nCwgfFy8U4cjVTr
20230421001425-differential-QnKAiLAmW3bZ9nv  20230422000927-full-vaF2XYE9SeWCmN1
20230421003426-differential-wJSHoroCrI4TQn7  20230422231428-full-xPv2Dc5j9ldmnXy
20230421005425-differential-UvSCWCEdBrjFqJw  20230423203933-full-H82R9kT4MgclKab
20230421011425-differential-Qk92lU19WvoDNrt  20230423234930-full-FDPTVqca9cT5q7n
20230421013425-differential-hQBmr5gdXdwtCU5

So I cd /srv/dev-disk-by-uuid-ba4514c7-4c36-4c08-9827-3f3f584ab6b0/data/nextcloud/appdata_ocfk5q0tgxex/ and rm -rf backup and suddenly sda1 has normal size occupied.

I suppose this has something to do with the weird behavior of backup. Any way at least for this I think it's solved.