Creating sub-repositories does not work
djmaze opened this issue · 2 comments
Output of rest-server --version
3598be715f32 (0.10.0)
How did you run rest-server exactly?
Via docker with the OPTIONS env variable set to: -append-only --private-repos --debug --log /dev/stdout
What backend/server/service did you use to store the repository?
A local docker volume (mounted at /data
).
Expected behavior
From my local machine, I tried to initialize a sub-repository: restic -r rest:https://user:password@hostname/test/foo/ init
I expected it to initialize the repository successfully.
Actual behavior
Got an error message:
Fatal: create repository at rest:https://user:***@hostname/test/foo/ failed: Fatal: server response unexpected: 404 Not Found (404)
Initializing a repository directly under /test
works.
Steps to reproduce the behavior
- Create
/data
directory with a.htpasswd
and a test user - Start rest-server as shown above.
- Run the above init command.
Do you have any idea what may have caused this?
It seems sub repositories do not work anymore, but the README says that it is still possible. Would be good to have a clarification.
Did rest-server help you today? Did it make you happy in any way?
Looking forward to using this. The append-only
mode is especially valuable!
Ah, well, should have checked the correct README. Thanks for the clarification!