I get this error when trying to connect to a local filesystem repository via command line.
I have success connecting to the repository via WebUI.
# kopia repo connect filesystem --path=/repo/media --override-hostname=60b1fb8cb915
ERROR failed to open repository: unable to create format manager: invalid repository password
ERROR unable to remove cache directory: unlinkat /app/cache/indexes: directory not empty
ERROR error connecting to repository: unable to create format manager: invalid repository password
# kopia repo connect filesystem --path="/repo/media" --override-hostname=60b1fb8cb915
ERROR failed to open repository: unable to create format manager: invalid repository password
ERROR unable to remove cache directory: unlinkat /app/cache/indexes: directory not empty
ERROR error connecting to repository: unable to create format manager: invalid repository password
# kopia repo connect filesystem --path="/repo/media" --override-hostname="60b1fb8cb915"
ERROR failed to open repository: unable to create format manager: invalid repository password
ERROR unable to remove cache directory: unlinkat /app/cache/indexes: directory not empty
ERROR error connecting to repository: unable to create format manager: invalid repository password
I can connect to the repository via WebUI, but I have to manually change the hostname:
can you describe your setup? It is a repository server? If so, you will only see the snapshots if you connect with the correct user and hostname. You can create users on the server and the use the credentials to connect to the server.