In a docker environment, changing an option in the 'menu management' of Advanced menu manager gives no response when applying
It seems that folders are not correctly mapped between piwigo and AMM : file '/config/www/include/common.inc.php' not found
errors in nginx log:
2025/04/01 14:06:23 [error] 321#321: *13 FastCGI sent in stderr: "PHP message: PHP Warning: include_once(/config/www/include/common.inc.php): Failed to open stream: No such file or directory in /config/www/plugins/AMenuManager/amm_ajax.php on line 32; PHP message: PHP Warning: include_once(): Failed opening '/config/www/include/common.inc.php' for inclusion (include_path='.:/usr/share/php83') in /config/www/plugins/AMenuManager/amm_ajax.php on line 32; PHP message: PHP Fatal error: Uncaught Error: Undefined constant "PHPWG_PLUGINS_PATH" in /config/www/plugins/AMenuManager/amm_ajax.php:33
Stack trace:
#0 {main}
thrown in /config/www/plugins/AMenuManager/amm_ajax.php on line 33" while reading response header from upstream, client: 172.19.0.1, server: _, request: "POST /plugins/AMenuManager/amm_ajax.php HTTP/1.1", upstream: "fastcgi://127.0.0.1:9000", host: "xxxx.fr:8090", referrer: "http://xxxx.fr:8090/admin.php?page=plugin-AMenuManager"
docker copose.yaml:
services:
piwigo1:
image: lscr.io/linuxserver/piwigo:latest
container_name: piwigo-piwigo1
restart: unless-stopped
hostname: piwigo1
environment:
# - PMA_HOST=db
- PUID=1031
- PGID=100
- TZ=Europe/Paris
volumes:
- /volume1/docker/piwigo/piwigo1/config:/config
- /volume1/docker/piwigo/piwigo1/gallery:/gallery
ports:
- 8085:80
- 8086:443
Environnement
Piwigo 15.4.0 [Dernière version ?
Installé le 20 Février 2025, il y a 1 mois 1 semaine 4 jours
Système d'exploitation: Linux
PHP: 8.3.15 ([Montrer les informations]
MySQL: 11.4.4-MariaDB-log [2025-04-04 07:13:27]
Bibliothèque graphique: ImageMagick ImageMagick 7.1.1-32
Taille du cache 36.58 Mo calculé il y a 1 mois Rafraîchir
In a docker environment, changing an option in the 'menu management' of Advanced menu manager gives no response when applying
It seems that folders are not correctly mapped between piwigo and AMM : file '/config/www/include/common.inc.php' not found
errors in nginx log:
2025/04/01 14:06:23 [error] 321#321: *13 FastCGI sent in stderr: "PHP message: PHP Warning: include_once(/config/www/include/common.inc.php): Failed to open stream: No such file or directory in /config/www/plugins/AMenuManager/amm_ajax.php on line 32; PHP message: PHP Warning: include_once(): Failed opening '/config/www/include/common.inc.php' for inclusion (include_path='.:/usr/share/php83') in /config/www/plugins/AMenuManager/amm_ajax.php on line 32; PHP message: PHP Fatal error: Uncaught Error: Undefined constant "PHPWG_PLUGINS_PATH" in /config/www/plugins/AMenuManager/amm_ajax.php:33
Stack trace:
#0 {main}
thrown in /config/www/plugins/AMenuManager/amm_ajax.php on line 33" while reading response header from upstream, client: 172.19.0.1, server: _, request: "POST /plugins/AMenuManager/amm_ajax.php HTTP/1.1", upstream: "fastcgi://127.0.0.1:9000", host: "xxxx.fr:8090", referrer: "http://xxxx.fr:8090/admin.php?page=plugin-AMenuManager"
docker copose.yaml:
services:
piwigo1:
image: lscr.io/linuxserver/piwigo:latest
container_name: piwigo-piwigo1
restart: unless-stopped
hostname: piwigo1
environment:
# - PMA_HOST=db
- PUID=1031
- PGID=100
- TZ=Europe/Paris
volumes:
- /volume1/docker/piwigo/piwigo1/config:/config
- /volume1/docker/piwigo/piwigo1/gallery:/gallery
ports:
- 8085:80
- 8086:443
Environnement
Piwigo 15.4.0 [Dernière version ?
Installé le 20 Février 2025, il y a 1 mois 1 semaine 4 jours
Système d'exploitation: Linux
PHP: 8.3.15 ([Montrer les informations]
MySQL: 11.4.4-MariaDB-log [2025-04-04 07:13:27]
Bibliothèque graphique: ImageMagick ImageMagick 7.1.1-32
Taille du cache 36.58 Mo calculé il y a 1 mois Rafraîchir