diff --git a/changes/changelog.d/389.bugfix b/changes/changelog.d/389.bugfix new file mode 100644 index 0000000000000000000000000000000000000000..6cfb3ca39e94143459f971a64eb065f48a41c6ec --- /dev/null +++ b/changes/changelog.d/389.bugfix @@ -0,0 +1,19 @@ +Fix Apache2 permission issue preventing `/media` folder from being served correctly (#389) + + +Fix Apache2 configuration file for media block [Manual action required] +^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + +The permission scope on the current Apache2 configuration file is too narrow, preventing thumbnails from being served. + +On Apache2 setups, you have to replace the following line:: + + <Directory /srv/funkwhale/data/media/albums> + +with:: + + <Directory /srv/funkwhale/data/media> + +You can now restart your server:: + + sudo systemctl restart apache2 diff --git a/deploy/apache.conf b/deploy/apache.conf index b74e04b33387a265b730d7d58a315ca4b95079b0..e3a570db00444393076bb0580dc0469259079bb1 100644 --- a/deploy/apache.conf +++ b/deploy/apache.conf @@ -111,7 +111,7 @@ Define MUSIC_DIRECTORY_PATH /srv/funkwhale/data/music Require all granted </Directory> - <Directory /srv/funkwhale/data/media/albums> + <Directory /srv/funkwhale/data/media> Options FollowSymLinks AllowOverride None Require all granted