Fix #564: Added a script to prune pre 0.17 federated tracks

This commit is contained in:
Eliot Berriot 2019-01-14 17:11:24 +01:00
commit 6aaa51e8e7
No known key found for this signature in database
GPG key ID: DD6965E2476E5C27
5 changed files with 56 additions and 1 deletions

View file

@ -52,6 +52,25 @@ Funkwhale will successfully extract licensing data for the following licenses:
Support for other licenses such as Art Libre or WTFPL will be added in future releases.
Delete pre 0.17 federated tracks [manual action suggested]
----------------------------------------------------------
If you were using Funkwhale before the 0.17 release and federated with other instances,
it's possible that you still have some unplayable federated files in the database.
To purge the database of those entries, you can run the following command:
On docker setups::
docker-compose run --rm api python manage.py script delete_pre_017_federated_uploads --no-input
On non-docker setups::
python manage.py script delete_pre_017_federated_uploads --no-input
Enable gzip compression [manual action suggested]
-------------------------------------------------