arvida42 / davio

Selfhosted Stremio addon that resolve streams using WebDAV
Apache License 2.0
11 stars 2 forks source link

Docker installation not working #2

Open jarvisnexus opened 2 weeks ago

jarvisnexus commented 2 weeks ago

Hi,

I am trying to install the davio docker image. I am seeing this error after the installation.

‘’’ davio | ─────────────────────────────────────── davio | Started addon davio v1.0.4 davio | Server listen at: http://localhost:4000 davio | ─────────────────────────────────────── davio | undefined:0 davio | davio | davio | [Error: SQLITE_CANTOPEN: unable to open database file davio | Emitted 'error' event on Database instance at: davio | ] { davio | errno: 14, davio | code: 'SQLITE_CANTOPEN' davio | } davio | davio | Node.js v20.13.1 davio | ─────────────────────────────────────── davio | Started addon davio v1.0.4 ‘’’

jarvisnexus commented 2 weeks ago

name: poetic_pete services: main_app: cpu_shares: 10 command: [] container_name: davio deploy: resources: limits: memory: 256M environment:

Attaching the docker compose. Ignore the x-casaos part

arvida42 commented 1 week ago

It seems you don't have the correct permissions for the data folder on the host machine. That's why I recommend creating a Docker volume directly:

# Create data volume
docker volume create davio_data

# Run the container
docker run --env-file .env \
    -v davio_data:/data \
    -e DATA_FOLDER=/data \
    --name davio \
    -p 4000:4000 \
    -d arvida42/davio:latest