RandomNinjaAtk / docker-lidarr-extended

lidarr-extended :: Lidarr application packaged with multiple scripts to provide additional functionality
GNU General Public License v3.0
275 stars 24 forks source link

[Bug]: QueueCleaner.bash deletes itself after some time (after update?) #259

Open DieSchoeneWolke opened 1 year ago

DieSchoeneWolke commented 1 year ago

Describe the bug Sorry there is not much I can offer since this is the second time I have seen it happen now. The only possible related problem I could think of is that I use Watchtower to automatically update my containers and it might have something to do with that since I'm the only one with this problem? I also don't have an antivirus or anything that might be deleting it.

Log Data bash: /config/extended/scripts/QueueCleaner.bash: No such file or directory

Docker Info:

Workaround cd Lidarr/extended/scripts wget https://github.com/RandomNinjaAtk/docker-lidarr-extended/raw/main/root/scripts/QueueCleaner.bash chmod +x QueueCleaner.bash

RandomNinjaAtk commented 1 year ago

Your issue is probably caused by a network issue because the container startup scripts grab the latest version on container boot.

See here: https://github.com/RandomNinjaAtk/docker-lidarr-extended/blob/9e59001aaaaf406d14746ead8a591e2b9b3370e1/root/etc/cont-init.d/98-script-setup.bash#L31-L37

I can look into improving the process when I have some spare cycles.