Since update to v8.2.1 backups fail with "Too many empty directories"
-
@fbartels this comes from https://git.cloudron.io/platform/box/-/blob/master/src/backupformat/rsync.js?ref_type=heads#L130 . The command it runs is
find /home/yellowtent/boxdata/mail -type d -empty
and somehow this exceeds 20000 lines (in stdout or stderr). Can you check why by running it manually? -
I have a testing mailbox called "many-folders", which on its own already exceeds this limit:
find /home/yellowtent/boxdata/mail -type d -empty | grep many-folders | wc -l 23811
The total line count when not grepping for my test mailbox is
31099
.Depending on the amount of users and if these users are folder hoarders 20.000 may be a bit too low in my opinion. Every folder in the mailbox is represented with three folders in the maildir (
cur
,new
andtmp
) and most of the timenew
andtmp
will be empty. -
-
-
I am getting this error too, as well as this new error in another of my cloudron:
QUote:
Backup failed: Too many executable files. Run "find /home/yellowtent/appsdata/8679c3b3-59b6-4d7e-a84a-d11dab4d5a19 -type f -executable" to investigate.
How can I solve both the empty directories as well as this error please? Thank you!
-
@jagan can you check why you have so many executable files? If you run
find /home/yellowtent/appsdata/8679c3b3-59b6-4d7e-a84a-d11dab4d5a19 -type f -executable
it will give you a list of executable files. Usually, app data should not contain so many executables. -
@girish
Hi. I've come across the same error,BoxError: Too many empty directories. Run "find /mnt/immich/i -type d -empty" to investigate
, when i was investigating why my Immich app stopped updating at all.
It seems, that the backup process keeps failing and hence the app hasn't updated for the past month.
Btw:
root@apps:~# find /mnt/immich/i -type d -empty | wc -l 56108