Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IllegalStateException java.lang.IllegalStateException: The file is locked: nio:data/movies.db [1.4.197/7] #53

Open
yagomp opened this issue Jan 13, 2021 · 0 comments

Comments

@yagomp
Copy link

yagomp commented Jan 13, 2021

Hi!

I am running your docker image on my Synology NAS and my main user case is to automate the renaming of files using the Task Scheduler (headless use).

After configuring TMM settings using the GUI, I have doubled checked that everything is working fine. Then I close the GUI and I run the following command via SSH:
sudo docker exec -ti tmm /config/tinyMediaManagerCMD.sh -updateMovies -scrapeAll -rename

I have managed to get it to work, but sometimes I get the following error message:
ERROR [headless] org.tinymediamanager.TinyMediaManager:361 - IllegalStateException
java.lang.IllegalStateException: The file is locked: nio:data/movies.db [1.4.197/7]

I have 2 TMM containers running on my system, and I make sure to stop them right after the renaming process has finished by using the following command via SSH:
sudo docker stop tmm

What am I missing here? I got it working before, but I am not sure what is root cause of the error message I posted above.

Thanks!

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

No branches or pull requests

1 participant