I have kopia repository server runing behind traefik for many hosts. After update to 0.18.1 the clients didn’t connect to the repository server any more.
After downgrade to 0.17 it is working again:
2024-11-18T06:25:39.596974Z INFO kopia/server starting session for user "backup@client" from 172.30.255.254:53176
172.31.0.1 - - [18/Nov/2024:06:18:09 +0000] "POST /kopia_repository.KopiaRepository/Session HTTP/2.0" 200 84 "-" "-" 96700 "kopia@docker" "https://172.30.0.6:51515" 250ms
Wiht 0.18.1 i got this error:
cli-log:
2024-11-18T06:27:33.490217Z DEBUG auth password error for user 'backup@client': unsupported hash version (0)
access.log
172.31.0.1 - - [18/Nov/2024:06:15:50 +0000] "POST /kopia_repository.KopiaRepository/Session HTTP/2.0" 200 0 "-" "-" 96534 "kopia@docker" "https://172.30.0.6:51515" 44ms
Connection on client:
repository connect server
--url="https://kopia.domain.tld:443"
--override-hostname="client"
--override-username="backup"
--enable-actions
I use kopia-cli to do my backups but kopia-ui to access them. My process is first to mount a sshfs to another box. Then connect to the repository with:
which works fine as show with kopia snapsot list and kopia repository status. But kopi-ui simply spins waiting to connect. My next backup is in half an hour so I’ll report further if it fails.
Unfortunately it turns out we had (at least) 2 backwards-incompatible changes where new version does not work on previously-written data, which were not caught in the code review this time.
If the test build proves to be ok, we’ll cut 0.18.2 release with those changes.