YunoHost-Apps / pixelfed_ynh

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

Fix php conf & image permissions #238

Closed lapineige closed 10 months ago

lapineige commented 10 months ago

223

PHP config was not done correctly, using extra_php.conf group wasn't overwriten correctly.

PR Status

Automatic tests

Automatic tests can be triggered on https://ci-apps-dev.yunohost.org/ after creating the PR, by commenting "!testme", "!gogogadgetoci" or "By the power of systemd, I invoke The Great App CI to test this Pull Request!". (N.B. : for this to work you need to be a member of the Yunohost-Apps organization)

lapineige commented 10 months ago

!testme

yunohost-bot commented 10 months ago

:rocket: Test Badge

lapineige commented 10 months ago

!testme

yunohost-bot commented 10 months ago

Alrighty! Test Badge

lapineige commented 10 months ago

Oh yes, thank you !

lapineige commented 10 months ago

!testme

yunohost-bot commented 10 months ago

Fingers crossed! Test Badge

Jaxom99 commented 10 months ago

Thanks for looking into it so quickly ! So if I read the test right, apart from the php_fpm settings that causes a linter error, all is good ? I can test on my setup anytime (just remind me how to switch branches to install this one ?)

lapineige commented 10 months ago

In my case, for an unknown reason this breaks image preview on upload. Don't test it now, it won't work :)

lapineige commented 10 months ago

(just remind me how to switch branches to install this one ?)

yunohost app upgrade pixelfed -u https://github.com/YunoHost-Apps/pixelfed_ynh/tree/fix_php_conf_image-permissions

lapineige commented 10 months ago

I was mistaken, it should work. You may try it :wink:

lapineige commented 10 months ago

!testme

yunohost-bot commented 10 months ago

Meow :cat2: Test Badge

lapineige commented 10 months ago

I reverted to normal extra_php.conf, as the new option implemented by @alexAubin makes it way easier and cleaner to set the group for php workers. This should solve the issue for good.

lapineige commented 10 months ago

Thanks @alexAubin

lapineige commented 10 months ago

Here we go !

Jaxom99 commented 10 months ago

wouhou, seems good for testing branch :wink: old posts fixed and new posts are ok. :+1: :1st_place_medal: :clap:

lapineige commented 10 months ago

Everything is back to normal, at last :)