Skip to content

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

@yagomp

Description

@yagomp

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions