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

Unable to start container - Invalid database path #32

Closed
prozbin opened this issue Aug 22, 2022 · 2 comments
Closed

Unable to start container - Invalid database path #32

prozbin opened this issue Aug 22, 2022 · 2 comments

Comments

@prozbin
Copy link

prozbin commented Aug 22, 2022

Hi, running the docker container (on a linux machine) for the first time with an initial fingerprint.ini file (just removed the mapping directory path)

Log:

Loading global config file: /config/plex-credits-detect/fingerprint.ini
PlexDB.LoadDatabase - Invalid database path
Unhandled exception. System.ArgumentException: Invalid database path
  at plexCreditsDetect.Database.PlexDB.LoadDatabase(String path) in /src/plex-credits-detect/Database/PlexDB.cs:line 69
  at plexCreditsDetect.Program.Main(String[] args) in /src/plex-credits-detect/Program.cs:line 31

fingerprint.ini

[directories]

[intro]
introStart = 0
introEnd = 0.5
introMaxSearchPeriod = 900

[...]

[paths]
databasePath = /config/plex-credits-detect/database
PlexDatabasePath = /PlexDB/com.plexapp.plugins.library.db
TempDirectoryPath = /config/plex-credits-detect/temp
ffmpegPath = ffmpeg

Docker command:

docker run \
	-d \
	--restart=always \
	-v $DATADIR/config:/config \
	-v '/mnt/SSD2/PlexMetas/Plug-in Support/Databases':/PlexDB \
	-v /media:/media:ro \
	--name $NAME \
	$IMAGE

Any thoughts?
Thx!

@cjmanca
Copy link
Owner

cjmanca commented Aug 23, 2022

It can't access the com.plexapp.plugins.library.db file. The two most likely possibilities are:

  1. It doesn't have appropriate read/write permissions to that file
  2. The file isn't actually located at the path: /mnt/SSD2/PlexMetas/Plug-in Support/Databases/com.plexapp.plugins.library.db

@prozbin
Copy link
Author

prozbin commented Aug 23, 2022

That was it, I thought this message was related to the internal database of plex-credits located next to the config (fingerprintmedia.db).

Thank you 👍

@prozbin prozbin closed this as completed Aug 23, 2022
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

2 participants