Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
funkwhale
funkwhale
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 163
    • Issues 163
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge Requests 3
    • Merge Requests 3
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
  • Operations
    • Operations
    • Incidents
    • Environments
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • CI / CD
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • funkwhale
  • funkwhalefunkwhale
  • Issues
  • #1306

Closed
Open
Opened Dec 06, 2020 by Moritz Wilhelmy@wilhelmy
  • Report abuse
  • New issue
Report abuse New issue

manage.py import_files reports "invalid library id" on one-stop shop docker container (docs invalid?)

/label Type: Bug Status: Need triage

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 Dec 06, 2020 by Moritz Wilhelmy
Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
None
Due date
None
Reference: funkwhale/funkwhale#1306