pixelfed / support

Issue tracker for installations of Pixelfed, before a bug is identified.
https://docs.pixelfed.org/running-pixelfed/troubleshooting.html
8 stars 3 forks source link

Unable to upload videos: " Oops, something went wrong! An unexpected error occurred." #127

Closed mnowiasz closed 3 years ago

mnowiasz commented 3 years ago

Hi,

I'm trying to setup a Pixelfed instance. After setting the media types correctly I'm able to upload videos.. in a fashion, that is. The upload starts and complets, but then "Oops, something went wrong! An unexpected error occurred."

Is there anyway to debug this? What exactly goes wrong? A missing php dependency, wrong permissions? I've set APP_DEBUG=true but no avail, there's no log, no error (either in apache's log or in fpm), nothing at all.

To be honest, this is quite a general issue I'm struggling with - sporadically (for example, in collections) I get an error message like this which is not really helpful - because I don't see what's wrong with it, no stack trace, no exception, nothing at all. This is a kind of show-stopper for me - I cannot offer a public instance when I'm not able to debug errors :-/

So, is there any hidden configuration item which I haven't found to log such errors?

mnowiasz commented 3 years ago

I found the issue - was a wrong setting in php's conf: 8MB max upload size vs 15MB allowed in Pixelfed. It would be much easier to find such problems if php errors would be logged.