Sunday, April 27, 2025
support@conference.yunohost.org
April
Mon Tue Wed Thu Fri Sat Sun
  1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
       
             

[09:29:34] <Tagada> > <@crou:matrix.org> Hello,
> I have my_webapp version 1.0~ynh20 installed on YunoHost 12.0.14.
> I have installed a Piwigo webapp in this "my_webapp" space.
> But I can't upload pictures recently because (I think) I have a php limit to upload files. Files less than 1Mio can be uploaded, but the ones above 1Mio fail.
> Could you tell me how to increase the php limit on my_webapp ?
> Thanks ☺️

You can set `client_max_body_size` in a new file under `/etc/nginx/conf.d/domain.d/my_webapp.d/`
[10:39:23] <Salamandar> humm there was a CORS issue, dunno exactly why, but it is fixed now.
[10:56:55] <rimmit> yes...sorry for being not very precise...now its back in the docs. :-)
[10:57:02] <Salamandar> :D
[10:57:04] <Salamandar> no worries
[10:57:40] <Salamandar> i thought at first it was due to changes from my part, but now i'm not so sure… it was some javascript shenanigans that I didn't touch
[10:59:06] <rimmit> yeah, i saw a message like "you need to enable java script to see the full page". sounds plausible now...
[16:31:15] <rimmit> https://aria.im/_bifrost/v1/media/download/AYAeDCwuHYuy4Wj6GCGZO44g2YAIlDJrsy6L4OS2jRfsCgt1EloP0ywGHrD8afZr-97b812inX87d6WOV2QAFPxCeWfT0OEgAG1hdHJpeC5vcmcvd1lRWVdiT0ZNdmtmUUlxTm9oaHRrQ1Nl
[16:31:32] <rimmit> I have trouble after flashing the sd card....the postinstall via ssh shows me that its not possible to download the app catalog.
[16:34:07] <Aleks (he/him/il/lui)> tyeah hmpf that's fixed in newer version, consider running apt update && apt dist-upgrade before the postinstall idk
[16:45:37] <rimmit> https://aria.im/_bifrost/v1/media/download/AUYhAGFF_Clc6ZSP81w1hljAoyqK6be_ueXXwX22ZBwbApQvF368dwRfQbrhP5H1DGTwOxVkIQmDsDP7ZNNlfFRCeWfUo1FwAG1hdHJpeC5vcmcvQ0hGelhZb2hvbmx2WGhMV2lZeGhXYkV4
[16:45:51] <rimmit> looks like there is something wring with the mirrors....update is not possible with apt update(...). :-/
[16:53:11] <Crou2> > <@tag:lostpod.me> You can set `client_max_body_size` in a new file under `/etc/nginx/conf.d/domain.d/my_webapp.d/`

Thank you [@tag:lostpod.me](https://matrix.to/#/@tag:lostpod.me) for your advice.
Should I put a specific value for this new field?
I will test tonight 🙂
[16:55:43] <Tagada> Something like 20M
[20:06:04] <Crou2> under `/etc/nginx/conf.d/domain.d/my_webapp.d/`, in the already existing `php.conf` file
I added:
``http {
...
client_max_body_size 20M;
...
}``
Then I reboot my server (to make sure all change have been taken into account).
And nginx was not working anymore.
I was only able to connect to my server through ssh.
I removed to modification and retarted. Everything is back. But problem not solved.
Should I create a new file? In that case, have I to give it a specific name?
[21:14:42] <pti-jean> Y a un problème en ce moment pour faire la mise à jour vers Nextcloud 31.0.4~ynh2 ?
[21:18:06] <cippr> pti-jean: Bonsoir,
Oui, l'URL de chez Nextcloud pour récupérer l'application est HS.
[21:18:41] <pti-jean> Ha ok... donc pas de maj!
[21:19:56] <cippr> pti-jean: et non ... il faut attendre que ça soit "up again" ...
https://forum.yunohost.org/t/error-updating-nextcloud-30-0-8-ynh1-31-0-4-ynh2-failed-to-download-asset-main-https-download-nextcloud-com-server-releases-nextcloud-31-0-4-tar-bz2/36678/2
[21:20:44] <pti-jean> 👍
[21:21:10] <orhtej2> Upstream seems down: https://download.nextcloud.com/server/releases/