Hi,
I'm on Piwigo 16.3.0 and have a number of large diectories of photos to import.
Is it possible to get the original CLI that we had in older versions to get around the browsers timeouts
Piwigo 16.3.0 Check for upgrade
Installed on 22 January 2026, 2 months 4 weeks 1 day ago
Operating system: Linux
PHP: 8.3.30 (Show info) [2026-04-20 19:39:44]
MySQL: 8.0.45-0ubuntu0.24.04.1 [2026-04-20 15:39:44]
Graphics Library: External ImageMagick 6.9.12-98
Cache size N/A never calculated Refresh
Additional Pages
Exif View
Exiftool GPS
Exiftool Keywords
LocalFiles Editor
Personal Favicon
VideoJS
Piwigo URL: https://photos.marcrjacobs.com
Offline
Is that a server-side CLI or something you ran on your local machine to upload?
Offline
Hi;
No, there used to be a CLI that was included with Piwigo distros. If you had access to the server, you could use the CLI in import photos into Piwigo, instead of Sync. The advantage was the large folders would not time out, like the web interface does. I loved it, but it's no longer included and none of the DEVs have responded yet.
Offline
That does sound useful!
Offline
Hi,
If you talk about pLoader, it has been obsolete for a very long time.
You can take a look to [extension by mhelleboid] Piwigo Remote Sync
Last edited by polowigo (2026-04-23 07:29:15)
Offline
No, I was actually referring to /admin/cli.php. It was a wondeful tool and I have no idea why it's no longer available, nor why anyone involved won't respond.
In my case, I have my own server, and I upload direct from Lightroom Classic folders to Piwigo's galleries folder, then run Sync to bring them in. It works great unless there are too many photos and the then one of two things happen. Either the browser times out, or PHP leaks enough memory that it can no longer function. Then, I just hit it with a bug hammer:
sudo systemctl restart php8.3-fpm
and I'm, good to go again.
The CLI eliminated browser time outs, so 505 of the problems go away.
Oh, and as to Piwigo Remote Sync... My problem isn't getting files up to Piwigo. My Lightroom Classic and web server are on the same LAN. Plus, it doesn't look like this is being maintained anymore, not sure.
Last edited by MarcRJacobs (2026-04-23 17:21:37)
Offline
MarcRJacobs wrote:
No, I was actually referring to /admin/cli.php.
In which version of Piwigo?
And in which way browser time out is involded in synchro?
I can see this script: tools/piwigo_upload.pl. I don't know if it is suitable.
Last edited by polowigo (2026-04-24 07:41:37)
Offline
MarcRJacobs wrote:
No, I was actually referring to /admin/cli.php. It was a wondeful tool and I have no idea why it's no longer available, nor why anyone involved won't respond.
Which AI chatbot did you use to get this information? :-D admin/cli.php never existed. Ever.
There is no CLI in Piwigo. It "may" be a good idea to have a CLI. For the synchronization and maybe for other actions (such as release update, but certainly for many other actions).
tools/piwigo_upload.pl or tools/piwigo_remote.pl are nice and can be run in command line BUT they rely on Piwigo API requested through HTTP. So if you have a PHP timeout due to limitation on php-fpm or nginx/apache, these tools have no "extra power" over using the web interface.
A true CLI tool would directly call Piwigo PHP functions, without requesting its API.
Offline
Hi;
So sorry for the misunderstanding, and you are correct, it was an AI engine, 2 in fact. ChatGPT was the main one and I validated with a second but I can't swear I remember which now. I think it was Gemini.
Anyway, it seems to be a tool that no one is interested in but me, so....
Any for me, it's just because I'm leaving LrC and exporting nearly 400 albums and 149,000+ photos and videos. The good news i sthat I only have to do it once.
Then, I'm maintain my collection internally and Piwigo is for my family.
BTW, my extended family, spanning nearly 20 countries, absolutely love Piwigo.
Thanks for the reply, and again, sorry for the misunderstanding.
Marc
Offline