brianrlawson there are 2 things going on here.
The 413 error is happening because our installer wasn't setting some necessary parameters in the backend nginx config. The installer has been updated, but to correct this on an existing installation you'll need to add the following lines to the app's nginx/nginx.conf
, just below the listen
directive in the server
block, then restart the app:
keepalive_timeout 70;
sendfile on;
client_max_body_size 80m;
"500 Error processing thumbnail for uploaded media" is happening because ffmpeg
isn't installed on your server. We hope to have ffmpeg
rolled out on all servers soon but for an immediate workaround you can install a local copy into your app directory with the following commands:
cd ~/apps/name_of_app
wget https://johnvansickle.com/ffmpeg/releases/ffmpeg-release-amd64-static.tar.xz
tar -xf ffmpeg-release-amd64-static.tar.xz
mv ffmpeg-*-amd64-static/{ffmpeg,ffprobe,qt-faststart} ./mastodon/bin/
rm -rf ffmpeg-*
Since you've opened a ticket I've already done this for your app.