Hello,
Piwigo app on my phone connects to the server fine. When I select some pictures on the phone and select Upload Photos, it looks like uploading is OK. Progress bars extends to the end of the line. Then, it waits about 1min, then the phone gives me a Warning: "some of your photos could not be uploaded".
However, after some time like 5min, the picture appears on the server in the selected album.
What is wrong with my setup?
By the way, Piwigo is running in a docker image (linuxserver) and using a subdomain reverse proxy to access piwigo.
Thank you.
Environment
Piwigo 14.2.0 Check for upgrade
Installed on 18 November 2023, 3 months 1 week 3 days ago
Operating system: Linux
PHP: 8.3.3 (Show info) [2024-02-28 16:10:46]
MySQL: 10.11.5-MariaDB-log [2024-02-28 16:10:46]
Graphics Library: ImageMagick 7.1.1-26
Cache size 7.05 Mo calculated 3 months ago Refresh
Activated plugin list 0
No plugin activated
Piwigo URL: https://piwigo.onartstructures.com
Offline
Sounds like [Forum, topic 33472] Delay between uploading photos and appearing in Gallery the lounge system.
Offline
erAck wrote:
Sounds like [Forum, topic 33472] Delay between uploading photos and appearing in Gallery the lounge system.
Thank you. It works.
But do I have to invoke this API call on the server every time I upload picture from my phone?
Offline
If you don't want to wait for the timeout then yes.
Offline
OK. Thank you.
Is there a way to disable it on the server?
Offline
If you have a "not so large gallery" (< 100k photos) you could try to set the threshold from which the lounge is used to a lower value, e.g. if you have much less than 50k photos then add this to your local config (using LocalFiles Editor):
$conf['lounge_activate_threshold'] = 50000;
Offline
It works.
The only problem is that Android app taints all uploads as error. But, for me it is minor issue as uploads are OK.
Thank you very much.
Offline