Skip to content

[Bug]: SQL unknown driver sqlite3_custom while making backup #3580

@CrazyVito11

Description

@CrazyVito11

I confirm that:

  • I have searched the existing open AND closed issues to see if an issue already exists for the bug I've encountered
  • I'm using the latest version (your issue may have been fixed already)

Version

0.54.2

Current Behavior

Running navidrome backup create in the Docker container causes the command to fail.

Expected Behavior

For the Navidrome CLI to create the database backup at the configured /backup directory

Steps To Reproduce

  1. Enter the container with docker compose exec navidrome sh
  2. Run ./navidrome backup create

Environment

- OS: Arch Linux 6.12.4-arch1-1 (64-bit)
- Browser: Firefox 133.0.3 (64-bit)
- Client: Navidrome CLI

How Navidrome is installed?

Docker

Configuration

services:
  navidrome:
    image: deluan/navidrome:0.54.2
    restart: unless-stopped
    user: "1000:1000"
    networks:
      - default
      - traefik-reverse-proxy
    environment:
      ND_SCANSCHEDULE: 1h
      ND_LOGLEVEL: info
      ND_SESSIONTIMEOUT: 24h
      ND_BACKUP_PATH: "/backup"
      ND_BACKUP_SCHEDULE: "59 23 * * 6"
      ND_BACKUP_COUNT: 4
      ND_BASEURL: "https://navidrome.localhost"
    volumes:
      - "./data/navidrome-data:/data"
      - "./data/music:/music:ro"
      - "./backup:/backup"
    labels:
      - "traefik.enable=true"
      - "traefik.docker.network=traefik-reverse-proxy"
      - "traefik.http.routers.navidrome-https.rule=Host(`navidrome.localhost`)"
      - "traefik.http.routers.navidrome-https.entrypoints=https"
      - "traefik.http.routers.navidrome-https.tls=true"
      - "traefik.http.routers.navidrome.rule=Host(`navidrome.localhost`)"
      - "traefik.http.routers.navidrome.entrypoints=http"
      - "traefik.http.routers.navidrome.tls=false"
      - "traefik.http.services.navidrome.loadbalancer.server.port=4533"

# You can find the Traefik reverse proxy container on GitHub in case it's relevant
# https://github.com/CrazyVito11/traefik-reverse-proxy
networks:
  traefik-reverse-proxy:
    name: traefik-reverse-proxy
    external: true

Relevant log output

/app $ ./navidrome backup create
 _   _             _     _
| \ | |           (_)   | |
|  \| | __ ___   ___  __| |_ __ ___  _ __ ___   ___
| . ` |/ _` \ \ / / |/ _` | '__/ _ \| '_ ` _ \ / _ \
| |\  | (_| |\ V /| | (_| | | | (_) | | | | | |  __/
\_| \_/\__,_| \_/ |_|\__,_|_|  \___/|_| |_| |_|\___|
                          Version: 0.54.2 (0b184893)

FATA[0000] Error backing up database                     backup path= error="sql: unknown driver \"sqlite3_custom\" (forgotten import?)"
/app $

Anything else?

No response

Code of Conduct

  • I agree to follow Navidrome's Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions