migrated instance: playback works, but cannot view albums, playlists etc (Error 500, relation "tags_tag" does not exist)
I just moved this instance from another server and I probably did something wrong during the migration.
What happens?
Playback works for single tracks, but album art doesn't load. Album/artist/playlist pages doesn't load.
Context
I followed the instructions here, except when importing the db.
The command sudo -u funkwhale pg_restore -d funkwhale db.dump
resulted in "input file appears to be a text format dump", so I imported the database with sudo -u funkwhale psql -d funkwhale -f db.dump
instead.
The front page itself returned 500 until I added FUNKWHALE_SPA_HTML_ROOT=/srv/funkwhale/front/dist/index.html
in the config/.env
.
Funkwhale version(s) affected: 1.0.1
- Browser type and version: Firefox 86 and chromium 87
- Instance configuration: non-docker, LXD, ubuntu20.04LTS, nginx
- playback of albums/playlists etc via subsonic (android app dsub) works without issues
Final output in logs:
Jan 17 16:09:43 funkwhale gunicorn[405]: django.db.utils.ProgrammingError: relation "tags_tag" does not exist
Jan 17 16:09:43 funkwhale gunicorn[405]: LINE 1: ...type_id" = "django_content_type"."id") INNER JOIN "tags_tag"...
- Full output from
journalctl -u funkwhale-*
funkwhale.log - Output in firefox console firefox-console.log
- .env
Any idea what could be wrong? No rush, I can leave my old instance running for the time being :)