Songs Missing after import
/label Type: Bug Status: Need triage
Steps to reproduce
Import songs as the funkwhale user while in the virtucalenv. Used the following command:
python api/manage.py import_files $LIBRARY_ID "/srv/funkwhale/data/music/netshare/z/**/*.mp3" --recursive --noinput --in-place
What happens?
Script completes successfully. It shows the total imported amount of tracks to match the actual amount of tracks on that share. Logged into funkwhale to view songs and albums and finding many of the albums are missing tracks. Tried manually searching for the song and it is not found. Reran the above command and it claimed it imported more, but still now showing up. Ran the command again and it said it imported the same amount once more as the last time. Still not there.
For example, the first run claims out of a 2221 song library that it, Successfully imported 2221 tracks. All the tracks are not showing up in funkwhale. I ran the exact same command again and it claims 2221 files found matching this pattern. 2039 files already found in database. 182 new files. It then claims it Successfully imported 182 tracks. Tracks are still missing. Running the command again, it once again says 182 new files that are not in database and claims it has added them. Again they are still missing. Tracks are never added.
What is expected?
All tracks that it claims it has imported to show up in funkwhales front end.
Context
The version of your instance can be found on the footer : Source code (x.y)
Funkwhale version(s) affected: Version 0.18.3
If relevant, share additional context here like:
Non-docker. Tried on two separate builds. The first one Ubuntu Server 18.04 LTS. The second one Ubuntu Server 18.10 with updated Python to 3.7.2. Both exhibited identical results.