Skip to content
This repository has been archived by the owner on Jul 12, 2023. It is now read-only.

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

Open
DieSchoeneWolke opened this issue Jun 29, 2023 · 1 comment

Comments

@DieSchoeneWolke
Copy link

DieSchoeneWolke commented Jun 29, 2023

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:

  • Docker Version: [e.g. 22]
    Version: 24.0.2

  • Extended Script Version [e.g. 22]
    Linuxserver.io version:- 1.2.5.3288-ls95 Build-date:- 2023-06-28T02:44:25+00:00

  • Watchtower
    Watchtower 1.5.3

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

@DieSchoeneWolke DieSchoeneWolke changed the title [Bug]: QueueCleaner.bash deletes itself after some time [Bug]: QueueCleaner.bash deletes itself after some time (after update?) Jun 29, 2023
@RandomNinjaAtk
Copy link
Owner

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

See here:

echo "Setting up scripts..."
if [ -f "/config/extended/scripts/QueueCleaner.bash" ]; then
echo "Removing old script, QueueCleaner.bash"
rm "/config/extended/scripts/QueueCleaner.bash"
fi
echo "Downloading and setting up QueueCleaner.bash"
curl "https://raw.githubusercontent.com/RandomNinjaAtk/arr-scripts/main/QueueCleaner.bash" -o "/config/extended/scripts/QueueCleaner.bash"

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants