manage.py import_files reports "invalid library id" on one-stop shop docker container (docs invalid?)
First off, I'm new here so sorry if this is not the right place to report issues with the docker deployment.
Steps to reproduce
I installed funkwhale for the first time with the one-stop shop docker method and added a proxy_pass http://[::]:5000;
rule to the nginx running outside the container and the page renders correctly. However, I can't import music using manage.py.
docker-compose run --rm api python manage.py
is mentioned throughout the docs a lot, but since I have the single container version I assume I have to use python /app/api/manage.py?
What happens?
/ # /app/api/manage.py import_files 49fece7e-3809-11eb-afa6-5bdc2e8ce8f5 /music/ --recursive --in-place
2020-12-06 21:28:14,274 funkwhale_api.config INFO Running with the following plugins enabled: funkwhale_api.contrib.scrobbler
Invalid library id
CommandError: Invalid library id
What is expected?
I would expect a library with the given id to be created for me, or some info on how to create one. I tried with the uuid from the help output as well as with one I generated myself. Perhaps I'm overlooking something either in the installation instructions or in the manage.py help
output, but I followed the instructions to the best of my knowledge.
Context
Funkwhale version(s) affected: 1.0.1
funkwhale@pompeii:~$ grep VERSION .env
FUNKWHALE_VERSION=latest
funkwhale@pompeii:~$ docker-compose exec funkwhale /bin/sh
/ # /app/api/manage.py --version
2020-12-06 21:35:33,899 funkwhale_api.config INFO Running with the following plugins enabled: funkwhale_api.contrib.scrobbler
3.0.10