2024-10-05, 08:30 PM
(This post was last modified: 2024-10-05, 08:32 PM by Hectik. Edited 1 time in total.)
(2024-10-03, 12:25 AM)TheDreadPirate Wrote: Is jellysearch able to read jellyfin's DB file?
I'm assuming it would need sufficient permissions to read it.Code:fail: JellySearch.Jobs.IndexJob[0]
SQLite Error 14: 'unable to open database file'.
It should have at least read permissions as per the documentation.
this is my docker compose
Code:
jellysearch:
container_name: jellysearch
image: domistyle/jellysearch
restart: unless-stopped
volumes:
- ./jellyfin-folder/config:/config:ro
environment:
PUID: "XXXX"
PGID: "XXXX"
TZ: "Europe/London"
MEILI_MASTER_KEY: "NO"
INDEX_CRON: "0 0 0/2 ? * * *"
JELLYFIN_URL: "https://domain.co.uk"
MEILI_URL: "http://meilisearch:7700"
JELLYFIN_CONFIG_DIR: "./jellyfin-folder/config"
networks:
- jellyfin-net
- nginx-proxy-manager
meilisearch:
image: getmeili/meilisearch:v1.9
container_name: meilisearch
restart: unless-stopped
volumes:
- ./jellyfin-folder/custom/meilisearch:/meili_data
environment:
MEILI_MASTER_KEY: "NO"
PUID: "XXXX"
PGID: "XXXX"
TZ: "Europe/London"
networks:
- jellyfin-net
jellyfin:
image: lscr.io/linuxserver/jellyfin:latest
container_name: jellyfin
volumes:
- ./jellyfin-folder/config:/config
- ./jellyfin-folder/www:/usr/share/jellyfin/web
environment:
- PUID=XXXX
- PGID=XXXX
- TZ=Europe/London
- JELLYFIN_PublishedServerUrl=https://domain.co.uk
restart: unless-stopped
networks:
- jellyfin-net
- nginx-proxy-manager
I get the following from the jellysearch logs:
Code:
warn: Microsoft.AspNetCore.Hosting.Diagnostics[15]
Overriding HTTP_PORTS '8080' and HTTPS_PORTS ''. Binding to values defined by URLS instead 'http://0.0.0.0:5000'.
info: JellySearch.Jobs.IndexJob[0]
Indexing items...
info: Microsoft.Hosting.Lifetime[14]
Now listening on: http://0.0.0.0:5000
info: Microsoft.Hosting.Lifetime[0]
Application started. Press Ctrl+C to shut down.
info: Microsoft.Hosting.Lifetime[0]
Hosting environment: Production
info: Microsoft.Hosting.Lifetime[0]
Content root path: /app
fail: JellySearch.Jobs.IndexJob[0]
SQLite Error 14: 'unable to open database file'.
fail: JellySearch.Jobs.IndexJob[0]
at Microsoft.Data.Sqlite.SqliteException.ThrowExceptionForRC(Int32 rc, sqlite3 db)
at Microsoft.Data.Sqlite.SqliteConnectionInternal..ctor(SqliteConnectionStringBuilder connectionOptions, SqliteConnectionPool pool)
at Microsoft.Data.Sqlite.SqliteConnectionPool.GetConnection()
at Microsoft.Data.Sqlite.SqliteConnectionFactory.GetConnection(SqliteConnection outerConnection)
at Microsoft.Data.Sqlite.SqliteConnection.Open()
at System.Data.Common.DbConnection.OpenAsync(CancellationToken cancellationToken)
--- End of stack trace from previous location ---
at JellySearch.Jobs.IndexJob.Execute(IJobExecutionContext context) in /builds/DomiStyle/jellysearch/src/JellySearch/Jobs/IndexJob.cs:line 57
info: JellySearch.Controllers.SearchController[0]
No hits, not proxying
info: JellySearch.Controllers.SearchController[0]
No hits, not proxying
Jellyfin 10.10.3 [LSIO Docker] | Ubuntu 24.04 LTS | i7-12700T | 16 GB RAM | 60TB Storage