Hi
I am currently starting manually my kopia server on my RaspberryPi like this:
kopia server --ui --insecure --htpasswd-file=/home/pi/.config/kopia/htpasswd --address=http://raspberrypi:51515 --config-file=/home/pi/.config/kopia/repository.config --server-username=kopia &
Now, I’d like to move to the docker version of kopia, so I copied all my kopia config in my docker folder under ./config and tried to start a docker compose file like this:
services:
kopia:
image: kopia/kopia:latest
container_name: Kopia
hostname: raspberrypi
domainname: "***"
user: "0:0"
restart: "unless-stopped"
privileged: true
cap_add:
- SYS_ADMIN
security_opt:
- apparmor:unconfined
devices:
- /dev/fuse:/dev/fuse:rwm
command:
- server
- start
- --disable-csrf-token-checks
- --address=0.0.0.0:51515
- --server-username=kopia
- --htpasswd-file=/app/config/htpasswd
- --ui
- --insecure
volumes:
- ./sharedtmp:/tmp:shared
- ./config:/app/config
- ./cache:/app/cache
- ./logs:/app/logs
- ./config:/app/rclone
- /:/app/backup:ro
environment:
- KOPIA_PASSWORD=***************
- TZ=Europe/Paris
with KOPIA_PASSWORD containing what was previously stored in ./config/repository.config.kopia-password
But when starting the container, I get errors like this:
ERROR unable to initialize repository: unable to initialize repository: error opening repository: unable to open repository: unable to create format manager: invalid repository password
What should I put in KOPIA_PASSWORD ???