Closed carlba closed 4 years ago
Hi @carlba, sorry for this late reply.
The .config-lock
is a file created by FlexGet and assumingly left behind if the process died for reason (or server power outage).
It is however also possible another instance of FlexGet is already running - assuming you see this error:
Invalid lock file. Make sure FlexGet is not running, then delete it.
While it is OK to remove it manually and restart FlexGet, this docker container does not have the access to check whether or not there might be another FlexGet (dockerized or not) currently using .config-lock
.
I will think about supporting this behavior however, one way or another. Most likely with a default-enabled environment variable. Thanks for reporting :+1:
I'm just putting this here before I forget: Following FlexGet's own example in https://flexget.com/InstallWizard/SynologyNAS/Docker removing the lock file is not an issue whatsoever.
#!/bin/sh
if [ -f ~/.flexget/.config-lock ]; then
rm ~/.flexget/.config-lock
fi
I like the idea of the environment variable for this.
Have you run into issues with this recently @Chaosmagnetx ? Just curious.
While working on a different issue I ran into this problem myself, resulting in a boot-loop where I'd get an error saying connection refused. So it's finally here :smile:.
What about adding
to 20-update-flexget.sh