From 474f85673de44fb8bb3d94b90d20c04d54548250 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?E=CC=81ric=20Gaspar?= <46165813+ericgaspar@users.noreply.github.com> Date: Tue, 14 Nov 2023 12:54:21 +0100 Subject: [PATCH 1/3] fix --- scripts/restore | 2 +- scripts/upgrade | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/restore b/scripts/restore index 3f39656..a8fc593 100644 --- a/scripts/restore +++ b/scripts/restore @@ -113,7 +113,7 @@ yunohost service add $app --description="Wekan daemon" #================================================= ynh_script_progression --message="Starting a systemd service..." -ynh_systemd_action --service_name=$app --action="start" --log_path=systemd --line_match="Started Wekan, task board" +ynh_systemd_action --service_name=$app --action="start" --log_path=systemd --line_match="Enabling LDAP Background Sync" if [ ${PACKAGE_CHECK_EXEC:-0} -eq 1 ]; then sleep 60 diff --git a/scripts/upgrade b/scripts/upgrade index add98db..8849759 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -159,7 +159,7 @@ yunohost service add $app --description="Wekan daemon" #================================================= ynh_script_progression --message="Starting a systemd service..." -ynh_systemd_action --service_name=$app --action="start" --log_path=systemd --line_match="Started Wekan, task board" +ynh_systemd_action --service_name=$app --action="start" --log_path=systemd --line_match="Enabling LDAP Background Sync" if [ ${PACKAGE_CHECK_EXEC:-0} -eq 1 ]; then sleep 60 From e7fe36b20a29967eaeb9b675aec2697474acbe5e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?E=CC=81ric=20Gaspar?= <46165813+ericgaspar@users.noreply.github.com> Date: Tue, 14 Nov 2023 13:30:21 +0100 Subject: [PATCH 2/3] Update manifest.json --- manifest.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/manifest.json b/manifest.json index 656bc19..c78cd9d 100644 --- a/manifest.json +++ b/manifest.json @@ -30,7 +30,7 @@ } ], "requirements": { - "yunohost": ">= 4.3.0" + "yunohost": ">= 11.2" }, "multi_instance": true, "services": [ From 05b76653141eea11a05ebd612c9e7a24406ac2e8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?E=CC=81ric=20Gaspar?= <46165813+ericgaspar@users.noreply.github.com> Date: Tue, 14 Nov 2023 13:30:57 +0100 Subject: [PATCH 3/3] Update nginx.conf --- conf/nginx.conf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/conf/nginx.conf b/conf/nginx.conf index c1530ef..2c96600 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -1,8 +1,6 @@ #sub_path_only rewrite ^__PATH__$ __PATH__/ permanent; location __PATH__/ { - client_max_body_size 100M; - proxy_pass http://127.0.0.1:__PORT__; proxy_http_version 1.1; proxy_set_header Upgrade $http_upgrade; @@ -11,6 +9,8 @@ location __PATH__/ { # preserve client IP proxy_set_header X-Forwarded-For $remote_addr; + client_max_body_size 100M; + # Include SSOWAT user panel. #include conf.d/yunohost_panel.conf.inc; }