Wonderfall / dockerfiles

Discontinued. Fork at your will.
Creative Commons Zero v1.0 Universal
391 stars 170 forks source link

Start of nextcloud takes extremely long time #273

Open ariselseng opened 6 years ago

ariselseng commented 6 years ago

Hi, I have a couple of million previews generated in nextclouds cache which causes the find command at boot of container to take atleast 20 minutes to finish. I am talking about this one:

find /data ! -user 1000 -o ! -group 1000

it would be nice if we could exclude the preview folder or something. Or maybe only run this command if the container is new. If I reboot my machine, nextcloud is down for a long time. So I always need to remember to kill the find command.