mysql server 8.0 (docker, other server, direct link)
Problem:
After install I go to admin page, go to settings or any page. Later piwigo and other sites response - 504 gateway.
After restart php8.3-fpm for a while all sites open normaly.
I added into config file php8.3-fpm - www.conf degub strings and this from log file:
and restart php8.3-fm - all sites work correctly, without 504. But I can't install plugins and check new version.
However, in WEBUI admin settings I don't find how to disable:
check update
disable connect to piwigo sites.
use proxy server
Expected behavior:
If Piwigo cannot reach piwigo.org or extension servers, the request should fail quickly and display an error message.
The gallery itself should continue working normally.
Actual behavior:
Several PHP-FPM workers remain blocked inside fetchRemote(), which eventually causes 504 Gateway Timeout errors for Piwigo and other websites using the same PHP-FPM pool.
Hello.
Sorry for my bad English.
Piwigo 16.4.0 - new install
Environment:
- Ubuntu Server 26.04
- nginx + php8.3-fpm
- mysql server 8.0 (docker, other server, direct link)
Problem:
After install I go to admin page, go to settings or any page. Later piwigo and other sites response - 504 gateway.
After restart php8.3-fpm for a while all sites open normaly.
I added into config file php8.3-fpm - www.conf degub strings and this from log file:
<details>
<summary>SLOWLOG</summary>
```
[01-Sep-2026 16:02:39] [pool www] pid 31142
script_filename = /var/www/piwigo/admin.php
[0x000075393f413870] curl_exec() /var/www/piwigo/admin/include/functions.php:2504
[0x000075393f413670] fetchRemote() /var/www/piwigo/admin/include/updates.class.php:334
[0x000075393f4134c0] get_server_extensions() /var/www/piwigo/admin/updates_ext.php:30
[0x000075393f413340] [INCLUDE_OR_EVAL]() /var/www/piwigo/admin/plugins.php:29
[0x000075393f413280] [INCLUDE_OR_EVAL]() /var/www/piwigo/admin.php:407
[01-Sep-2026 16:03:19] [pool www] pid 31287
script_filename = /var/www/piwigo/index.php
[0x000075393f413970] curl_exec() /var/www/piwigo/admin/include/functions.php:2504
[0x000075393f413770] fetchRemote() /var/www/piwigo/include/functions.inc.php:2633
[0x000075393f4133a0] send_piwigo_infos() /var/www/piwigo/include/page_tail.php:58
[0x000075393f413280] [INCLUDE_OR_EVAL]() /var/www/piwigo/index.php:442
[01-Sep-2026 16:05:36] [pool www] pid 31939
script_filename = /var/www/piwigo/index.php
[0x000075393f413970] curl_exec() /var/www/piwigo/admin/include/functions.php:2504
[0x000075393f413770] fetchRemote() /var/www/piwigo/include/functions.inc.php:2633
[0x000075393f4133a0] send_piwigo_infos() /var/www/piwigo/include/page_tail.php:58
[0x000075393f413280] [INCLUDE_OR_EVAL]() /var/www/piwigo/index.php:442
[01-Sep-2026 16:25:36] [pool www] pid 32526
script_filename = /var/www/piwigo/admin.php
[0x000075393f4143e0] curl_exec() /var/www/piwigo/admin/include/functions.php:2506
[0x000075393f413670] fetchRemote() /var/www/piwigo/admin/include/updates.class.php:334
[0x000075393f4134c0] get_server_extensions() /var/www/piwigo/admin/updates_ext.php:30
[0x000075393f413340] [INCLUDE_OR_EVAL]() /var/www/piwigo/admin/plugins.php:29
[0x000075393f413280] [INCLUDE_OR_EVAL]() /var/www/piwigo/admin.php:407
[01-Sep-2026 16:25:40] [pool www] pid 33369
script_filename = /var/www/piwigo/admin.php
[0x000075393f4143e0] curl_exec() /var/www/piwigo/admin/include/functions.php:2506
[0x000075393f413670] fetchRemote() /var/www/piwigo/admin/include/updates.class.php:334
[0x000075393f4134c0] get_server_extensions() /var/www/piwigo/admin/updates_ext.php:30
[0x000075393f413340] [INCLUDE_OR_EVAL]() /var/www/piwigo/admin/plugins.php:29
[0x000075393f413280] [INCLUDE_OR_EVAL]() /var/www/piwigo/admin.php:407
tail -50 /var/log/php8.3-fpm-slow.log
[0x000071dbe1a134b0] [INCLUDE_OR_EVAL]() /var/www/piwigo/admin/plugins.php:29
[0x000071dbe1a13280] [INCLUDE_OR_EVAL]() /var/www/piwigo/admin.php:407
[01-Sep-2026 16:39:30] [pool www] pid 45152
script_filename = /var/www/piwigo/admin.php
[0x0000754d06e13820] curl_exec() /var/www/piwigo/admin/include/functions.php:2506
[0x0000754d06e13640] fetchRemote() /var/www/piwigo/admin/include/plugins.class.php:538
[0x0000754d06e13500] get_server_plugins() /var/www/piwigo/admin/plugins_new.php:113
[0x0000754d06e13340] [INCLUDE_OR_EVAL]() /var/www/piwigo/admin/plugins.php:34
[0x0000754d06e13280] [INCLUDE_OR_EVAL]() /var/www/piwigo/admin.php:407
[01-Sep-2026 16:43:10] [pool www] pid 45153
script_filename = /var/www/piwigo/ws.php
[0x0000754d06e14db0] curl_exec() /var/www/piwigo/admin/include/functions.php:2506
[0x0000754d06e14bd0] fetchRemote() /var/www/piwigo/admin/include/functions.php:2600
[0x0000754d06e149f0] fetchRemote() /var/www/piwigo/admin/include/updates.class.php:334
[0x0000754d06e143d0] get_server_extensions() /var/www/piwigo/admin/include/updates.class.php:379
[0x0000754d06e14000] check_extensions() /var/www/piwigo/include/ws_functions/pwg.extensions.php:344
[0x0000754d06e13d60] ws_extensions_checkupdates() /var/www/piwigo/include/ws_core.inc.php:605
[0x0000754d06e13600] invoke() /var/www/piwigo/include/ws_protocols/rest_handler.php:41
[0x0000754d06e133a0] handleRequest() /var/www/piwigo/include/ws_core.inc.php:281
[0x0000754d06e13170] run() /var/www/piwigo/ws.php:22
[01-Sep-2026 16:43:27] [pool www] pid 46346
script_filename = /var/www/piwigo/ws.php
[0x0000754d06e14bd0] curl_exec() /var/www/piwigo/admin/include/functions.php:2506
[0x0000754d06e149f0] fetchRemote() /var/www/piwigo/admin/include/updates.class.php:334
[0x0000754d06e143d0] get_server_extensions() /var/www/piwigo/admin/include/updates.class.php:379
[0x0000754d06e14000] check_extensions() /var/www/piwigo/include/ws_functions/pwg.extensions.php:344
[0x0000754d06e13d60] ws_extensions_checkupdates() /var/www/piwigo/include/ws_core.inc.php:605
[0x0000754d06e13600] invoke() /var/www/piwigo/include/ws_protocols/rest_handler.php:41
[0x0000754d06e133a0] handleRequest() /var/www/piwigo/include/ws_core.inc.php:281
[0x0000754d06e13170] run() /var/www/piwigo/ws.php:22
[01-Sep-2026 16:43:44] [pool www] pid 45152
script_filename = /var/www/piwigo/admin.php
[0x0000754d06e14340] curl_exec() /var/www/piwigo/admin/include/functions.php:2506
[0x0000754d06e14160] fetchRemote() /var/www/piwigo/admin/include/functions.php:2600
[0x0000754d06e13f80] fetchRemote() /var/www/piwigo/admin/include/plugins.class.php:591
[0x0000754d06e13e30] get_incompatible_plugins() /var/www/piwigo/admin/plugins_installed.php:50
[0x0000754d06e13280] [INCLUDE_OR_EVAL]() /var/www/piwigo/admin.php:407
[01-Sep-2026 16:45:37] [pool www] pid 47848
script_filename = /var/www/piwigo/admin.php
[0x0000754d06e14570] curl_exec() /var/www/piwigo/admin/include/functions.php:2506
[0x0000754d06e14390] fetchRemote() /var/www/piwigo/admin/include/functions.php:2600
[0x0000754d06e141b0] fetchRemote() /var/www/piwigo/admin/include/updates.class.php:334
[0x0000754d06e13b90] get_server_extensions() /var/www/piwigo/admin/updates_ext.php:30
[0x0000754d06e134a0] [INCLUDE_OR_EVAL]() /var/www/piwigo/admin/updates.php:33
[0x0000754d06e13280] [INCLUDE_OR_EVAL]() /var/www/piwigo/admin.php:407
```
</details>
When I changed to /etc/php/8.3/fpm/php.ini
```
allow_url_fopen = Off
```
and restart php8.3-fm - all sites work correctly, without 504. But I can't install plugins and check new version.
However, in WEBUI admin settings I don't find how to disable:
- check update
- disable connect to piwigo sites.
- use proxy server
Expected behavior:
If Piwigo cannot reach piwigo.org or extension servers, the request should fail quickly and display an error message.
The gallery itself should continue working normally.
Actual behavior:
Several PHP-FPM workers remain blocked inside fetchRemote(), which eventually causes 504 Gateway Timeout errors for Piwigo and other websites using the same PHP-FPM pool.
<!-- github-sync-id:5312931023 -->
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Hello.
Sorry for my bad English.
Piwigo 16.4.0 - new install
Environment:
Problem:
After install I go to admin page, go to settings or any page. Later piwigo and other sites response - 504 gateway.
After restart php8.3-fpm for a while all sites open normaly.
I added into config file php8.3-fpm - www.conf degub strings and this from log file:
SLOWLOG
When I changed to /etc/php/8.3/fpm/php.ini
and restart php8.3-fm - all sites work correctly, without 504. But I can't install plugins and check new version.
However, in WEBUI admin settings I don't find how to disable:
Expected behavior:
If Piwigo cannot reach piwigo.org or extension servers, the request should fail quickly and display an error message.
The gallery itself should continue working normally.
Actual behavior:
Several PHP-FPM workers remain blocked inside fetchRemote(), which eventually causes 504 Gateway Timeout errors for Piwigo and other websites using the same PHP-FPM pool.
Looks like this should be merged with #2563.