J’ai fait une désinstallation puis une réinstallation et l’erreur est toujours la même. https://paste.yunohost.org/raw/ihaceqadoz
The route lychee/api/v2/Gallery::Init could not be found.
The route lychee/lychee could not be found.
On dirait que le répertoire de destination est doublé. Mon application est installée dans /var/www/lychee. Il ne devrait y avoir que la route lychee, pas lychee/lychee.
Rencontrez vous la même chose? Même sur une fraiche installation?
Yes I can reproduce it. I’m working on it.
Do you have your lychee installed in a dedicated domain or a path? (lychee devs do not recommend it and do not support it)
my /etc/nginx/conf.d/maindomain.tld.d/lychee.conf looks like this:
rewrite ^/lychee$ /lychee/ permanent;
location ^~ /lychee/ {
# Path to source
alias /var/www/lychee/public/;
index index.php;
# Common parameter to increase upload size limit in conjunction with dedicated php-fpm file
client_max_body_size 1G;
# If the request is not for a valid file (image, js, css, etc.), send to bootstrap
if (!-e $request_filename)
{
rewrite ^/(.*)$ /index.php?/$1 last;
break;
}
try_files $uri $uri/ /lychee/lychee/index.php?$query_string;
location ~ \.php$ {
if (!-e $request_filename) {
rewrite ^/lychee/?(.*)$ /lychee/index.php?/$1 last;
break;
}
fastcgi_pass unix:/var/run/php/php8.3-fpm-lychee.sock;
fastcgi_index index.php;
include fastcgi_params;
fastcgi_param PATH_INFO $fastcgi_path_info;
fastcgi_param SCRIPT_FILENAME $request_filename;
}
location /lychee/uploads/ {
alias /home/yunohost.app/lychee/uploads/;
}
# Include SSOWAT user panel.
include conf.d/yunohost_panel.conf.inc;
}
And my /etc/php/8.3/fpm/pool.d/lychee.conf file is like this:
[lychee]
user = lychee
group = lychee
chdir = /var/www/lychee
listen = /var/run/php/php8.3-fpm-lychee.sock
listen.owner = www-data
listen.group = www-data
pm = ondemand
pm.max_children = 8
pm.max_requests = 500
request_terminate_timeout = 1d
pm.process_idle_timeout = 10s
php_admin_value[upload_max_filesize] = 1G
php_admin_value[post_max_size] = 1G
php_admin_value[memory_limit] = 128M
; Additional php.ini defines, specific to this pool of workers.
php_admin_value[max_execution_time] = 200
php_admin_value[upload_max_filesize] = 1G
php_admin_value[memory_limit] = 1G
php_admin_value[post_max_size] = 1G
Yeah, I’ll get in touch with the devs to understand what has been added in the last release. By the way, php devs love php logs, if you could provide one.