YunoHost-Apps / pixelfed_ynh

The federated image shareing service Pixelfed for YunoHost
https://pixelfed.org/
GNU Affero General Public License v3.0
44 stars 15 forks source link

Photo Upload Error #69

Closed StopTrackingUs closed 5 years ago

StopTrackingUs commented 5 years ago

Just an idea. Is it possible the errors when uploading images are from the fact that there is not a php.ini file that matches the upload limit? When I crop the photo's it works, but I am having issues guessing what exactly is the issue.

StopTrackingUs commented 5 years ago

So from the main irc:

21:54 <@dansup> stealthcommand: that is a server level issue, are you using nginx + php-fpm ? 21:54 <@dansup> By default, Nginx has a limit of 1MB on file uploads. 21:54 <@dansup> in server {} add client_max_body_size 100M; 21:55 <@dansup> the php and nginx post max size should be larger than the default in pixelfed of 15MB https://github.com/pixelfed/pixelfed/blob/dev/config/pixelfed.php#L105

I'm not understanding how the peertube instance has no problem but pixelfed does. Are these settings for pixelfed somewhere else?

StopTrackingUs commented 5 years ago

Error Fixed lol. If anyone needs to know how I updated the php.ini files.