Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • funkwhale funkwhale
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 386
    • Issues 386
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 16
    • Merge requests 16
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • funkwhale
  • funkwhalefunkwhale
  • Issues
  • #1306

Closed
Open
Created Dec 06, 2020 by Moritz Wilhelmy@wilhelmy

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
Edited Apr 09, 2021 by funkwhale-bot
Assignee
Assign to
Time tracking