Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-10 23:59:07.146193
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/23/53/image_10072025_23_53_01_6659.jpg', 2), ('/home/pi/Desktop/images/10072025/23/52/image_10072025_23_52_02_1821.jpg', 2), ('/home/pi/Desktop/images/10072025/23/51/image_10072025_23_51_01_8267.jpg', 2), ('/home/pi/Desktop/images/10072025/23/50/image_10072025_23_50_01_8446.jpg', 2), ('/home/pi/Desktop/images/10072025/23/49/image_10072025_23_49_01_9276.jpg', 2), ('/home/pi/Desktop/images/10072025/23/48/image_10072025_23_48_01_9189.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/23/53/image_10072025_23_53_01_6659.jpg', '/home/pi/Desktop/images/10072025/23/52/image_10072025_23_52_02_1821.jpg', '/home/pi/Desktop/images/10072025/23/51/image_10072025_23_51_01_8267.jpg', '/home/pi/Desktop/images/10072025/23/50/image_10072025_23_50_01_8446.jpg', '/home/pi/Desktop/images/10072025/23/49/image_10072025_23_49_01_9276.jpg', '/home/pi/Desktop/images/10072025/23/48/image_10072025_23_48_01_9189.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/23/53/image_10072025_23_53_01_6659.jpg
/home/pi/Desktop/images/10072025/23/52/image_10072025_23_52_02_1821.jpg
/home/pi/Desktop/images/10072025/23/51/image_10072025_23_51_01_8267.jpg
/home/pi/Desktop/images/10072025/23/50/image_10072025_23_50_01_8446.jpg
/home/pi/Desktop/images/10072025/23/49/image_10072025_23_49_01_9276.jpg
/home/pi/Desktop/images/10072025/23/48/image_10072025_23_48_01_9189.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.811737060546875 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 00:00:04.854169
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/23/53/image_10072025_23_53_01_6659.jpg', 2), ('/home/pi/Desktop/images/10072025/23/52/image_10072025_23_52_02_1821.jpg', 2), ('/home/pi/Desktop/images/10072025/23/51/image_10072025_23_51_01_8267.jpg', 2), ('/home/pi/Desktop/images/10072025/23/50/image_10072025_23_50_01_8446.jpg', 2), ('/home/pi/Desktop/images/10072025/23/49/image_10072025_23_49_01_9276.jpg', 2), ('/home/pi/Desktop/images/10072025/23/48/image_10072025_23_48_01_9189.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/23/53/image_10072025_23_53_01_6659.jpg', '/home/pi/Desktop/images/10072025/23/52/image_10072025_23_52_02_1821.jpg', '/home/pi/Desktop/images/10072025/23/51/image_10072025_23_51_01_8267.jpg', '/home/pi/Desktop/images/10072025/23/50/image_10072025_23_50_01_8446.jpg', '/home/pi/Desktop/images/10072025/23/49/image_10072025_23_49_01_9276.jpg', '/home/pi/Desktop/images/10072025/23/48/image_10072025_23_48_01_9189.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/23/53/image_10072025_23_53_01_6659.jpg
/home/pi/Desktop/images/10072025/23/52/image_10072025_23_52_02_1821.jpg
/home/pi/Desktop/images/10072025/23/51/image_10072025_23_51_01_8267.jpg
/home/pi/Desktop/images/10072025/23/50/image_10072025_23_50_01_8446.jpg
/home/pi/Desktop/images/10072025/23/49/image_10072025_23_49_01_9276.jpg
/home/pi/Desktop/images/10072025/23/48/image_10072025_23_48_01_9189.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 32.21547842025757 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 00:01:06.108504
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/23/56/image_10072025_23_56_02_2866.jpg', 2), ('/home/pi/Desktop/images/10072025/23/53/image_10072025_23_53_01_6659.jpg', 2), ('/home/pi/Desktop/images/10072025/23/52/image_10072025_23_52_02_1821.jpg', 2), ('/home/pi/Desktop/images/10072025/23/51/image_10072025_23_51_01_8267.jpg', 2), ('/home/pi/Desktop/images/10072025/23/50/image_10072025_23_50_01_8446.jpg', 2), ('/home/pi/Desktop/images/10072025/23/49/image_10072025_23_49_01_9276.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/23/56/image_10072025_23_56_02_2866.jpg', '/home/pi/Desktop/images/10072025/23/53/image_10072025_23_53_01_6659.jpg', '/home/pi/Desktop/images/10072025/23/52/image_10072025_23_52_02_1821.jpg', '/home/pi/Desktop/images/10072025/23/51/image_10072025_23_51_01_8267.jpg', '/home/pi/Desktop/images/10072025/23/50/image_10072025_23_50_01_8446.jpg', '/home/pi/Desktop/images/10072025/23/49/image_10072025_23_49_01_9276.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/23/56/image_10072025_23_56_02_2866.jpg
/home/pi/Desktop/images/10072025/23/53/image_10072025_23_53_01_6659.jpg
/home/pi/Desktop/images/10072025/23/52/image_10072025_23_52_02_1821.jpg
/home/pi/Desktop/images/10072025/23/51/image_10072025_23_51_01_8267.jpg
/home/pi/Desktop/images/10072025/23/50/image_10072025_23_50_01_8446.jpg
/home/pi/Desktop/images/10072025/23/49/image_10072025_23_49_01_9276.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 34.13025617599487 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 00:02:05.534991
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/23/56/image_10072025_23_56_02_2866.jpg', 2), ('/home/pi/Desktop/images/10072025/23/53/image_10072025_23_53_01_6659.jpg', 2), ('/home/pi/Desktop/images/10072025/23/52/image_10072025_23_52_02_1821.jpg', 2), ('/home/pi/Desktop/images/10072025/23/51/image_10072025_23_51_01_8267.jpg', 2), ('/home/pi/Desktop/images/10072025/23/50/image_10072025_23_50_01_8446.jpg', 2), ('/home/pi/Desktop/images/10072025/23/49/image_10072025_23_49_01_9276.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/23/56/image_10072025_23_56_02_2866.jpg', '/home/pi/Desktop/images/10072025/23/53/image_10072025_23_53_01_6659.jpg', '/home/pi/Desktop/images/10072025/23/52/image_10072025_23_52_02_1821.jpg', '/home/pi/Desktop/images/10072025/23/51/image_10072025_23_51_01_8267.jpg', '/home/pi/Desktop/images/10072025/23/50/image_10072025_23_50_01_8446.jpg', '/home/pi/Desktop/images/10072025/23/49/image_10072025_23_49_01_9276.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/23/56/image_10072025_23_56_02_2866.jpg
/home/pi/Desktop/images/10072025/23/53/image_10072025_23_53_01_6659.jpg
/home/pi/Desktop/images/10072025/23/52/image_10072025_23_52_02_1821.jpg
/home/pi/Desktop/images/10072025/23/51/image_10072025_23_51_01_8267.jpg
/home/pi/Desktop/images/10072025/23/50/image_10072025_23_50_01_8446.jpg
/home/pi/Desktop/images/10072025/23/49/image_10072025_23_49_01_9276.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.99609684944153 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 00:03:05.774516
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/23/56/image_10072025_23_56_02_2866.jpg', 2), ('/home/pi/Desktop/images/10072025/23/53/image_10072025_23_53_01_6659.jpg', 2), ('/home/pi/Desktop/images/10072025/23/52/image_10072025_23_52_02_1821.jpg', 2), ('/home/pi/Desktop/images/10072025/23/51/image_10072025_23_51_01_8267.jpg', 2), ('/home/pi/Desktop/images/10072025/23/50/image_10072025_23_50_01_8446.jpg', 2), ('/home/pi/Desktop/images/10072025/23/49/image_10072025_23_49_01_9276.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/23/56/image_10072025_23_56_02_2866.jpg', '/home/pi/Desktop/images/10072025/23/53/image_10072025_23_53_01_6659.jpg', '/home/pi/Desktop/images/10072025/23/52/image_10072025_23_52_02_1821.jpg', '/home/pi/Desktop/images/10072025/23/51/image_10072025_23_51_01_8267.jpg', '/home/pi/Desktop/images/10072025/23/50/image_10072025_23_50_01_8446.jpg', '/home/pi/Desktop/images/10072025/23/49/image_10072025_23_49_01_9276.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/23/56/image_10072025_23_56_02_2866.jpg
/home/pi/Desktop/images/10072025/23/53/image_10072025_23_53_01_6659.jpg
/home/pi/Desktop/images/10072025/23/52/image_10072025_23_52_02_1821.jpg
/home/pi/Desktop/images/10072025/23/51/image_10072025_23_51_01_8267.jpg
/home/pi/Desktop/images/10072025/23/50/image_10072025_23_50_01_8446.jpg
/home/pi/Desktop/images/10072025/23/49/image_10072025_23_49_01_9276.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.94676899909973 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 00:04:06.348492
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/23/56/image_10072025_23_56_02_2866.jpg', 2), ('/home/pi/Desktop/images/10072025/23/53/image_10072025_23_53_01_6659.jpg', 2), ('/home/pi/Desktop/images/10072025/23/52/image_10072025_23_52_02_1821.jpg', 2), ('/home/pi/Desktop/images/10072025/23/51/image_10072025_23_51_01_8267.jpg', 2), ('/home/pi/Desktop/images/10072025/23/50/image_10072025_23_50_01_8446.jpg', 2), ('/home/pi/Desktop/images/10072025/23/49/image_10072025_23_49_01_9276.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/23/56/image_10072025_23_56_02_2866.jpg', '/home/pi/Desktop/images/10072025/23/53/image_10072025_23_53_01_6659.jpg', '/home/pi/Desktop/images/10072025/23/52/image_10072025_23_52_02_1821.jpg', '/home/pi/Desktop/images/10072025/23/51/image_10072025_23_51_01_8267.jpg', '/home/pi/Desktop/images/10072025/23/50/image_10072025_23_50_01_8446.jpg', '/home/pi/Desktop/images/10072025/23/49/image_10072025_23_49_01_9276.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/23/56/image_10072025_23_56_02_2866.jpg
/home/pi/Desktop/images/10072025/23/53/image_10072025_23_53_01_6659.jpg
/home/pi/Desktop/images/10072025/23/52/image_10072025_23_52_02_1821.jpg
/home/pi/Desktop/images/10072025/23/51/image_10072025_23_51_01_8267.jpg
/home/pi/Desktop/images/10072025/23/50/image_10072025_23_50_01_8446.jpg
/home/pi/Desktop/images/10072025/23/49/image_10072025_23_49_01_9276.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 35.540607929229736 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 00:05:05.537817
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/23/56/image_10072025_23_56_02_2866.jpg', 2), ('/home/pi/Desktop/images/10072025/23/53/image_10072025_23_53_01_6659.jpg', 2), ('/home/pi/Desktop/images/10072025/23/52/image_10072025_23_52_02_1821.jpg', 2), ('/home/pi/Desktop/images/10072025/23/51/image_10072025_23_51_01_8267.jpg', 2), ('/home/pi/Desktop/images/10072025/23/50/image_10072025_23_50_01_8446.jpg', 2), ('/home/pi/Desktop/images/10072025/23/49/image_10072025_23_49_01_9276.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/23/56/image_10072025_23_56_02_2866.jpg', '/home/pi/Desktop/images/10072025/23/53/image_10072025_23_53_01_6659.jpg', '/home/pi/Desktop/images/10072025/23/52/image_10072025_23_52_02_1821.jpg', '/home/pi/Desktop/images/10072025/23/51/image_10072025_23_51_01_8267.jpg', '/home/pi/Desktop/images/10072025/23/50/image_10072025_23_50_01_8446.jpg', '/home/pi/Desktop/images/10072025/23/49/image_10072025_23_49_01_9276.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/23/56/image_10072025_23_56_02_2866.jpg
/home/pi/Desktop/images/10072025/23/53/image_10072025_23_53_01_6659.jpg
/home/pi/Desktop/images/10072025/23/52/image_10072025_23_52_02_1821.jpg
/home/pi/Desktop/images/10072025/23/51/image_10072025_23_51_01_8267.jpg
/home/pi/Desktop/images/10072025/23/50/image_10072025_23_50_01_8446.jpg
/home/pi/Desktop/images/10072025/23/49/image_10072025_23_49_01_9276.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 34.489614725112915 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 00:06:05.139617
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/23/56/image_10072025_23_56_02_2866.jpg', 2), ('/home/pi/Desktop/images/10072025/23/53/image_10072025_23_53_01_6659.jpg', 2), ('/home/pi/Desktop/images/10072025/23/52/image_10072025_23_52_02_1821.jpg', 2), ('/home/pi/Desktop/images/10072025/23/51/image_10072025_23_51_01_8267.jpg', 2), ('/home/pi/Desktop/images/10072025/23/50/image_10072025_23_50_01_8446.jpg', 2), ('/home/pi/Desktop/images/10072025/23/49/image_10072025_23_49_01_9276.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/23/56/image_10072025_23_56_02_2866.jpg', '/home/pi/Desktop/images/10072025/23/53/image_10072025_23_53_01_6659.jpg', '/home/pi/Desktop/images/10072025/23/52/image_10072025_23_52_02_1821.jpg', '/home/pi/Desktop/images/10072025/23/51/image_10072025_23_51_01_8267.jpg', '/home/pi/Desktop/images/10072025/23/50/image_10072025_23_50_01_8446.jpg', '/home/pi/Desktop/images/10072025/23/49/image_10072025_23_49_01_9276.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/23/56/image_10072025_23_56_02_2866.jpg
/home/pi/Desktop/images/10072025/23/53/image_10072025_23_53_01_6659.jpg
/home/pi/Desktop/images/10072025/23/52/image_10072025_23_52_02_1821.jpg
/home/pi/Desktop/images/10072025/23/51/image_10072025_23_51_01_8267.jpg
/home/pi/Desktop/images/10072025/23/50/image_10072025_23_50_01_8446.jpg
/home/pi/Desktop/images/10072025/23/49/image_10072025_23_49_01_9276.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.98812961578369 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 00:07:04.914705
no port, creating one or fotonower_config_path unavailable : /home/pi/.fotonower_config
new_name : test_valcor_dechet_0325_48MP_11072025
 fc.token : 035006c8a8acff541e6b264f3a90e0b8
True
0
3267800
0
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 1 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/00/01/image_11072025_00_01_02_1166.jpg', 2)]
{'portfolio_id': 24815670}
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/00/01/image_11072025_00_01_02_1166.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/00/01/image_11072025_00_01_02_1166.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 32.508800745010376 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 00:08:04.429957
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 2 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/00/07/image_11072025_00_07_01_8253.jpg', 2), ('/home/pi/Desktop/images/11072025/00/01/image_11072025_00_01_02_1166.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/00/07/image_11072025_00_07_01_8253.jpg', '/home/pi/Desktop/images/11072025/00/01/image_11072025_00_01_02_1166.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/00/07/image_11072025_00_07_01_8253.jpg
/home/pi/Desktop/images/11072025/00/01/image_11072025_00_01_02_1166.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 32.12557005882263 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 00:09:03.812816
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 4 files
1 photos no longer on disk
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/00/10/image_11072025_00_10_01_3015.jpg', 2), ('/home/pi/Desktop/images/11072025/00/08/image_11072025_00_08_01_2840.jpg', 2), ('/home/pi/Desktop/images/11072025/00/07/image_11072025_00_07_01_8253.jpg', 2), ('/home/pi/Desktop/images/11072025/00/01/image_11072025_00_01_02_1166.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/00/08/image_11072025_00_08_01_2840.jpg', '/home/pi/Desktop/images/11072025/00/07/image_11072025_00_07_01_8253.jpg', '/home/pi/Desktop/images/11072025/00/01/image_11072025_00_01_02_1166.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/00/08/image_11072025_00_08_01_2840.jpg
/home/pi/Desktop/images/11072025/00/07/image_11072025_00_07_01_8253.jpg
/home/pi/Desktop/images/11072025/00/01/image_11072025_00_01_02_1166.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 32.85021257400513 secondes ---
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 377, in upload_from_sqlite
    upload_photo_and_update_logs(files, lsr, port_id, datou_current_id, fc, hashtags = hashtags, verbose = verbose, nb_batch= nb_batch,batch_size=limit)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 74, in upload_photo_and_update_logs
    logger.info("no_longer_on_disk_list:",no_longer_on_disk_list)
Message: 'no_longer_on_disk_list:'
Arguments: (['/home/pi/Desktop/images/11072025/00/10/image_11072025_00_10_01_3015.jpg'],)
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 00:10:03.400752
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 3 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/00/08/image_11072025_00_08_01_2840.jpg', 2), ('/home/pi/Desktop/images/11072025/00/07/image_11072025_00_07_01_8253.jpg', 2), ('/home/pi/Desktop/images/11072025/00/01/image_11072025_00_01_02_1166.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/00/08/image_11072025_00_08_01_2840.jpg', '/home/pi/Desktop/images/11072025/00/07/image_11072025_00_07_01_8253.jpg', '/home/pi/Desktop/images/11072025/00/01/image_11072025_00_01_02_1166.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/00/08/image_11072025_00_08_01_2840.jpg
/home/pi/Desktop/images/11072025/00/07/image_11072025_00_07_01_8253.jpg
/home/pi/Desktop/images/11072025/00/01/image_11072025_00_01_02_1166.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 31.428997039794922 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 00:11:05.412412
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 3 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/00/08/image_11072025_00_08_01_2840.jpg', 2), ('/home/pi/Desktop/images/11072025/00/07/image_11072025_00_07_01_8253.jpg', 2), ('/home/pi/Desktop/images/11072025/00/01/image_11072025_00_01_02_1166.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/00/08/image_11072025_00_08_01_2840.jpg', '/home/pi/Desktop/images/11072025/00/07/image_11072025_00_07_01_8253.jpg', '/home/pi/Desktop/images/11072025/00/01/image_11072025_00_01_02_1166.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/00/08/image_11072025_00_08_01_2840.jpg
/home/pi/Desktop/images/11072025/00/07/image_11072025_00_07_01_8253.jpg
/home/pi/Desktop/images/11072025/00/01/image_11072025_00_01_02_1166.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 32.67554068565369 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 00:12:05.346277
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 4 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/00/09/image_11072025_00_09_01_7751.jpg', 2), ('/home/pi/Desktop/images/11072025/00/08/image_11072025_00_08_01_2840.jpg', 2), ('/home/pi/Desktop/images/11072025/00/07/image_11072025_00_07_01_8253.jpg', 2), ('/home/pi/Desktop/images/11072025/00/01/image_11072025_00_01_02_1166.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/00/09/image_11072025_00_09_01_7751.jpg', '/home/pi/Desktop/images/11072025/00/08/image_11072025_00_08_01_2840.jpg', '/home/pi/Desktop/images/11072025/00/07/image_11072025_00_07_01_8253.jpg', '/home/pi/Desktop/images/11072025/00/01/image_11072025_00_01_02_1166.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/00/09/image_11072025_00_09_01_7751.jpg
/home/pi/Desktop/images/11072025/00/08/image_11072025_00_08_01_2840.jpg
/home/pi/Desktop/images/11072025/00/07/image_11072025_00_07_01_8253.jpg
/home/pi/Desktop/images/11072025/00/01/image_11072025_00_01_02_1166.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 32.91770601272583 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 00:13:05.413867
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 4 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/00/09/image_11072025_00_09_01_7751.jpg', 2), ('/home/pi/Desktop/images/11072025/00/08/image_11072025_00_08_01_2840.jpg', 2), ('/home/pi/Desktop/images/11072025/00/07/image_11072025_00_07_01_8253.jpg', 2), ('/home/pi/Desktop/images/11072025/00/01/image_11072025_00_01_02_1166.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/00/09/image_11072025_00_09_01_7751.jpg', '/home/pi/Desktop/images/11072025/00/08/image_11072025_00_08_01_2840.jpg', '/home/pi/Desktop/images/11072025/00/07/image_11072025_00_07_01_8253.jpg', '/home/pi/Desktop/images/11072025/00/01/image_11072025_00_01_02_1166.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/00/09/image_11072025_00_09_01_7751.jpg
/home/pi/Desktop/images/11072025/00/08/image_11072025_00_08_01_2840.jpg
/home/pi/Desktop/images/11072025/00/07/image_11072025_00_07_01_8253.jpg
/home/pi/Desktop/images/11072025/00/01/image_11072025_00_01_02_1166.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 32.02932357788086 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 00:14:05.274044
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 4 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/00/09/image_11072025_00_09_01_7751.jpg', 2), ('/home/pi/Desktop/images/11072025/00/08/image_11072025_00_08_01_2840.jpg', 2), ('/home/pi/Desktop/images/11072025/00/07/image_11072025_00_07_01_8253.jpg', 2), ('/home/pi/Desktop/images/11072025/00/01/image_11072025_00_01_02_1166.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/00/09/image_11072025_00_09_01_7751.jpg', '/home/pi/Desktop/images/11072025/00/08/image_11072025_00_08_01_2840.jpg', '/home/pi/Desktop/images/11072025/00/07/image_11072025_00_07_01_8253.jpg', '/home/pi/Desktop/images/11072025/00/01/image_11072025_00_01_02_1166.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/00/09/image_11072025_00_09_01_7751.jpg
/home/pi/Desktop/images/11072025/00/08/image_11072025_00_08_01_2840.jpg
/home/pi/Desktop/images/11072025/00/07/image_11072025_00_07_01_8253.jpg
/home/pi/Desktop/images/11072025/00/01/image_11072025_00_01_02_1166.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 32.51463985443115 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 00:15:05.621693
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 5 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/00/12/image_11072025_00_12_01_7414.jpg', 2), ('/home/pi/Desktop/images/11072025/00/09/image_11072025_00_09_01_7751.jpg', 2), ('/home/pi/Desktop/images/11072025/00/08/image_11072025_00_08_01_2840.jpg', 2), ('/home/pi/Desktop/images/11072025/00/07/image_11072025_00_07_01_8253.jpg', 2), ('/home/pi/Desktop/images/11072025/00/01/image_11072025_00_01_02_1166.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/00/12/image_11072025_00_12_01_7414.jpg', '/home/pi/Desktop/images/11072025/00/09/image_11072025_00_09_01_7751.jpg', '/home/pi/Desktop/images/11072025/00/08/image_11072025_00_08_01_2840.jpg', '/home/pi/Desktop/images/11072025/00/07/image_11072025_00_07_01_8253.jpg', '/home/pi/Desktop/images/11072025/00/01/image_11072025_00_01_02_1166.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/00/12/image_11072025_00_12_01_7414.jpg
/home/pi/Desktop/images/11072025/00/09/image_11072025_00_09_01_7751.jpg
/home/pi/Desktop/images/11072025/00/08/image_11072025_00_08_01_2840.jpg
/home/pi/Desktop/images/11072025/00/07/image_11072025_00_07_01_8253.jpg
/home/pi/Desktop/images/11072025/00/01/image_11072025_00_01_02_1166.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.34193658828735 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 00:16:05.160716
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/00/15/image_11072025_00_15_01_9846.jpg', 2), ('/home/pi/Desktop/images/11072025/00/12/image_11072025_00_12_01_7414.jpg', 2), ('/home/pi/Desktop/images/11072025/00/09/image_11072025_00_09_01_7751.jpg', 2), ('/home/pi/Desktop/images/11072025/00/08/image_11072025_00_08_01_2840.jpg', 2), ('/home/pi/Desktop/images/11072025/00/07/image_11072025_00_07_01_8253.jpg', 2), ('/home/pi/Desktop/images/11072025/00/01/image_11072025_00_01_02_1166.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/00/15/image_11072025_00_15_01_9846.jpg', '/home/pi/Desktop/images/11072025/00/12/image_11072025_00_12_01_7414.jpg', '/home/pi/Desktop/images/11072025/00/09/image_11072025_00_09_01_7751.jpg', '/home/pi/Desktop/images/11072025/00/08/image_11072025_00_08_01_2840.jpg', '/home/pi/Desktop/images/11072025/00/07/image_11072025_00_07_01_8253.jpg', '/home/pi/Desktop/images/11072025/00/01/image_11072025_00_01_02_1166.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/00/15/image_11072025_00_15_01_9846.jpg
/home/pi/Desktop/images/11072025/00/12/image_11072025_00_12_01_7414.jpg
/home/pi/Desktop/images/11072025/00/09/image_11072025_00_09_01_7751.jpg
/home/pi/Desktop/images/11072025/00/08/image_11072025_00_08_01_2840.jpg
/home/pi/Desktop/images/11072025/00/07/image_11072025_00_07_01_8253.jpg
/home/pi/Desktop/images/11072025/00/01/image_11072025_00_01_02_1166.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.06131196022034 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 00:17:05.687948
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/00/16/image_11072025_00_16_01_7844.jpg', 2), ('/home/pi/Desktop/images/11072025/00/15/image_11072025_00_15_01_9846.jpg', 2), ('/home/pi/Desktop/images/11072025/00/12/image_11072025_00_12_01_7414.jpg', 2), ('/home/pi/Desktop/images/11072025/00/09/image_11072025_00_09_01_7751.jpg', 2), ('/home/pi/Desktop/images/11072025/00/08/image_11072025_00_08_01_2840.jpg', 2), ('/home/pi/Desktop/images/11072025/00/07/image_11072025_00_07_01_8253.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/00/16/image_11072025_00_16_01_7844.jpg', '/home/pi/Desktop/images/11072025/00/15/image_11072025_00_15_01_9846.jpg', '/home/pi/Desktop/images/11072025/00/12/image_11072025_00_12_01_7414.jpg', '/home/pi/Desktop/images/11072025/00/09/image_11072025_00_09_01_7751.jpg', '/home/pi/Desktop/images/11072025/00/08/image_11072025_00_08_01_2840.jpg', '/home/pi/Desktop/images/11072025/00/07/image_11072025_00_07_01_8253.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/00/16/image_11072025_00_16_01_7844.jpg
/home/pi/Desktop/images/11072025/00/15/image_11072025_00_15_01_9846.jpg
/home/pi/Desktop/images/11072025/00/12/image_11072025_00_12_01_7414.jpg
/home/pi/Desktop/images/11072025/00/09/image_11072025_00_09_01_7751.jpg
/home/pi/Desktop/images/11072025/00/08/image_11072025_00_08_01_2840.jpg
/home/pi/Desktop/images/11072025/00/07/image_11072025_00_07_01_8253.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.587315797805786 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 00:18:05.441768
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/00/17/image_11072025_00_17_01_6460.jpg', 2), ('/home/pi/Desktop/images/11072025/00/16/image_11072025_00_16_01_7844.jpg', 2), ('/home/pi/Desktop/images/11072025/00/15/image_11072025_00_15_01_9846.jpg', 2), ('/home/pi/Desktop/images/11072025/00/12/image_11072025_00_12_01_7414.jpg', 2), ('/home/pi/Desktop/images/11072025/00/09/image_11072025_00_09_01_7751.jpg', 2), ('/home/pi/Desktop/images/11072025/00/08/image_11072025_00_08_01_2840.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/00/17/image_11072025_00_17_01_6460.jpg', '/home/pi/Desktop/images/11072025/00/16/image_11072025_00_16_01_7844.jpg', '/home/pi/Desktop/images/11072025/00/15/image_11072025_00_15_01_9846.jpg', '/home/pi/Desktop/images/11072025/00/12/image_11072025_00_12_01_7414.jpg', '/home/pi/Desktop/images/11072025/00/09/image_11072025_00_09_01_7751.jpg', '/home/pi/Desktop/images/11072025/00/08/image_11072025_00_08_01_2840.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/00/17/image_11072025_00_17_01_6460.jpg
/home/pi/Desktop/images/11072025/00/16/image_11072025_00_16_01_7844.jpg
/home/pi/Desktop/images/11072025/00/15/image_11072025_00_15_01_9846.jpg
/home/pi/Desktop/images/11072025/00/12/image_11072025_00_12_01_7414.jpg
/home/pi/Desktop/images/11072025/00/09/image_11072025_00_09_01_7751.jpg
/home/pi/Desktop/images/11072025/00/08/image_11072025_00_08_01_2840.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 32.97176170349121 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 00:19:05.186696
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/00/18/image_11072025_00_18_01_9055.jpg', 2), ('/home/pi/Desktop/images/11072025/00/17/image_11072025_00_17_01_6460.jpg', 2), ('/home/pi/Desktop/images/11072025/00/16/image_11072025_00_16_01_7844.jpg', 2), ('/home/pi/Desktop/images/11072025/00/15/image_11072025_00_15_01_9846.jpg', 2), ('/home/pi/Desktop/images/11072025/00/12/image_11072025_00_12_01_7414.jpg', 2), ('/home/pi/Desktop/images/11072025/00/09/image_11072025_00_09_01_7751.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/00/18/image_11072025_00_18_01_9055.jpg', '/home/pi/Desktop/images/11072025/00/17/image_11072025_00_17_01_6460.jpg', '/home/pi/Desktop/images/11072025/00/16/image_11072025_00_16_01_7844.jpg', '/home/pi/Desktop/images/11072025/00/15/image_11072025_00_15_01_9846.jpg', '/home/pi/Desktop/images/11072025/00/12/image_11072025_00_12_01_7414.jpg', '/home/pi/Desktop/images/11072025/00/09/image_11072025_00_09_01_7751.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/00/18/image_11072025_00_18_01_9055.jpg
/home/pi/Desktop/images/11072025/00/17/image_11072025_00_17_01_6460.jpg
/home/pi/Desktop/images/11072025/00/16/image_11072025_00_16_01_7844.jpg
/home/pi/Desktop/images/11072025/00/15/image_11072025_00_15_01_9846.jpg
/home/pi/Desktop/images/11072025/00/12/image_11072025_00_12_01_7414.jpg
/home/pi/Desktop/images/11072025/00/09/image_11072025_00_09_01_7751.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.52192044258118 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 00:20:05.771281
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/00/18/image_11072025_00_18_01_9055.jpg', 2), ('/home/pi/Desktop/images/11072025/00/17/image_11072025_00_17_01_6460.jpg', 2), ('/home/pi/Desktop/images/11072025/00/16/image_11072025_00_16_01_7844.jpg', 2), ('/home/pi/Desktop/images/11072025/00/15/image_11072025_00_15_01_9846.jpg', 2), ('/home/pi/Desktop/images/11072025/00/12/image_11072025_00_12_01_7414.jpg', 2), ('/home/pi/Desktop/images/11072025/00/09/image_11072025_00_09_01_7751.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/00/18/image_11072025_00_18_01_9055.jpg', '/home/pi/Desktop/images/11072025/00/17/image_11072025_00_17_01_6460.jpg', '/home/pi/Desktop/images/11072025/00/16/image_11072025_00_16_01_7844.jpg', '/home/pi/Desktop/images/11072025/00/15/image_11072025_00_15_01_9846.jpg', '/home/pi/Desktop/images/11072025/00/12/image_11072025_00_12_01_7414.jpg', '/home/pi/Desktop/images/11072025/00/09/image_11072025_00_09_01_7751.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/00/18/image_11072025_00_18_01_9055.jpg
/home/pi/Desktop/images/11072025/00/17/image_11072025_00_17_01_6460.jpg
/home/pi/Desktop/images/11072025/00/16/image_11072025_00_16_01_7844.jpg
/home/pi/Desktop/images/11072025/00/15/image_11072025_00_15_01_9846.jpg
/home/pi/Desktop/images/11072025/00/12/image_11072025_00_12_01_7414.jpg
/home/pi/Desktop/images/11072025/00/09/image_11072025_00_09_01_7751.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.014681816101074 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 00:21:05.659435
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/00/18/image_11072025_00_18_01_9055.jpg', 2), ('/home/pi/Desktop/images/11072025/00/17/image_11072025_00_17_01_6460.jpg', 2), ('/home/pi/Desktop/images/11072025/00/16/image_11072025_00_16_01_7844.jpg', 2), ('/home/pi/Desktop/images/11072025/00/15/image_11072025_00_15_01_9846.jpg', 2), ('/home/pi/Desktop/images/11072025/00/12/image_11072025_00_12_01_7414.jpg', 2), ('/home/pi/Desktop/images/11072025/00/09/image_11072025_00_09_01_7751.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/00/18/image_11072025_00_18_01_9055.jpg', '/home/pi/Desktop/images/11072025/00/17/image_11072025_00_17_01_6460.jpg', '/home/pi/Desktop/images/11072025/00/16/image_11072025_00_16_01_7844.jpg', '/home/pi/Desktop/images/11072025/00/15/image_11072025_00_15_01_9846.jpg', '/home/pi/Desktop/images/11072025/00/12/image_11072025_00_12_01_7414.jpg', '/home/pi/Desktop/images/11072025/00/09/image_11072025_00_09_01_7751.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/00/18/image_11072025_00_18_01_9055.jpg
/home/pi/Desktop/images/11072025/00/17/image_11072025_00_17_01_6460.jpg
/home/pi/Desktop/images/11072025/00/16/image_11072025_00_16_01_7844.jpg
/home/pi/Desktop/images/11072025/00/15/image_11072025_00_15_01_9846.jpg
/home/pi/Desktop/images/11072025/00/12/image_11072025_00_12_01_7414.jpg
/home/pi/Desktop/images/11072025/00/09/image_11072025_00_09_01_7751.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.28719186782837 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 00:22:05.016327
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/00/18/image_11072025_00_18_01_9055.jpg', 2), ('/home/pi/Desktop/images/11072025/00/17/image_11072025_00_17_01_6460.jpg', 2), ('/home/pi/Desktop/images/11072025/00/16/image_11072025_00_16_01_7844.jpg', 2), ('/home/pi/Desktop/images/11072025/00/15/image_11072025_00_15_01_9846.jpg', 2), ('/home/pi/Desktop/images/11072025/00/12/image_11072025_00_12_01_7414.jpg', 2), ('/home/pi/Desktop/images/11072025/00/09/image_11072025_00_09_01_7751.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/00/18/image_11072025_00_18_01_9055.jpg', '/home/pi/Desktop/images/11072025/00/17/image_11072025_00_17_01_6460.jpg', '/home/pi/Desktop/images/11072025/00/16/image_11072025_00_16_01_7844.jpg', '/home/pi/Desktop/images/11072025/00/15/image_11072025_00_15_01_9846.jpg', '/home/pi/Desktop/images/11072025/00/12/image_11072025_00_12_01_7414.jpg', '/home/pi/Desktop/images/11072025/00/09/image_11072025_00_09_01_7751.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/00/18/image_11072025_00_18_01_9055.jpg
/home/pi/Desktop/images/11072025/00/17/image_11072025_00_17_01_6460.jpg
/home/pi/Desktop/images/11072025/00/16/image_11072025_00_16_01_7844.jpg
/home/pi/Desktop/images/11072025/00/15/image_11072025_00_15_01_9846.jpg
/home/pi/Desktop/images/11072025/00/12/image_11072025_00_12_01_7414.jpg
/home/pi/Desktop/images/11072025/00/09/image_11072025_00_09_01_7751.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.160650968551636 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 00:23:06.094778
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/00/19/image_11072025_00_19_01_8887.jpg', 2), ('/home/pi/Desktop/images/11072025/00/18/image_11072025_00_18_01_9055.jpg', 2), ('/home/pi/Desktop/images/11072025/00/17/image_11072025_00_17_01_6460.jpg', 2), ('/home/pi/Desktop/images/11072025/00/16/image_11072025_00_16_01_7844.jpg', 2), ('/home/pi/Desktop/images/11072025/00/15/image_11072025_00_15_01_9846.jpg', 2), ('/home/pi/Desktop/images/11072025/00/12/image_11072025_00_12_01_7414.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/00/19/image_11072025_00_19_01_8887.jpg', '/home/pi/Desktop/images/11072025/00/18/image_11072025_00_18_01_9055.jpg', '/home/pi/Desktop/images/11072025/00/17/image_11072025_00_17_01_6460.jpg', '/home/pi/Desktop/images/11072025/00/16/image_11072025_00_16_01_7844.jpg', '/home/pi/Desktop/images/11072025/00/15/image_11072025_00_15_01_9846.jpg', '/home/pi/Desktop/images/11072025/00/12/image_11072025_00_12_01_7414.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/00/19/image_11072025_00_19_01_8887.jpg
/home/pi/Desktop/images/11072025/00/18/image_11072025_00_18_01_9055.jpg
/home/pi/Desktop/images/11072025/00/17/image_11072025_00_17_01_6460.jpg
/home/pi/Desktop/images/11072025/00/16/image_11072025_00_16_01_7844.jpg
/home/pi/Desktop/images/11072025/00/15/image_11072025_00_15_01_9846.jpg
/home/pi/Desktop/images/11072025/00/12/image_11072025_00_12_01_7414.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.18607711791992 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 00:24:05.882710
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/00/23/image_11072025_00_23_01_5022.jpg', 2), ('/home/pi/Desktop/images/11072025/00/19/image_11072025_00_19_01_8887.jpg', 2), ('/home/pi/Desktop/images/11072025/00/18/image_11072025_00_18_01_9055.jpg', 2), ('/home/pi/Desktop/images/11072025/00/17/image_11072025_00_17_01_6460.jpg', 2), ('/home/pi/Desktop/images/11072025/00/16/image_11072025_00_16_01_7844.jpg', 2), ('/home/pi/Desktop/images/11072025/00/15/image_11072025_00_15_01_9846.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/00/23/image_11072025_00_23_01_5022.jpg', '/home/pi/Desktop/images/11072025/00/19/image_11072025_00_19_01_8887.jpg', '/home/pi/Desktop/images/11072025/00/18/image_11072025_00_18_01_9055.jpg', '/home/pi/Desktop/images/11072025/00/17/image_11072025_00_17_01_6460.jpg', '/home/pi/Desktop/images/11072025/00/16/image_11072025_00_16_01_7844.jpg', '/home/pi/Desktop/images/11072025/00/15/image_11072025_00_15_01_9846.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/00/23/image_11072025_00_23_01_5022.jpg
/home/pi/Desktop/images/11072025/00/19/image_11072025_00_19_01_8887.jpg
/home/pi/Desktop/images/11072025/00/18/image_11072025_00_18_01_9055.jpg
/home/pi/Desktop/images/11072025/00/17/image_11072025_00_17_01_6460.jpg
/home/pi/Desktop/images/11072025/00/16/image_11072025_00_16_01_7844.jpg
/home/pi/Desktop/images/11072025/00/15/image_11072025_00_15_01_9846.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.500980854034424 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 00:25:05.969182
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/00/24/image_11072025_00_24_02_2582.jpg', 2), ('/home/pi/Desktop/images/11072025/00/23/image_11072025_00_23_01_5022.jpg', 2), ('/home/pi/Desktop/images/11072025/00/19/image_11072025_00_19_01_8887.jpg', 2), ('/home/pi/Desktop/images/11072025/00/18/image_11072025_00_18_01_9055.jpg', 2), ('/home/pi/Desktop/images/11072025/00/17/image_11072025_00_17_01_6460.jpg', 2), ('/home/pi/Desktop/images/11072025/00/16/image_11072025_00_16_01_7844.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/00/24/image_11072025_00_24_02_2582.jpg', '/home/pi/Desktop/images/11072025/00/23/image_11072025_00_23_01_5022.jpg', '/home/pi/Desktop/images/11072025/00/19/image_11072025_00_19_01_8887.jpg', '/home/pi/Desktop/images/11072025/00/18/image_11072025_00_18_01_9055.jpg', '/home/pi/Desktop/images/11072025/00/17/image_11072025_00_17_01_6460.jpg', '/home/pi/Desktop/images/11072025/00/16/image_11072025_00_16_01_7844.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/00/24/image_11072025_00_24_02_2582.jpg
/home/pi/Desktop/images/11072025/00/23/image_11072025_00_23_01_5022.jpg
/home/pi/Desktop/images/11072025/00/19/image_11072025_00_19_01_8887.jpg
/home/pi/Desktop/images/11072025/00/18/image_11072025_00_18_01_9055.jpg
/home/pi/Desktop/images/11072025/00/17/image_11072025_00_17_01_6460.jpg
/home/pi/Desktop/images/11072025/00/16/image_11072025_00_16_01_7844.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.53807282447815 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 00:26:05.413482
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/00/25/image_11072025_00_25_01_7607.jpg', 2), ('/home/pi/Desktop/images/11072025/00/24/image_11072025_00_24_02_2582.jpg', 2), ('/home/pi/Desktop/images/11072025/00/23/image_11072025_00_23_01_5022.jpg', 2), ('/home/pi/Desktop/images/11072025/00/19/image_11072025_00_19_01_8887.jpg', 2), ('/home/pi/Desktop/images/11072025/00/18/image_11072025_00_18_01_9055.jpg', 2), ('/home/pi/Desktop/images/11072025/00/17/image_11072025_00_17_01_6460.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/00/25/image_11072025_00_25_01_7607.jpg', '/home/pi/Desktop/images/11072025/00/24/image_11072025_00_24_02_2582.jpg', '/home/pi/Desktop/images/11072025/00/23/image_11072025_00_23_01_5022.jpg', '/home/pi/Desktop/images/11072025/00/19/image_11072025_00_19_01_8887.jpg', '/home/pi/Desktop/images/11072025/00/18/image_11072025_00_18_01_9055.jpg', '/home/pi/Desktop/images/11072025/00/17/image_11072025_00_17_01_6460.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/00/25/image_11072025_00_25_01_7607.jpg
/home/pi/Desktop/images/11072025/00/24/image_11072025_00_24_02_2582.jpg
/home/pi/Desktop/images/11072025/00/23/image_11072025_00_23_01_5022.jpg
/home/pi/Desktop/images/11072025/00/19/image_11072025_00_19_01_8887.jpg
/home/pi/Desktop/images/11072025/00/18/image_11072025_00_18_01_9055.jpg
/home/pi/Desktop/images/11072025/00/17/image_11072025_00_17_01_6460.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.36804986000061 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 00:27:04.732435
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/00/26/image_11072025_00_26_01_7704.jpg', 2), ('/home/pi/Desktop/images/11072025/00/25/image_11072025_00_25_01_7607.jpg', 2), ('/home/pi/Desktop/images/11072025/00/24/image_11072025_00_24_02_2582.jpg', 2), ('/home/pi/Desktop/images/11072025/00/23/image_11072025_00_23_01_5022.jpg', 2), ('/home/pi/Desktop/images/11072025/00/19/image_11072025_00_19_01_8887.jpg', 2), ('/home/pi/Desktop/images/11072025/00/18/image_11072025_00_18_01_9055.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/00/26/image_11072025_00_26_01_7704.jpg', '/home/pi/Desktop/images/11072025/00/25/image_11072025_00_25_01_7607.jpg', '/home/pi/Desktop/images/11072025/00/24/image_11072025_00_24_02_2582.jpg', '/home/pi/Desktop/images/11072025/00/23/image_11072025_00_23_01_5022.jpg', '/home/pi/Desktop/images/11072025/00/19/image_11072025_00_19_01_8887.jpg', '/home/pi/Desktop/images/11072025/00/18/image_11072025_00_18_01_9055.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/00/26/image_11072025_00_26_01_7704.jpg
/home/pi/Desktop/images/11072025/00/25/image_11072025_00_25_01_7607.jpg
/home/pi/Desktop/images/11072025/00/24/image_11072025_00_24_02_2582.jpg
/home/pi/Desktop/images/11072025/00/23/image_11072025_00_23_01_5022.jpg
/home/pi/Desktop/images/11072025/00/19/image_11072025_00_19_01_8887.jpg
/home/pi/Desktop/images/11072025/00/18/image_11072025_00_18_01_9055.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.211161375045776 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 00:28:05.555744
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/00/27/image_11072025_00_27_01_8598.jpg', 2), ('/home/pi/Desktop/images/11072025/00/26/image_11072025_00_26_01_7704.jpg', 2), ('/home/pi/Desktop/images/11072025/00/25/image_11072025_00_25_01_7607.jpg', 2), ('/home/pi/Desktop/images/11072025/00/24/image_11072025_00_24_02_2582.jpg', 2), ('/home/pi/Desktop/images/11072025/00/23/image_11072025_00_23_01_5022.jpg', 2), ('/home/pi/Desktop/images/11072025/00/19/image_11072025_00_19_01_8887.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/00/27/image_11072025_00_27_01_8598.jpg', '/home/pi/Desktop/images/11072025/00/26/image_11072025_00_26_01_7704.jpg', '/home/pi/Desktop/images/11072025/00/25/image_11072025_00_25_01_7607.jpg', '/home/pi/Desktop/images/11072025/00/24/image_11072025_00_24_02_2582.jpg', '/home/pi/Desktop/images/11072025/00/23/image_11072025_00_23_01_5022.jpg', '/home/pi/Desktop/images/11072025/00/19/image_11072025_00_19_01_8887.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/00/27/image_11072025_00_27_01_8598.jpg
/home/pi/Desktop/images/11072025/00/26/image_11072025_00_26_01_7704.jpg
/home/pi/Desktop/images/11072025/00/25/image_11072025_00_25_01_7607.jpg
/home/pi/Desktop/images/11072025/00/24/image_11072025_00_24_02_2582.jpg
/home/pi/Desktop/images/11072025/00/23/image_11072025_00_23_01_5022.jpg
/home/pi/Desktop/images/11072025/00/19/image_11072025_00_19_01_8887.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.46773934364319 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 00:29:06.064530
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/00/27/image_11072025_00_27_01_8598.jpg', 2), ('/home/pi/Desktop/images/11072025/00/26/image_11072025_00_26_01_7704.jpg', 2), ('/home/pi/Desktop/images/11072025/00/25/image_11072025_00_25_01_7607.jpg', 2), ('/home/pi/Desktop/images/11072025/00/24/image_11072025_00_24_02_2582.jpg', 2), ('/home/pi/Desktop/images/11072025/00/23/image_11072025_00_23_01_5022.jpg', 2), ('/home/pi/Desktop/images/11072025/00/19/image_11072025_00_19_01_8887.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/00/27/image_11072025_00_27_01_8598.jpg', '/home/pi/Desktop/images/11072025/00/26/image_11072025_00_26_01_7704.jpg', '/home/pi/Desktop/images/11072025/00/25/image_11072025_00_25_01_7607.jpg', '/home/pi/Desktop/images/11072025/00/24/image_11072025_00_24_02_2582.jpg', '/home/pi/Desktop/images/11072025/00/23/image_11072025_00_23_01_5022.jpg', '/home/pi/Desktop/images/11072025/00/19/image_11072025_00_19_01_8887.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/00/27/image_11072025_00_27_01_8598.jpg
/home/pi/Desktop/images/11072025/00/26/image_11072025_00_26_01_7704.jpg
/home/pi/Desktop/images/11072025/00/25/image_11072025_00_25_01_7607.jpg
/home/pi/Desktop/images/11072025/00/24/image_11072025_00_24_02_2582.jpg
/home/pi/Desktop/images/11072025/00/23/image_11072025_00_23_01_5022.jpg
/home/pi/Desktop/images/11072025/00/19/image_11072025_00_19_01_8887.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.1465528011322 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 00:30:03.199440
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/00/27/image_11072025_00_27_01_8598.jpg', 2), ('/home/pi/Desktop/images/11072025/00/26/image_11072025_00_26_01_7704.jpg', 2), ('/home/pi/Desktop/images/11072025/00/25/image_11072025_00_25_01_7607.jpg', 2), ('/home/pi/Desktop/images/11072025/00/24/image_11072025_00_24_02_2582.jpg', 2), ('/home/pi/Desktop/images/11072025/00/23/image_11072025_00_23_01_5022.jpg', 2), ('/home/pi/Desktop/images/11072025/00/19/image_11072025_00_19_01_8887.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/00/27/image_11072025_00_27_01_8598.jpg', '/home/pi/Desktop/images/11072025/00/26/image_11072025_00_26_01_7704.jpg', '/home/pi/Desktop/images/11072025/00/25/image_11072025_00_25_01_7607.jpg', '/home/pi/Desktop/images/11072025/00/24/image_11072025_00_24_02_2582.jpg', '/home/pi/Desktop/images/11072025/00/23/image_11072025_00_23_01_5022.jpg', '/home/pi/Desktop/images/11072025/00/19/image_11072025_00_19_01_8887.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/00/27/image_11072025_00_27_01_8598.jpg
/home/pi/Desktop/images/11072025/00/26/image_11072025_00_26_01_7704.jpg
/home/pi/Desktop/images/11072025/00/25/image_11072025_00_25_01_7607.jpg
/home/pi/Desktop/images/11072025/00/24/image_11072025_00_24_02_2582.jpg
/home/pi/Desktop/images/11072025/00/23/image_11072025_00_23_01_5022.jpg
/home/pi/Desktop/images/11072025/00/19/image_11072025_00_19_01_8887.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 32.13712668418884 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 00:31:05.419879
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/00/27/image_11072025_00_27_01_8598.jpg', 2), ('/home/pi/Desktop/images/11072025/00/26/image_11072025_00_26_01_7704.jpg', 2), ('/home/pi/Desktop/images/11072025/00/25/image_11072025_00_25_01_7607.jpg', 2), ('/home/pi/Desktop/images/11072025/00/24/image_11072025_00_24_02_2582.jpg', 2), ('/home/pi/Desktop/images/11072025/00/23/image_11072025_00_23_01_5022.jpg', 2), ('/home/pi/Desktop/images/11072025/00/19/image_11072025_00_19_01_8887.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/00/27/image_11072025_00_27_01_8598.jpg', '/home/pi/Desktop/images/11072025/00/26/image_11072025_00_26_01_7704.jpg', '/home/pi/Desktop/images/11072025/00/25/image_11072025_00_25_01_7607.jpg', '/home/pi/Desktop/images/11072025/00/24/image_11072025_00_24_02_2582.jpg', '/home/pi/Desktop/images/11072025/00/23/image_11072025_00_23_01_5022.jpg', '/home/pi/Desktop/images/11072025/00/19/image_11072025_00_19_01_8887.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/00/27/image_11072025_00_27_01_8598.jpg
/home/pi/Desktop/images/11072025/00/26/image_11072025_00_26_01_7704.jpg
/home/pi/Desktop/images/11072025/00/25/image_11072025_00_25_01_7607.jpg
/home/pi/Desktop/images/11072025/00/24/image_11072025_00_24_02_2582.jpg
/home/pi/Desktop/images/11072025/00/23/image_11072025_00_23_01_5022.jpg
/home/pi/Desktop/images/11072025/00/19/image_11072025_00_19_01_8887.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.03429102897644 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 00:32:04.971559
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/00/27/image_11072025_00_27_01_8598.jpg', 2), ('/home/pi/Desktop/images/11072025/00/26/image_11072025_00_26_01_7704.jpg', 2), ('/home/pi/Desktop/images/11072025/00/25/image_11072025_00_25_01_7607.jpg', 2), ('/home/pi/Desktop/images/11072025/00/24/image_11072025_00_24_02_2582.jpg', 2), ('/home/pi/Desktop/images/11072025/00/23/image_11072025_00_23_01_5022.jpg', 2), ('/home/pi/Desktop/images/11072025/00/19/image_11072025_00_19_01_8887.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/00/27/image_11072025_00_27_01_8598.jpg', '/home/pi/Desktop/images/11072025/00/26/image_11072025_00_26_01_7704.jpg', '/home/pi/Desktop/images/11072025/00/25/image_11072025_00_25_01_7607.jpg', '/home/pi/Desktop/images/11072025/00/24/image_11072025_00_24_02_2582.jpg', '/home/pi/Desktop/images/11072025/00/23/image_11072025_00_23_01_5022.jpg', '/home/pi/Desktop/images/11072025/00/19/image_11072025_00_19_01_8887.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/00/27/image_11072025_00_27_01_8598.jpg
/home/pi/Desktop/images/11072025/00/26/image_11072025_00_26_01_7704.jpg
/home/pi/Desktop/images/11072025/00/25/image_11072025_00_25_01_7607.jpg
/home/pi/Desktop/images/11072025/00/24/image_11072025_00_24_02_2582.jpg
/home/pi/Desktop/images/11072025/00/23/image_11072025_00_23_01_5022.jpg
/home/pi/Desktop/images/11072025/00/19/image_11072025_00_19_01_8887.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.611223220825195 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 00:33:05.109594
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/00/27/image_11072025_00_27_01_8598.jpg', 2), ('/home/pi/Desktop/images/11072025/00/26/image_11072025_00_26_01_7704.jpg', 2), ('/home/pi/Desktop/images/11072025/00/25/image_11072025_00_25_01_7607.jpg', 2), ('/home/pi/Desktop/images/11072025/00/24/image_11072025_00_24_02_2582.jpg', 2), ('/home/pi/Desktop/images/11072025/00/23/image_11072025_00_23_01_5022.jpg', 2), ('/home/pi/Desktop/images/11072025/00/19/image_11072025_00_19_01_8887.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/00/27/image_11072025_00_27_01_8598.jpg', '/home/pi/Desktop/images/11072025/00/26/image_11072025_00_26_01_7704.jpg', '/home/pi/Desktop/images/11072025/00/25/image_11072025_00_25_01_7607.jpg', '/home/pi/Desktop/images/11072025/00/24/image_11072025_00_24_02_2582.jpg', '/home/pi/Desktop/images/11072025/00/23/image_11072025_00_23_01_5022.jpg', '/home/pi/Desktop/images/11072025/00/19/image_11072025_00_19_01_8887.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/00/27/image_11072025_00_27_01_8598.jpg
/home/pi/Desktop/images/11072025/00/26/image_11072025_00_26_01_7704.jpg
/home/pi/Desktop/images/11072025/00/25/image_11072025_00_25_01_7607.jpg
/home/pi/Desktop/images/11072025/00/24/image_11072025_00_24_02_2582.jpg
/home/pi/Desktop/images/11072025/00/23/image_11072025_00_23_01_5022.jpg
/home/pi/Desktop/images/11072025/00/19/image_11072025_00_19_01_8887.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.55032992362976 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 00:34:05.215059
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/00/27/image_11072025_00_27_01_8598.jpg', 2), ('/home/pi/Desktop/images/11072025/00/26/image_11072025_00_26_01_7704.jpg', 2), ('/home/pi/Desktop/images/11072025/00/25/image_11072025_00_25_01_7607.jpg', 2), ('/home/pi/Desktop/images/11072025/00/24/image_11072025_00_24_02_2582.jpg', 2), ('/home/pi/Desktop/images/11072025/00/23/image_11072025_00_23_01_5022.jpg', 2), ('/home/pi/Desktop/images/11072025/00/19/image_11072025_00_19_01_8887.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/00/27/image_11072025_00_27_01_8598.jpg', '/home/pi/Desktop/images/11072025/00/26/image_11072025_00_26_01_7704.jpg', '/home/pi/Desktop/images/11072025/00/25/image_11072025_00_25_01_7607.jpg', '/home/pi/Desktop/images/11072025/00/24/image_11072025_00_24_02_2582.jpg', '/home/pi/Desktop/images/11072025/00/23/image_11072025_00_23_01_5022.jpg', '/home/pi/Desktop/images/11072025/00/19/image_11072025_00_19_01_8887.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/00/27/image_11072025_00_27_01_8598.jpg
/home/pi/Desktop/images/11072025/00/26/image_11072025_00_26_01_7704.jpg
/home/pi/Desktop/images/11072025/00/25/image_11072025_00_25_01_7607.jpg
/home/pi/Desktop/images/11072025/00/24/image_11072025_00_24_02_2582.jpg
/home/pi/Desktop/images/11072025/00/23/image_11072025_00_23_01_5022.jpg
/home/pi/Desktop/images/11072025/00/19/image_11072025_00_19_01_8887.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.700581312179565 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 00:35:05.423134
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/00/27/image_11072025_00_27_01_8598.jpg', 2), ('/home/pi/Desktop/images/11072025/00/26/image_11072025_00_26_01_7704.jpg', 2), ('/home/pi/Desktop/images/11072025/00/25/image_11072025_00_25_01_7607.jpg', 2), ('/home/pi/Desktop/images/11072025/00/24/image_11072025_00_24_02_2582.jpg', 2), ('/home/pi/Desktop/images/11072025/00/23/image_11072025_00_23_01_5022.jpg', 2), ('/home/pi/Desktop/images/11072025/00/19/image_11072025_00_19_01_8887.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/00/27/image_11072025_00_27_01_8598.jpg', '/home/pi/Desktop/images/11072025/00/26/image_11072025_00_26_01_7704.jpg', '/home/pi/Desktop/images/11072025/00/25/image_11072025_00_25_01_7607.jpg', '/home/pi/Desktop/images/11072025/00/24/image_11072025_00_24_02_2582.jpg', '/home/pi/Desktop/images/11072025/00/23/image_11072025_00_23_01_5022.jpg', '/home/pi/Desktop/images/11072025/00/19/image_11072025_00_19_01_8887.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/00/27/image_11072025_00_27_01_8598.jpg
/home/pi/Desktop/images/11072025/00/26/image_11072025_00_26_01_7704.jpg
/home/pi/Desktop/images/11072025/00/25/image_11072025_00_25_01_7607.jpg
/home/pi/Desktop/images/11072025/00/24/image_11072025_00_24_02_2582.jpg
/home/pi/Desktop/images/11072025/00/23/image_11072025_00_23_01_5022.jpg
/home/pi/Desktop/images/11072025/00/19/image_11072025_00_19_01_8887.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.64932680130005 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 00:36:05.025889
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/00/27/image_11072025_00_27_01_8598.jpg', 2), ('/home/pi/Desktop/images/11072025/00/26/image_11072025_00_26_01_7704.jpg', 2), ('/home/pi/Desktop/images/11072025/00/25/image_11072025_00_25_01_7607.jpg', 2), ('/home/pi/Desktop/images/11072025/00/24/image_11072025_00_24_02_2582.jpg', 2), ('/home/pi/Desktop/images/11072025/00/23/image_11072025_00_23_01_5022.jpg', 2), ('/home/pi/Desktop/images/11072025/00/19/image_11072025_00_19_01_8887.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/00/27/image_11072025_00_27_01_8598.jpg', '/home/pi/Desktop/images/11072025/00/26/image_11072025_00_26_01_7704.jpg', '/home/pi/Desktop/images/11072025/00/25/image_11072025_00_25_01_7607.jpg', '/home/pi/Desktop/images/11072025/00/24/image_11072025_00_24_02_2582.jpg', '/home/pi/Desktop/images/11072025/00/23/image_11072025_00_23_01_5022.jpg', '/home/pi/Desktop/images/11072025/00/19/image_11072025_00_19_01_8887.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/00/27/image_11072025_00_27_01_8598.jpg
/home/pi/Desktop/images/11072025/00/26/image_11072025_00_26_01_7704.jpg
/home/pi/Desktop/images/11072025/00/25/image_11072025_00_25_01_7607.jpg
/home/pi/Desktop/images/11072025/00/24/image_11072025_00_24_02_2582.jpg
/home/pi/Desktop/images/11072025/00/23/image_11072025_00_23_01_5022.jpg
/home/pi/Desktop/images/11072025/00/19/image_11072025_00_19_01_8887.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.25657916069031 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 00:37:05.316739
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/00/27/image_11072025_00_27_01_8598.jpg', 2), ('/home/pi/Desktop/images/11072025/00/26/image_11072025_00_26_01_7704.jpg', 2), ('/home/pi/Desktop/images/11072025/00/25/image_11072025_00_25_01_7607.jpg', 2), ('/home/pi/Desktop/images/11072025/00/24/image_11072025_00_24_02_2582.jpg', 2), ('/home/pi/Desktop/images/11072025/00/23/image_11072025_00_23_01_5022.jpg', 2), ('/home/pi/Desktop/images/11072025/00/19/image_11072025_00_19_01_8887.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/00/27/image_11072025_00_27_01_8598.jpg', '/home/pi/Desktop/images/11072025/00/26/image_11072025_00_26_01_7704.jpg', '/home/pi/Desktop/images/11072025/00/25/image_11072025_00_25_01_7607.jpg', '/home/pi/Desktop/images/11072025/00/24/image_11072025_00_24_02_2582.jpg', '/home/pi/Desktop/images/11072025/00/23/image_11072025_00_23_01_5022.jpg', '/home/pi/Desktop/images/11072025/00/19/image_11072025_00_19_01_8887.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/00/27/image_11072025_00_27_01_8598.jpg
/home/pi/Desktop/images/11072025/00/26/image_11072025_00_26_01_7704.jpg
/home/pi/Desktop/images/11072025/00/25/image_11072025_00_25_01_7607.jpg
/home/pi/Desktop/images/11072025/00/24/image_11072025_00_24_02_2582.jpg
/home/pi/Desktop/images/11072025/00/23/image_11072025_00_23_01_5022.jpg
/home/pi/Desktop/images/11072025/00/19/image_11072025_00_19_01_8887.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.072946071624756 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 00:38:05.319858
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/00/27/image_11072025_00_27_01_8598.jpg', 2), ('/home/pi/Desktop/images/11072025/00/26/image_11072025_00_26_01_7704.jpg', 2), ('/home/pi/Desktop/images/11072025/00/25/image_11072025_00_25_01_7607.jpg', 2), ('/home/pi/Desktop/images/11072025/00/24/image_11072025_00_24_02_2582.jpg', 2), ('/home/pi/Desktop/images/11072025/00/23/image_11072025_00_23_01_5022.jpg', 2), ('/home/pi/Desktop/images/11072025/00/19/image_11072025_00_19_01_8887.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/00/27/image_11072025_00_27_01_8598.jpg', '/home/pi/Desktop/images/11072025/00/26/image_11072025_00_26_01_7704.jpg', '/home/pi/Desktop/images/11072025/00/25/image_11072025_00_25_01_7607.jpg', '/home/pi/Desktop/images/11072025/00/24/image_11072025_00_24_02_2582.jpg', '/home/pi/Desktop/images/11072025/00/23/image_11072025_00_23_01_5022.jpg', '/home/pi/Desktop/images/11072025/00/19/image_11072025_00_19_01_8887.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/00/27/image_11072025_00_27_01_8598.jpg
/home/pi/Desktop/images/11072025/00/26/image_11072025_00_26_01_7704.jpg
/home/pi/Desktop/images/11072025/00/25/image_11072025_00_25_01_7607.jpg
/home/pi/Desktop/images/11072025/00/24/image_11072025_00_24_02_2582.jpg
/home/pi/Desktop/images/11072025/00/23/image_11072025_00_23_01_5022.jpg
/home/pi/Desktop/images/11072025/00/19/image_11072025_00_19_01_8887.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.163517475128174 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 00:39:05.640042
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/00/28/image_11072025_00_28_01_3447.jpg', 2), ('/home/pi/Desktop/images/11072025/00/27/image_11072025_00_27_01_8598.jpg', 2), ('/home/pi/Desktop/images/11072025/00/26/image_11072025_00_26_01_7704.jpg', 2), ('/home/pi/Desktop/images/11072025/00/25/image_11072025_00_25_01_7607.jpg', 2), ('/home/pi/Desktop/images/11072025/00/24/image_11072025_00_24_02_2582.jpg', 2), ('/home/pi/Desktop/images/11072025/00/23/image_11072025_00_23_01_5022.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/00/28/image_11072025_00_28_01_3447.jpg', '/home/pi/Desktop/images/11072025/00/27/image_11072025_00_27_01_8598.jpg', '/home/pi/Desktop/images/11072025/00/26/image_11072025_00_26_01_7704.jpg', '/home/pi/Desktop/images/11072025/00/25/image_11072025_00_25_01_7607.jpg', '/home/pi/Desktop/images/11072025/00/24/image_11072025_00_24_02_2582.jpg', '/home/pi/Desktop/images/11072025/00/23/image_11072025_00_23_01_5022.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/00/28/image_11072025_00_28_01_3447.jpg
/home/pi/Desktop/images/11072025/00/27/image_11072025_00_27_01_8598.jpg
/home/pi/Desktop/images/11072025/00/26/image_11072025_00_26_01_7704.jpg
/home/pi/Desktop/images/11072025/00/25/image_11072025_00_25_01_7607.jpg
/home/pi/Desktop/images/11072025/00/24/image_11072025_00_24_02_2582.jpg
/home/pi/Desktop/images/11072025/00/23/image_11072025_00_23_01_5022.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.12702298164368 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 00:40:05.533675
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/00/39/image_11072025_00_39_01_9525.jpg', 2), ('/home/pi/Desktop/images/11072025/00/28/image_11072025_00_28_01_3447.jpg', 2), ('/home/pi/Desktop/images/11072025/00/27/image_11072025_00_27_01_8598.jpg', 2), ('/home/pi/Desktop/images/11072025/00/26/image_11072025_00_26_01_7704.jpg', 2), ('/home/pi/Desktop/images/11072025/00/25/image_11072025_00_25_01_7607.jpg', 2), ('/home/pi/Desktop/images/11072025/00/24/image_11072025_00_24_02_2582.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/00/39/image_11072025_00_39_01_9525.jpg', '/home/pi/Desktop/images/11072025/00/28/image_11072025_00_28_01_3447.jpg', '/home/pi/Desktop/images/11072025/00/27/image_11072025_00_27_01_8598.jpg', '/home/pi/Desktop/images/11072025/00/26/image_11072025_00_26_01_7704.jpg', '/home/pi/Desktop/images/11072025/00/25/image_11072025_00_25_01_7607.jpg', '/home/pi/Desktop/images/11072025/00/24/image_11072025_00_24_02_2582.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/00/39/image_11072025_00_39_01_9525.jpg
/home/pi/Desktop/images/11072025/00/28/image_11072025_00_28_01_3447.jpg
/home/pi/Desktop/images/11072025/00/27/image_11072025_00_27_01_8598.jpg
/home/pi/Desktop/images/11072025/00/26/image_11072025_00_26_01_7704.jpg
/home/pi/Desktop/images/11072025/00/25/image_11072025_00_25_01_7607.jpg
/home/pi/Desktop/images/11072025/00/24/image_11072025_00_24_02_2582.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.39604473114014 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 00:41:06.387765
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/00/40/image_11072025_00_40_02_0342.jpg', 2), ('/home/pi/Desktop/images/11072025/00/39/image_11072025_00_39_01_9525.jpg', 2), ('/home/pi/Desktop/images/11072025/00/28/image_11072025_00_28_01_3447.jpg', 2), ('/home/pi/Desktop/images/11072025/00/27/image_11072025_00_27_01_8598.jpg', 2), ('/home/pi/Desktop/images/11072025/00/26/image_11072025_00_26_01_7704.jpg', 2), ('/home/pi/Desktop/images/11072025/00/25/image_11072025_00_25_01_7607.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/00/40/image_11072025_00_40_02_0342.jpg', '/home/pi/Desktop/images/11072025/00/39/image_11072025_00_39_01_9525.jpg', '/home/pi/Desktop/images/11072025/00/28/image_11072025_00_28_01_3447.jpg', '/home/pi/Desktop/images/11072025/00/27/image_11072025_00_27_01_8598.jpg', '/home/pi/Desktop/images/11072025/00/26/image_11072025_00_26_01_7704.jpg', '/home/pi/Desktop/images/11072025/00/25/image_11072025_00_25_01_7607.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/00/40/image_11072025_00_40_02_0342.jpg
/home/pi/Desktop/images/11072025/00/39/image_11072025_00_39_01_9525.jpg
/home/pi/Desktop/images/11072025/00/28/image_11072025_00_28_01_3447.jpg
/home/pi/Desktop/images/11072025/00/27/image_11072025_00_27_01_8598.jpg
/home/pi/Desktop/images/11072025/00/26/image_11072025_00_26_01_7704.jpg
/home/pi/Desktop/images/11072025/00/25/image_11072025_00_25_01_7607.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.62792634963989 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 00:42:05.624461
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/00/41/image_11072025_00_41_01_9180.jpg', 2), ('/home/pi/Desktop/images/11072025/00/40/image_11072025_00_40_02_0342.jpg', 2), ('/home/pi/Desktop/images/11072025/00/39/image_11072025_00_39_01_9525.jpg', 2), ('/home/pi/Desktop/images/11072025/00/28/image_11072025_00_28_01_3447.jpg', 2), ('/home/pi/Desktop/images/11072025/00/27/image_11072025_00_27_01_8598.jpg', 2), ('/home/pi/Desktop/images/11072025/00/26/image_11072025_00_26_01_7704.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/00/41/image_11072025_00_41_01_9180.jpg', '/home/pi/Desktop/images/11072025/00/40/image_11072025_00_40_02_0342.jpg', '/home/pi/Desktop/images/11072025/00/39/image_11072025_00_39_01_9525.jpg', '/home/pi/Desktop/images/11072025/00/28/image_11072025_00_28_01_3447.jpg', '/home/pi/Desktop/images/11072025/00/27/image_11072025_00_27_01_8598.jpg', '/home/pi/Desktop/images/11072025/00/26/image_11072025_00_26_01_7704.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/00/41/image_11072025_00_41_01_9180.jpg
/home/pi/Desktop/images/11072025/00/40/image_11072025_00_40_02_0342.jpg
/home/pi/Desktop/images/11072025/00/39/image_11072025_00_39_01_9525.jpg
/home/pi/Desktop/images/11072025/00/28/image_11072025_00_28_01_3447.jpg
/home/pi/Desktop/images/11072025/00/27/image_11072025_00_27_01_8598.jpg
/home/pi/Desktop/images/11072025/00/26/image_11072025_00_26_01_7704.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.54497838020325 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 00:43:04.967536
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/00/42/image_11072025_00_42_02_0900.jpg', 2), ('/home/pi/Desktop/images/11072025/00/41/image_11072025_00_41_01_9180.jpg', 2), ('/home/pi/Desktop/images/11072025/00/40/image_11072025_00_40_02_0342.jpg', 2), ('/home/pi/Desktop/images/11072025/00/39/image_11072025_00_39_01_9525.jpg', 2), ('/home/pi/Desktop/images/11072025/00/28/image_11072025_00_28_01_3447.jpg', 2), ('/home/pi/Desktop/images/11072025/00/27/image_11072025_00_27_01_8598.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/00/42/image_11072025_00_42_02_0900.jpg', '/home/pi/Desktop/images/11072025/00/41/image_11072025_00_41_01_9180.jpg', '/home/pi/Desktop/images/11072025/00/40/image_11072025_00_40_02_0342.jpg', '/home/pi/Desktop/images/11072025/00/39/image_11072025_00_39_01_9525.jpg', '/home/pi/Desktop/images/11072025/00/28/image_11072025_00_28_01_3447.jpg', '/home/pi/Desktop/images/11072025/00/27/image_11072025_00_27_01_8598.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/00/42/image_11072025_00_42_02_0900.jpg
/home/pi/Desktop/images/11072025/00/41/image_11072025_00_41_01_9180.jpg
/home/pi/Desktop/images/11072025/00/40/image_11072025_00_40_02_0342.jpg
/home/pi/Desktop/images/11072025/00/39/image_11072025_00_39_01_9525.jpg
/home/pi/Desktop/images/11072025/00/28/image_11072025_00_28_01_3447.jpg
/home/pi/Desktop/images/11072025/00/27/image_11072025_00_27_01_8598.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.264960527420044 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 00:44:02.769861
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/00/42/image_11072025_00_42_02_0900.jpg', 2), ('/home/pi/Desktop/images/11072025/00/41/image_11072025_00_41_01_9180.jpg', 2), ('/home/pi/Desktop/images/11072025/00/40/image_11072025_00_40_02_0342.jpg', 2), ('/home/pi/Desktop/images/11072025/00/39/image_11072025_00_39_01_9525.jpg', 2), ('/home/pi/Desktop/images/11072025/00/28/image_11072025_00_28_01_3447.jpg', 2), ('/home/pi/Desktop/images/11072025/00/27/image_11072025_00_27_01_8598.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/00/42/image_11072025_00_42_02_0900.jpg', '/home/pi/Desktop/images/11072025/00/41/image_11072025_00_41_01_9180.jpg', '/home/pi/Desktop/images/11072025/00/40/image_11072025_00_40_02_0342.jpg', '/home/pi/Desktop/images/11072025/00/39/image_11072025_00_39_01_9525.jpg', '/home/pi/Desktop/images/11072025/00/28/image_11072025_00_28_01_3447.jpg', '/home/pi/Desktop/images/11072025/00/27/image_11072025_00_27_01_8598.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/00/42/image_11072025_00_42_02_0900.jpg
/home/pi/Desktop/images/11072025/00/41/image_11072025_00_41_01_9180.jpg
/home/pi/Desktop/images/11072025/00/40/image_11072025_00_40_02_0342.jpg
/home/pi/Desktop/images/11072025/00/39/image_11072025_00_39_01_9525.jpg
/home/pi/Desktop/images/11072025/00/28/image_11072025_00_28_01_3447.jpg
/home/pi/Desktop/images/11072025/00/27/image_11072025_00_27_01_8598.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 31.642545700073242 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 00:45:05.044025
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/00/43/image_11072025_00_43_02_0619.jpg', 2), ('/home/pi/Desktop/images/11072025/00/42/image_11072025_00_42_02_0900.jpg', 2), ('/home/pi/Desktop/images/11072025/00/41/image_11072025_00_41_01_9180.jpg', 2), ('/home/pi/Desktop/images/11072025/00/40/image_11072025_00_40_02_0342.jpg', 2), ('/home/pi/Desktop/images/11072025/00/39/image_11072025_00_39_01_9525.jpg', 2), ('/home/pi/Desktop/images/11072025/00/28/image_11072025_00_28_01_3447.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/00/43/image_11072025_00_43_02_0619.jpg', '/home/pi/Desktop/images/11072025/00/42/image_11072025_00_42_02_0900.jpg', '/home/pi/Desktop/images/11072025/00/41/image_11072025_00_41_01_9180.jpg', '/home/pi/Desktop/images/11072025/00/40/image_11072025_00_40_02_0342.jpg', '/home/pi/Desktop/images/11072025/00/39/image_11072025_00_39_01_9525.jpg', '/home/pi/Desktop/images/11072025/00/28/image_11072025_00_28_01_3447.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/00/43/image_11072025_00_43_02_0619.jpg
/home/pi/Desktop/images/11072025/00/42/image_11072025_00_42_02_0900.jpg
/home/pi/Desktop/images/11072025/00/41/image_11072025_00_41_01_9180.jpg
/home/pi/Desktop/images/11072025/00/40/image_11072025_00_40_02_0342.jpg
/home/pi/Desktop/images/11072025/00/39/image_11072025_00_39_01_9525.jpg
/home/pi/Desktop/images/11072025/00/28/image_11072025_00_28_01_3447.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.485719442367554 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 00:46:04.970200
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/00/43/image_11072025_00_43_02_0619.jpg', 2), ('/home/pi/Desktop/images/11072025/00/42/image_11072025_00_42_02_0900.jpg', 2), ('/home/pi/Desktop/images/11072025/00/41/image_11072025_00_41_01_9180.jpg', 2), ('/home/pi/Desktop/images/11072025/00/40/image_11072025_00_40_02_0342.jpg', 2), ('/home/pi/Desktop/images/11072025/00/39/image_11072025_00_39_01_9525.jpg', 2), ('/home/pi/Desktop/images/11072025/00/28/image_11072025_00_28_01_3447.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/00/43/image_11072025_00_43_02_0619.jpg', '/home/pi/Desktop/images/11072025/00/42/image_11072025_00_42_02_0900.jpg', '/home/pi/Desktop/images/11072025/00/41/image_11072025_00_41_01_9180.jpg', '/home/pi/Desktop/images/11072025/00/40/image_11072025_00_40_02_0342.jpg', '/home/pi/Desktop/images/11072025/00/39/image_11072025_00_39_01_9525.jpg', '/home/pi/Desktop/images/11072025/00/28/image_11072025_00_28_01_3447.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/00/43/image_11072025_00_43_02_0619.jpg
/home/pi/Desktop/images/11072025/00/42/image_11072025_00_42_02_0900.jpg
/home/pi/Desktop/images/11072025/00/41/image_11072025_00_41_01_9180.jpg
/home/pi/Desktop/images/11072025/00/40/image_11072025_00_40_02_0342.jpg
/home/pi/Desktop/images/11072025/00/39/image_11072025_00_39_01_9525.jpg
/home/pi/Desktop/images/11072025/00/28/image_11072025_00_28_01_3447.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 32.93583703041077 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 00:47:05.152201
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/00/45/image_11072025_00_45_01_3020.jpg', 2), ('/home/pi/Desktop/images/11072025/00/43/image_11072025_00_43_02_0619.jpg', 2), ('/home/pi/Desktop/images/11072025/00/42/image_11072025_00_42_02_0900.jpg', 2), ('/home/pi/Desktop/images/11072025/00/41/image_11072025_00_41_01_9180.jpg', 2), ('/home/pi/Desktop/images/11072025/00/40/image_11072025_00_40_02_0342.jpg', 2), ('/home/pi/Desktop/images/11072025/00/39/image_11072025_00_39_01_9525.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/00/45/image_11072025_00_45_01_3020.jpg', '/home/pi/Desktop/images/11072025/00/43/image_11072025_00_43_02_0619.jpg', '/home/pi/Desktop/images/11072025/00/42/image_11072025_00_42_02_0900.jpg', '/home/pi/Desktop/images/11072025/00/41/image_11072025_00_41_01_9180.jpg', '/home/pi/Desktop/images/11072025/00/40/image_11072025_00_40_02_0342.jpg', '/home/pi/Desktop/images/11072025/00/39/image_11072025_00_39_01_9525.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/00/45/image_11072025_00_45_01_3020.jpg
/home/pi/Desktop/images/11072025/00/43/image_11072025_00_43_02_0619.jpg
/home/pi/Desktop/images/11072025/00/42/image_11072025_00_42_02_0900.jpg
/home/pi/Desktop/images/11072025/00/41/image_11072025_00_41_01_9180.jpg
/home/pi/Desktop/images/11072025/00/40/image_11072025_00_40_02_0342.jpg
/home/pi/Desktop/images/11072025/00/39/image_11072025_00_39_01_9525.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 32.9288010597229 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 00:48:04.982218
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/00/47/image_11072025_00_47_01_4360.jpg', 2), ('/home/pi/Desktop/images/11072025/00/45/image_11072025_00_45_01_3020.jpg', 2), ('/home/pi/Desktop/images/11072025/00/43/image_11072025_00_43_02_0619.jpg', 2), ('/home/pi/Desktop/images/11072025/00/42/image_11072025_00_42_02_0900.jpg', 2), ('/home/pi/Desktop/images/11072025/00/41/image_11072025_00_41_01_9180.jpg', 2), ('/home/pi/Desktop/images/11072025/00/40/image_11072025_00_40_02_0342.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/00/47/image_11072025_00_47_01_4360.jpg', '/home/pi/Desktop/images/11072025/00/45/image_11072025_00_45_01_3020.jpg', '/home/pi/Desktop/images/11072025/00/43/image_11072025_00_43_02_0619.jpg', '/home/pi/Desktop/images/11072025/00/42/image_11072025_00_42_02_0900.jpg', '/home/pi/Desktop/images/11072025/00/41/image_11072025_00_41_01_9180.jpg', '/home/pi/Desktop/images/11072025/00/40/image_11072025_00_40_02_0342.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/00/47/image_11072025_00_47_01_4360.jpg
/home/pi/Desktop/images/11072025/00/45/image_11072025_00_45_01_3020.jpg
/home/pi/Desktop/images/11072025/00/43/image_11072025_00_43_02_0619.jpg
/home/pi/Desktop/images/11072025/00/42/image_11072025_00_42_02_0900.jpg
/home/pi/Desktop/images/11072025/00/41/image_11072025_00_41_01_9180.jpg
/home/pi/Desktop/images/11072025/00/40/image_11072025_00_40_02_0342.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.232484340667725 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 00:49:04.667461
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/00/48/image_11072025_00_48_01_7356.jpg', 2), ('/home/pi/Desktop/images/11072025/00/47/image_11072025_00_47_01_4360.jpg', 2), ('/home/pi/Desktop/images/11072025/00/45/image_11072025_00_45_01_3020.jpg', 2), ('/home/pi/Desktop/images/11072025/00/43/image_11072025_00_43_02_0619.jpg', 2), ('/home/pi/Desktop/images/11072025/00/42/image_11072025_00_42_02_0900.jpg', 2), ('/home/pi/Desktop/images/11072025/00/41/image_11072025_00_41_01_9180.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/00/48/image_11072025_00_48_01_7356.jpg', '/home/pi/Desktop/images/11072025/00/47/image_11072025_00_47_01_4360.jpg', '/home/pi/Desktop/images/11072025/00/45/image_11072025_00_45_01_3020.jpg', '/home/pi/Desktop/images/11072025/00/43/image_11072025_00_43_02_0619.jpg', '/home/pi/Desktop/images/11072025/00/42/image_11072025_00_42_02_0900.jpg', '/home/pi/Desktop/images/11072025/00/41/image_11072025_00_41_01_9180.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/00/48/image_11072025_00_48_01_7356.jpg
/home/pi/Desktop/images/11072025/00/47/image_11072025_00_47_01_4360.jpg
/home/pi/Desktop/images/11072025/00/45/image_11072025_00_45_01_3020.jpg
/home/pi/Desktop/images/11072025/00/43/image_11072025_00_43_02_0619.jpg
/home/pi/Desktop/images/11072025/00/42/image_11072025_00_42_02_0900.jpg
/home/pi/Desktop/images/11072025/00/41/image_11072025_00_41_01_9180.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.69678282737732 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 00:50:05.597080
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/00/49/image_11072025_00_49_01_5363.jpg', 2), ('/home/pi/Desktop/images/11072025/00/48/image_11072025_00_48_01_7356.jpg', 2), ('/home/pi/Desktop/images/11072025/00/47/image_11072025_00_47_01_4360.jpg', 2), ('/home/pi/Desktop/images/11072025/00/45/image_11072025_00_45_01_3020.jpg', 2), ('/home/pi/Desktop/images/11072025/00/43/image_11072025_00_43_02_0619.jpg', 2), ('/home/pi/Desktop/images/11072025/00/42/image_11072025_00_42_02_0900.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/00/49/image_11072025_00_49_01_5363.jpg', '/home/pi/Desktop/images/11072025/00/48/image_11072025_00_48_01_7356.jpg', '/home/pi/Desktop/images/11072025/00/47/image_11072025_00_47_01_4360.jpg', '/home/pi/Desktop/images/11072025/00/45/image_11072025_00_45_01_3020.jpg', '/home/pi/Desktop/images/11072025/00/43/image_11072025_00_43_02_0619.jpg', '/home/pi/Desktop/images/11072025/00/42/image_11072025_00_42_02_0900.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/00/49/image_11072025_00_49_01_5363.jpg
/home/pi/Desktop/images/11072025/00/48/image_11072025_00_48_01_7356.jpg
/home/pi/Desktop/images/11072025/00/47/image_11072025_00_47_01_4360.jpg
/home/pi/Desktop/images/11072025/00/45/image_11072025_00_45_01_3020.jpg
/home/pi/Desktop/images/11072025/00/43/image_11072025_00_43_02_0619.jpg
/home/pi/Desktop/images/11072025/00/42/image_11072025_00_42_02_0900.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 32.96444511413574 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 00:51:05.756449
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/00/49/image_11072025_00_49_01_5363.jpg', 2), ('/home/pi/Desktop/images/11072025/00/48/image_11072025_00_48_01_7356.jpg', 2), ('/home/pi/Desktop/images/11072025/00/47/image_11072025_00_47_01_4360.jpg', 2), ('/home/pi/Desktop/images/11072025/00/45/image_11072025_00_45_01_3020.jpg', 2), ('/home/pi/Desktop/images/11072025/00/43/image_11072025_00_43_02_0619.jpg', 2), ('/home/pi/Desktop/images/11072025/00/42/image_11072025_00_42_02_0900.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/00/49/image_11072025_00_49_01_5363.jpg', '/home/pi/Desktop/images/11072025/00/48/image_11072025_00_48_01_7356.jpg', '/home/pi/Desktop/images/11072025/00/47/image_11072025_00_47_01_4360.jpg', '/home/pi/Desktop/images/11072025/00/45/image_11072025_00_45_01_3020.jpg', '/home/pi/Desktop/images/11072025/00/43/image_11072025_00_43_02_0619.jpg', '/home/pi/Desktop/images/11072025/00/42/image_11072025_00_42_02_0900.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/00/49/image_11072025_00_49_01_5363.jpg
/home/pi/Desktop/images/11072025/00/48/image_11072025_00_48_01_7356.jpg
/home/pi/Desktop/images/11072025/00/47/image_11072025_00_47_01_4360.jpg
/home/pi/Desktop/images/11072025/00/45/image_11072025_00_45_01_3020.jpg
/home/pi/Desktop/images/11072025/00/43/image_11072025_00_43_02_0619.jpg
/home/pi/Desktop/images/11072025/00/42/image_11072025_00_42_02_0900.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 32.938145875930786 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 00:52:05.419253
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/00/49/image_11072025_00_49_01_5363.jpg', 2), ('/home/pi/Desktop/images/11072025/00/48/image_11072025_00_48_01_7356.jpg', 2), ('/home/pi/Desktop/images/11072025/00/47/image_11072025_00_47_01_4360.jpg', 2), ('/home/pi/Desktop/images/11072025/00/45/image_11072025_00_45_01_3020.jpg', 2), ('/home/pi/Desktop/images/11072025/00/43/image_11072025_00_43_02_0619.jpg', 2), ('/home/pi/Desktop/images/11072025/00/42/image_11072025_00_42_02_0900.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/00/49/image_11072025_00_49_01_5363.jpg', '/home/pi/Desktop/images/11072025/00/48/image_11072025_00_48_01_7356.jpg', '/home/pi/Desktop/images/11072025/00/47/image_11072025_00_47_01_4360.jpg', '/home/pi/Desktop/images/11072025/00/45/image_11072025_00_45_01_3020.jpg', '/home/pi/Desktop/images/11072025/00/43/image_11072025_00_43_02_0619.jpg', '/home/pi/Desktop/images/11072025/00/42/image_11072025_00_42_02_0900.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/00/49/image_11072025_00_49_01_5363.jpg
/home/pi/Desktop/images/11072025/00/48/image_11072025_00_48_01_7356.jpg
/home/pi/Desktop/images/11072025/00/47/image_11072025_00_47_01_4360.jpg
/home/pi/Desktop/images/11072025/00/45/image_11072025_00_45_01_3020.jpg
/home/pi/Desktop/images/11072025/00/43/image_11072025_00_43_02_0619.jpg
/home/pi/Desktop/images/11072025/00/42/image_11072025_00_42_02_0900.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.46213626861572 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 00:53:05.685971
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/00/49/image_11072025_00_49_01_5363.jpg', 2), ('/home/pi/Desktop/images/11072025/00/48/image_11072025_00_48_01_7356.jpg', 2), ('/home/pi/Desktop/images/11072025/00/47/image_11072025_00_47_01_4360.jpg', 2), ('/home/pi/Desktop/images/11072025/00/45/image_11072025_00_45_01_3020.jpg', 2), ('/home/pi/Desktop/images/11072025/00/43/image_11072025_00_43_02_0619.jpg', 2), ('/home/pi/Desktop/images/11072025/00/42/image_11072025_00_42_02_0900.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/00/49/image_11072025_00_49_01_5363.jpg', '/home/pi/Desktop/images/11072025/00/48/image_11072025_00_48_01_7356.jpg', '/home/pi/Desktop/images/11072025/00/47/image_11072025_00_47_01_4360.jpg', '/home/pi/Desktop/images/11072025/00/45/image_11072025_00_45_01_3020.jpg', '/home/pi/Desktop/images/11072025/00/43/image_11072025_00_43_02_0619.jpg', '/home/pi/Desktop/images/11072025/00/42/image_11072025_00_42_02_0900.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/00/49/image_11072025_00_49_01_5363.jpg
/home/pi/Desktop/images/11072025/00/48/image_11072025_00_48_01_7356.jpg
/home/pi/Desktop/images/11072025/00/47/image_11072025_00_47_01_4360.jpg
/home/pi/Desktop/images/11072025/00/45/image_11072025_00_45_01_3020.jpg
/home/pi/Desktop/images/11072025/00/43/image_11072025_00_43_02_0619.jpg
/home/pi/Desktop/images/11072025/00/42/image_11072025_00_42_02_0900.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.40938639640808 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 00:54:05.231735
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/00/49/image_11072025_00_49_01_5363.jpg', 2), ('/home/pi/Desktop/images/11072025/00/48/image_11072025_00_48_01_7356.jpg', 2), ('/home/pi/Desktop/images/11072025/00/47/image_11072025_00_47_01_4360.jpg', 2), ('/home/pi/Desktop/images/11072025/00/45/image_11072025_00_45_01_3020.jpg', 2), ('/home/pi/Desktop/images/11072025/00/43/image_11072025_00_43_02_0619.jpg', 2), ('/home/pi/Desktop/images/11072025/00/42/image_11072025_00_42_02_0900.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/00/49/image_11072025_00_49_01_5363.jpg', '/home/pi/Desktop/images/11072025/00/48/image_11072025_00_48_01_7356.jpg', '/home/pi/Desktop/images/11072025/00/47/image_11072025_00_47_01_4360.jpg', '/home/pi/Desktop/images/11072025/00/45/image_11072025_00_45_01_3020.jpg', '/home/pi/Desktop/images/11072025/00/43/image_11072025_00_43_02_0619.jpg', '/home/pi/Desktop/images/11072025/00/42/image_11072025_00_42_02_0900.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/00/49/image_11072025_00_49_01_5363.jpg
/home/pi/Desktop/images/11072025/00/48/image_11072025_00_48_01_7356.jpg
/home/pi/Desktop/images/11072025/00/47/image_11072025_00_47_01_4360.jpg
/home/pi/Desktop/images/11072025/00/45/image_11072025_00_45_01_3020.jpg
/home/pi/Desktop/images/11072025/00/43/image_11072025_00_43_02_0619.jpg
/home/pi/Desktop/images/11072025/00/42/image_11072025_00_42_02_0900.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.00238084793091 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 00:55:05.403669
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/00/49/image_11072025_00_49_01_5363.jpg', 2), ('/home/pi/Desktop/images/11072025/00/48/image_11072025_00_48_01_7356.jpg', 2), ('/home/pi/Desktop/images/11072025/00/47/image_11072025_00_47_01_4360.jpg', 2), ('/home/pi/Desktop/images/11072025/00/45/image_11072025_00_45_01_3020.jpg', 2), ('/home/pi/Desktop/images/11072025/00/43/image_11072025_00_43_02_0619.jpg', 2), ('/home/pi/Desktop/images/11072025/00/42/image_11072025_00_42_02_0900.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/00/49/image_11072025_00_49_01_5363.jpg', '/home/pi/Desktop/images/11072025/00/48/image_11072025_00_48_01_7356.jpg', '/home/pi/Desktop/images/11072025/00/47/image_11072025_00_47_01_4360.jpg', '/home/pi/Desktop/images/11072025/00/45/image_11072025_00_45_01_3020.jpg', '/home/pi/Desktop/images/11072025/00/43/image_11072025_00_43_02_0619.jpg', '/home/pi/Desktop/images/11072025/00/42/image_11072025_00_42_02_0900.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/00/49/image_11072025_00_49_01_5363.jpg
/home/pi/Desktop/images/11072025/00/48/image_11072025_00_48_01_7356.jpg
/home/pi/Desktop/images/11072025/00/47/image_11072025_00_47_01_4360.jpg
/home/pi/Desktop/images/11072025/00/45/image_11072025_00_45_01_3020.jpg
/home/pi/Desktop/images/11072025/00/43/image_11072025_00_43_02_0619.jpg
/home/pi/Desktop/images/11072025/00/42/image_11072025_00_42_02_0900.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 32.95191287994385 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 00:56:05.550438
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/00/49/image_11072025_00_49_01_5363.jpg', 2), ('/home/pi/Desktop/images/11072025/00/48/image_11072025_00_48_01_7356.jpg', 2), ('/home/pi/Desktop/images/11072025/00/47/image_11072025_00_47_01_4360.jpg', 2), ('/home/pi/Desktop/images/11072025/00/45/image_11072025_00_45_01_3020.jpg', 2), ('/home/pi/Desktop/images/11072025/00/43/image_11072025_00_43_02_0619.jpg', 2), ('/home/pi/Desktop/images/11072025/00/42/image_11072025_00_42_02_0900.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/00/49/image_11072025_00_49_01_5363.jpg', '/home/pi/Desktop/images/11072025/00/48/image_11072025_00_48_01_7356.jpg', '/home/pi/Desktop/images/11072025/00/47/image_11072025_00_47_01_4360.jpg', '/home/pi/Desktop/images/11072025/00/45/image_11072025_00_45_01_3020.jpg', '/home/pi/Desktop/images/11072025/00/43/image_11072025_00_43_02_0619.jpg', '/home/pi/Desktop/images/11072025/00/42/image_11072025_00_42_02_0900.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/00/49/image_11072025_00_49_01_5363.jpg
/home/pi/Desktop/images/11072025/00/48/image_11072025_00_48_01_7356.jpg
/home/pi/Desktop/images/11072025/00/47/image_11072025_00_47_01_4360.jpg
/home/pi/Desktop/images/11072025/00/45/image_11072025_00_45_01_3020.jpg
/home/pi/Desktop/images/11072025/00/43/image_11072025_00_43_02_0619.jpg
/home/pi/Desktop/images/11072025/00/42/image_11072025_00_42_02_0900.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 32.931506872177124 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 00:57:06.074509
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/00/49/image_11072025_00_49_01_5363.jpg', 2), ('/home/pi/Desktop/images/11072025/00/48/image_11072025_00_48_01_7356.jpg', 2), ('/home/pi/Desktop/images/11072025/00/47/image_11072025_00_47_01_4360.jpg', 2), ('/home/pi/Desktop/images/11072025/00/45/image_11072025_00_45_01_3020.jpg', 2), ('/home/pi/Desktop/images/11072025/00/43/image_11072025_00_43_02_0619.jpg', 2), ('/home/pi/Desktop/images/11072025/00/42/image_11072025_00_42_02_0900.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/00/49/image_11072025_00_49_01_5363.jpg', '/home/pi/Desktop/images/11072025/00/48/image_11072025_00_48_01_7356.jpg', '/home/pi/Desktop/images/11072025/00/47/image_11072025_00_47_01_4360.jpg', '/home/pi/Desktop/images/11072025/00/45/image_11072025_00_45_01_3020.jpg', '/home/pi/Desktop/images/11072025/00/43/image_11072025_00_43_02_0619.jpg', '/home/pi/Desktop/images/11072025/00/42/image_11072025_00_42_02_0900.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/00/49/image_11072025_00_49_01_5363.jpg
/home/pi/Desktop/images/11072025/00/48/image_11072025_00_48_01_7356.jpg
/home/pi/Desktop/images/11072025/00/47/image_11072025_00_47_01_4360.jpg
/home/pi/Desktop/images/11072025/00/45/image_11072025_00_45_01_3020.jpg
/home/pi/Desktop/images/11072025/00/43/image_11072025_00_43_02_0619.jpg
/home/pi/Desktop/images/11072025/00/42/image_11072025_00_42_02_0900.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.71422982215881 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 00:59:04.825491
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
1 photos no longer on disk
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/01/00/image_11072025_01_00_02_2548.jpg', 2), ('/home/pi/Desktop/images/11072025/00/49/image_11072025_00_49_01_5363.jpg', 2), ('/home/pi/Desktop/images/11072025/00/48/image_11072025_00_48_01_7356.jpg', 2), ('/home/pi/Desktop/images/11072025/00/47/image_11072025_00_47_01_4360.jpg', 2), ('/home/pi/Desktop/images/11072025/00/45/image_11072025_00_45_01_3020.jpg', 2), ('/home/pi/Desktop/images/11072025/00/43/image_11072025_00_43_02_0619.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/00/49/image_11072025_00_49_01_5363.jpg', '/home/pi/Desktop/images/11072025/00/48/image_11072025_00_48_01_7356.jpg', '/home/pi/Desktop/images/11072025/00/47/image_11072025_00_47_01_4360.jpg', '/home/pi/Desktop/images/11072025/00/45/image_11072025_00_45_01_3020.jpg', '/home/pi/Desktop/images/11072025/00/43/image_11072025_00_43_02_0619.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/00/49/image_11072025_00_49_01_5363.jpg
/home/pi/Desktop/images/11072025/00/48/image_11072025_00_48_01_7356.jpg
/home/pi/Desktop/images/11072025/00/47/image_11072025_00_47_01_4360.jpg
/home/pi/Desktop/images/11072025/00/45/image_11072025_00_45_01_3020.jpg
/home/pi/Desktop/images/11072025/00/43/image_11072025_00_43_02_0619.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.170716762542725 secondes ---
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 377, in upload_from_sqlite
    upload_photo_and_update_logs(files, lsr, port_id, datou_current_id, fc, hashtags = hashtags, verbose = verbose, nb_batch= nb_batch,batch_size=limit)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 74, in upload_photo_and_update_logs
    logger.info("no_longer_on_disk_list:",no_longer_on_disk_list)
Message: 'no_longer_on_disk_list:'
Arguments: (['/home/pi/Desktop/images/11072025/01/00/image_11072025_01_00_02_2548.jpg'],)
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 01:00:03.682557
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/00/49/image_11072025_00_49_01_5363.jpg', 2), ('/home/pi/Desktop/images/11072025/00/48/image_11072025_00_48_01_7356.jpg', 2), ('/home/pi/Desktop/images/11072025/00/47/image_11072025_00_47_01_4360.jpg', 2), ('/home/pi/Desktop/images/11072025/00/45/image_11072025_00_45_01_3020.jpg', 2), ('/home/pi/Desktop/images/11072025/00/43/image_11072025_00_43_02_0619.jpg', 2), ('/home/pi/Desktop/images/11072025/00/42/image_11072025_00_42_02_0900.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/00/49/image_11072025_00_49_01_5363.jpg', '/home/pi/Desktop/images/11072025/00/48/image_11072025_00_48_01_7356.jpg', '/home/pi/Desktop/images/11072025/00/47/image_11072025_00_47_01_4360.jpg', '/home/pi/Desktop/images/11072025/00/45/image_11072025_00_45_01_3020.jpg', '/home/pi/Desktop/images/11072025/00/43/image_11072025_00_43_02_0619.jpg', '/home/pi/Desktop/images/11072025/00/42/image_11072025_00_42_02_0900.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/00/49/image_11072025_00_49_01_5363.jpg
/home/pi/Desktop/images/11072025/00/48/image_11072025_00_48_01_7356.jpg
/home/pi/Desktop/images/11072025/00/47/image_11072025_00_47_01_4360.jpg
/home/pi/Desktop/images/11072025/00/45/image_11072025_00_45_01_3020.jpg
/home/pi/Desktop/images/11072025/00/43/image_11072025_00_43_02_0619.jpg
/home/pi/Desktop/images/11072025/00/42/image_11072025_00_42_02_0900.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 32.44201159477234 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 01:01:05.029545
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/00/50/image_11072025_00_50_01_3227.jpg', 2), ('/home/pi/Desktop/images/11072025/00/49/image_11072025_00_49_01_5363.jpg', 2), ('/home/pi/Desktop/images/11072025/00/48/image_11072025_00_48_01_7356.jpg', 2), ('/home/pi/Desktop/images/11072025/00/47/image_11072025_00_47_01_4360.jpg', 2), ('/home/pi/Desktop/images/11072025/00/45/image_11072025_00_45_01_3020.jpg', 2), ('/home/pi/Desktop/images/11072025/00/43/image_11072025_00_43_02_0619.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/00/50/image_11072025_00_50_01_3227.jpg', '/home/pi/Desktop/images/11072025/00/49/image_11072025_00_49_01_5363.jpg', '/home/pi/Desktop/images/11072025/00/48/image_11072025_00_48_01_7356.jpg', '/home/pi/Desktop/images/11072025/00/47/image_11072025_00_47_01_4360.jpg', '/home/pi/Desktop/images/11072025/00/45/image_11072025_00_45_01_3020.jpg', '/home/pi/Desktop/images/11072025/00/43/image_11072025_00_43_02_0619.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/00/50/image_11072025_00_50_01_3227.jpg
/home/pi/Desktop/images/11072025/00/49/image_11072025_00_49_01_5363.jpg
/home/pi/Desktop/images/11072025/00/48/image_11072025_00_48_01_7356.jpg
/home/pi/Desktop/images/11072025/00/47/image_11072025_00_47_01_4360.jpg
/home/pi/Desktop/images/11072025/00/45/image_11072025_00_45_01_3020.jpg
/home/pi/Desktop/images/11072025/00/43/image_11072025_00_43_02_0619.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.256293058395386 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 01:02:05.861126
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/01/01/image_11072025_01_01_02_1351.jpg', 2), ('/home/pi/Desktop/images/11072025/00/50/image_11072025_00_50_01_3227.jpg', 2), ('/home/pi/Desktop/images/11072025/00/49/image_11072025_00_49_01_5363.jpg', 2), ('/home/pi/Desktop/images/11072025/00/48/image_11072025_00_48_01_7356.jpg', 2), ('/home/pi/Desktop/images/11072025/00/47/image_11072025_00_47_01_4360.jpg', 2), ('/home/pi/Desktop/images/11072025/00/45/image_11072025_00_45_01_3020.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/01/01/image_11072025_01_01_02_1351.jpg', '/home/pi/Desktop/images/11072025/00/50/image_11072025_00_50_01_3227.jpg', '/home/pi/Desktop/images/11072025/00/49/image_11072025_00_49_01_5363.jpg', '/home/pi/Desktop/images/11072025/00/48/image_11072025_00_48_01_7356.jpg', '/home/pi/Desktop/images/11072025/00/47/image_11072025_00_47_01_4360.jpg', '/home/pi/Desktop/images/11072025/00/45/image_11072025_00_45_01_3020.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/01/01/image_11072025_01_01_02_1351.jpg
/home/pi/Desktop/images/11072025/00/50/image_11072025_00_50_01_3227.jpg
/home/pi/Desktop/images/11072025/00/49/image_11072025_00_49_01_5363.jpg
/home/pi/Desktop/images/11072025/00/48/image_11072025_00_48_01_7356.jpg
/home/pi/Desktop/images/11072025/00/47/image_11072025_00_47_01_4360.jpg
/home/pi/Desktop/images/11072025/00/45/image_11072025_00_45_01_3020.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 32.7293004989624 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 01:03:04.863203
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/01/02/image_11072025_01_02_01_3695.jpg', 2), ('/home/pi/Desktop/images/11072025/01/01/image_11072025_01_01_02_1351.jpg', 2), ('/home/pi/Desktop/images/11072025/00/50/image_11072025_00_50_01_3227.jpg', 2), ('/home/pi/Desktop/images/11072025/00/49/image_11072025_00_49_01_5363.jpg', 2), ('/home/pi/Desktop/images/11072025/00/48/image_11072025_00_48_01_7356.jpg', 2), ('/home/pi/Desktop/images/11072025/00/47/image_11072025_00_47_01_4360.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/01/02/image_11072025_01_02_01_3695.jpg', '/home/pi/Desktop/images/11072025/01/01/image_11072025_01_01_02_1351.jpg', '/home/pi/Desktop/images/11072025/00/50/image_11072025_00_50_01_3227.jpg', '/home/pi/Desktop/images/11072025/00/49/image_11072025_00_49_01_5363.jpg', '/home/pi/Desktop/images/11072025/00/48/image_11072025_00_48_01_7356.jpg', '/home/pi/Desktop/images/11072025/00/47/image_11072025_00_47_01_4360.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/01/02/image_11072025_01_02_01_3695.jpg
/home/pi/Desktop/images/11072025/01/01/image_11072025_01_01_02_1351.jpg
/home/pi/Desktop/images/11072025/00/50/image_11072025_00_50_01_3227.jpg
/home/pi/Desktop/images/11072025/00/49/image_11072025_00_49_01_5363.jpg
/home/pi/Desktop/images/11072025/00/48/image_11072025_00_48_01_7356.jpg
/home/pi/Desktop/images/11072025/00/47/image_11072025_00_47_01_4360.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.8562273979187 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 01:04:05.139557
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/01/03/image_11072025_01_03_02_0596.jpg', 2), ('/home/pi/Desktop/images/11072025/01/02/image_11072025_01_02_01_3695.jpg', 2), ('/home/pi/Desktop/images/11072025/01/01/image_11072025_01_01_02_1351.jpg', 2), ('/home/pi/Desktop/images/11072025/00/50/image_11072025_00_50_01_3227.jpg', 2), ('/home/pi/Desktop/images/11072025/00/49/image_11072025_00_49_01_5363.jpg', 2), ('/home/pi/Desktop/images/11072025/00/48/image_11072025_00_48_01_7356.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/01/03/image_11072025_01_03_02_0596.jpg', '/home/pi/Desktop/images/11072025/01/02/image_11072025_01_02_01_3695.jpg', '/home/pi/Desktop/images/11072025/01/01/image_11072025_01_01_02_1351.jpg', '/home/pi/Desktop/images/11072025/00/50/image_11072025_00_50_01_3227.jpg', '/home/pi/Desktop/images/11072025/00/49/image_11072025_00_49_01_5363.jpg', '/home/pi/Desktop/images/11072025/00/48/image_11072025_00_48_01_7356.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/01/03/image_11072025_01_03_02_0596.jpg
/home/pi/Desktop/images/11072025/01/02/image_11072025_01_02_01_3695.jpg
/home/pi/Desktop/images/11072025/01/01/image_11072025_01_01_02_1351.jpg
/home/pi/Desktop/images/11072025/00/50/image_11072025_00_50_01_3227.jpg
/home/pi/Desktop/images/11072025/00/49/image_11072025_00_49_01_5363.jpg
/home/pi/Desktop/images/11072025/00/48/image_11072025_00_48_01_7356.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 32.72982168197632 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 01:05:05.344144
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/01/03/image_11072025_01_03_02_0596.jpg', 2), ('/home/pi/Desktop/images/11072025/01/02/image_11072025_01_02_01_3695.jpg', 2), ('/home/pi/Desktop/images/11072025/01/01/image_11072025_01_01_02_1351.jpg', 2), ('/home/pi/Desktop/images/11072025/00/50/image_11072025_00_50_01_3227.jpg', 2), ('/home/pi/Desktop/images/11072025/00/49/image_11072025_00_49_01_5363.jpg', 2), ('/home/pi/Desktop/images/11072025/00/48/image_11072025_00_48_01_7356.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/01/03/image_11072025_01_03_02_0596.jpg', '/home/pi/Desktop/images/11072025/01/02/image_11072025_01_02_01_3695.jpg', '/home/pi/Desktop/images/11072025/01/01/image_11072025_01_01_02_1351.jpg', '/home/pi/Desktop/images/11072025/00/50/image_11072025_00_50_01_3227.jpg', '/home/pi/Desktop/images/11072025/00/49/image_11072025_00_49_01_5363.jpg', '/home/pi/Desktop/images/11072025/00/48/image_11072025_00_48_01_7356.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/01/03/image_11072025_01_03_02_0596.jpg
/home/pi/Desktop/images/11072025/01/02/image_11072025_01_02_01_3695.jpg
/home/pi/Desktop/images/11072025/01/01/image_11072025_01_01_02_1351.jpg
/home/pi/Desktop/images/11072025/00/50/image_11072025_00_50_01_3227.jpg
/home/pi/Desktop/images/11072025/00/49/image_11072025_00_49_01_5363.jpg
/home/pi/Desktop/images/11072025/00/48/image_11072025_00_48_01_7356.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.70184111595154 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 01:06:05.725471
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/01/03/image_11072025_01_03_02_0596.jpg', 2), ('/home/pi/Desktop/images/11072025/01/02/image_11072025_01_02_01_3695.jpg', 2), ('/home/pi/Desktop/images/11072025/01/01/image_11072025_01_01_02_1351.jpg', 2), ('/home/pi/Desktop/images/11072025/00/50/image_11072025_00_50_01_3227.jpg', 2), ('/home/pi/Desktop/images/11072025/00/49/image_11072025_00_49_01_5363.jpg', 2), ('/home/pi/Desktop/images/11072025/00/48/image_11072025_00_48_01_7356.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/01/03/image_11072025_01_03_02_0596.jpg', '/home/pi/Desktop/images/11072025/01/02/image_11072025_01_02_01_3695.jpg', '/home/pi/Desktop/images/11072025/01/01/image_11072025_01_01_02_1351.jpg', '/home/pi/Desktop/images/11072025/00/50/image_11072025_00_50_01_3227.jpg', '/home/pi/Desktop/images/11072025/00/49/image_11072025_00_49_01_5363.jpg', '/home/pi/Desktop/images/11072025/00/48/image_11072025_00_48_01_7356.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/01/03/image_11072025_01_03_02_0596.jpg
/home/pi/Desktop/images/11072025/01/02/image_11072025_01_02_01_3695.jpg
/home/pi/Desktop/images/11072025/01/01/image_11072025_01_01_02_1351.jpg
/home/pi/Desktop/images/11072025/00/50/image_11072025_00_50_01_3227.jpg
/home/pi/Desktop/images/11072025/00/49/image_11072025_00_49_01_5363.jpg
/home/pi/Desktop/images/11072025/00/48/image_11072025_00_48_01_7356.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.56495141983032 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 01:07:05.743056
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/01/03/image_11072025_01_03_02_0596.jpg', 2), ('/home/pi/Desktop/images/11072025/01/02/image_11072025_01_02_01_3695.jpg', 2), ('/home/pi/Desktop/images/11072025/01/01/image_11072025_01_01_02_1351.jpg', 2), ('/home/pi/Desktop/images/11072025/00/50/image_11072025_00_50_01_3227.jpg', 2), ('/home/pi/Desktop/images/11072025/00/49/image_11072025_00_49_01_5363.jpg', 2), ('/home/pi/Desktop/images/11072025/00/48/image_11072025_00_48_01_7356.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/01/03/image_11072025_01_03_02_0596.jpg', '/home/pi/Desktop/images/11072025/01/02/image_11072025_01_02_01_3695.jpg', '/home/pi/Desktop/images/11072025/01/01/image_11072025_01_01_02_1351.jpg', '/home/pi/Desktop/images/11072025/00/50/image_11072025_00_50_01_3227.jpg', '/home/pi/Desktop/images/11072025/00/49/image_11072025_00_49_01_5363.jpg', '/home/pi/Desktop/images/11072025/00/48/image_11072025_00_48_01_7356.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/01/03/image_11072025_01_03_02_0596.jpg
/home/pi/Desktop/images/11072025/01/02/image_11072025_01_02_01_3695.jpg
/home/pi/Desktop/images/11072025/01/01/image_11072025_01_01_02_1351.jpg
/home/pi/Desktop/images/11072025/00/50/image_11072025_00_50_01_3227.jpg
/home/pi/Desktop/images/11072025/00/49/image_11072025_00_49_01_5363.jpg
/home/pi/Desktop/images/11072025/00/48/image_11072025_00_48_01_7356.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.65979313850403 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 01:08:06.188844
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/01/03/image_11072025_01_03_02_0596.jpg', 2), ('/home/pi/Desktop/images/11072025/01/02/image_11072025_01_02_01_3695.jpg', 2), ('/home/pi/Desktop/images/11072025/01/01/image_11072025_01_01_02_1351.jpg', 2), ('/home/pi/Desktop/images/11072025/00/50/image_11072025_00_50_01_3227.jpg', 2), ('/home/pi/Desktop/images/11072025/00/49/image_11072025_00_49_01_5363.jpg', 2), ('/home/pi/Desktop/images/11072025/00/48/image_11072025_00_48_01_7356.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/01/03/image_11072025_01_03_02_0596.jpg', '/home/pi/Desktop/images/11072025/01/02/image_11072025_01_02_01_3695.jpg', '/home/pi/Desktop/images/11072025/01/01/image_11072025_01_01_02_1351.jpg', '/home/pi/Desktop/images/11072025/00/50/image_11072025_00_50_01_3227.jpg', '/home/pi/Desktop/images/11072025/00/49/image_11072025_00_49_01_5363.jpg', '/home/pi/Desktop/images/11072025/00/48/image_11072025_00_48_01_7356.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/01/03/image_11072025_01_03_02_0596.jpg
/home/pi/Desktop/images/11072025/01/02/image_11072025_01_02_01_3695.jpg
/home/pi/Desktop/images/11072025/01/01/image_11072025_01_01_02_1351.jpg
/home/pi/Desktop/images/11072025/00/50/image_11072025_00_50_01_3227.jpg
/home/pi/Desktop/images/11072025/00/49/image_11072025_00_49_01_5363.jpg
/home/pi/Desktop/images/11072025/00/48/image_11072025_00_48_01_7356.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.32766580581665 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 01:09:05.872042
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/01/04/image_11072025_01_04_01_2879.jpg', 2), ('/home/pi/Desktop/images/11072025/01/03/image_11072025_01_03_02_0596.jpg', 2), ('/home/pi/Desktop/images/11072025/01/02/image_11072025_01_02_01_3695.jpg', 2), ('/home/pi/Desktop/images/11072025/01/01/image_11072025_01_01_02_1351.jpg', 2), ('/home/pi/Desktop/images/11072025/00/50/image_11072025_00_50_01_3227.jpg', 2), ('/home/pi/Desktop/images/11072025/00/49/image_11072025_00_49_01_5363.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/01/04/image_11072025_01_04_01_2879.jpg', '/home/pi/Desktop/images/11072025/01/03/image_11072025_01_03_02_0596.jpg', '/home/pi/Desktop/images/11072025/01/02/image_11072025_01_02_01_3695.jpg', '/home/pi/Desktop/images/11072025/01/01/image_11072025_01_01_02_1351.jpg', '/home/pi/Desktop/images/11072025/00/50/image_11072025_00_50_01_3227.jpg', '/home/pi/Desktop/images/11072025/00/49/image_11072025_00_49_01_5363.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/01/04/image_11072025_01_04_01_2879.jpg
/home/pi/Desktop/images/11072025/01/03/image_11072025_01_03_02_0596.jpg
/home/pi/Desktop/images/11072025/01/02/image_11072025_01_02_01_3695.jpg
/home/pi/Desktop/images/11072025/01/01/image_11072025_01_01_02_1351.jpg
/home/pi/Desktop/images/11072025/00/50/image_11072025_00_50_01_3227.jpg
/home/pi/Desktop/images/11072025/00/49/image_11072025_00_49_01_5363.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.0093138217926 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 01:10:05.027226
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/01/09/image_11072025_01_09_02_2640.jpg', 2), ('/home/pi/Desktop/images/11072025/01/04/image_11072025_01_04_01_2879.jpg', 2), ('/home/pi/Desktop/images/11072025/01/03/image_11072025_01_03_02_0596.jpg', 2), ('/home/pi/Desktop/images/11072025/01/02/image_11072025_01_02_01_3695.jpg', 2), ('/home/pi/Desktop/images/11072025/01/01/image_11072025_01_01_02_1351.jpg', 2), ('/home/pi/Desktop/images/11072025/00/50/image_11072025_00_50_01_3227.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/01/09/image_11072025_01_09_02_2640.jpg', '/home/pi/Desktop/images/11072025/01/04/image_11072025_01_04_01_2879.jpg', '/home/pi/Desktop/images/11072025/01/03/image_11072025_01_03_02_0596.jpg', '/home/pi/Desktop/images/11072025/01/02/image_11072025_01_02_01_3695.jpg', '/home/pi/Desktop/images/11072025/01/01/image_11072025_01_01_02_1351.jpg', '/home/pi/Desktop/images/11072025/00/50/image_11072025_00_50_01_3227.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/01/09/image_11072025_01_09_02_2640.jpg
/home/pi/Desktop/images/11072025/01/04/image_11072025_01_04_01_2879.jpg
/home/pi/Desktop/images/11072025/01/03/image_11072025_01_03_02_0596.jpg
/home/pi/Desktop/images/11072025/01/02/image_11072025_01_02_01_3695.jpg
/home/pi/Desktop/images/11072025/01/01/image_11072025_01_01_02_1351.jpg
/home/pi/Desktop/images/11072025/00/50/image_11072025_00_50_01_3227.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 32.94196057319641 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 01:11:05.491387
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/01/10/image_11072025_01_10_02_0389.jpg', 2), ('/home/pi/Desktop/images/11072025/01/09/image_11072025_01_09_02_2640.jpg', 2), ('/home/pi/Desktop/images/11072025/01/04/image_11072025_01_04_01_2879.jpg', 2), ('/home/pi/Desktop/images/11072025/01/03/image_11072025_01_03_02_0596.jpg', 2), ('/home/pi/Desktop/images/11072025/01/02/image_11072025_01_02_01_3695.jpg', 2), ('/home/pi/Desktop/images/11072025/01/01/image_11072025_01_01_02_1351.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/01/10/image_11072025_01_10_02_0389.jpg', '/home/pi/Desktop/images/11072025/01/09/image_11072025_01_09_02_2640.jpg', '/home/pi/Desktop/images/11072025/01/04/image_11072025_01_04_01_2879.jpg', '/home/pi/Desktop/images/11072025/01/03/image_11072025_01_03_02_0596.jpg', '/home/pi/Desktop/images/11072025/01/02/image_11072025_01_02_01_3695.jpg', '/home/pi/Desktop/images/11072025/01/01/image_11072025_01_01_02_1351.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/01/10/image_11072025_01_10_02_0389.jpg
/home/pi/Desktop/images/11072025/01/09/image_11072025_01_09_02_2640.jpg
/home/pi/Desktop/images/11072025/01/04/image_11072025_01_04_01_2879.jpg
/home/pi/Desktop/images/11072025/01/03/image_11072025_01_03_02_0596.jpg
/home/pi/Desktop/images/11072025/01/02/image_11072025_01_02_01_3695.jpg
/home/pi/Desktop/images/11072025/01/01/image_11072025_01_01_02_1351.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.71091270446777 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 01:12:05.548782
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/01/11/image_11072025_01_11_01_6164.jpg', 2), ('/home/pi/Desktop/images/11072025/01/10/image_11072025_01_10_02_0389.jpg', 2), ('/home/pi/Desktop/images/11072025/01/09/image_11072025_01_09_02_2640.jpg', 2), ('/home/pi/Desktop/images/11072025/01/04/image_11072025_01_04_01_2879.jpg', 2), ('/home/pi/Desktop/images/11072025/01/03/image_11072025_01_03_02_0596.jpg', 2), ('/home/pi/Desktop/images/11072025/01/02/image_11072025_01_02_01_3695.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/01/11/image_11072025_01_11_01_6164.jpg', '/home/pi/Desktop/images/11072025/01/10/image_11072025_01_10_02_0389.jpg', '/home/pi/Desktop/images/11072025/01/09/image_11072025_01_09_02_2640.jpg', '/home/pi/Desktop/images/11072025/01/04/image_11072025_01_04_01_2879.jpg', '/home/pi/Desktop/images/11072025/01/03/image_11072025_01_03_02_0596.jpg', '/home/pi/Desktop/images/11072025/01/02/image_11072025_01_02_01_3695.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/01/11/image_11072025_01_11_01_6164.jpg
/home/pi/Desktop/images/11072025/01/10/image_11072025_01_10_02_0389.jpg
/home/pi/Desktop/images/11072025/01/09/image_11072025_01_09_02_2640.jpg
/home/pi/Desktop/images/11072025/01/04/image_11072025_01_04_01_2879.jpg
/home/pi/Desktop/images/11072025/01/03/image_11072025_01_03_02_0596.jpg
/home/pi/Desktop/images/11072025/01/02/image_11072025_01_02_01_3695.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 32.70211577415466 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 01:13:05.165836
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/01/12/image_11072025_01_12_01_7328.jpg', 2), ('/home/pi/Desktop/images/11072025/01/11/image_11072025_01_11_01_6164.jpg', 2), ('/home/pi/Desktop/images/11072025/01/10/image_11072025_01_10_02_0389.jpg', 2), ('/home/pi/Desktop/images/11072025/01/09/image_11072025_01_09_02_2640.jpg', 2), ('/home/pi/Desktop/images/11072025/01/04/image_11072025_01_04_01_2879.jpg', 2), ('/home/pi/Desktop/images/11072025/01/03/image_11072025_01_03_02_0596.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/01/12/image_11072025_01_12_01_7328.jpg', '/home/pi/Desktop/images/11072025/01/11/image_11072025_01_11_01_6164.jpg', '/home/pi/Desktop/images/11072025/01/10/image_11072025_01_10_02_0389.jpg', '/home/pi/Desktop/images/11072025/01/09/image_11072025_01_09_02_2640.jpg', '/home/pi/Desktop/images/11072025/01/04/image_11072025_01_04_01_2879.jpg', '/home/pi/Desktop/images/11072025/01/03/image_11072025_01_03_02_0596.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/01/12/image_11072025_01_12_01_7328.jpg
/home/pi/Desktop/images/11072025/01/11/image_11072025_01_11_01_6164.jpg
/home/pi/Desktop/images/11072025/01/10/image_11072025_01_10_02_0389.jpg
/home/pi/Desktop/images/11072025/01/09/image_11072025_01_09_02_2640.jpg
/home/pi/Desktop/images/11072025/01/04/image_11072025_01_04_01_2879.jpg
/home/pi/Desktop/images/11072025/01/03/image_11072025_01_03_02_0596.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.3102080821991 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 01:14:05.533833
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/01/13/image_11072025_01_13_02_0561.jpg', 2), ('/home/pi/Desktop/images/11072025/01/12/image_11072025_01_12_01_7328.jpg', 2), ('/home/pi/Desktop/images/11072025/01/11/image_11072025_01_11_01_6164.jpg', 2), ('/home/pi/Desktop/images/11072025/01/10/image_11072025_01_10_02_0389.jpg', 2), ('/home/pi/Desktop/images/11072025/01/09/image_11072025_01_09_02_2640.jpg', 2), ('/home/pi/Desktop/images/11072025/01/04/image_11072025_01_04_01_2879.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/01/13/image_11072025_01_13_02_0561.jpg', '/home/pi/Desktop/images/11072025/01/12/image_11072025_01_12_01_7328.jpg', '/home/pi/Desktop/images/11072025/01/11/image_11072025_01_11_01_6164.jpg', '/home/pi/Desktop/images/11072025/01/10/image_11072025_01_10_02_0389.jpg', '/home/pi/Desktop/images/11072025/01/09/image_11072025_01_09_02_2640.jpg', '/home/pi/Desktop/images/11072025/01/04/image_11072025_01_04_01_2879.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/01/13/image_11072025_01_13_02_0561.jpg
/home/pi/Desktop/images/11072025/01/12/image_11072025_01_12_01_7328.jpg
/home/pi/Desktop/images/11072025/01/11/image_11072025_01_11_01_6164.jpg
/home/pi/Desktop/images/11072025/01/10/image_11072025_01_10_02_0389.jpg
/home/pi/Desktop/images/11072025/01/09/image_11072025_01_09_02_2640.jpg
/home/pi/Desktop/images/11072025/01/04/image_11072025_01_04_01_2879.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.07788848876953 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 01:15:05.793592
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/01/14/image_11072025_01_14_01_5281.jpg', 2), ('/home/pi/Desktop/images/11072025/01/13/image_11072025_01_13_02_0561.jpg', 2), ('/home/pi/Desktop/images/11072025/01/12/image_11072025_01_12_01_7328.jpg', 2), ('/home/pi/Desktop/images/11072025/01/11/image_11072025_01_11_01_6164.jpg', 2), ('/home/pi/Desktop/images/11072025/01/10/image_11072025_01_10_02_0389.jpg', 2), ('/home/pi/Desktop/images/11072025/01/09/image_11072025_01_09_02_2640.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/01/14/image_11072025_01_14_01_5281.jpg', '/home/pi/Desktop/images/11072025/01/13/image_11072025_01_13_02_0561.jpg', '/home/pi/Desktop/images/11072025/01/12/image_11072025_01_12_01_7328.jpg', '/home/pi/Desktop/images/11072025/01/11/image_11072025_01_11_01_6164.jpg', '/home/pi/Desktop/images/11072025/01/10/image_11072025_01_10_02_0389.jpg', '/home/pi/Desktop/images/11072025/01/09/image_11072025_01_09_02_2640.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/01/14/image_11072025_01_14_01_5281.jpg
/home/pi/Desktop/images/11072025/01/13/image_11072025_01_13_02_0561.jpg
/home/pi/Desktop/images/11072025/01/12/image_11072025_01_12_01_7328.jpg
/home/pi/Desktop/images/11072025/01/11/image_11072025_01_11_01_6164.jpg
/home/pi/Desktop/images/11072025/01/10/image_11072025_01_10_02_0389.jpg
/home/pi/Desktop/images/11072025/01/09/image_11072025_01_09_02_2640.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 34.96263647079468 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 01:16:05.713229
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/01/15/image_11072025_01_15_02_1568.jpg', 2), ('/home/pi/Desktop/images/11072025/01/14/image_11072025_01_14_01_5281.jpg', 2), ('/home/pi/Desktop/images/11072025/01/13/image_11072025_01_13_02_0561.jpg', 2), ('/home/pi/Desktop/images/11072025/01/12/image_11072025_01_12_01_7328.jpg', 2), ('/home/pi/Desktop/images/11072025/01/11/image_11072025_01_11_01_6164.jpg', 2), ('/home/pi/Desktop/images/11072025/01/10/image_11072025_01_10_02_0389.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/01/15/image_11072025_01_15_02_1568.jpg', '/home/pi/Desktop/images/11072025/01/14/image_11072025_01_14_01_5281.jpg', '/home/pi/Desktop/images/11072025/01/13/image_11072025_01_13_02_0561.jpg', '/home/pi/Desktop/images/11072025/01/12/image_11072025_01_12_01_7328.jpg', '/home/pi/Desktop/images/11072025/01/11/image_11072025_01_11_01_6164.jpg', '/home/pi/Desktop/images/11072025/01/10/image_11072025_01_10_02_0389.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/01/15/image_11072025_01_15_02_1568.jpg
/home/pi/Desktop/images/11072025/01/14/image_11072025_01_14_01_5281.jpg
/home/pi/Desktop/images/11072025/01/13/image_11072025_01_13_02_0561.jpg
/home/pi/Desktop/images/11072025/01/12/image_11072025_01_12_01_7328.jpg
/home/pi/Desktop/images/11072025/01/11/image_11072025_01_11_01_6164.jpg
/home/pi/Desktop/images/11072025/01/10/image_11072025_01_10_02_0389.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.34409523010254 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 01:17:06.011801
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/01/16/image_11072025_01_16_01_7584.jpg', 2), ('/home/pi/Desktop/images/11072025/01/15/image_11072025_01_15_02_1568.jpg', 2), ('/home/pi/Desktop/images/11072025/01/14/image_11072025_01_14_01_5281.jpg', 2), ('/home/pi/Desktop/images/11072025/01/13/image_11072025_01_13_02_0561.jpg', 2), ('/home/pi/Desktop/images/11072025/01/12/image_11072025_01_12_01_7328.jpg', 2), ('/home/pi/Desktop/images/11072025/01/11/image_11072025_01_11_01_6164.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/01/16/image_11072025_01_16_01_7584.jpg', '/home/pi/Desktop/images/11072025/01/15/image_11072025_01_15_02_1568.jpg', '/home/pi/Desktop/images/11072025/01/14/image_11072025_01_14_01_5281.jpg', '/home/pi/Desktop/images/11072025/01/13/image_11072025_01_13_02_0561.jpg', '/home/pi/Desktop/images/11072025/01/12/image_11072025_01_12_01_7328.jpg', '/home/pi/Desktop/images/11072025/01/11/image_11072025_01_11_01_6164.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/01/16/image_11072025_01_16_01_7584.jpg
/home/pi/Desktop/images/11072025/01/15/image_11072025_01_15_02_1568.jpg
/home/pi/Desktop/images/11072025/01/14/image_11072025_01_14_01_5281.jpg
/home/pi/Desktop/images/11072025/01/13/image_11072025_01_13_02_0561.jpg
/home/pi/Desktop/images/11072025/01/12/image_11072025_01_12_01_7328.jpg
/home/pi/Desktop/images/11072025/01/11/image_11072025_01_11_01_6164.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.16758179664612 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 01:18:05.244506
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/01/17/image_11072025_01_17_01_9442.jpg', 2), ('/home/pi/Desktop/images/11072025/01/16/image_11072025_01_16_01_7584.jpg', 2), ('/home/pi/Desktop/images/11072025/01/15/image_11072025_01_15_02_1568.jpg', 2), ('/home/pi/Desktop/images/11072025/01/14/image_11072025_01_14_01_5281.jpg', 2), ('/home/pi/Desktop/images/11072025/01/13/image_11072025_01_13_02_0561.jpg', 2), ('/home/pi/Desktop/images/11072025/01/12/image_11072025_01_12_01_7328.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/01/17/image_11072025_01_17_01_9442.jpg', '/home/pi/Desktop/images/11072025/01/16/image_11072025_01_16_01_7584.jpg', '/home/pi/Desktop/images/11072025/01/15/image_11072025_01_15_02_1568.jpg', '/home/pi/Desktop/images/11072025/01/14/image_11072025_01_14_01_5281.jpg', '/home/pi/Desktop/images/11072025/01/13/image_11072025_01_13_02_0561.jpg', '/home/pi/Desktop/images/11072025/01/12/image_11072025_01_12_01_7328.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/01/17/image_11072025_01_17_01_9442.jpg
/home/pi/Desktop/images/11072025/01/16/image_11072025_01_16_01_7584.jpg
/home/pi/Desktop/images/11072025/01/15/image_11072025_01_15_02_1568.jpg
/home/pi/Desktop/images/11072025/01/14/image_11072025_01_14_01_5281.jpg
/home/pi/Desktop/images/11072025/01/13/image_11072025_01_13_02_0561.jpg
/home/pi/Desktop/images/11072025/01/12/image_11072025_01_12_01_7328.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.01953911781311 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 01:19:05.401292
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/01/18/image_11072025_01_18_02_0583.jpg', 2), ('/home/pi/Desktop/images/11072025/01/17/image_11072025_01_17_01_9442.jpg', 2), ('/home/pi/Desktop/images/11072025/01/16/image_11072025_01_16_01_7584.jpg', 2), ('/home/pi/Desktop/images/11072025/01/15/image_11072025_01_15_02_1568.jpg', 2), ('/home/pi/Desktop/images/11072025/01/14/image_11072025_01_14_01_5281.jpg', 2), ('/home/pi/Desktop/images/11072025/01/13/image_11072025_01_13_02_0561.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/01/18/image_11072025_01_18_02_0583.jpg', '/home/pi/Desktop/images/11072025/01/17/image_11072025_01_17_01_9442.jpg', '/home/pi/Desktop/images/11072025/01/16/image_11072025_01_16_01_7584.jpg', '/home/pi/Desktop/images/11072025/01/15/image_11072025_01_15_02_1568.jpg', '/home/pi/Desktop/images/11072025/01/14/image_11072025_01_14_01_5281.jpg', '/home/pi/Desktop/images/11072025/01/13/image_11072025_01_13_02_0561.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/01/18/image_11072025_01_18_02_0583.jpg
/home/pi/Desktop/images/11072025/01/17/image_11072025_01_17_01_9442.jpg
/home/pi/Desktop/images/11072025/01/16/image_11072025_01_16_01_7584.jpg
/home/pi/Desktop/images/11072025/01/15/image_11072025_01_15_02_1568.jpg
/home/pi/Desktop/images/11072025/01/14/image_11072025_01_14_01_5281.jpg
/home/pi/Desktop/images/11072025/01/13/image_11072025_01_13_02_0561.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.003336668014526 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 01:20:05.173201
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/01/19/image_11072025_01_19_01_8134.jpg', 2), ('/home/pi/Desktop/images/11072025/01/18/image_11072025_01_18_02_0583.jpg', 2), ('/home/pi/Desktop/images/11072025/01/17/image_11072025_01_17_01_9442.jpg', 2), ('/home/pi/Desktop/images/11072025/01/16/image_11072025_01_16_01_7584.jpg', 2), ('/home/pi/Desktop/images/11072025/01/15/image_11072025_01_15_02_1568.jpg', 2), ('/home/pi/Desktop/images/11072025/01/14/image_11072025_01_14_01_5281.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/01/19/image_11072025_01_19_01_8134.jpg', '/home/pi/Desktop/images/11072025/01/18/image_11072025_01_18_02_0583.jpg', '/home/pi/Desktop/images/11072025/01/17/image_11072025_01_17_01_9442.jpg', '/home/pi/Desktop/images/11072025/01/16/image_11072025_01_16_01_7584.jpg', '/home/pi/Desktop/images/11072025/01/15/image_11072025_01_15_02_1568.jpg', '/home/pi/Desktop/images/11072025/01/14/image_11072025_01_14_01_5281.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/01/19/image_11072025_01_19_01_8134.jpg
/home/pi/Desktop/images/11072025/01/18/image_11072025_01_18_02_0583.jpg
/home/pi/Desktop/images/11072025/01/17/image_11072025_01_17_01_9442.jpg
/home/pi/Desktop/images/11072025/01/16/image_11072025_01_16_01_7584.jpg
/home/pi/Desktop/images/11072025/01/15/image_11072025_01_15_02_1568.jpg
/home/pi/Desktop/images/11072025/01/14/image_11072025_01_14_01_5281.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.31637620925903 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 01:21:05.442000
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/01/20/image_11072025_01_20_01_5025.jpg', 2), ('/home/pi/Desktop/images/11072025/01/19/image_11072025_01_19_01_8134.jpg', 2), ('/home/pi/Desktop/images/11072025/01/18/image_11072025_01_18_02_0583.jpg', 2), ('/home/pi/Desktop/images/11072025/01/17/image_11072025_01_17_01_9442.jpg', 2), ('/home/pi/Desktop/images/11072025/01/16/image_11072025_01_16_01_7584.jpg', 2), ('/home/pi/Desktop/images/11072025/01/15/image_11072025_01_15_02_1568.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/01/20/image_11072025_01_20_01_5025.jpg', '/home/pi/Desktop/images/11072025/01/19/image_11072025_01_19_01_8134.jpg', '/home/pi/Desktop/images/11072025/01/18/image_11072025_01_18_02_0583.jpg', '/home/pi/Desktop/images/11072025/01/17/image_11072025_01_17_01_9442.jpg', '/home/pi/Desktop/images/11072025/01/16/image_11072025_01_16_01_7584.jpg', '/home/pi/Desktop/images/11072025/01/15/image_11072025_01_15_02_1568.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/01/20/image_11072025_01_20_01_5025.jpg
/home/pi/Desktop/images/11072025/01/19/image_11072025_01_19_01_8134.jpg
/home/pi/Desktop/images/11072025/01/18/image_11072025_01_18_02_0583.jpg
/home/pi/Desktop/images/11072025/01/17/image_11072025_01_17_01_9442.jpg
/home/pi/Desktop/images/11072025/01/16/image_11072025_01_16_01_7584.jpg
/home/pi/Desktop/images/11072025/01/15/image_11072025_01_15_02_1568.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.278374433517456 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 01:22:05.941070
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/01/21/image_11072025_01_21_01_9005.jpg', 2), ('/home/pi/Desktop/images/11072025/01/20/image_11072025_01_20_01_5025.jpg', 2), ('/home/pi/Desktop/images/11072025/01/19/image_11072025_01_19_01_8134.jpg', 2), ('/home/pi/Desktop/images/11072025/01/18/image_11072025_01_18_02_0583.jpg', 2), ('/home/pi/Desktop/images/11072025/01/17/image_11072025_01_17_01_9442.jpg', 2), ('/home/pi/Desktop/images/11072025/01/16/image_11072025_01_16_01_7584.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/01/21/image_11072025_01_21_01_9005.jpg', '/home/pi/Desktop/images/11072025/01/20/image_11072025_01_20_01_5025.jpg', '/home/pi/Desktop/images/11072025/01/19/image_11072025_01_19_01_8134.jpg', '/home/pi/Desktop/images/11072025/01/18/image_11072025_01_18_02_0583.jpg', '/home/pi/Desktop/images/11072025/01/17/image_11072025_01_17_01_9442.jpg', '/home/pi/Desktop/images/11072025/01/16/image_11072025_01_16_01_7584.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/01/21/image_11072025_01_21_01_9005.jpg
/home/pi/Desktop/images/11072025/01/20/image_11072025_01_20_01_5025.jpg
/home/pi/Desktop/images/11072025/01/19/image_11072025_01_19_01_8134.jpg
/home/pi/Desktop/images/11072025/01/18/image_11072025_01_18_02_0583.jpg
/home/pi/Desktop/images/11072025/01/17/image_11072025_01_17_01_9442.jpg
/home/pi/Desktop/images/11072025/01/16/image_11072025_01_16_01_7584.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 32.89404010772705 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 01:23:05.991603
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/01/22/image_11072025_01_22_01_4809.jpg', 2), ('/home/pi/Desktop/images/11072025/01/21/image_11072025_01_21_01_9005.jpg', 2), ('/home/pi/Desktop/images/11072025/01/20/image_11072025_01_20_01_5025.jpg', 2), ('/home/pi/Desktop/images/11072025/01/19/image_11072025_01_19_01_8134.jpg', 2), ('/home/pi/Desktop/images/11072025/01/18/image_11072025_01_18_02_0583.jpg', 2), ('/home/pi/Desktop/images/11072025/01/17/image_11072025_01_17_01_9442.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/01/22/image_11072025_01_22_01_4809.jpg', '/home/pi/Desktop/images/11072025/01/21/image_11072025_01_21_01_9005.jpg', '/home/pi/Desktop/images/11072025/01/20/image_11072025_01_20_01_5025.jpg', '/home/pi/Desktop/images/11072025/01/19/image_11072025_01_19_01_8134.jpg', '/home/pi/Desktop/images/11072025/01/18/image_11072025_01_18_02_0583.jpg', '/home/pi/Desktop/images/11072025/01/17/image_11072025_01_17_01_9442.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/01/22/image_11072025_01_22_01_4809.jpg
/home/pi/Desktop/images/11072025/01/21/image_11072025_01_21_01_9005.jpg
/home/pi/Desktop/images/11072025/01/20/image_11072025_01_20_01_5025.jpg
/home/pi/Desktop/images/11072025/01/19/image_11072025_01_19_01_8134.jpg
/home/pi/Desktop/images/11072025/01/18/image_11072025_01_18_02_0583.jpg
/home/pi/Desktop/images/11072025/01/17/image_11072025_01_17_01_9442.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 32.978169679641724 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 01:24:06.225769
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/01/23/image_11072025_01_23_02_2917.jpg', 2), ('/home/pi/Desktop/images/11072025/01/22/image_11072025_01_22_01_4809.jpg', 2), ('/home/pi/Desktop/images/11072025/01/21/image_11072025_01_21_01_9005.jpg', 2), ('/home/pi/Desktop/images/11072025/01/20/image_11072025_01_20_01_5025.jpg', 2), ('/home/pi/Desktop/images/11072025/01/19/image_11072025_01_19_01_8134.jpg', 2), ('/home/pi/Desktop/images/11072025/01/18/image_11072025_01_18_02_0583.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/01/23/image_11072025_01_23_02_2917.jpg', '/home/pi/Desktop/images/11072025/01/22/image_11072025_01_22_01_4809.jpg', '/home/pi/Desktop/images/11072025/01/21/image_11072025_01_21_01_9005.jpg', '/home/pi/Desktop/images/11072025/01/20/image_11072025_01_20_01_5025.jpg', '/home/pi/Desktop/images/11072025/01/19/image_11072025_01_19_01_8134.jpg', '/home/pi/Desktop/images/11072025/01/18/image_11072025_01_18_02_0583.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/01/23/image_11072025_01_23_02_2917.jpg
/home/pi/Desktop/images/11072025/01/22/image_11072025_01_22_01_4809.jpg
/home/pi/Desktop/images/11072025/01/21/image_11072025_01_21_01_9005.jpg
/home/pi/Desktop/images/11072025/01/20/image_11072025_01_20_01_5025.jpg
/home/pi/Desktop/images/11072025/01/19/image_11072025_01_19_01_8134.jpg
/home/pi/Desktop/images/11072025/01/18/image_11072025_01_18_02_0583.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 32.96068286895752 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 01:25:06.169930
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/01/23/image_11072025_01_23_02_2917.jpg', 2), ('/home/pi/Desktop/images/11072025/01/22/image_11072025_01_22_01_4809.jpg', 2), ('/home/pi/Desktop/images/11072025/01/21/image_11072025_01_21_01_9005.jpg', 2), ('/home/pi/Desktop/images/11072025/01/20/image_11072025_01_20_01_5025.jpg', 2), ('/home/pi/Desktop/images/11072025/01/19/image_11072025_01_19_01_8134.jpg', 2), ('/home/pi/Desktop/images/11072025/01/18/image_11072025_01_18_02_0583.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/01/23/image_11072025_01_23_02_2917.jpg', '/home/pi/Desktop/images/11072025/01/22/image_11072025_01_22_01_4809.jpg', '/home/pi/Desktop/images/11072025/01/21/image_11072025_01_21_01_9005.jpg', '/home/pi/Desktop/images/11072025/01/20/image_11072025_01_20_01_5025.jpg', '/home/pi/Desktop/images/11072025/01/19/image_11072025_01_19_01_8134.jpg', '/home/pi/Desktop/images/11072025/01/18/image_11072025_01_18_02_0583.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/01/23/image_11072025_01_23_02_2917.jpg
/home/pi/Desktop/images/11072025/01/22/image_11072025_01_22_01_4809.jpg
/home/pi/Desktop/images/11072025/01/21/image_11072025_01_21_01_9005.jpg
/home/pi/Desktop/images/11072025/01/20/image_11072025_01_20_01_5025.jpg
/home/pi/Desktop/images/11072025/01/19/image_11072025_01_19_01_8134.jpg
/home/pi/Desktop/images/11072025/01/18/image_11072025_01_18_02_0583.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 34.08828687667847 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 01:26:05.609300
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/01/23/image_11072025_01_23_02_2917.jpg', 2), ('/home/pi/Desktop/images/11072025/01/22/image_11072025_01_22_01_4809.jpg', 2), ('/home/pi/Desktop/images/11072025/01/21/image_11072025_01_21_01_9005.jpg', 2), ('/home/pi/Desktop/images/11072025/01/20/image_11072025_01_20_01_5025.jpg', 2), ('/home/pi/Desktop/images/11072025/01/19/image_11072025_01_19_01_8134.jpg', 2), ('/home/pi/Desktop/images/11072025/01/18/image_11072025_01_18_02_0583.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/01/23/image_11072025_01_23_02_2917.jpg', '/home/pi/Desktop/images/11072025/01/22/image_11072025_01_22_01_4809.jpg', '/home/pi/Desktop/images/11072025/01/21/image_11072025_01_21_01_9005.jpg', '/home/pi/Desktop/images/11072025/01/20/image_11072025_01_20_01_5025.jpg', '/home/pi/Desktop/images/11072025/01/19/image_11072025_01_19_01_8134.jpg', '/home/pi/Desktop/images/11072025/01/18/image_11072025_01_18_02_0583.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/01/23/image_11072025_01_23_02_2917.jpg
/home/pi/Desktop/images/11072025/01/22/image_11072025_01_22_01_4809.jpg
/home/pi/Desktop/images/11072025/01/21/image_11072025_01_21_01_9005.jpg
/home/pi/Desktop/images/11072025/01/20/image_11072025_01_20_01_5025.jpg
/home/pi/Desktop/images/11072025/01/19/image_11072025_01_19_01_8134.jpg
/home/pi/Desktop/images/11072025/01/18/image_11072025_01_18_02_0583.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 32.86392402648926 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 01:27:05.796005
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/01/23/image_11072025_01_23_02_2917.jpg', 2), ('/home/pi/Desktop/images/11072025/01/22/image_11072025_01_22_01_4809.jpg', 2), ('/home/pi/Desktop/images/11072025/01/21/image_11072025_01_21_01_9005.jpg', 2), ('/home/pi/Desktop/images/11072025/01/20/image_11072025_01_20_01_5025.jpg', 2), ('/home/pi/Desktop/images/11072025/01/19/image_11072025_01_19_01_8134.jpg', 2), ('/home/pi/Desktop/images/11072025/01/18/image_11072025_01_18_02_0583.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/01/23/image_11072025_01_23_02_2917.jpg', '/home/pi/Desktop/images/11072025/01/22/image_11072025_01_22_01_4809.jpg', '/home/pi/Desktop/images/11072025/01/21/image_11072025_01_21_01_9005.jpg', '/home/pi/Desktop/images/11072025/01/20/image_11072025_01_20_01_5025.jpg', '/home/pi/Desktop/images/11072025/01/19/image_11072025_01_19_01_8134.jpg', '/home/pi/Desktop/images/11072025/01/18/image_11072025_01_18_02_0583.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/01/23/image_11072025_01_23_02_2917.jpg
/home/pi/Desktop/images/11072025/01/22/image_11072025_01_22_01_4809.jpg
/home/pi/Desktop/images/11072025/01/21/image_11072025_01_21_01_9005.jpg
/home/pi/Desktop/images/11072025/01/20/image_11072025_01_20_01_5025.jpg
/home/pi/Desktop/images/11072025/01/19/image_11072025_01_19_01_8134.jpg
/home/pi/Desktop/images/11072025/01/18/image_11072025_01_18_02_0583.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.802181243896484 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 01:28:05.487685
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/01/23/image_11072025_01_23_02_2917.jpg', 2), ('/home/pi/Desktop/images/11072025/01/22/image_11072025_01_22_01_4809.jpg', 2), ('/home/pi/Desktop/images/11072025/01/21/image_11072025_01_21_01_9005.jpg', 2), ('/home/pi/Desktop/images/11072025/01/20/image_11072025_01_20_01_5025.jpg', 2), ('/home/pi/Desktop/images/11072025/01/19/image_11072025_01_19_01_8134.jpg', 2), ('/home/pi/Desktop/images/11072025/01/18/image_11072025_01_18_02_0583.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/01/23/image_11072025_01_23_02_2917.jpg', '/home/pi/Desktop/images/11072025/01/22/image_11072025_01_22_01_4809.jpg', '/home/pi/Desktop/images/11072025/01/21/image_11072025_01_21_01_9005.jpg', '/home/pi/Desktop/images/11072025/01/20/image_11072025_01_20_01_5025.jpg', '/home/pi/Desktop/images/11072025/01/19/image_11072025_01_19_01_8134.jpg', '/home/pi/Desktop/images/11072025/01/18/image_11072025_01_18_02_0583.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/01/23/image_11072025_01_23_02_2917.jpg
/home/pi/Desktop/images/11072025/01/22/image_11072025_01_22_01_4809.jpg
/home/pi/Desktop/images/11072025/01/21/image_11072025_01_21_01_9005.jpg
/home/pi/Desktop/images/11072025/01/20/image_11072025_01_20_01_5025.jpg
/home/pi/Desktop/images/11072025/01/19/image_11072025_01_19_01_8134.jpg
/home/pi/Desktop/images/11072025/01/18/image_11072025_01_18_02_0583.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.25397038459778 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 01:29:05.885908
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/01/24/image_11072025_01_24_02_2280.jpg', 2), ('/home/pi/Desktop/images/11072025/01/23/image_11072025_01_23_02_2917.jpg', 2), ('/home/pi/Desktop/images/11072025/01/22/image_11072025_01_22_01_4809.jpg', 2), ('/home/pi/Desktop/images/11072025/01/21/image_11072025_01_21_01_9005.jpg', 2), ('/home/pi/Desktop/images/11072025/01/20/image_11072025_01_20_01_5025.jpg', 2), ('/home/pi/Desktop/images/11072025/01/19/image_11072025_01_19_01_8134.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/01/24/image_11072025_01_24_02_2280.jpg', '/home/pi/Desktop/images/11072025/01/23/image_11072025_01_23_02_2917.jpg', '/home/pi/Desktop/images/11072025/01/22/image_11072025_01_22_01_4809.jpg', '/home/pi/Desktop/images/11072025/01/21/image_11072025_01_21_01_9005.jpg', '/home/pi/Desktop/images/11072025/01/20/image_11072025_01_20_01_5025.jpg', '/home/pi/Desktop/images/11072025/01/19/image_11072025_01_19_01_8134.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/01/24/image_11072025_01_24_02_2280.jpg
/home/pi/Desktop/images/11072025/01/23/image_11072025_01_23_02_2917.jpg
/home/pi/Desktop/images/11072025/01/22/image_11072025_01_22_01_4809.jpg
/home/pi/Desktop/images/11072025/01/21/image_11072025_01_21_01_9005.jpg
/home/pi/Desktop/images/11072025/01/20/image_11072025_01_20_01_5025.jpg
/home/pi/Desktop/images/11072025/01/19/image_11072025_01_19_01_8134.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 32.98955249786377 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 01:30:05.671393
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/01/24/image_11072025_01_24_02_2280.jpg', 2), ('/home/pi/Desktop/images/11072025/01/23/image_11072025_01_23_02_2917.jpg', 2), ('/home/pi/Desktop/images/11072025/01/22/image_11072025_01_22_01_4809.jpg', 2), ('/home/pi/Desktop/images/11072025/01/21/image_11072025_01_21_01_9005.jpg', 2), ('/home/pi/Desktop/images/11072025/01/20/image_11072025_01_20_01_5025.jpg', 2), ('/home/pi/Desktop/images/11072025/01/19/image_11072025_01_19_01_8134.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/01/24/image_11072025_01_24_02_2280.jpg', '/home/pi/Desktop/images/11072025/01/23/image_11072025_01_23_02_2917.jpg', '/home/pi/Desktop/images/11072025/01/22/image_11072025_01_22_01_4809.jpg', '/home/pi/Desktop/images/11072025/01/21/image_11072025_01_21_01_9005.jpg', '/home/pi/Desktop/images/11072025/01/20/image_11072025_01_20_01_5025.jpg', '/home/pi/Desktop/images/11072025/01/19/image_11072025_01_19_01_8134.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/01/24/image_11072025_01_24_02_2280.jpg
/home/pi/Desktop/images/11072025/01/23/image_11072025_01_23_02_2917.jpg
/home/pi/Desktop/images/11072025/01/22/image_11072025_01_22_01_4809.jpg
/home/pi/Desktop/images/11072025/01/21/image_11072025_01_21_01_9005.jpg
/home/pi/Desktop/images/11072025/01/20/image_11072025_01_20_01_5025.jpg
/home/pi/Desktop/images/11072025/01/19/image_11072025_01_19_01_8134.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.434844970703125 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 01:31:06.205055
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/01/24/image_11072025_01_24_02_2280.jpg', 2), ('/home/pi/Desktop/images/11072025/01/23/image_11072025_01_23_02_2917.jpg', 2), ('/home/pi/Desktop/images/11072025/01/22/image_11072025_01_22_01_4809.jpg', 2), ('/home/pi/Desktop/images/11072025/01/21/image_11072025_01_21_01_9005.jpg', 2), ('/home/pi/Desktop/images/11072025/01/20/image_11072025_01_20_01_5025.jpg', 2), ('/home/pi/Desktop/images/11072025/01/19/image_11072025_01_19_01_8134.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/01/24/image_11072025_01_24_02_2280.jpg', '/home/pi/Desktop/images/11072025/01/23/image_11072025_01_23_02_2917.jpg', '/home/pi/Desktop/images/11072025/01/22/image_11072025_01_22_01_4809.jpg', '/home/pi/Desktop/images/11072025/01/21/image_11072025_01_21_01_9005.jpg', '/home/pi/Desktop/images/11072025/01/20/image_11072025_01_20_01_5025.jpg', '/home/pi/Desktop/images/11072025/01/19/image_11072025_01_19_01_8134.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/01/24/image_11072025_01_24_02_2280.jpg
/home/pi/Desktop/images/11072025/01/23/image_11072025_01_23_02_2917.jpg
/home/pi/Desktop/images/11072025/01/22/image_11072025_01_22_01_4809.jpg
/home/pi/Desktop/images/11072025/01/21/image_11072025_01_21_01_9005.jpg
/home/pi/Desktop/images/11072025/01/20/image_11072025_01_20_01_5025.jpg
/home/pi/Desktop/images/11072025/01/19/image_11072025_01_19_01_8134.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.97878670692444 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 01:32:05.861591
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/01/24/image_11072025_01_24_02_2280.jpg', 2), ('/home/pi/Desktop/images/11072025/01/23/image_11072025_01_23_02_2917.jpg', 2), ('/home/pi/Desktop/images/11072025/01/22/image_11072025_01_22_01_4809.jpg', 2), ('/home/pi/Desktop/images/11072025/01/21/image_11072025_01_21_01_9005.jpg', 2), ('/home/pi/Desktop/images/11072025/01/20/image_11072025_01_20_01_5025.jpg', 2), ('/home/pi/Desktop/images/11072025/01/19/image_11072025_01_19_01_8134.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/01/24/image_11072025_01_24_02_2280.jpg', '/home/pi/Desktop/images/11072025/01/23/image_11072025_01_23_02_2917.jpg', '/home/pi/Desktop/images/11072025/01/22/image_11072025_01_22_01_4809.jpg', '/home/pi/Desktop/images/11072025/01/21/image_11072025_01_21_01_9005.jpg', '/home/pi/Desktop/images/11072025/01/20/image_11072025_01_20_01_5025.jpg', '/home/pi/Desktop/images/11072025/01/19/image_11072025_01_19_01_8134.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/01/24/image_11072025_01_24_02_2280.jpg
/home/pi/Desktop/images/11072025/01/23/image_11072025_01_23_02_2917.jpg
/home/pi/Desktop/images/11072025/01/22/image_11072025_01_22_01_4809.jpg
/home/pi/Desktop/images/11072025/01/21/image_11072025_01_21_01_9005.jpg
/home/pi/Desktop/images/11072025/01/20/image_11072025_01_20_01_5025.jpg
/home/pi/Desktop/images/11072025/01/19/image_11072025_01_19_01_8134.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 34.39865970611572 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 01:33:04.448107
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/01/24/image_11072025_01_24_02_2280.jpg', 2), ('/home/pi/Desktop/images/11072025/01/23/image_11072025_01_23_02_2917.jpg', 2), ('/home/pi/Desktop/images/11072025/01/22/image_11072025_01_22_01_4809.jpg', 2), ('/home/pi/Desktop/images/11072025/01/21/image_11072025_01_21_01_9005.jpg', 2), ('/home/pi/Desktop/images/11072025/01/20/image_11072025_01_20_01_5025.jpg', 2), ('/home/pi/Desktop/images/11072025/01/19/image_11072025_01_19_01_8134.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/01/24/image_11072025_01_24_02_2280.jpg', '/home/pi/Desktop/images/11072025/01/23/image_11072025_01_23_02_2917.jpg', '/home/pi/Desktop/images/11072025/01/22/image_11072025_01_22_01_4809.jpg', '/home/pi/Desktop/images/11072025/01/21/image_11072025_01_21_01_9005.jpg', '/home/pi/Desktop/images/11072025/01/20/image_11072025_01_20_01_5025.jpg', '/home/pi/Desktop/images/11072025/01/19/image_11072025_01_19_01_8134.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/01/24/image_11072025_01_24_02_2280.jpg
/home/pi/Desktop/images/11072025/01/23/image_11072025_01_23_02_2917.jpg
/home/pi/Desktop/images/11072025/01/22/image_11072025_01_22_01_4809.jpg
/home/pi/Desktop/images/11072025/01/21/image_11072025_01_21_01_9005.jpg
/home/pi/Desktop/images/11072025/01/20/image_11072025_01_20_01_5025.jpg
/home/pi/Desktop/images/11072025/01/19/image_11072025_01_19_01_8134.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 32.965468883514404 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 01:34:05.206347
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/01/24/image_11072025_01_24_02_2280.jpg', 2), ('/home/pi/Desktop/images/11072025/01/23/image_11072025_01_23_02_2917.jpg', 2), ('/home/pi/Desktop/images/11072025/01/22/image_11072025_01_22_01_4809.jpg', 2), ('/home/pi/Desktop/images/11072025/01/21/image_11072025_01_21_01_9005.jpg', 2), ('/home/pi/Desktop/images/11072025/01/20/image_11072025_01_20_01_5025.jpg', 2), ('/home/pi/Desktop/images/11072025/01/19/image_11072025_01_19_01_8134.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/01/24/image_11072025_01_24_02_2280.jpg', '/home/pi/Desktop/images/11072025/01/23/image_11072025_01_23_02_2917.jpg', '/home/pi/Desktop/images/11072025/01/22/image_11072025_01_22_01_4809.jpg', '/home/pi/Desktop/images/11072025/01/21/image_11072025_01_21_01_9005.jpg', '/home/pi/Desktop/images/11072025/01/20/image_11072025_01_20_01_5025.jpg', '/home/pi/Desktop/images/11072025/01/19/image_11072025_01_19_01_8134.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/01/24/image_11072025_01_24_02_2280.jpg
/home/pi/Desktop/images/11072025/01/23/image_11072025_01_23_02_2917.jpg
/home/pi/Desktop/images/11072025/01/22/image_11072025_01_22_01_4809.jpg
/home/pi/Desktop/images/11072025/01/21/image_11072025_01_21_01_9005.jpg
/home/pi/Desktop/images/11072025/01/20/image_11072025_01_20_01_5025.jpg
/home/pi/Desktop/images/11072025/01/19/image_11072025_01_19_01_8134.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.62882709503174 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 01:35:05.455453
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/01/24/image_11072025_01_24_02_2280.jpg', 2), ('/home/pi/Desktop/images/11072025/01/23/image_11072025_01_23_02_2917.jpg', 2), ('/home/pi/Desktop/images/11072025/01/22/image_11072025_01_22_01_4809.jpg', 2), ('/home/pi/Desktop/images/11072025/01/21/image_11072025_01_21_01_9005.jpg', 2), ('/home/pi/Desktop/images/11072025/01/20/image_11072025_01_20_01_5025.jpg', 2), ('/home/pi/Desktop/images/11072025/01/19/image_11072025_01_19_01_8134.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/01/24/image_11072025_01_24_02_2280.jpg', '/home/pi/Desktop/images/11072025/01/23/image_11072025_01_23_02_2917.jpg', '/home/pi/Desktop/images/11072025/01/22/image_11072025_01_22_01_4809.jpg', '/home/pi/Desktop/images/11072025/01/21/image_11072025_01_21_01_9005.jpg', '/home/pi/Desktop/images/11072025/01/20/image_11072025_01_20_01_5025.jpg', '/home/pi/Desktop/images/11072025/01/19/image_11072025_01_19_01_8134.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/01/24/image_11072025_01_24_02_2280.jpg
/home/pi/Desktop/images/11072025/01/23/image_11072025_01_23_02_2917.jpg
/home/pi/Desktop/images/11072025/01/22/image_11072025_01_22_01_4809.jpg
/home/pi/Desktop/images/11072025/01/21/image_11072025_01_21_01_9005.jpg
/home/pi/Desktop/images/11072025/01/20/image_11072025_01_20_01_5025.jpg
/home/pi/Desktop/images/11072025/01/19/image_11072025_01_19_01_8134.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.41842269897461 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 01:36:05.329476
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/01/24/image_11072025_01_24_02_2280.jpg', 2), ('/home/pi/Desktop/images/11072025/01/23/image_11072025_01_23_02_2917.jpg', 2), ('/home/pi/Desktop/images/11072025/01/22/image_11072025_01_22_01_4809.jpg', 2), ('/home/pi/Desktop/images/11072025/01/21/image_11072025_01_21_01_9005.jpg', 2), ('/home/pi/Desktop/images/11072025/01/20/image_11072025_01_20_01_5025.jpg', 2), ('/home/pi/Desktop/images/11072025/01/19/image_11072025_01_19_01_8134.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/01/24/image_11072025_01_24_02_2280.jpg', '/home/pi/Desktop/images/11072025/01/23/image_11072025_01_23_02_2917.jpg', '/home/pi/Desktop/images/11072025/01/22/image_11072025_01_22_01_4809.jpg', '/home/pi/Desktop/images/11072025/01/21/image_11072025_01_21_01_9005.jpg', '/home/pi/Desktop/images/11072025/01/20/image_11072025_01_20_01_5025.jpg', '/home/pi/Desktop/images/11072025/01/19/image_11072025_01_19_01_8134.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/01/24/image_11072025_01_24_02_2280.jpg
/home/pi/Desktop/images/11072025/01/23/image_11072025_01_23_02_2917.jpg
/home/pi/Desktop/images/11072025/01/22/image_11072025_01_22_01_4809.jpg
/home/pi/Desktop/images/11072025/01/21/image_11072025_01_21_01_9005.jpg
/home/pi/Desktop/images/11072025/01/20/image_11072025_01_20_01_5025.jpg
/home/pi/Desktop/images/11072025/01/19/image_11072025_01_19_01_8134.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 32.663496017456055 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 01:37:06.094404
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/01/24/image_11072025_01_24_02_2280.jpg', 2), ('/home/pi/Desktop/images/11072025/01/23/image_11072025_01_23_02_2917.jpg', 2), ('/home/pi/Desktop/images/11072025/01/22/image_11072025_01_22_01_4809.jpg', 2), ('/home/pi/Desktop/images/11072025/01/21/image_11072025_01_21_01_9005.jpg', 2), ('/home/pi/Desktop/images/11072025/01/20/image_11072025_01_20_01_5025.jpg', 2), ('/home/pi/Desktop/images/11072025/01/19/image_11072025_01_19_01_8134.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/01/24/image_11072025_01_24_02_2280.jpg', '/home/pi/Desktop/images/11072025/01/23/image_11072025_01_23_02_2917.jpg', '/home/pi/Desktop/images/11072025/01/22/image_11072025_01_22_01_4809.jpg', '/home/pi/Desktop/images/11072025/01/21/image_11072025_01_21_01_9005.jpg', '/home/pi/Desktop/images/11072025/01/20/image_11072025_01_20_01_5025.jpg', '/home/pi/Desktop/images/11072025/01/19/image_11072025_01_19_01_8134.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/01/24/image_11072025_01_24_02_2280.jpg
/home/pi/Desktop/images/11072025/01/23/image_11072025_01_23_02_2917.jpg
/home/pi/Desktop/images/11072025/01/22/image_11072025_01_22_01_4809.jpg
/home/pi/Desktop/images/11072025/01/21/image_11072025_01_21_01_9005.jpg
/home/pi/Desktop/images/11072025/01/20/image_11072025_01_20_01_5025.jpg
/home/pi/Desktop/images/11072025/01/19/image_11072025_01_19_01_8134.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.11516308784485 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 01:38:05.174816
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/01/24/image_11072025_01_24_02_2280.jpg', 2), ('/home/pi/Desktop/images/11072025/01/23/image_11072025_01_23_02_2917.jpg', 2), ('/home/pi/Desktop/images/11072025/01/22/image_11072025_01_22_01_4809.jpg', 2), ('/home/pi/Desktop/images/11072025/01/21/image_11072025_01_21_01_9005.jpg', 2), ('/home/pi/Desktop/images/11072025/01/20/image_11072025_01_20_01_5025.jpg', 2), ('/home/pi/Desktop/images/11072025/01/19/image_11072025_01_19_01_8134.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/01/24/image_11072025_01_24_02_2280.jpg', '/home/pi/Desktop/images/11072025/01/23/image_11072025_01_23_02_2917.jpg', '/home/pi/Desktop/images/11072025/01/22/image_11072025_01_22_01_4809.jpg', '/home/pi/Desktop/images/11072025/01/21/image_11072025_01_21_01_9005.jpg', '/home/pi/Desktop/images/11072025/01/20/image_11072025_01_20_01_5025.jpg', '/home/pi/Desktop/images/11072025/01/19/image_11072025_01_19_01_8134.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/01/24/image_11072025_01_24_02_2280.jpg
/home/pi/Desktop/images/11072025/01/23/image_11072025_01_23_02_2917.jpg
/home/pi/Desktop/images/11072025/01/22/image_11072025_01_22_01_4809.jpg
/home/pi/Desktop/images/11072025/01/21/image_11072025_01_21_01_9005.jpg
/home/pi/Desktop/images/11072025/01/20/image_11072025_01_20_01_5025.jpg
/home/pi/Desktop/images/11072025/01/19/image_11072025_01_19_01_8134.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 37.12731981277466 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 01:39:05.980018
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/01/24/image_11072025_01_24_02_2280.jpg', 2), ('/home/pi/Desktop/images/11072025/01/23/image_11072025_01_23_02_2917.jpg', 2), ('/home/pi/Desktop/images/11072025/01/22/image_11072025_01_22_01_4809.jpg', 2), ('/home/pi/Desktop/images/11072025/01/21/image_11072025_01_21_01_9005.jpg', 2), ('/home/pi/Desktop/images/11072025/01/20/image_11072025_01_20_01_5025.jpg', 2), ('/home/pi/Desktop/images/11072025/01/19/image_11072025_01_19_01_8134.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/01/24/image_11072025_01_24_02_2280.jpg', '/home/pi/Desktop/images/11072025/01/23/image_11072025_01_23_02_2917.jpg', '/home/pi/Desktop/images/11072025/01/22/image_11072025_01_22_01_4809.jpg', '/home/pi/Desktop/images/11072025/01/21/image_11072025_01_21_01_9005.jpg', '/home/pi/Desktop/images/11072025/01/20/image_11072025_01_20_01_5025.jpg', '/home/pi/Desktop/images/11072025/01/19/image_11072025_01_19_01_8134.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/01/24/image_11072025_01_24_02_2280.jpg
/home/pi/Desktop/images/11072025/01/23/image_11072025_01_23_02_2917.jpg
/home/pi/Desktop/images/11072025/01/22/image_11072025_01_22_01_4809.jpg
/home/pi/Desktop/images/11072025/01/21/image_11072025_01_21_01_9005.jpg
/home/pi/Desktop/images/11072025/01/20/image_11072025_01_20_01_5025.jpg
/home/pi/Desktop/images/11072025/01/19/image_11072025_01_19_01_8134.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.57515525817871 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 01:40:05.788451
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/01/29/image_11072025_01_29_01_9540.jpg', 2), ('/home/pi/Desktop/images/11072025/01/24/image_11072025_01_24_02_2280.jpg', 2), ('/home/pi/Desktop/images/11072025/01/23/image_11072025_01_23_02_2917.jpg', 2), ('/home/pi/Desktop/images/11072025/01/22/image_11072025_01_22_01_4809.jpg', 2), ('/home/pi/Desktop/images/11072025/01/21/image_11072025_01_21_01_9005.jpg', 2), ('/home/pi/Desktop/images/11072025/01/20/image_11072025_01_20_01_5025.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/01/29/image_11072025_01_29_01_9540.jpg', '/home/pi/Desktop/images/11072025/01/24/image_11072025_01_24_02_2280.jpg', '/home/pi/Desktop/images/11072025/01/23/image_11072025_01_23_02_2917.jpg', '/home/pi/Desktop/images/11072025/01/22/image_11072025_01_22_01_4809.jpg', '/home/pi/Desktop/images/11072025/01/21/image_11072025_01_21_01_9005.jpg', '/home/pi/Desktop/images/11072025/01/20/image_11072025_01_20_01_5025.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/01/29/image_11072025_01_29_01_9540.jpg
/home/pi/Desktop/images/11072025/01/24/image_11072025_01_24_02_2280.jpg
/home/pi/Desktop/images/11072025/01/23/image_11072025_01_23_02_2917.jpg
/home/pi/Desktop/images/11072025/01/22/image_11072025_01_22_01_4809.jpg
/home/pi/Desktop/images/11072025/01/21/image_11072025_01_21_01_9005.jpg
/home/pi/Desktop/images/11072025/01/20/image_11072025_01_20_01_5025.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 32.87604784965515 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 01:41:04.762611
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/01/29/image_11072025_01_29_01_9540.jpg', 2), ('/home/pi/Desktop/images/11072025/01/24/image_11072025_01_24_02_2280.jpg', 2), ('/home/pi/Desktop/images/11072025/01/23/image_11072025_01_23_02_2917.jpg', 2), ('/home/pi/Desktop/images/11072025/01/22/image_11072025_01_22_01_4809.jpg', 2), ('/home/pi/Desktop/images/11072025/01/21/image_11072025_01_21_01_9005.jpg', 2), ('/home/pi/Desktop/images/11072025/01/20/image_11072025_01_20_01_5025.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/01/29/image_11072025_01_29_01_9540.jpg', '/home/pi/Desktop/images/11072025/01/24/image_11072025_01_24_02_2280.jpg', '/home/pi/Desktop/images/11072025/01/23/image_11072025_01_23_02_2917.jpg', '/home/pi/Desktop/images/11072025/01/22/image_11072025_01_22_01_4809.jpg', '/home/pi/Desktop/images/11072025/01/21/image_11072025_01_21_01_9005.jpg', '/home/pi/Desktop/images/11072025/01/20/image_11072025_01_20_01_5025.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/01/29/image_11072025_01_29_01_9540.jpg
/home/pi/Desktop/images/11072025/01/24/image_11072025_01_24_02_2280.jpg
/home/pi/Desktop/images/11072025/01/23/image_11072025_01_23_02_2917.jpg
/home/pi/Desktop/images/11072025/01/22/image_11072025_01_22_01_4809.jpg
/home/pi/Desktop/images/11072025/01/21/image_11072025_01_21_01_9005.jpg
/home/pi/Desktop/images/11072025/01/20/image_11072025_01_20_01_5025.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.99204659461975 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 01:42:03.161383
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/01/29/image_11072025_01_29_01_9540.jpg', 2), ('/home/pi/Desktop/images/11072025/01/24/image_11072025_01_24_02_2280.jpg', 2), ('/home/pi/Desktop/images/11072025/01/23/image_11072025_01_23_02_2917.jpg', 2), ('/home/pi/Desktop/images/11072025/01/22/image_11072025_01_22_01_4809.jpg', 2), ('/home/pi/Desktop/images/11072025/01/21/image_11072025_01_21_01_9005.jpg', 2), ('/home/pi/Desktop/images/11072025/01/20/image_11072025_01_20_01_5025.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/01/29/image_11072025_01_29_01_9540.jpg', '/home/pi/Desktop/images/11072025/01/24/image_11072025_01_24_02_2280.jpg', '/home/pi/Desktop/images/11072025/01/23/image_11072025_01_23_02_2917.jpg', '/home/pi/Desktop/images/11072025/01/22/image_11072025_01_22_01_4809.jpg', '/home/pi/Desktop/images/11072025/01/21/image_11072025_01_21_01_9005.jpg', '/home/pi/Desktop/images/11072025/01/20/image_11072025_01_20_01_5025.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/01/29/image_11072025_01_29_01_9540.jpg
/home/pi/Desktop/images/11072025/01/24/image_11072025_01_24_02_2280.jpg
/home/pi/Desktop/images/11072025/01/23/image_11072025_01_23_02_2917.jpg
/home/pi/Desktop/images/11072025/01/22/image_11072025_01_22_01_4809.jpg
/home/pi/Desktop/images/11072025/01/21/image_11072025_01_21_01_9005.jpg
/home/pi/Desktop/images/11072025/01/20/image_11072025_01_20_01_5025.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 31.781301021575928 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 01:43:05.722885
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/01/40/image_11072025_01_40_02_0274.jpg', 2), ('/home/pi/Desktop/images/11072025/01/29/image_11072025_01_29_01_9540.jpg', 2), ('/home/pi/Desktop/images/11072025/01/24/image_11072025_01_24_02_2280.jpg', 2), ('/home/pi/Desktop/images/11072025/01/23/image_11072025_01_23_02_2917.jpg', 2), ('/home/pi/Desktop/images/11072025/01/22/image_11072025_01_22_01_4809.jpg', 2), ('/home/pi/Desktop/images/11072025/01/21/image_11072025_01_21_01_9005.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/01/40/image_11072025_01_40_02_0274.jpg', '/home/pi/Desktop/images/11072025/01/29/image_11072025_01_29_01_9540.jpg', '/home/pi/Desktop/images/11072025/01/24/image_11072025_01_24_02_2280.jpg', '/home/pi/Desktop/images/11072025/01/23/image_11072025_01_23_02_2917.jpg', '/home/pi/Desktop/images/11072025/01/22/image_11072025_01_22_01_4809.jpg', '/home/pi/Desktop/images/11072025/01/21/image_11072025_01_21_01_9005.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/01/40/image_11072025_01_40_02_0274.jpg
/home/pi/Desktop/images/11072025/01/29/image_11072025_01_29_01_9540.jpg
/home/pi/Desktop/images/11072025/01/24/image_11072025_01_24_02_2280.jpg
/home/pi/Desktop/images/11072025/01/23/image_11072025_01_23_02_2917.jpg
/home/pi/Desktop/images/11072025/01/22/image_11072025_01_22_01_4809.jpg
/home/pi/Desktop/images/11072025/01/21/image_11072025_01_21_01_9005.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.350051164627075 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 01:44:04.921103
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/01/43/image_11072025_01_43_01_4695.jpg', 2), ('/home/pi/Desktop/images/11072025/01/40/image_11072025_01_40_02_0274.jpg', 2), ('/home/pi/Desktop/images/11072025/01/29/image_11072025_01_29_01_9540.jpg', 2), ('/home/pi/Desktop/images/11072025/01/24/image_11072025_01_24_02_2280.jpg', 2), ('/home/pi/Desktop/images/11072025/01/23/image_11072025_01_23_02_2917.jpg', 2), ('/home/pi/Desktop/images/11072025/01/22/image_11072025_01_22_01_4809.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/01/43/image_11072025_01_43_01_4695.jpg', '/home/pi/Desktop/images/11072025/01/40/image_11072025_01_40_02_0274.jpg', '/home/pi/Desktop/images/11072025/01/29/image_11072025_01_29_01_9540.jpg', '/home/pi/Desktop/images/11072025/01/24/image_11072025_01_24_02_2280.jpg', '/home/pi/Desktop/images/11072025/01/23/image_11072025_01_23_02_2917.jpg', '/home/pi/Desktop/images/11072025/01/22/image_11072025_01_22_01_4809.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/01/43/image_11072025_01_43_01_4695.jpg
/home/pi/Desktop/images/11072025/01/40/image_11072025_01_40_02_0274.jpg
/home/pi/Desktop/images/11072025/01/29/image_11072025_01_29_01_9540.jpg
/home/pi/Desktop/images/11072025/01/24/image_11072025_01_24_02_2280.jpg
/home/pi/Desktop/images/11072025/01/23/image_11072025_01_23_02_2917.jpg
/home/pi/Desktop/images/11072025/01/22/image_11072025_01_22_01_4809.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.28309488296509 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 01:45:05.730112
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/01/44/image_11072025_01_44_01_7736.jpg', 2), ('/home/pi/Desktop/images/11072025/01/43/image_11072025_01_43_01_4695.jpg', 2), ('/home/pi/Desktop/images/11072025/01/40/image_11072025_01_40_02_0274.jpg', 2), ('/home/pi/Desktop/images/11072025/01/29/image_11072025_01_29_01_9540.jpg', 2), ('/home/pi/Desktop/images/11072025/01/24/image_11072025_01_24_02_2280.jpg', 2), ('/home/pi/Desktop/images/11072025/01/23/image_11072025_01_23_02_2917.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/01/44/image_11072025_01_44_01_7736.jpg', '/home/pi/Desktop/images/11072025/01/43/image_11072025_01_43_01_4695.jpg', '/home/pi/Desktop/images/11072025/01/40/image_11072025_01_40_02_0274.jpg', '/home/pi/Desktop/images/11072025/01/29/image_11072025_01_29_01_9540.jpg', '/home/pi/Desktop/images/11072025/01/24/image_11072025_01_24_02_2280.jpg', '/home/pi/Desktop/images/11072025/01/23/image_11072025_01_23_02_2917.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/01/44/image_11072025_01_44_01_7736.jpg
/home/pi/Desktop/images/11072025/01/43/image_11072025_01_43_01_4695.jpg
/home/pi/Desktop/images/11072025/01/40/image_11072025_01_40_02_0274.jpg
/home/pi/Desktop/images/11072025/01/29/image_11072025_01_29_01_9540.jpg
/home/pi/Desktop/images/11072025/01/24/image_11072025_01_24_02_2280.jpg
/home/pi/Desktop/images/11072025/01/23/image_11072025_01_23_02_2917.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.569987535476685 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 01:46:05.059884
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/01/45/image_11072025_01_45_01_6239.jpg', 2), ('/home/pi/Desktop/images/11072025/01/44/image_11072025_01_44_01_7736.jpg', 2), ('/home/pi/Desktop/images/11072025/01/43/image_11072025_01_43_01_4695.jpg', 2), ('/home/pi/Desktop/images/11072025/01/40/image_11072025_01_40_02_0274.jpg', 2), ('/home/pi/Desktop/images/11072025/01/29/image_11072025_01_29_01_9540.jpg', 2), ('/home/pi/Desktop/images/11072025/01/24/image_11072025_01_24_02_2280.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/01/45/image_11072025_01_45_01_6239.jpg', '/home/pi/Desktop/images/11072025/01/44/image_11072025_01_44_01_7736.jpg', '/home/pi/Desktop/images/11072025/01/43/image_11072025_01_43_01_4695.jpg', '/home/pi/Desktop/images/11072025/01/40/image_11072025_01_40_02_0274.jpg', '/home/pi/Desktop/images/11072025/01/29/image_11072025_01_29_01_9540.jpg', '/home/pi/Desktop/images/11072025/01/24/image_11072025_01_24_02_2280.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/01/45/image_11072025_01_45_01_6239.jpg
/home/pi/Desktop/images/11072025/01/44/image_11072025_01_44_01_7736.jpg
/home/pi/Desktop/images/11072025/01/43/image_11072025_01_43_01_4695.jpg
/home/pi/Desktop/images/11072025/01/40/image_11072025_01_40_02_0274.jpg
/home/pi/Desktop/images/11072025/01/29/image_11072025_01_29_01_9540.jpg
/home/pi/Desktop/images/11072025/01/24/image_11072025_01_24_02_2280.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.367719411849976 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 01:47:06.028795
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/01/46/image_11072025_01_46_02_0060.jpg', 2), ('/home/pi/Desktop/images/11072025/01/45/image_11072025_01_45_01_6239.jpg', 2), ('/home/pi/Desktop/images/11072025/01/44/image_11072025_01_44_01_7736.jpg', 2), ('/home/pi/Desktop/images/11072025/01/43/image_11072025_01_43_01_4695.jpg', 2), ('/home/pi/Desktop/images/11072025/01/40/image_11072025_01_40_02_0274.jpg', 2), ('/home/pi/Desktop/images/11072025/01/29/image_11072025_01_29_01_9540.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/01/46/image_11072025_01_46_02_0060.jpg', '/home/pi/Desktop/images/11072025/01/45/image_11072025_01_45_01_6239.jpg', '/home/pi/Desktop/images/11072025/01/44/image_11072025_01_44_01_7736.jpg', '/home/pi/Desktop/images/11072025/01/43/image_11072025_01_43_01_4695.jpg', '/home/pi/Desktop/images/11072025/01/40/image_11072025_01_40_02_0274.jpg', '/home/pi/Desktop/images/11072025/01/29/image_11072025_01_29_01_9540.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/01/46/image_11072025_01_46_02_0060.jpg
/home/pi/Desktop/images/11072025/01/45/image_11072025_01_45_01_6239.jpg
/home/pi/Desktop/images/11072025/01/44/image_11072025_01_44_01_7736.jpg
/home/pi/Desktop/images/11072025/01/43/image_11072025_01_43_01_4695.jpg
/home/pi/Desktop/images/11072025/01/40/image_11072025_01_40_02_0274.jpg
/home/pi/Desktop/images/11072025/01/29/image_11072025_01_29_01_9540.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.65605020523071 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 01:48:05.505309
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/01/47/image_11072025_01_47_01_5730.jpg', 2), ('/home/pi/Desktop/images/11072025/01/46/image_11072025_01_46_02_0060.jpg', 2), ('/home/pi/Desktop/images/11072025/01/45/image_11072025_01_45_01_6239.jpg', 2), ('/home/pi/Desktop/images/11072025/01/44/image_11072025_01_44_01_7736.jpg', 2), ('/home/pi/Desktop/images/11072025/01/43/image_11072025_01_43_01_4695.jpg', 2), ('/home/pi/Desktop/images/11072025/01/40/image_11072025_01_40_02_0274.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/01/47/image_11072025_01_47_01_5730.jpg', '/home/pi/Desktop/images/11072025/01/46/image_11072025_01_46_02_0060.jpg', '/home/pi/Desktop/images/11072025/01/45/image_11072025_01_45_01_6239.jpg', '/home/pi/Desktop/images/11072025/01/44/image_11072025_01_44_01_7736.jpg', '/home/pi/Desktop/images/11072025/01/43/image_11072025_01_43_01_4695.jpg', '/home/pi/Desktop/images/11072025/01/40/image_11072025_01_40_02_0274.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/01/47/image_11072025_01_47_01_5730.jpg
/home/pi/Desktop/images/11072025/01/46/image_11072025_01_46_02_0060.jpg
/home/pi/Desktop/images/11072025/01/45/image_11072025_01_45_01_6239.jpg
/home/pi/Desktop/images/11072025/01/44/image_11072025_01_44_01_7736.jpg
/home/pi/Desktop/images/11072025/01/43/image_11072025_01_43_01_4695.jpg
/home/pi/Desktop/images/11072025/01/40/image_11072025_01_40_02_0274.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.3803436756134 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 01:49:05.580534
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/01/48/image_11072025_01_48_02_1192.jpg', 2), ('/home/pi/Desktop/images/11072025/01/47/image_11072025_01_47_01_5730.jpg', 2), ('/home/pi/Desktop/images/11072025/01/46/image_11072025_01_46_02_0060.jpg', 2), ('/home/pi/Desktop/images/11072025/01/45/image_11072025_01_45_01_6239.jpg', 2), ('/home/pi/Desktop/images/11072025/01/44/image_11072025_01_44_01_7736.jpg', 2), ('/home/pi/Desktop/images/11072025/01/43/image_11072025_01_43_01_4695.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/01/48/image_11072025_01_48_02_1192.jpg', '/home/pi/Desktop/images/11072025/01/47/image_11072025_01_47_01_5730.jpg', '/home/pi/Desktop/images/11072025/01/46/image_11072025_01_46_02_0060.jpg', '/home/pi/Desktop/images/11072025/01/45/image_11072025_01_45_01_6239.jpg', '/home/pi/Desktop/images/11072025/01/44/image_11072025_01_44_01_7736.jpg', '/home/pi/Desktop/images/11072025/01/43/image_11072025_01_43_01_4695.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/01/48/image_11072025_01_48_02_1192.jpg
/home/pi/Desktop/images/11072025/01/47/image_11072025_01_47_01_5730.jpg
/home/pi/Desktop/images/11072025/01/46/image_11072025_01_46_02_0060.jpg
/home/pi/Desktop/images/11072025/01/45/image_11072025_01_45_01_6239.jpg
/home/pi/Desktop/images/11072025/01/44/image_11072025_01_44_01_7736.jpg
/home/pi/Desktop/images/11072025/01/43/image_11072025_01_43_01_4695.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.42003631591797 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 01:50:03.114095
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/01/50/image_11072025_01_50_01_7567.jpg', 2), ('/home/pi/Desktop/images/11072025/01/48/image_11072025_01_48_02_1192.jpg', 2), ('/home/pi/Desktop/images/11072025/01/47/image_11072025_01_47_01_5730.jpg', 2), ('/home/pi/Desktop/images/11072025/01/46/image_11072025_01_46_02_0060.jpg', 2), ('/home/pi/Desktop/images/11072025/01/45/image_11072025_01_45_01_6239.jpg', 2), ('/home/pi/Desktop/images/11072025/01/44/image_11072025_01_44_01_7736.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/01/50/image_11072025_01_50_01_7567.jpg', '/home/pi/Desktop/images/11072025/01/48/image_11072025_01_48_02_1192.jpg', '/home/pi/Desktop/images/11072025/01/47/image_11072025_01_47_01_5730.jpg', '/home/pi/Desktop/images/11072025/01/46/image_11072025_01_46_02_0060.jpg', '/home/pi/Desktop/images/11072025/01/45/image_11072025_01_45_01_6239.jpg', '/home/pi/Desktop/images/11072025/01/44/image_11072025_01_44_01_7736.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/01/50/image_11072025_01_50_01_7567.jpg
/home/pi/Desktop/images/11072025/01/48/image_11072025_01_48_02_1192.jpg
/home/pi/Desktop/images/11072025/01/47/image_11072025_01_47_01_5730.jpg
/home/pi/Desktop/images/11072025/01/46/image_11072025_01_46_02_0060.jpg
/home/pi/Desktop/images/11072025/01/45/image_11072025_01_45_01_6239.jpg
/home/pi/Desktop/images/11072025/01/44/image_11072025_01_44_01_7736.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 32.086549520492554 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 01:51:05.680319
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/01/50/image_11072025_01_50_01_7567.jpg', 2), ('/home/pi/Desktop/images/11072025/01/49/image_11072025_01_49_02_0236.jpg', 2), ('/home/pi/Desktop/images/11072025/01/48/image_11072025_01_48_02_1192.jpg', 2), ('/home/pi/Desktop/images/11072025/01/47/image_11072025_01_47_01_5730.jpg', 2), ('/home/pi/Desktop/images/11072025/01/46/image_11072025_01_46_02_0060.jpg', 2), ('/home/pi/Desktop/images/11072025/01/45/image_11072025_01_45_01_6239.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/01/50/image_11072025_01_50_01_7567.jpg', '/home/pi/Desktop/images/11072025/01/49/image_11072025_01_49_02_0236.jpg', '/home/pi/Desktop/images/11072025/01/48/image_11072025_01_48_02_1192.jpg', '/home/pi/Desktop/images/11072025/01/47/image_11072025_01_47_01_5730.jpg', '/home/pi/Desktop/images/11072025/01/46/image_11072025_01_46_02_0060.jpg', '/home/pi/Desktop/images/11072025/01/45/image_11072025_01_45_01_6239.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/01/50/image_11072025_01_50_01_7567.jpg
/home/pi/Desktop/images/11072025/01/49/image_11072025_01_49_02_0236.jpg
/home/pi/Desktop/images/11072025/01/48/image_11072025_01_48_02_1192.jpg
/home/pi/Desktop/images/11072025/01/47/image_11072025_01_47_01_5730.jpg
/home/pi/Desktop/images/11072025/01/46/image_11072025_01_46_02_0060.jpg
/home/pi/Desktop/images/11072025/01/45/image_11072025_01_45_01_6239.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.61146545410156 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 01:52:05.608683
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/01/50/image_11072025_01_50_01_7567.jpg', 2), ('/home/pi/Desktop/images/11072025/01/49/image_11072025_01_49_02_0236.jpg', 2), ('/home/pi/Desktop/images/11072025/01/48/image_11072025_01_48_02_1192.jpg', 2), ('/home/pi/Desktop/images/11072025/01/47/image_11072025_01_47_01_5730.jpg', 2), ('/home/pi/Desktop/images/11072025/01/46/image_11072025_01_46_02_0060.jpg', 2), ('/home/pi/Desktop/images/11072025/01/45/image_11072025_01_45_01_6239.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/01/50/image_11072025_01_50_01_7567.jpg', '/home/pi/Desktop/images/11072025/01/49/image_11072025_01_49_02_0236.jpg', '/home/pi/Desktop/images/11072025/01/48/image_11072025_01_48_02_1192.jpg', '/home/pi/Desktop/images/11072025/01/47/image_11072025_01_47_01_5730.jpg', '/home/pi/Desktop/images/11072025/01/46/image_11072025_01_46_02_0060.jpg', '/home/pi/Desktop/images/11072025/01/45/image_11072025_01_45_01_6239.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/01/50/image_11072025_01_50_01_7567.jpg
/home/pi/Desktop/images/11072025/01/49/image_11072025_01_49_02_0236.jpg
/home/pi/Desktop/images/11072025/01/48/image_11072025_01_48_02_1192.jpg
/home/pi/Desktop/images/11072025/01/47/image_11072025_01_47_01_5730.jpg
/home/pi/Desktop/images/11072025/01/46/image_11072025_01_46_02_0060.jpg
/home/pi/Desktop/images/11072025/01/45/image_11072025_01_45_01_6239.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 32.93942165374756 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 01:53:06.412155
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/01/50/image_11072025_01_50_01_7567.jpg', 2), ('/home/pi/Desktop/images/11072025/01/49/image_11072025_01_49_02_0236.jpg', 2), ('/home/pi/Desktop/images/11072025/01/48/image_11072025_01_48_02_1192.jpg', 2), ('/home/pi/Desktop/images/11072025/01/47/image_11072025_01_47_01_5730.jpg', 2), ('/home/pi/Desktop/images/11072025/01/46/image_11072025_01_46_02_0060.jpg', 2), ('/home/pi/Desktop/images/11072025/01/45/image_11072025_01_45_01_6239.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/01/50/image_11072025_01_50_01_7567.jpg', '/home/pi/Desktop/images/11072025/01/49/image_11072025_01_49_02_0236.jpg', '/home/pi/Desktop/images/11072025/01/48/image_11072025_01_48_02_1192.jpg', '/home/pi/Desktop/images/11072025/01/47/image_11072025_01_47_01_5730.jpg', '/home/pi/Desktop/images/11072025/01/46/image_11072025_01_46_02_0060.jpg', '/home/pi/Desktop/images/11072025/01/45/image_11072025_01_45_01_6239.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/01/50/image_11072025_01_50_01_7567.jpg
/home/pi/Desktop/images/11072025/01/49/image_11072025_01_49_02_0236.jpg
/home/pi/Desktop/images/11072025/01/48/image_11072025_01_48_02_1192.jpg
/home/pi/Desktop/images/11072025/01/47/image_11072025_01_47_01_5730.jpg
/home/pi/Desktop/images/11072025/01/46/image_11072025_01_46_02_0060.jpg
/home/pi/Desktop/images/11072025/01/45/image_11072025_01_45_01_6239.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.294076919555664 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 01:54:05.635112
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/01/50/image_11072025_01_50_01_7567.jpg', 2), ('/home/pi/Desktop/images/11072025/01/49/image_11072025_01_49_02_0236.jpg', 2), ('/home/pi/Desktop/images/11072025/01/48/image_11072025_01_48_02_1192.jpg', 2), ('/home/pi/Desktop/images/11072025/01/47/image_11072025_01_47_01_5730.jpg', 2), ('/home/pi/Desktop/images/11072025/01/46/image_11072025_01_46_02_0060.jpg', 2), ('/home/pi/Desktop/images/11072025/01/45/image_11072025_01_45_01_6239.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/01/50/image_11072025_01_50_01_7567.jpg', '/home/pi/Desktop/images/11072025/01/49/image_11072025_01_49_02_0236.jpg', '/home/pi/Desktop/images/11072025/01/48/image_11072025_01_48_02_1192.jpg', '/home/pi/Desktop/images/11072025/01/47/image_11072025_01_47_01_5730.jpg', '/home/pi/Desktop/images/11072025/01/46/image_11072025_01_46_02_0060.jpg', '/home/pi/Desktop/images/11072025/01/45/image_11072025_01_45_01_6239.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/01/50/image_11072025_01_50_01_7567.jpg
/home/pi/Desktop/images/11072025/01/49/image_11072025_01_49_02_0236.jpg
/home/pi/Desktop/images/11072025/01/48/image_11072025_01_48_02_1192.jpg
/home/pi/Desktop/images/11072025/01/47/image_11072025_01_47_01_5730.jpg
/home/pi/Desktop/images/11072025/01/46/image_11072025_01_46_02_0060.jpg
/home/pi/Desktop/images/11072025/01/45/image_11072025_01_45_01_6239.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.25289750099182 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 01:55:05.434556
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/01/50/image_11072025_01_50_01_7567.jpg', 2), ('/home/pi/Desktop/images/11072025/01/49/image_11072025_01_49_02_0236.jpg', 2), ('/home/pi/Desktop/images/11072025/01/48/image_11072025_01_48_02_1192.jpg', 2), ('/home/pi/Desktop/images/11072025/01/47/image_11072025_01_47_01_5730.jpg', 2), ('/home/pi/Desktop/images/11072025/01/46/image_11072025_01_46_02_0060.jpg', 2), ('/home/pi/Desktop/images/11072025/01/45/image_11072025_01_45_01_6239.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/01/50/image_11072025_01_50_01_7567.jpg', '/home/pi/Desktop/images/11072025/01/49/image_11072025_01_49_02_0236.jpg', '/home/pi/Desktop/images/11072025/01/48/image_11072025_01_48_02_1192.jpg', '/home/pi/Desktop/images/11072025/01/47/image_11072025_01_47_01_5730.jpg', '/home/pi/Desktop/images/11072025/01/46/image_11072025_01_46_02_0060.jpg', '/home/pi/Desktop/images/11072025/01/45/image_11072025_01_45_01_6239.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/01/50/image_11072025_01_50_01_7567.jpg
/home/pi/Desktop/images/11072025/01/49/image_11072025_01_49_02_0236.jpg
/home/pi/Desktop/images/11072025/01/48/image_11072025_01_48_02_1192.jpg
/home/pi/Desktop/images/11072025/01/47/image_11072025_01_47_01_5730.jpg
/home/pi/Desktop/images/11072025/01/46/image_11072025_01_46_02_0060.jpg
/home/pi/Desktop/images/11072025/01/45/image_11072025_01_45_01_6239.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.808650970458984 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 01:56:05.818082
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/01/51/image_11072025_01_51_01_7007.jpg', 2), ('/home/pi/Desktop/images/11072025/01/50/image_11072025_01_50_01_7567.jpg', 2), ('/home/pi/Desktop/images/11072025/01/49/image_11072025_01_49_02_0236.jpg', 2), ('/home/pi/Desktop/images/11072025/01/48/image_11072025_01_48_02_1192.jpg', 2), ('/home/pi/Desktop/images/11072025/01/47/image_11072025_01_47_01_5730.jpg', 2), ('/home/pi/Desktop/images/11072025/01/46/image_11072025_01_46_02_0060.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/01/51/image_11072025_01_51_01_7007.jpg', '/home/pi/Desktop/images/11072025/01/50/image_11072025_01_50_01_7567.jpg', '/home/pi/Desktop/images/11072025/01/49/image_11072025_01_49_02_0236.jpg', '/home/pi/Desktop/images/11072025/01/48/image_11072025_01_48_02_1192.jpg', '/home/pi/Desktop/images/11072025/01/47/image_11072025_01_47_01_5730.jpg', '/home/pi/Desktop/images/11072025/01/46/image_11072025_01_46_02_0060.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/01/51/image_11072025_01_51_01_7007.jpg
/home/pi/Desktop/images/11072025/01/50/image_11072025_01_50_01_7567.jpg
/home/pi/Desktop/images/11072025/01/49/image_11072025_01_49_02_0236.jpg
/home/pi/Desktop/images/11072025/01/48/image_11072025_01_48_02_1192.jpg
/home/pi/Desktop/images/11072025/01/47/image_11072025_01_47_01_5730.jpg
/home/pi/Desktop/images/11072025/01/46/image_11072025_01_46_02_0060.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.5201473236084 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 01:57:06.387828
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/01/51/image_11072025_01_51_01_7007.jpg', 2), ('/home/pi/Desktop/images/11072025/01/50/image_11072025_01_50_01_7567.jpg', 2), ('/home/pi/Desktop/images/11072025/01/49/image_11072025_01_49_02_0236.jpg', 2), ('/home/pi/Desktop/images/11072025/01/48/image_11072025_01_48_02_1192.jpg', 2), ('/home/pi/Desktop/images/11072025/01/47/image_11072025_01_47_01_5730.jpg', 2), ('/home/pi/Desktop/images/11072025/01/46/image_11072025_01_46_02_0060.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/01/51/image_11072025_01_51_01_7007.jpg', '/home/pi/Desktop/images/11072025/01/50/image_11072025_01_50_01_7567.jpg', '/home/pi/Desktop/images/11072025/01/49/image_11072025_01_49_02_0236.jpg', '/home/pi/Desktop/images/11072025/01/48/image_11072025_01_48_02_1192.jpg', '/home/pi/Desktop/images/11072025/01/47/image_11072025_01_47_01_5730.jpg', '/home/pi/Desktop/images/11072025/01/46/image_11072025_01_46_02_0060.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/01/51/image_11072025_01_51_01_7007.jpg
/home/pi/Desktop/images/11072025/01/50/image_11072025_01_50_01_7567.jpg
/home/pi/Desktop/images/11072025/01/49/image_11072025_01_49_02_0236.jpg
/home/pi/Desktop/images/11072025/01/48/image_11072025_01_48_02_1192.jpg
/home/pi/Desktop/images/11072025/01/47/image_11072025_01_47_01_5730.jpg
/home/pi/Desktop/images/11072025/01/46/image_11072025_01_46_02_0060.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.05092978477478 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 01:59:04.494871
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/01/51/image_11072025_01_51_01_7007.jpg', 2), ('/home/pi/Desktop/images/11072025/01/50/image_11072025_01_50_01_7567.jpg', 2), ('/home/pi/Desktop/images/11072025/01/49/image_11072025_01_49_02_0236.jpg', 2), ('/home/pi/Desktop/images/11072025/01/48/image_11072025_01_48_02_1192.jpg', 2), ('/home/pi/Desktop/images/11072025/01/47/image_11072025_01_47_01_5730.jpg', 2), ('/home/pi/Desktop/images/11072025/01/46/image_11072025_01_46_02_0060.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/01/51/image_11072025_01_51_01_7007.jpg', '/home/pi/Desktop/images/11072025/01/50/image_11072025_01_50_01_7567.jpg', '/home/pi/Desktop/images/11072025/01/49/image_11072025_01_49_02_0236.jpg', '/home/pi/Desktop/images/11072025/01/48/image_11072025_01_48_02_1192.jpg', '/home/pi/Desktop/images/11072025/01/47/image_11072025_01_47_01_5730.jpg', '/home/pi/Desktop/images/11072025/01/46/image_11072025_01_46_02_0060.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/01/51/image_11072025_01_51_01_7007.jpg
/home/pi/Desktop/images/11072025/01/50/image_11072025_01_50_01_7567.jpg
/home/pi/Desktop/images/11072025/01/49/image_11072025_01_49_02_0236.jpg
/home/pi/Desktop/images/11072025/01/48/image_11072025_01_48_02_1192.jpg
/home/pi/Desktop/images/11072025/01/47/image_11072025_01_47_01_5730.jpg
/home/pi/Desktop/images/11072025/01/46/image_11072025_01_46_02_0060.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.18957161903381 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 02:00:04.943170
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/01/51/image_11072025_01_51_01_7007.jpg', 2), ('/home/pi/Desktop/images/11072025/01/50/image_11072025_01_50_01_7567.jpg', 2), ('/home/pi/Desktop/images/11072025/01/49/image_11072025_01_49_02_0236.jpg', 2), ('/home/pi/Desktop/images/11072025/01/48/image_11072025_01_48_02_1192.jpg', 2), ('/home/pi/Desktop/images/11072025/01/47/image_11072025_01_47_01_5730.jpg', 2), ('/home/pi/Desktop/images/11072025/01/46/image_11072025_01_46_02_0060.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/01/51/image_11072025_01_51_01_7007.jpg', '/home/pi/Desktop/images/11072025/01/50/image_11072025_01_50_01_7567.jpg', '/home/pi/Desktop/images/11072025/01/49/image_11072025_01_49_02_0236.jpg', '/home/pi/Desktop/images/11072025/01/48/image_11072025_01_48_02_1192.jpg', '/home/pi/Desktop/images/11072025/01/47/image_11072025_01_47_01_5730.jpg', '/home/pi/Desktop/images/11072025/01/46/image_11072025_01_46_02_0060.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/01/51/image_11072025_01_51_01_7007.jpg
/home/pi/Desktop/images/11072025/01/50/image_11072025_01_50_01_7567.jpg
/home/pi/Desktop/images/11072025/01/49/image_11072025_01_49_02_0236.jpg
/home/pi/Desktop/images/11072025/01/48/image_11072025_01_48_02_1192.jpg
/home/pi/Desktop/images/11072025/01/47/image_11072025_01_47_01_5730.jpg
/home/pi/Desktop/images/11072025/01/46/image_11072025_01_46_02_0060.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 32.917115926742554 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 02:01:05.593731
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/01/51/image_11072025_01_51_01_7007.jpg', 2), ('/home/pi/Desktop/images/11072025/01/50/image_11072025_01_50_01_7567.jpg', 2), ('/home/pi/Desktop/images/11072025/01/49/image_11072025_01_49_02_0236.jpg', 2), ('/home/pi/Desktop/images/11072025/01/48/image_11072025_01_48_02_1192.jpg', 2), ('/home/pi/Desktop/images/11072025/01/47/image_11072025_01_47_01_5730.jpg', 2), ('/home/pi/Desktop/images/11072025/01/46/image_11072025_01_46_02_0060.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/01/51/image_11072025_01_51_01_7007.jpg', '/home/pi/Desktop/images/11072025/01/50/image_11072025_01_50_01_7567.jpg', '/home/pi/Desktop/images/11072025/01/49/image_11072025_01_49_02_0236.jpg', '/home/pi/Desktop/images/11072025/01/48/image_11072025_01_48_02_1192.jpg', '/home/pi/Desktop/images/11072025/01/47/image_11072025_01_47_01_5730.jpg', '/home/pi/Desktop/images/11072025/01/46/image_11072025_01_46_02_0060.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/01/51/image_11072025_01_51_01_7007.jpg
/home/pi/Desktop/images/11072025/01/50/image_11072025_01_50_01_7567.jpg
/home/pi/Desktop/images/11072025/01/49/image_11072025_01_49_02_0236.jpg
/home/pi/Desktop/images/11072025/01/48/image_11072025_01_48_02_1192.jpg
/home/pi/Desktop/images/11072025/01/47/image_11072025_01_47_01_5730.jpg
/home/pi/Desktop/images/11072025/01/46/image_11072025_01_46_02_0060.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.39510250091553 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 02:02:05.687596
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/01/51/image_11072025_01_51_01_7007.jpg', 2), ('/home/pi/Desktop/images/11072025/01/50/image_11072025_01_50_01_7567.jpg', 2), ('/home/pi/Desktop/images/11072025/01/49/image_11072025_01_49_02_0236.jpg', 2), ('/home/pi/Desktop/images/11072025/01/48/image_11072025_01_48_02_1192.jpg', 2), ('/home/pi/Desktop/images/11072025/01/47/image_11072025_01_47_01_5730.jpg', 2), ('/home/pi/Desktop/images/11072025/01/46/image_11072025_01_46_02_0060.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/01/51/image_11072025_01_51_01_7007.jpg', '/home/pi/Desktop/images/11072025/01/50/image_11072025_01_50_01_7567.jpg', '/home/pi/Desktop/images/11072025/01/49/image_11072025_01_49_02_0236.jpg', '/home/pi/Desktop/images/11072025/01/48/image_11072025_01_48_02_1192.jpg', '/home/pi/Desktop/images/11072025/01/47/image_11072025_01_47_01_5730.jpg', '/home/pi/Desktop/images/11072025/01/46/image_11072025_01_46_02_0060.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/01/51/image_11072025_01_51_01_7007.jpg
/home/pi/Desktop/images/11072025/01/50/image_11072025_01_50_01_7567.jpg
/home/pi/Desktop/images/11072025/01/49/image_11072025_01_49_02_0236.jpg
/home/pi/Desktop/images/11072025/01/48/image_11072025_01_48_02_1192.jpg
/home/pi/Desktop/images/11072025/01/47/image_11072025_01_47_01_5730.jpg
/home/pi/Desktop/images/11072025/01/46/image_11072025_01_46_02_0060.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.54292678833008 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 02:03:06.059122
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/01/51/image_11072025_01_51_01_7007.jpg', 2), ('/home/pi/Desktop/images/11072025/01/50/image_11072025_01_50_01_7567.jpg', 2), ('/home/pi/Desktop/images/11072025/01/49/image_11072025_01_49_02_0236.jpg', 2), ('/home/pi/Desktop/images/11072025/01/48/image_11072025_01_48_02_1192.jpg', 2), ('/home/pi/Desktop/images/11072025/01/47/image_11072025_01_47_01_5730.jpg', 2), ('/home/pi/Desktop/images/11072025/01/46/image_11072025_01_46_02_0060.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/01/51/image_11072025_01_51_01_7007.jpg', '/home/pi/Desktop/images/11072025/01/50/image_11072025_01_50_01_7567.jpg', '/home/pi/Desktop/images/11072025/01/49/image_11072025_01_49_02_0236.jpg', '/home/pi/Desktop/images/11072025/01/48/image_11072025_01_48_02_1192.jpg', '/home/pi/Desktop/images/11072025/01/47/image_11072025_01_47_01_5730.jpg', '/home/pi/Desktop/images/11072025/01/46/image_11072025_01_46_02_0060.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/01/51/image_11072025_01_51_01_7007.jpg
/home/pi/Desktop/images/11072025/01/50/image_11072025_01_50_01_7567.jpg
/home/pi/Desktop/images/11072025/01/49/image_11072025_01_49_02_0236.jpg
/home/pi/Desktop/images/11072025/01/48/image_11072025_01_48_02_1192.jpg
/home/pi/Desktop/images/11072025/01/47/image_11072025_01_47_01_5730.jpg
/home/pi/Desktop/images/11072025/01/46/image_11072025_01_46_02_0060.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.403658390045166 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 02:04:06.022596
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/01/51/image_11072025_01_51_01_7007.jpg', 2), ('/home/pi/Desktop/images/11072025/01/50/image_11072025_01_50_01_7567.jpg', 2), ('/home/pi/Desktop/images/11072025/01/49/image_11072025_01_49_02_0236.jpg', 2), ('/home/pi/Desktop/images/11072025/01/48/image_11072025_01_48_02_1192.jpg', 2), ('/home/pi/Desktop/images/11072025/01/47/image_11072025_01_47_01_5730.jpg', 2), ('/home/pi/Desktop/images/11072025/01/46/image_11072025_01_46_02_0060.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/01/51/image_11072025_01_51_01_7007.jpg', '/home/pi/Desktop/images/11072025/01/50/image_11072025_01_50_01_7567.jpg', '/home/pi/Desktop/images/11072025/01/49/image_11072025_01_49_02_0236.jpg', '/home/pi/Desktop/images/11072025/01/48/image_11072025_01_48_02_1192.jpg', '/home/pi/Desktop/images/11072025/01/47/image_11072025_01_47_01_5730.jpg', '/home/pi/Desktop/images/11072025/01/46/image_11072025_01_46_02_0060.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/01/51/image_11072025_01_51_01_7007.jpg
/home/pi/Desktop/images/11072025/01/50/image_11072025_01_50_01_7567.jpg
/home/pi/Desktop/images/11072025/01/49/image_11072025_01_49_02_0236.jpg
/home/pi/Desktop/images/11072025/01/48/image_11072025_01_48_02_1192.jpg
/home/pi/Desktop/images/11072025/01/47/image_11072025_01_47_01_5730.jpg
/home/pi/Desktop/images/11072025/01/46/image_11072025_01_46_02_0060.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.49990439414978 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 02:05:05.821858
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/01/51/image_11072025_01_51_01_7007.jpg', 2), ('/home/pi/Desktop/images/11072025/01/50/image_11072025_01_50_01_7567.jpg', 2), ('/home/pi/Desktop/images/11072025/01/49/image_11072025_01_49_02_0236.jpg', 2), ('/home/pi/Desktop/images/11072025/01/48/image_11072025_01_48_02_1192.jpg', 2), ('/home/pi/Desktop/images/11072025/01/47/image_11072025_01_47_01_5730.jpg', 2), ('/home/pi/Desktop/images/11072025/01/46/image_11072025_01_46_02_0060.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/01/51/image_11072025_01_51_01_7007.jpg', '/home/pi/Desktop/images/11072025/01/50/image_11072025_01_50_01_7567.jpg', '/home/pi/Desktop/images/11072025/01/49/image_11072025_01_49_02_0236.jpg', '/home/pi/Desktop/images/11072025/01/48/image_11072025_01_48_02_1192.jpg', '/home/pi/Desktop/images/11072025/01/47/image_11072025_01_47_01_5730.jpg', '/home/pi/Desktop/images/11072025/01/46/image_11072025_01_46_02_0060.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/01/51/image_11072025_01_51_01_7007.jpg
/home/pi/Desktop/images/11072025/01/50/image_11072025_01_50_01_7567.jpg
/home/pi/Desktop/images/11072025/01/49/image_11072025_01_49_02_0236.jpg
/home/pi/Desktop/images/11072025/01/48/image_11072025_01_48_02_1192.jpg
/home/pi/Desktop/images/11072025/01/47/image_11072025_01_47_01_5730.jpg
/home/pi/Desktop/images/11072025/01/46/image_11072025_01_46_02_0060.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.96214461326599 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 02:06:05.424467
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/01/51/image_11072025_01_51_01_7007.jpg', 2), ('/home/pi/Desktop/images/11072025/01/50/image_11072025_01_50_01_7567.jpg', 2), ('/home/pi/Desktop/images/11072025/01/49/image_11072025_01_49_02_0236.jpg', 2), ('/home/pi/Desktop/images/11072025/01/48/image_11072025_01_48_02_1192.jpg', 2), ('/home/pi/Desktop/images/11072025/01/47/image_11072025_01_47_01_5730.jpg', 2), ('/home/pi/Desktop/images/11072025/01/46/image_11072025_01_46_02_0060.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/01/51/image_11072025_01_51_01_7007.jpg', '/home/pi/Desktop/images/11072025/01/50/image_11072025_01_50_01_7567.jpg', '/home/pi/Desktop/images/11072025/01/49/image_11072025_01_49_02_0236.jpg', '/home/pi/Desktop/images/11072025/01/48/image_11072025_01_48_02_1192.jpg', '/home/pi/Desktop/images/11072025/01/47/image_11072025_01_47_01_5730.jpg', '/home/pi/Desktop/images/11072025/01/46/image_11072025_01_46_02_0060.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/01/51/image_11072025_01_51_01_7007.jpg
/home/pi/Desktop/images/11072025/01/50/image_11072025_01_50_01_7567.jpg
/home/pi/Desktop/images/11072025/01/49/image_11072025_01_49_02_0236.jpg
/home/pi/Desktop/images/11072025/01/48/image_11072025_01_48_02_1192.jpg
/home/pi/Desktop/images/11072025/01/47/image_11072025_01_47_01_5730.jpg
/home/pi/Desktop/images/11072025/01/46/image_11072025_01_46_02_0060.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.45407009124756 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 02:07:05.763403
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/01/51/image_11072025_01_51_01_7007.jpg', 2), ('/home/pi/Desktop/images/11072025/01/50/image_11072025_01_50_01_7567.jpg', 2), ('/home/pi/Desktop/images/11072025/01/49/image_11072025_01_49_02_0236.jpg', 2), ('/home/pi/Desktop/images/11072025/01/48/image_11072025_01_48_02_1192.jpg', 2), ('/home/pi/Desktop/images/11072025/01/47/image_11072025_01_47_01_5730.jpg', 2), ('/home/pi/Desktop/images/11072025/01/46/image_11072025_01_46_02_0060.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/01/51/image_11072025_01_51_01_7007.jpg', '/home/pi/Desktop/images/11072025/01/50/image_11072025_01_50_01_7567.jpg', '/home/pi/Desktop/images/11072025/01/49/image_11072025_01_49_02_0236.jpg', '/home/pi/Desktop/images/11072025/01/48/image_11072025_01_48_02_1192.jpg', '/home/pi/Desktop/images/11072025/01/47/image_11072025_01_47_01_5730.jpg', '/home/pi/Desktop/images/11072025/01/46/image_11072025_01_46_02_0060.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/01/51/image_11072025_01_51_01_7007.jpg
/home/pi/Desktop/images/11072025/01/50/image_11072025_01_50_01_7567.jpg
/home/pi/Desktop/images/11072025/01/49/image_11072025_01_49_02_0236.jpg
/home/pi/Desktop/images/11072025/01/48/image_11072025_01_48_02_1192.jpg
/home/pi/Desktop/images/11072025/01/47/image_11072025_01_47_01_5730.jpg
/home/pi/Desktop/images/11072025/01/46/image_11072025_01_46_02_0060.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.23496603965759 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 02:08:04.968924
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/01/51/image_11072025_01_51_01_7007.jpg', 2), ('/home/pi/Desktop/images/11072025/01/50/image_11072025_01_50_01_7567.jpg', 2), ('/home/pi/Desktop/images/11072025/01/49/image_11072025_01_49_02_0236.jpg', 2), ('/home/pi/Desktop/images/11072025/01/48/image_11072025_01_48_02_1192.jpg', 2), ('/home/pi/Desktop/images/11072025/01/47/image_11072025_01_47_01_5730.jpg', 2), ('/home/pi/Desktop/images/11072025/01/46/image_11072025_01_46_02_0060.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/01/51/image_11072025_01_51_01_7007.jpg', '/home/pi/Desktop/images/11072025/01/50/image_11072025_01_50_01_7567.jpg', '/home/pi/Desktop/images/11072025/01/49/image_11072025_01_49_02_0236.jpg', '/home/pi/Desktop/images/11072025/01/48/image_11072025_01_48_02_1192.jpg', '/home/pi/Desktop/images/11072025/01/47/image_11072025_01_47_01_5730.jpg', '/home/pi/Desktop/images/11072025/01/46/image_11072025_01_46_02_0060.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/01/51/image_11072025_01_51_01_7007.jpg
/home/pi/Desktop/images/11072025/01/50/image_11072025_01_50_01_7567.jpg
/home/pi/Desktop/images/11072025/01/49/image_11072025_01_49_02_0236.jpg
/home/pi/Desktop/images/11072025/01/48/image_11072025_01_48_02_1192.jpg
/home/pi/Desktop/images/11072025/01/47/image_11072025_01_47_01_5730.jpg
/home/pi/Desktop/images/11072025/01/46/image_11072025_01_46_02_0060.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.17277002334595 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 02:09:05.119622
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/01/51/image_11072025_01_51_01_7007.jpg', 2), ('/home/pi/Desktop/images/11072025/01/50/image_11072025_01_50_01_7567.jpg', 2), ('/home/pi/Desktop/images/11072025/01/49/image_11072025_01_49_02_0236.jpg', 2), ('/home/pi/Desktop/images/11072025/01/48/image_11072025_01_48_02_1192.jpg', 2), ('/home/pi/Desktop/images/11072025/01/47/image_11072025_01_47_01_5730.jpg', 2), ('/home/pi/Desktop/images/11072025/01/46/image_11072025_01_46_02_0060.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/01/51/image_11072025_01_51_01_7007.jpg', '/home/pi/Desktop/images/11072025/01/50/image_11072025_01_50_01_7567.jpg', '/home/pi/Desktop/images/11072025/01/49/image_11072025_01_49_02_0236.jpg', '/home/pi/Desktop/images/11072025/01/48/image_11072025_01_48_02_1192.jpg', '/home/pi/Desktop/images/11072025/01/47/image_11072025_01_47_01_5730.jpg', '/home/pi/Desktop/images/11072025/01/46/image_11072025_01_46_02_0060.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/01/51/image_11072025_01_51_01_7007.jpg
/home/pi/Desktop/images/11072025/01/50/image_11072025_01_50_01_7567.jpg
/home/pi/Desktop/images/11072025/01/49/image_11072025_01_49_02_0236.jpg
/home/pi/Desktop/images/11072025/01/48/image_11072025_01_48_02_1192.jpg
/home/pi/Desktop/images/11072025/01/47/image_11072025_01_47_01_5730.jpg
/home/pi/Desktop/images/11072025/01/46/image_11072025_01_46_02_0060.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.29818034172058 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 02:10:05.566316
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/01/51/image_11072025_01_51_01_7007.jpg', 2), ('/home/pi/Desktop/images/11072025/01/50/image_11072025_01_50_01_7567.jpg', 2), ('/home/pi/Desktop/images/11072025/01/49/image_11072025_01_49_02_0236.jpg', 2), ('/home/pi/Desktop/images/11072025/01/48/image_11072025_01_48_02_1192.jpg', 2), ('/home/pi/Desktop/images/11072025/01/47/image_11072025_01_47_01_5730.jpg', 2), ('/home/pi/Desktop/images/11072025/01/46/image_11072025_01_46_02_0060.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/01/51/image_11072025_01_51_01_7007.jpg', '/home/pi/Desktop/images/11072025/01/50/image_11072025_01_50_01_7567.jpg', '/home/pi/Desktop/images/11072025/01/49/image_11072025_01_49_02_0236.jpg', '/home/pi/Desktop/images/11072025/01/48/image_11072025_01_48_02_1192.jpg', '/home/pi/Desktop/images/11072025/01/47/image_11072025_01_47_01_5730.jpg', '/home/pi/Desktop/images/11072025/01/46/image_11072025_01_46_02_0060.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/01/51/image_11072025_01_51_01_7007.jpg
/home/pi/Desktop/images/11072025/01/50/image_11072025_01_50_01_7567.jpg
/home/pi/Desktop/images/11072025/01/49/image_11072025_01_49_02_0236.jpg
/home/pi/Desktop/images/11072025/01/48/image_11072025_01_48_02_1192.jpg
/home/pi/Desktop/images/11072025/01/47/image_11072025_01_47_01_5730.jpg
/home/pi/Desktop/images/11072025/01/46/image_11072025_01_46_02_0060.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 32.967408180236816 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 02:11:06.028087
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/01/51/image_11072025_01_51_01_7007.jpg', 2), ('/home/pi/Desktop/images/11072025/01/50/image_11072025_01_50_01_7567.jpg', 2), ('/home/pi/Desktop/images/11072025/01/49/image_11072025_01_49_02_0236.jpg', 2), ('/home/pi/Desktop/images/11072025/01/48/image_11072025_01_48_02_1192.jpg', 2), ('/home/pi/Desktop/images/11072025/01/47/image_11072025_01_47_01_5730.jpg', 2), ('/home/pi/Desktop/images/11072025/01/46/image_11072025_01_46_02_0060.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/01/51/image_11072025_01_51_01_7007.jpg', '/home/pi/Desktop/images/11072025/01/50/image_11072025_01_50_01_7567.jpg', '/home/pi/Desktop/images/11072025/01/49/image_11072025_01_49_02_0236.jpg', '/home/pi/Desktop/images/11072025/01/48/image_11072025_01_48_02_1192.jpg', '/home/pi/Desktop/images/11072025/01/47/image_11072025_01_47_01_5730.jpg', '/home/pi/Desktop/images/11072025/01/46/image_11072025_01_46_02_0060.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/01/51/image_11072025_01_51_01_7007.jpg
/home/pi/Desktop/images/11072025/01/50/image_11072025_01_50_01_7567.jpg
/home/pi/Desktop/images/11072025/01/49/image_11072025_01_49_02_0236.jpg
/home/pi/Desktop/images/11072025/01/48/image_11072025_01_48_02_1192.jpg
/home/pi/Desktop/images/11072025/01/47/image_11072025_01_47_01_5730.jpg
/home/pi/Desktop/images/11072025/01/46/image_11072025_01_46_02_0060.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.63963723182678 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 02:12:05.075476
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/01/56/image_11072025_01_56_01_3581.jpg', 2), ('/home/pi/Desktop/images/11072025/01/51/image_11072025_01_51_01_7007.jpg', 2), ('/home/pi/Desktop/images/11072025/01/50/image_11072025_01_50_01_7567.jpg', 2), ('/home/pi/Desktop/images/11072025/01/49/image_11072025_01_49_02_0236.jpg', 2), ('/home/pi/Desktop/images/11072025/01/48/image_11072025_01_48_02_1192.jpg', 2), ('/home/pi/Desktop/images/11072025/01/47/image_11072025_01_47_01_5730.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/01/56/image_11072025_01_56_01_3581.jpg', '/home/pi/Desktop/images/11072025/01/51/image_11072025_01_51_01_7007.jpg', '/home/pi/Desktop/images/11072025/01/50/image_11072025_01_50_01_7567.jpg', '/home/pi/Desktop/images/11072025/01/49/image_11072025_01_49_02_0236.jpg', '/home/pi/Desktop/images/11072025/01/48/image_11072025_01_48_02_1192.jpg', '/home/pi/Desktop/images/11072025/01/47/image_11072025_01_47_01_5730.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/01/56/image_11072025_01_56_01_3581.jpg
/home/pi/Desktop/images/11072025/01/51/image_11072025_01_51_01_7007.jpg
/home/pi/Desktop/images/11072025/01/50/image_11072025_01_50_01_7567.jpg
/home/pi/Desktop/images/11072025/01/49/image_11072025_01_49_02_0236.jpg
/home/pi/Desktop/images/11072025/01/48/image_11072025_01_48_02_1192.jpg
/home/pi/Desktop/images/11072025/01/47/image_11072025_01_47_01_5730.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 36.74200510978699 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 02:13:05.657691
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/02/12/image_11072025_02_12_02_1856.jpg', 2), ('/home/pi/Desktop/images/11072025/01/56/image_11072025_01_56_01_3581.jpg', 2), ('/home/pi/Desktop/images/11072025/01/51/image_11072025_01_51_01_7007.jpg', 2), ('/home/pi/Desktop/images/11072025/01/50/image_11072025_01_50_01_7567.jpg', 2), ('/home/pi/Desktop/images/11072025/01/49/image_11072025_01_49_02_0236.jpg', 2), ('/home/pi/Desktop/images/11072025/01/48/image_11072025_01_48_02_1192.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/02/12/image_11072025_02_12_02_1856.jpg', '/home/pi/Desktop/images/11072025/01/56/image_11072025_01_56_01_3581.jpg', '/home/pi/Desktop/images/11072025/01/51/image_11072025_01_51_01_7007.jpg', '/home/pi/Desktop/images/11072025/01/50/image_11072025_01_50_01_7567.jpg', '/home/pi/Desktop/images/11072025/01/49/image_11072025_01_49_02_0236.jpg', '/home/pi/Desktop/images/11072025/01/48/image_11072025_01_48_02_1192.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/02/12/image_11072025_02_12_02_1856.jpg
/home/pi/Desktop/images/11072025/01/56/image_11072025_01_56_01_3581.jpg
/home/pi/Desktop/images/11072025/01/51/image_11072025_01_51_01_7007.jpg
/home/pi/Desktop/images/11072025/01/50/image_11072025_01_50_01_7567.jpg
/home/pi/Desktop/images/11072025/01/49/image_11072025_01_49_02_0236.jpg
/home/pi/Desktop/images/11072025/01/48/image_11072025_01_48_02_1192.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.52169871330261 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 02:14:05.438615
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/02/13/image_11072025_02_13_01_4080.jpg', 2), ('/home/pi/Desktop/images/11072025/02/12/image_11072025_02_12_02_1856.jpg', 2), ('/home/pi/Desktop/images/11072025/01/56/image_11072025_01_56_01_3581.jpg', 2), ('/home/pi/Desktop/images/11072025/01/51/image_11072025_01_51_01_7007.jpg', 2), ('/home/pi/Desktop/images/11072025/01/50/image_11072025_01_50_01_7567.jpg', 2), ('/home/pi/Desktop/images/11072025/01/49/image_11072025_01_49_02_0236.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/02/13/image_11072025_02_13_01_4080.jpg', '/home/pi/Desktop/images/11072025/02/12/image_11072025_02_12_02_1856.jpg', '/home/pi/Desktop/images/11072025/01/56/image_11072025_01_56_01_3581.jpg', '/home/pi/Desktop/images/11072025/01/51/image_11072025_01_51_01_7007.jpg', '/home/pi/Desktop/images/11072025/01/50/image_11072025_01_50_01_7567.jpg', '/home/pi/Desktop/images/11072025/01/49/image_11072025_01_49_02_0236.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/02/13/image_11072025_02_13_01_4080.jpg
/home/pi/Desktop/images/11072025/02/12/image_11072025_02_12_02_1856.jpg
/home/pi/Desktop/images/11072025/01/56/image_11072025_01_56_01_3581.jpg
/home/pi/Desktop/images/11072025/01/51/image_11072025_01_51_01_7007.jpg
/home/pi/Desktop/images/11072025/01/50/image_11072025_01_50_01_7567.jpg
/home/pi/Desktop/images/11072025/01/49/image_11072025_01_49_02_0236.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 34.84067940711975 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 02:15:05.941371
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/02/14/image_11072025_02_14_01_7540.jpg', 2), ('/home/pi/Desktop/images/11072025/02/13/image_11072025_02_13_01_4080.jpg', 2), ('/home/pi/Desktop/images/11072025/02/12/image_11072025_02_12_02_1856.jpg', 2), ('/home/pi/Desktop/images/11072025/01/56/image_11072025_01_56_01_3581.jpg', 2), ('/home/pi/Desktop/images/11072025/01/51/image_11072025_01_51_01_7007.jpg', 2), ('/home/pi/Desktop/images/11072025/01/50/image_11072025_01_50_01_7567.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/02/14/image_11072025_02_14_01_7540.jpg', '/home/pi/Desktop/images/11072025/02/13/image_11072025_02_13_01_4080.jpg', '/home/pi/Desktop/images/11072025/02/12/image_11072025_02_12_02_1856.jpg', '/home/pi/Desktop/images/11072025/01/56/image_11072025_01_56_01_3581.jpg', '/home/pi/Desktop/images/11072025/01/51/image_11072025_01_51_01_7007.jpg', '/home/pi/Desktop/images/11072025/01/50/image_11072025_01_50_01_7567.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/02/14/image_11072025_02_14_01_7540.jpg
/home/pi/Desktop/images/11072025/02/13/image_11072025_02_13_01_4080.jpg
/home/pi/Desktop/images/11072025/02/12/image_11072025_02_12_02_1856.jpg
/home/pi/Desktop/images/11072025/01/56/image_11072025_01_56_01_3581.jpg
/home/pi/Desktop/images/11072025/01/51/image_11072025_01_51_01_7007.jpg
/home/pi/Desktop/images/11072025/01/50/image_11072025_01_50_01_7567.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.452444553375244 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 02:16:05.715267
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/02/15/image_11072025_02_15_01_8480.jpg', 2), ('/home/pi/Desktop/images/11072025/02/14/image_11072025_02_14_01_7540.jpg', 2), ('/home/pi/Desktop/images/11072025/02/13/image_11072025_02_13_01_4080.jpg', 2), ('/home/pi/Desktop/images/11072025/02/12/image_11072025_02_12_02_1856.jpg', 2), ('/home/pi/Desktop/images/11072025/01/56/image_11072025_01_56_01_3581.jpg', 2), ('/home/pi/Desktop/images/11072025/01/51/image_11072025_01_51_01_7007.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/02/15/image_11072025_02_15_01_8480.jpg', '/home/pi/Desktop/images/11072025/02/14/image_11072025_02_14_01_7540.jpg', '/home/pi/Desktop/images/11072025/02/13/image_11072025_02_13_01_4080.jpg', '/home/pi/Desktop/images/11072025/02/12/image_11072025_02_12_02_1856.jpg', '/home/pi/Desktop/images/11072025/01/56/image_11072025_01_56_01_3581.jpg', '/home/pi/Desktop/images/11072025/01/51/image_11072025_01_51_01_7007.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/02/15/image_11072025_02_15_01_8480.jpg
/home/pi/Desktop/images/11072025/02/14/image_11072025_02_14_01_7540.jpg
/home/pi/Desktop/images/11072025/02/13/image_11072025_02_13_01_4080.jpg
/home/pi/Desktop/images/11072025/02/12/image_11072025_02_12_02_1856.jpg
/home/pi/Desktop/images/11072025/01/56/image_11072025_01_56_01_3581.jpg
/home/pi/Desktop/images/11072025/01/51/image_11072025_01_51_01_7007.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 32.74741721153259 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 02:17:05.861368
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/02/15/image_11072025_02_15_01_8480.jpg', 2), ('/home/pi/Desktop/images/11072025/02/14/image_11072025_02_14_01_7540.jpg', 2), ('/home/pi/Desktop/images/11072025/02/13/image_11072025_02_13_01_4080.jpg', 2), ('/home/pi/Desktop/images/11072025/02/12/image_11072025_02_12_02_1856.jpg', 2), ('/home/pi/Desktop/images/11072025/01/56/image_11072025_01_56_01_3581.jpg', 2), ('/home/pi/Desktop/images/11072025/01/51/image_11072025_01_51_01_7007.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/02/15/image_11072025_02_15_01_8480.jpg', '/home/pi/Desktop/images/11072025/02/14/image_11072025_02_14_01_7540.jpg', '/home/pi/Desktop/images/11072025/02/13/image_11072025_02_13_01_4080.jpg', '/home/pi/Desktop/images/11072025/02/12/image_11072025_02_12_02_1856.jpg', '/home/pi/Desktop/images/11072025/01/56/image_11072025_01_56_01_3581.jpg', '/home/pi/Desktop/images/11072025/01/51/image_11072025_01_51_01_7007.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/02/15/image_11072025_02_15_01_8480.jpg
/home/pi/Desktop/images/11072025/02/14/image_11072025_02_14_01_7540.jpg
/home/pi/Desktop/images/11072025/02/13/image_11072025_02_13_01_4080.jpg
/home/pi/Desktop/images/11072025/02/12/image_11072025_02_12_02_1856.jpg
/home/pi/Desktop/images/11072025/01/56/image_11072025_01_56_01_3581.jpg
/home/pi/Desktop/images/11072025/01/51/image_11072025_01_51_01_7007.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 32.93188238143921 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 02:18:05.016574
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/02/16/image_11072025_02_16_01_8914.jpg', 2), ('/home/pi/Desktop/images/11072025/02/15/image_11072025_02_15_01_8480.jpg', 2), ('/home/pi/Desktop/images/11072025/02/14/image_11072025_02_14_01_7540.jpg', 2), ('/home/pi/Desktop/images/11072025/02/13/image_11072025_02_13_01_4080.jpg', 2), ('/home/pi/Desktop/images/11072025/02/12/image_11072025_02_12_02_1856.jpg', 2), ('/home/pi/Desktop/images/11072025/01/56/image_11072025_01_56_01_3581.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/02/16/image_11072025_02_16_01_8914.jpg', '/home/pi/Desktop/images/11072025/02/15/image_11072025_02_15_01_8480.jpg', '/home/pi/Desktop/images/11072025/02/14/image_11072025_02_14_01_7540.jpg', '/home/pi/Desktop/images/11072025/02/13/image_11072025_02_13_01_4080.jpg', '/home/pi/Desktop/images/11072025/02/12/image_11072025_02_12_02_1856.jpg', '/home/pi/Desktop/images/11072025/01/56/image_11072025_01_56_01_3581.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/02/16/image_11072025_02_16_01_8914.jpg
/home/pi/Desktop/images/11072025/02/15/image_11072025_02_15_01_8480.jpg
/home/pi/Desktop/images/11072025/02/14/image_11072025_02_14_01_7540.jpg
/home/pi/Desktop/images/11072025/02/13/image_11072025_02_13_01_4080.jpg
/home/pi/Desktop/images/11072025/02/12/image_11072025_02_12_02_1856.jpg
/home/pi/Desktop/images/11072025/01/56/image_11072025_01_56_01_3581.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 32.91433000564575 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 02:19:05.580525
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/02/18/image_11072025_02_18_02_1050.jpg', 2), ('/home/pi/Desktop/images/11072025/02/16/image_11072025_02_16_01_8914.jpg', 2), ('/home/pi/Desktop/images/11072025/02/15/image_11072025_02_15_01_8480.jpg', 2), ('/home/pi/Desktop/images/11072025/02/14/image_11072025_02_14_01_7540.jpg', 2), ('/home/pi/Desktop/images/11072025/02/13/image_11072025_02_13_01_4080.jpg', 2), ('/home/pi/Desktop/images/11072025/02/12/image_11072025_02_12_02_1856.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/02/18/image_11072025_02_18_02_1050.jpg', '/home/pi/Desktop/images/11072025/02/16/image_11072025_02_16_01_8914.jpg', '/home/pi/Desktop/images/11072025/02/15/image_11072025_02_15_01_8480.jpg', '/home/pi/Desktop/images/11072025/02/14/image_11072025_02_14_01_7540.jpg', '/home/pi/Desktop/images/11072025/02/13/image_11072025_02_13_01_4080.jpg', '/home/pi/Desktop/images/11072025/02/12/image_11072025_02_12_02_1856.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/02/18/image_11072025_02_18_02_1050.jpg
/home/pi/Desktop/images/11072025/02/16/image_11072025_02_16_01_8914.jpg
/home/pi/Desktop/images/11072025/02/15/image_11072025_02_15_01_8480.jpg
/home/pi/Desktop/images/11072025/02/14/image_11072025_02_14_01_7540.jpg
/home/pi/Desktop/images/11072025/02/13/image_11072025_02_13_01_4080.jpg
/home/pi/Desktop/images/11072025/02/12/image_11072025_02_12_02_1856.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.4966197013855 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 02:20:05.307346
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/02/18/image_11072025_02_18_02_1050.jpg', 2), ('/home/pi/Desktop/images/11072025/02/16/image_11072025_02_16_01_8914.jpg', 2), ('/home/pi/Desktop/images/11072025/02/15/image_11072025_02_15_01_8480.jpg', 2), ('/home/pi/Desktop/images/11072025/02/14/image_11072025_02_14_01_7540.jpg', 2), ('/home/pi/Desktop/images/11072025/02/13/image_11072025_02_13_01_4080.jpg', 2), ('/home/pi/Desktop/images/11072025/02/12/image_11072025_02_12_02_1856.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/02/18/image_11072025_02_18_02_1050.jpg', '/home/pi/Desktop/images/11072025/02/16/image_11072025_02_16_01_8914.jpg', '/home/pi/Desktop/images/11072025/02/15/image_11072025_02_15_01_8480.jpg', '/home/pi/Desktop/images/11072025/02/14/image_11072025_02_14_01_7540.jpg', '/home/pi/Desktop/images/11072025/02/13/image_11072025_02_13_01_4080.jpg', '/home/pi/Desktop/images/11072025/02/12/image_11072025_02_12_02_1856.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/02/18/image_11072025_02_18_02_1050.jpg
/home/pi/Desktop/images/11072025/02/16/image_11072025_02_16_01_8914.jpg
/home/pi/Desktop/images/11072025/02/15/image_11072025_02_15_01_8480.jpg
/home/pi/Desktop/images/11072025/02/14/image_11072025_02_14_01_7540.jpg
/home/pi/Desktop/images/11072025/02/13/image_11072025_02_13_01_4080.jpg
/home/pi/Desktop/images/11072025/02/12/image_11072025_02_12_02_1856.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 32.86057639122009 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 02:21:05.713395
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/02/19/image_11072025_02_19_01_5703.jpg', 2), ('/home/pi/Desktop/images/11072025/02/18/image_11072025_02_18_02_1050.jpg', 2), ('/home/pi/Desktop/images/11072025/02/16/image_11072025_02_16_01_8914.jpg', 2), ('/home/pi/Desktop/images/11072025/02/15/image_11072025_02_15_01_8480.jpg', 2), ('/home/pi/Desktop/images/11072025/02/14/image_11072025_02_14_01_7540.jpg', 2), ('/home/pi/Desktop/images/11072025/02/13/image_11072025_02_13_01_4080.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/02/19/image_11072025_02_19_01_5703.jpg', '/home/pi/Desktop/images/11072025/02/18/image_11072025_02_18_02_1050.jpg', '/home/pi/Desktop/images/11072025/02/16/image_11072025_02_16_01_8914.jpg', '/home/pi/Desktop/images/11072025/02/15/image_11072025_02_15_01_8480.jpg', '/home/pi/Desktop/images/11072025/02/14/image_11072025_02_14_01_7540.jpg', '/home/pi/Desktop/images/11072025/02/13/image_11072025_02_13_01_4080.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/02/19/image_11072025_02_19_01_5703.jpg
/home/pi/Desktop/images/11072025/02/18/image_11072025_02_18_02_1050.jpg
/home/pi/Desktop/images/11072025/02/16/image_11072025_02_16_01_8914.jpg
/home/pi/Desktop/images/11072025/02/15/image_11072025_02_15_01_8480.jpg
/home/pi/Desktop/images/11072025/02/14/image_11072025_02_14_01_7540.jpg
/home/pi/Desktop/images/11072025/02/13/image_11072025_02_13_01_4080.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.706568479537964 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 02:22:05.587048
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/02/21/image_11072025_02_21_01_9253.jpg', 2), ('/home/pi/Desktop/images/11072025/02/19/image_11072025_02_19_01_5703.jpg', 2), ('/home/pi/Desktop/images/11072025/02/18/image_11072025_02_18_02_1050.jpg', 2), ('/home/pi/Desktop/images/11072025/02/16/image_11072025_02_16_01_8914.jpg', 2), ('/home/pi/Desktop/images/11072025/02/15/image_11072025_02_15_01_8480.jpg', 2), ('/home/pi/Desktop/images/11072025/02/14/image_11072025_02_14_01_7540.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/02/21/image_11072025_02_21_01_9253.jpg', '/home/pi/Desktop/images/11072025/02/19/image_11072025_02_19_01_5703.jpg', '/home/pi/Desktop/images/11072025/02/18/image_11072025_02_18_02_1050.jpg', '/home/pi/Desktop/images/11072025/02/16/image_11072025_02_16_01_8914.jpg', '/home/pi/Desktop/images/11072025/02/15/image_11072025_02_15_01_8480.jpg', '/home/pi/Desktop/images/11072025/02/14/image_11072025_02_14_01_7540.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/02/21/image_11072025_02_21_01_9253.jpg
/home/pi/Desktop/images/11072025/02/19/image_11072025_02_19_01_5703.jpg
/home/pi/Desktop/images/11072025/02/18/image_11072025_02_18_02_1050.jpg
/home/pi/Desktop/images/11072025/02/16/image_11072025_02_16_01_8914.jpg
/home/pi/Desktop/images/11072025/02/15/image_11072025_02_15_01_8480.jpg
/home/pi/Desktop/images/11072025/02/14/image_11072025_02_14_01_7540.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 32.99410915374756 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 02:23:05.926168
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/02/22/image_11072025_02_22_01_9930.jpg', 2), ('/home/pi/Desktop/images/11072025/02/21/image_11072025_02_21_01_9253.jpg', 2), ('/home/pi/Desktop/images/11072025/02/19/image_11072025_02_19_01_5703.jpg', 2), ('/home/pi/Desktop/images/11072025/02/18/image_11072025_02_18_02_1050.jpg', 2), ('/home/pi/Desktop/images/11072025/02/16/image_11072025_02_16_01_8914.jpg', 2), ('/home/pi/Desktop/images/11072025/02/15/image_11072025_02_15_01_8480.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/02/22/image_11072025_02_22_01_9930.jpg', '/home/pi/Desktop/images/11072025/02/21/image_11072025_02_21_01_9253.jpg', '/home/pi/Desktop/images/11072025/02/19/image_11072025_02_19_01_5703.jpg', '/home/pi/Desktop/images/11072025/02/18/image_11072025_02_18_02_1050.jpg', '/home/pi/Desktop/images/11072025/02/16/image_11072025_02_16_01_8914.jpg', '/home/pi/Desktop/images/11072025/02/15/image_11072025_02_15_01_8480.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/02/22/image_11072025_02_22_01_9930.jpg
/home/pi/Desktop/images/11072025/02/21/image_11072025_02_21_01_9253.jpg
/home/pi/Desktop/images/11072025/02/19/image_11072025_02_19_01_5703.jpg
/home/pi/Desktop/images/11072025/02/18/image_11072025_02_18_02_1050.jpg
/home/pi/Desktop/images/11072025/02/16/image_11072025_02_16_01_8914.jpg
/home/pi/Desktop/images/11072025/02/15/image_11072025_02_15_01_8480.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.83662438392639 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 02:24:06.386539
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/02/23/image_11072025_02_23_01_9987.jpg', 2), ('/home/pi/Desktop/images/11072025/02/22/image_11072025_02_22_01_9930.jpg', 2), ('/home/pi/Desktop/images/11072025/02/21/image_11072025_02_21_01_9253.jpg', 2), ('/home/pi/Desktop/images/11072025/02/19/image_11072025_02_19_01_5703.jpg', 2), ('/home/pi/Desktop/images/11072025/02/18/image_11072025_02_18_02_1050.jpg', 2), ('/home/pi/Desktop/images/11072025/02/16/image_11072025_02_16_01_8914.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/02/23/image_11072025_02_23_01_9987.jpg', '/home/pi/Desktop/images/11072025/02/22/image_11072025_02_22_01_9930.jpg', '/home/pi/Desktop/images/11072025/02/21/image_11072025_02_21_01_9253.jpg', '/home/pi/Desktop/images/11072025/02/19/image_11072025_02_19_01_5703.jpg', '/home/pi/Desktop/images/11072025/02/18/image_11072025_02_18_02_1050.jpg', '/home/pi/Desktop/images/11072025/02/16/image_11072025_02_16_01_8914.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/02/23/image_11072025_02_23_01_9987.jpg
/home/pi/Desktop/images/11072025/02/22/image_11072025_02_22_01_9930.jpg
/home/pi/Desktop/images/11072025/02/21/image_11072025_02_21_01_9253.jpg
/home/pi/Desktop/images/11072025/02/19/image_11072025_02_19_01_5703.jpg
/home/pi/Desktop/images/11072025/02/18/image_11072025_02_18_02_1050.jpg
/home/pi/Desktop/images/11072025/02/16/image_11072025_02_16_01_8914.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.52593278884888 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 02:25:06.771668
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/02/24/image_11072025_02_24_02_1351.jpg', 2), ('/home/pi/Desktop/images/11072025/02/23/image_11072025_02_23_01_9987.jpg', 2), ('/home/pi/Desktop/images/11072025/02/22/image_11072025_02_22_01_9930.jpg', 2), ('/home/pi/Desktop/images/11072025/02/21/image_11072025_02_21_01_9253.jpg', 2), ('/home/pi/Desktop/images/11072025/02/19/image_11072025_02_19_01_5703.jpg', 2), ('/home/pi/Desktop/images/11072025/02/18/image_11072025_02_18_02_1050.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/02/24/image_11072025_02_24_02_1351.jpg', '/home/pi/Desktop/images/11072025/02/23/image_11072025_02_23_01_9987.jpg', '/home/pi/Desktop/images/11072025/02/22/image_11072025_02_22_01_9930.jpg', '/home/pi/Desktop/images/11072025/02/21/image_11072025_02_21_01_9253.jpg', '/home/pi/Desktop/images/11072025/02/19/image_11072025_02_19_01_5703.jpg', '/home/pi/Desktop/images/11072025/02/18/image_11072025_02_18_02_1050.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/02/24/image_11072025_02_24_02_1351.jpg
/home/pi/Desktop/images/11072025/02/23/image_11072025_02_23_01_9987.jpg
/home/pi/Desktop/images/11072025/02/22/image_11072025_02_22_01_9930.jpg
/home/pi/Desktop/images/11072025/02/21/image_11072025_02_21_01_9253.jpg
/home/pi/Desktop/images/11072025/02/19/image_11072025_02_19_01_5703.jpg
/home/pi/Desktop/images/11072025/02/18/image_11072025_02_18_02_1050.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.38997793197632 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 02:26:05.487045
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/02/25/image_11072025_02_25_02_3011.jpg', 2), ('/home/pi/Desktop/images/11072025/02/24/image_11072025_02_24_02_1351.jpg', 2), ('/home/pi/Desktop/images/11072025/02/23/image_11072025_02_23_01_9987.jpg', 2), ('/home/pi/Desktop/images/11072025/02/22/image_11072025_02_22_01_9930.jpg', 2), ('/home/pi/Desktop/images/11072025/02/21/image_11072025_02_21_01_9253.jpg', 2), ('/home/pi/Desktop/images/11072025/02/19/image_11072025_02_19_01_5703.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/02/25/image_11072025_02_25_02_3011.jpg', '/home/pi/Desktop/images/11072025/02/24/image_11072025_02_24_02_1351.jpg', '/home/pi/Desktop/images/11072025/02/23/image_11072025_02_23_01_9987.jpg', '/home/pi/Desktop/images/11072025/02/22/image_11072025_02_22_01_9930.jpg', '/home/pi/Desktop/images/11072025/02/21/image_11072025_02_21_01_9253.jpg', '/home/pi/Desktop/images/11072025/02/19/image_11072025_02_19_01_5703.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/02/25/image_11072025_02_25_02_3011.jpg
/home/pi/Desktop/images/11072025/02/24/image_11072025_02_24_02_1351.jpg
/home/pi/Desktop/images/11072025/02/23/image_11072025_02_23_01_9987.jpg
/home/pi/Desktop/images/11072025/02/22/image_11072025_02_22_01_9930.jpg
/home/pi/Desktop/images/11072025/02/21/image_11072025_02_21_01_9253.jpg
/home/pi/Desktop/images/11072025/02/19/image_11072025_02_19_01_5703.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 34.82664084434509 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 02:27:05.950518
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/02/26/image_11072025_02_26_02_3750.jpg', 2), ('/home/pi/Desktop/images/11072025/02/25/image_11072025_02_25_02_3011.jpg', 2), ('/home/pi/Desktop/images/11072025/02/24/image_11072025_02_24_02_1351.jpg', 2), ('/home/pi/Desktop/images/11072025/02/23/image_11072025_02_23_01_9987.jpg', 2), ('/home/pi/Desktop/images/11072025/02/22/image_11072025_02_22_01_9930.jpg', 2), ('/home/pi/Desktop/images/11072025/02/21/image_11072025_02_21_01_9253.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/02/26/image_11072025_02_26_02_3750.jpg', '/home/pi/Desktop/images/11072025/02/25/image_11072025_02_25_02_3011.jpg', '/home/pi/Desktop/images/11072025/02/24/image_11072025_02_24_02_1351.jpg', '/home/pi/Desktop/images/11072025/02/23/image_11072025_02_23_01_9987.jpg', '/home/pi/Desktop/images/11072025/02/22/image_11072025_02_22_01_9930.jpg', '/home/pi/Desktop/images/11072025/02/21/image_11072025_02_21_01_9253.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/02/26/image_11072025_02_26_02_3750.jpg
/home/pi/Desktop/images/11072025/02/25/image_11072025_02_25_02_3011.jpg
/home/pi/Desktop/images/11072025/02/24/image_11072025_02_24_02_1351.jpg
/home/pi/Desktop/images/11072025/02/23/image_11072025_02_23_01_9987.jpg
/home/pi/Desktop/images/11072025/02/22/image_11072025_02_22_01_9930.jpg
/home/pi/Desktop/images/11072025/02/21/image_11072025_02_21_01_9253.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.47298264503479 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 02:28:05.490949
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/02/27/image_11072025_02_27_01_6017.jpg', 2), ('/home/pi/Desktop/images/11072025/02/26/image_11072025_02_26_02_3750.jpg', 2), ('/home/pi/Desktop/images/11072025/02/25/image_11072025_02_25_02_3011.jpg', 2), ('/home/pi/Desktop/images/11072025/02/24/image_11072025_02_24_02_1351.jpg', 2), ('/home/pi/Desktop/images/11072025/02/23/image_11072025_02_23_01_9987.jpg', 2), ('/home/pi/Desktop/images/11072025/02/22/image_11072025_02_22_01_9930.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/02/27/image_11072025_02_27_01_6017.jpg', '/home/pi/Desktop/images/11072025/02/26/image_11072025_02_26_02_3750.jpg', '/home/pi/Desktop/images/11072025/02/25/image_11072025_02_25_02_3011.jpg', '/home/pi/Desktop/images/11072025/02/24/image_11072025_02_24_02_1351.jpg', '/home/pi/Desktop/images/11072025/02/23/image_11072025_02_23_01_9987.jpg', '/home/pi/Desktop/images/11072025/02/22/image_11072025_02_22_01_9930.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/02/27/image_11072025_02_27_01_6017.jpg
/home/pi/Desktop/images/11072025/02/26/image_11072025_02_26_02_3750.jpg
/home/pi/Desktop/images/11072025/02/25/image_11072025_02_25_02_3011.jpg
/home/pi/Desktop/images/11072025/02/24/image_11072025_02_24_02_1351.jpg
/home/pi/Desktop/images/11072025/02/23/image_11072025_02_23_01_9987.jpg
/home/pi/Desktop/images/11072025/02/22/image_11072025_02_22_01_9930.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.256470918655396 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 02:29:05.336852
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/02/27/image_11072025_02_27_01_6017.jpg', 2), ('/home/pi/Desktop/images/11072025/02/26/image_11072025_02_26_02_3750.jpg', 2), ('/home/pi/Desktop/images/11072025/02/25/image_11072025_02_25_02_3011.jpg', 2), ('/home/pi/Desktop/images/11072025/02/24/image_11072025_02_24_02_1351.jpg', 2), ('/home/pi/Desktop/images/11072025/02/23/image_11072025_02_23_01_9987.jpg', 2), ('/home/pi/Desktop/images/11072025/02/22/image_11072025_02_22_01_9930.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/02/27/image_11072025_02_27_01_6017.jpg', '/home/pi/Desktop/images/11072025/02/26/image_11072025_02_26_02_3750.jpg', '/home/pi/Desktop/images/11072025/02/25/image_11072025_02_25_02_3011.jpg', '/home/pi/Desktop/images/11072025/02/24/image_11072025_02_24_02_1351.jpg', '/home/pi/Desktop/images/11072025/02/23/image_11072025_02_23_01_9987.jpg', '/home/pi/Desktop/images/11072025/02/22/image_11072025_02_22_01_9930.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/02/27/image_11072025_02_27_01_6017.jpg
/home/pi/Desktop/images/11072025/02/26/image_11072025_02_26_02_3750.jpg
/home/pi/Desktop/images/11072025/02/25/image_11072025_02_25_02_3011.jpg
/home/pi/Desktop/images/11072025/02/24/image_11072025_02_24_02_1351.jpg
/home/pi/Desktop/images/11072025/02/23/image_11072025_02_23_01_9987.jpg
/home/pi/Desktop/images/11072025/02/22/image_11072025_02_22_01_9930.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.59529709815979 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 02:30:05.983711
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/02/27/image_11072025_02_27_01_6017.jpg', 2), ('/home/pi/Desktop/images/11072025/02/26/image_11072025_02_26_02_3750.jpg', 2), ('/home/pi/Desktop/images/11072025/02/25/image_11072025_02_25_02_3011.jpg', 2), ('/home/pi/Desktop/images/11072025/02/24/image_11072025_02_24_02_1351.jpg', 2), ('/home/pi/Desktop/images/11072025/02/23/image_11072025_02_23_01_9987.jpg', 2), ('/home/pi/Desktop/images/11072025/02/22/image_11072025_02_22_01_9930.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/02/27/image_11072025_02_27_01_6017.jpg', '/home/pi/Desktop/images/11072025/02/26/image_11072025_02_26_02_3750.jpg', '/home/pi/Desktop/images/11072025/02/25/image_11072025_02_25_02_3011.jpg', '/home/pi/Desktop/images/11072025/02/24/image_11072025_02_24_02_1351.jpg', '/home/pi/Desktop/images/11072025/02/23/image_11072025_02_23_01_9987.jpg', '/home/pi/Desktop/images/11072025/02/22/image_11072025_02_22_01_9930.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/02/27/image_11072025_02_27_01_6017.jpg
/home/pi/Desktop/images/11072025/02/26/image_11072025_02_26_02_3750.jpg
/home/pi/Desktop/images/11072025/02/25/image_11072025_02_25_02_3011.jpg
/home/pi/Desktop/images/11072025/02/24/image_11072025_02_24_02_1351.jpg
/home/pi/Desktop/images/11072025/02/23/image_11072025_02_23_01_9987.jpg
/home/pi/Desktop/images/11072025/02/22/image_11072025_02_22_01_9930.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.0231568813324 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 02:31:05.901812
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/02/27/image_11072025_02_27_01_6017.jpg', 2), ('/home/pi/Desktop/images/11072025/02/26/image_11072025_02_26_02_3750.jpg', 2), ('/home/pi/Desktop/images/11072025/02/25/image_11072025_02_25_02_3011.jpg', 2), ('/home/pi/Desktop/images/11072025/02/24/image_11072025_02_24_02_1351.jpg', 2), ('/home/pi/Desktop/images/11072025/02/23/image_11072025_02_23_01_9987.jpg', 2), ('/home/pi/Desktop/images/11072025/02/22/image_11072025_02_22_01_9930.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/02/27/image_11072025_02_27_01_6017.jpg', '/home/pi/Desktop/images/11072025/02/26/image_11072025_02_26_02_3750.jpg', '/home/pi/Desktop/images/11072025/02/25/image_11072025_02_25_02_3011.jpg', '/home/pi/Desktop/images/11072025/02/24/image_11072025_02_24_02_1351.jpg', '/home/pi/Desktop/images/11072025/02/23/image_11072025_02_23_01_9987.jpg', '/home/pi/Desktop/images/11072025/02/22/image_11072025_02_22_01_9930.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/02/27/image_11072025_02_27_01_6017.jpg
/home/pi/Desktop/images/11072025/02/26/image_11072025_02_26_02_3750.jpg
/home/pi/Desktop/images/11072025/02/25/image_11072025_02_25_02_3011.jpg
/home/pi/Desktop/images/11072025/02/24/image_11072025_02_24_02_1351.jpg
/home/pi/Desktop/images/11072025/02/23/image_11072025_02_23_01_9987.jpg
/home/pi/Desktop/images/11072025/02/22/image_11072025_02_22_01_9930.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.201449394226074 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 02:32:05.450190
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/02/27/image_11072025_02_27_01_6017.jpg', 2), ('/home/pi/Desktop/images/11072025/02/26/image_11072025_02_26_02_3750.jpg', 2), ('/home/pi/Desktop/images/11072025/02/25/image_11072025_02_25_02_3011.jpg', 2), ('/home/pi/Desktop/images/11072025/02/24/image_11072025_02_24_02_1351.jpg', 2), ('/home/pi/Desktop/images/11072025/02/23/image_11072025_02_23_01_9987.jpg', 2), ('/home/pi/Desktop/images/11072025/02/22/image_11072025_02_22_01_9930.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/02/27/image_11072025_02_27_01_6017.jpg', '/home/pi/Desktop/images/11072025/02/26/image_11072025_02_26_02_3750.jpg', '/home/pi/Desktop/images/11072025/02/25/image_11072025_02_25_02_3011.jpg', '/home/pi/Desktop/images/11072025/02/24/image_11072025_02_24_02_1351.jpg', '/home/pi/Desktop/images/11072025/02/23/image_11072025_02_23_01_9987.jpg', '/home/pi/Desktop/images/11072025/02/22/image_11072025_02_22_01_9930.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/02/27/image_11072025_02_27_01_6017.jpg
/home/pi/Desktop/images/11072025/02/26/image_11072025_02_26_02_3750.jpg
/home/pi/Desktop/images/11072025/02/25/image_11072025_02_25_02_3011.jpg
/home/pi/Desktop/images/11072025/02/24/image_11072025_02_24_02_1351.jpg
/home/pi/Desktop/images/11072025/02/23/image_11072025_02_23_01_9987.jpg
/home/pi/Desktop/images/11072025/02/22/image_11072025_02_22_01_9930.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 32.880821228027344 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 02:33:05.628157
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/02/27/image_11072025_02_27_01_6017.jpg', 2), ('/home/pi/Desktop/images/11072025/02/26/image_11072025_02_26_02_3750.jpg', 2), ('/home/pi/Desktop/images/11072025/02/25/image_11072025_02_25_02_3011.jpg', 2), ('/home/pi/Desktop/images/11072025/02/24/image_11072025_02_24_02_1351.jpg', 2), ('/home/pi/Desktop/images/11072025/02/23/image_11072025_02_23_01_9987.jpg', 2), ('/home/pi/Desktop/images/11072025/02/22/image_11072025_02_22_01_9930.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/02/27/image_11072025_02_27_01_6017.jpg', '/home/pi/Desktop/images/11072025/02/26/image_11072025_02_26_02_3750.jpg', '/home/pi/Desktop/images/11072025/02/25/image_11072025_02_25_02_3011.jpg', '/home/pi/Desktop/images/11072025/02/24/image_11072025_02_24_02_1351.jpg', '/home/pi/Desktop/images/11072025/02/23/image_11072025_02_23_01_9987.jpg', '/home/pi/Desktop/images/11072025/02/22/image_11072025_02_22_01_9930.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/02/27/image_11072025_02_27_01_6017.jpg
/home/pi/Desktop/images/11072025/02/26/image_11072025_02_26_02_3750.jpg
/home/pi/Desktop/images/11072025/02/25/image_11072025_02_25_02_3011.jpg
/home/pi/Desktop/images/11072025/02/24/image_11072025_02_24_02_1351.jpg
/home/pi/Desktop/images/11072025/02/23/image_11072025_02_23_01_9987.jpg
/home/pi/Desktop/images/11072025/02/22/image_11072025_02_22_01_9930.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.91174268722534 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 02:34:05.821821
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/02/27/image_11072025_02_27_01_6017.jpg', 2), ('/home/pi/Desktop/images/11072025/02/26/image_11072025_02_26_02_3750.jpg', 2), ('/home/pi/Desktop/images/11072025/02/25/image_11072025_02_25_02_3011.jpg', 2), ('/home/pi/Desktop/images/11072025/02/24/image_11072025_02_24_02_1351.jpg', 2), ('/home/pi/Desktop/images/11072025/02/23/image_11072025_02_23_01_9987.jpg', 2), ('/home/pi/Desktop/images/11072025/02/22/image_11072025_02_22_01_9930.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/02/27/image_11072025_02_27_01_6017.jpg', '/home/pi/Desktop/images/11072025/02/26/image_11072025_02_26_02_3750.jpg', '/home/pi/Desktop/images/11072025/02/25/image_11072025_02_25_02_3011.jpg', '/home/pi/Desktop/images/11072025/02/24/image_11072025_02_24_02_1351.jpg', '/home/pi/Desktop/images/11072025/02/23/image_11072025_02_23_01_9987.jpg', '/home/pi/Desktop/images/11072025/02/22/image_11072025_02_22_01_9930.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/02/27/image_11072025_02_27_01_6017.jpg
/home/pi/Desktop/images/11072025/02/26/image_11072025_02_26_02_3750.jpg
/home/pi/Desktop/images/11072025/02/25/image_11072025_02_25_02_3011.jpg
/home/pi/Desktop/images/11072025/02/24/image_11072025_02_24_02_1351.jpg
/home/pi/Desktop/images/11072025/02/23/image_11072025_02_23_01_9987.jpg
/home/pi/Desktop/images/11072025/02/22/image_11072025_02_22_01_9930.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 32.87048554420471 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 02:35:04.114251
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/02/27/image_11072025_02_27_01_6017.jpg', 2), ('/home/pi/Desktop/images/11072025/02/26/image_11072025_02_26_02_3750.jpg', 2), ('/home/pi/Desktop/images/11072025/02/25/image_11072025_02_25_02_3011.jpg', 2), ('/home/pi/Desktop/images/11072025/02/24/image_11072025_02_24_02_1351.jpg', 2), ('/home/pi/Desktop/images/11072025/02/23/image_11072025_02_23_01_9987.jpg', 2), ('/home/pi/Desktop/images/11072025/02/22/image_11072025_02_22_01_9930.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/02/27/image_11072025_02_27_01_6017.jpg', '/home/pi/Desktop/images/11072025/02/26/image_11072025_02_26_02_3750.jpg', '/home/pi/Desktop/images/11072025/02/25/image_11072025_02_25_02_3011.jpg', '/home/pi/Desktop/images/11072025/02/24/image_11072025_02_24_02_1351.jpg', '/home/pi/Desktop/images/11072025/02/23/image_11072025_02_23_01_9987.jpg', '/home/pi/Desktop/images/11072025/02/22/image_11072025_02_22_01_9930.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/02/27/image_11072025_02_27_01_6017.jpg
/home/pi/Desktop/images/11072025/02/26/image_11072025_02_26_02_3750.jpg
/home/pi/Desktop/images/11072025/02/25/image_11072025_02_25_02_3011.jpg
/home/pi/Desktop/images/11072025/02/24/image_11072025_02_24_02_1351.jpg
/home/pi/Desktop/images/11072025/02/23/image_11072025_02_23_01_9987.jpg
/home/pi/Desktop/images/11072025/02/22/image_11072025_02_22_01_9930.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 31.72801923751831 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 02:36:05.656976
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/02/27/image_11072025_02_27_01_6017.jpg', 2), ('/home/pi/Desktop/images/11072025/02/26/image_11072025_02_26_02_3750.jpg', 2), ('/home/pi/Desktop/images/11072025/02/25/image_11072025_02_25_02_3011.jpg', 2), ('/home/pi/Desktop/images/11072025/02/24/image_11072025_02_24_02_1351.jpg', 2), ('/home/pi/Desktop/images/11072025/02/23/image_11072025_02_23_01_9987.jpg', 2), ('/home/pi/Desktop/images/11072025/02/22/image_11072025_02_22_01_9930.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/02/27/image_11072025_02_27_01_6017.jpg', '/home/pi/Desktop/images/11072025/02/26/image_11072025_02_26_02_3750.jpg', '/home/pi/Desktop/images/11072025/02/25/image_11072025_02_25_02_3011.jpg', '/home/pi/Desktop/images/11072025/02/24/image_11072025_02_24_02_1351.jpg', '/home/pi/Desktop/images/11072025/02/23/image_11072025_02_23_01_9987.jpg', '/home/pi/Desktop/images/11072025/02/22/image_11072025_02_22_01_9930.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/02/27/image_11072025_02_27_01_6017.jpg
/home/pi/Desktop/images/11072025/02/26/image_11072025_02_26_02_3750.jpg
/home/pi/Desktop/images/11072025/02/25/image_11072025_02_25_02_3011.jpg
/home/pi/Desktop/images/11072025/02/24/image_11072025_02_24_02_1351.jpg
/home/pi/Desktop/images/11072025/02/23/image_11072025_02_23_01_9987.jpg
/home/pi/Desktop/images/11072025/02/22/image_11072025_02_22_01_9930.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.26405429840088 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 02:37:05.266755
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/02/28/image_11072025_02_28_01_9430.jpg', 2), ('/home/pi/Desktop/images/11072025/02/27/image_11072025_02_27_01_6017.jpg', 2), ('/home/pi/Desktop/images/11072025/02/26/image_11072025_02_26_02_3750.jpg', 2), ('/home/pi/Desktop/images/11072025/02/25/image_11072025_02_25_02_3011.jpg', 2), ('/home/pi/Desktop/images/11072025/02/24/image_11072025_02_24_02_1351.jpg', 2), ('/home/pi/Desktop/images/11072025/02/23/image_11072025_02_23_01_9987.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/02/28/image_11072025_02_28_01_9430.jpg', '/home/pi/Desktop/images/11072025/02/27/image_11072025_02_27_01_6017.jpg', '/home/pi/Desktop/images/11072025/02/26/image_11072025_02_26_02_3750.jpg', '/home/pi/Desktop/images/11072025/02/25/image_11072025_02_25_02_3011.jpg', '/home/pi/Desktop/images/11072025/02/24/image_11072025_02_24_02_1351.jpg', '/home/pi/Desktop/images/11072025/02/23/image_11072025_02_23_01_9987.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/02/28/image_11072025_02_28_01_9430.jpg
/home/pi/Desktop/images/11072025/02/27/image_11072025_02_27_01_6017.jpg
/home/pi/Desktop/images/11072025/02/26/image_11072025_02_26_02_3750.jpg
/home/pi/Desktop/images/11072025/02/25/image_11072025_02_25_02_3011.jpg
/home/pi/Desktop/images/11072025/02/24/image_11072025_02_24_02_1351.jpg
/home/pi/Desktop/images/11072025/02/23/image_11072025_02_23_01_9987.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.92049288749695 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 02:38:05.159683
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/02/28/image_11072025_02_28_01_9430.jpg', 2), ('/home/pi/Desktop/images/11072025/02/27/image_11072025_02_27_01_6017.jpg', 2), ('/home/pi/Desktop/images/11072025/02/26/image_11072025_02_26_02_3750.jpg', 2), ('/home/pi/Desktop/images/11072025/02/25/image_11072025_02_25_02_3011.jpg', 2), ('/home/pi/Desktop/images/11072025/02/24/image_11072025_02_24_02_1351.jpg', 2), ('/home/pi/Desktop/images/11072025/02/23/image_11072025_02_23_01_9987.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/02/28/image_11072025_02_28_01_9430.jpg', '/home/pi/Desktop/images/11072025/02/27/image_11072025_02_27_01_6017.jpg', '/home/pi/Desktop/images/11072025/02/26/image_11072025_02_26_02_3750.jpg', '/home/pi/Desktop/images/11072025/02/25/image_11072025_02_25_02_3011.jpg', '/home/pi/Desktop/images/11072025/02/24/image_11072025_02_24_02_1351.jpg', '/home/pi/Desktop/images/11072025/02/23/image_11072025_02_23_01_9987.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/02/28/image_11072025_02_28_01_9430.jpg
/home/pi/Desktop/images/11072025/02/27/image_11072025_02_27_01_6017.jpg
/home/pi/Desktop/images/11072025/02/26/image_11072025_02_26_02_3750.jpg
/home/pi/Desktop/images/11072025/02/25/image_11072025_02_25_02_3011.jpg
/home/pi/Desktop/images/11072025/02/24/image_11072025_02_24_02_1351.jpg
/home/pi/Desktop/images/11072025/02/23/image_11072025_02_23_01_9987.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.13287687301636 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 02:39:05.561726
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/02/28/image_11072025_02_28_01_9430.jpg', 2), ('/home/pi/Desktop/images/11072025/02/27/image_11072025_02_27_01_6017.jpg', 2), ('/home/pi/Desktop/images/11072025/02/26/image_11072025_02_26_02_3750.jpg', 2), ('/home/pi/Desktop/images/11072025/02/25/image_11072025_02_25_02_3011.jpg', 2), ('/home/pi/Desktop/images/11072025/02/24/image_11072025_02_24_02_1351.jpg', 2), ('/home/pi/Desktop/images/11072025/02/23/image_11072025_02_23_01_9987.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/02/28/image_11072025_02_28_01_9430.jpg', '/home/pi/Desktop/images/11072025/02/27/image_11072025_02_27_01_6017.jpg', '/home/pi/Desktop/images/11072025/02/26/image_11072025_02_26_02_3750.jpg', '/home/pi/Desktop/images/11072025/02/25/image_11072025_02_25_02_3011.jpg', '/home/pi/Desktop/images/11072025/02/24/image_11072025_02_24_02_1351.jpg', '/home/pi/Desktop/images/11072025/02/23/image_11072025_02_23_01_9987.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/02/28/image_11072025_02_28_01_9430.jpg
/home/pi/Desktop/images/11072025/02/27/image_11072025_02_27_01_6017.jpg
/home/pi/Desktop/images/11072025/02/26/image_11072025_02_26_02_3750.jpg
/home/pi/Desktop/images/11072025/02/25/image_11072025_02_25_02_3011.jpg
/home/pi/Desktop/images/11072025/02/24/image_11072025_02_24_02_1351.jpg
/home/pi/Desktop/images/11072025/02/23/image_11072025_02_23_01_9987.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.84862685203552 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 02:40:03.388537
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/02/40/image_11072025_02_40_01_6949.jpg', 2), ('/home/pi/Desktop/images/11072025/02/28/image_11072025_02_28_01_9430.jpg', 2), ('/home/pi/Desktop/images/11072025/02/27/image_11072025_02_27_01_6017.jpg', 2), ('/home/pi/Desktop/images/11072025/02/26/image_11072025_02_26_02_3750.jpg', 2), ('/home/pi/Desktop/images/11072025/02/25/image_11072025_02_25_02_3011.jpg', 2), ('/home/pi/Desktop/images/11072025/02/24/image_11072025_02_24_02_1351.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/02/40/image_11072025_02_40_01_6949.jpg', '/home/pi/Desktop/images/11072025/02/28/image_11072025_02_28_01_9430.jpg', '/home/pi/Desktop/images/11072025/02/27/image_11072025_02_27_01_6017.jpg', '/home/pi/Desktop/images/11072025/02/26/image_11072025_02_26_02_3750.jpg', '/home/pi/Desktop/images/11072025/02/25/image_11072025_02_25_02_3011.jpg', '/home/pi/Desktop/images/11072025/02/24/image_11072025_02_24_02_1351.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/02/40/image_11072025_02_40_01_6949.jpg
/home/pi/Desktop/images/11072025/02/28/image_11072025_02_28_01_9430.jpg
/home/pi/Desktop/images/11072025/02/27/image_11072025_02_27_01_6017.jpg
/home/pi/Desktop/images/11072025/02/26/image_11072025_02_26_02_3750.jpg
/home/pi/Desktop/images/11072025/02/25/image_11072025_02_25_02_3011.jpg
/home/pi/Desktop/images/11072025/02/24/image_11072025_02_24_02_1351.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 32.22419738769531 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 02:41:06.032722
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/02/40/image_11072025_02_40_01_6949.jpg', 2), ('/home/pi/Desktop/images/11072025/02/28/image_11072025_02_28_01_9430.jpg', 2), ('/home/pi/Desktop/images/11072025/02/27/image_11072025_02_27_01_6017.jpg', 2), ('/home/pi/Desktop/images/11072025/02/26/image_11072025_02_26_02_3750.jpg', 2), ('/home/pi/Desktop/images/11072025/02/25/image_11072025_02_25_02_3011.jpg', 2), ('/home/pi/Desktop/images/11072025/02/24/image_11072025_02_24_02_1351.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/02/40/image_11072025_02_40_01_6949.jpg', '/home/pi/Desktop/images/11072025/02/28/image_11072025_02_28_01_9430.jpg', '/home/pi/Desktop/images/11072025/02/27/image_11072025_02_27_01_6017.jpg', '/home/pi/Desktop/images/11072025/02/26/image_11072025_02_26_02_3750.jpg', '/home/pi/Desktop/images/11072025/02/25/image_11072025_02_25_02_3011.jpg', '/home/pi/Desktop/images/11072025/02/24/image_11072025_02_24_02_1351.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/02/40/image_11072025_02_40_01_6949.jpg
/home/pi/Desktop/images/11072025/02/28/image_11072025_02_28_01_9430.jpg
/home/pi/Desktop/images/11072025/02/27/image_11072025_02_27_01_6017.jpg
/home/pi/Desktop/images/11072025/02/26/image_11072025_02_26_02_3750.jpg
/home/pi/Desktop/images/11072025/02/25/image_11072025_02_25_02_3011.jpg
/home/pi/Desktop/images/11072025/02/24/image_11072025_02_24_02_1351.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.666661977767944 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 02:42:04.894454
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/02/40/image_11072025_02_40_01_6949.jpg', 2), ('/home/pi/Desktop/images/11072025/02/37/image_11072025_02_37_01_9974.jpg', 2), ('/home/pi/Desktop/images/11072025/02/28/image_11072025_02_28_01_9430.jpg', 2), ('/home/pi/Desktop/images/11072025/02/27/image_11072025_02_27_01_6017.jpg', 2), ('/home/pi/Desktop/images/11072025/02/26/image_11072025_02_26_02_3750.jpg', 2), ('/home/pi/Desktop/images/11072025/02/25/image_11072025_02_25_02_3011.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/02/40/image_11072025_02_40_01_6949.jpg', '/home/pi/Desktop/images/11072025/02/37/image_11072025_02_37_01_9974.jpg', '/home/pi/Desktop/images/11072025/02/28/image_11072025_02_28_01_9430.jpg', '/home/pi/Desktop/images/11072025/02/27/image_11072025_02_27_01_6017.jpg', '/home/pi/Desktop/images/11072025/02/26/image_11072025_02_26_02_3750.jpg', '/home/pi/Desktop/images/11072025/02/25/image_11072025_02_25_02_3011.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/02/40/image_11072025_02_40_01_6949.jpg
/home/pi/Desktop/images/11072025/02/37/image_11072025_02_37_01_9974.jpg
/home/pi/Desktop/images/11072025/02/28/image_11072025_02_28_01_9430.jpg
/home/pi/Desktop/images/11072025/02/27/image_11072025_02_27_01_6017.jpg
/home/pi/Desktop/images/11072025/02/26/image_11072025_02_26_02_3750.jpg
/home/pi/Desktop/images/11072025/02/25/image_11072025_02_25_02_3011.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.05273485183716 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 02:43:05.747413
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/02/40/image_11072025_02_40_01_6949.jpg', 2), ('/home/pi/Desktop/images/11072025/02/37/image_11072025_02_37_01_9974.jpg', 2), ('/home/pi/Desktop/images/11072025/02/28/image_11072025_02_28_01_9430.jpg', 2), ('/home/pi/Desktop/images/11072025/02/27/image_11072025_02_27_01_6017.jpg', 2), ('/home/pi/Desktop/images/11072025/02/26/image_11072025_02_26_02_3750.jpg', 2), ('/home/pi/Desktop/images/11072025/02/25/image_11072025_02_25_02_3011.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/02/40/image_11072025_02_40_01_6949.jpg', '/home/pi/Desktop/images/11072025/02/37/image_11072025_02_37_01_9974.jpg', '/home/pi/Desktop/images/11072025/02/28/image_11072025_02_28_01_9430.jpg', '/home/pi/Desktop/images/11072025/02/27/image_11072025_02_27_01_6017.jpg', '/home/pi/Desktop/images/11072025/02/26/image_11072025_02_26_02_3750.jpg', '/home/pi/Desktop/images/11072025/02/25/image_11072025_02_25_02_3011.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/02/40/image_11072025_02_40_01_6949.jpg
/home/pi/Desktop/images/11072025/02/37/image_11072025_02_37_01_9974.jpg
/home/pi/Desktop/images/11072025/02/28/image_11072025_02_28_01_9430.jpg
/home/pi/Desktop/images/11072025/02/27/image_11072025_02_27_01_6017.jpg
/home/pi/Desktop/images/11072025/02/26/image_11072025_02_26_02_3750.jpg
/home/pi/Desktop/images/11072025/02/25/image_11072025_02_25_02_3011.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.299283504486084 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 02:44:05.288923
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/02/42/image_11072025_02_42_02_2320.jpg', 2), ('/home/pi/Desktop/images/11072025/02/40/image_11072025_02_40_01_6949.jpg', 2), ('/home/pi/Desktop/images/11072025/02/37/image_11072025_02_37_01_9974.jpg', 2), ('/home/pi/Desktop/images/11072025/02/28/image_11072025_02_28_01_9430.jpg', 2), ('/home/pi/Desktop/images/11072025/02/27/image_11072025_02_27_01_6017.jpg', 2), ('/home/pi/Desktop/images/11072025/02/26/image_11072025_02_26_02_3750.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/02/42/image_11072025_02_42_02_2320.jpg', '/home/pi/Desktop/images/11072025/02/40/image_11072025_02_40_01_6949.jpg', '/home/pi/Desktop/images/11072025/02/37/image_11072025_02_37_01_9974.jpg', '/home/pi/Desktop/images/11072025/02/28/image_11072025_02_28_01_9430.jpg', '/home/pi/Desktop/images/11072025/02/27/image_11072025_02_27_01_6017.jpg', '/home/pi/Desktop/images/11072025/02/26/image_11072025_02_26_02_3750.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/02/42/image_11072025_02_42_02_2320.jpg
/home/pi/Desktop/images/11072025/02/40/image_11072025_02_40_01_6949.jpg
/home/pi/Desktop/images/11072025/02/37/image_11072025_02_37_01_9974.jpg
/home/pi/Desktop/images/11072025/02/28/image_11072025_02_28_01_9430.jpg
/home/pi/Desktop/images/11072025/02/27/image_11072025_02_27_01_6017.jpg
/home/pi/Desktop/images/11072025/02/26/image_11072025_02_26_02_3750.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 32.904316425323486 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 02:45:05.625225
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/02/44/image_11072025_02_44_01_7148.jpg', 2), ('/home/pi/Desktop/images/11072025/02/42/image_11072025_02_42_02_2320.jpg', 2), ('/home/pi/Desktop/images/11072025/02/40/image_11072025_02_40_01_6949.jpg', 2), ('/home/pi/Desktop/images/11072025/02/37/image_11072025_02_37_01_9974.jpg', 2), ('/home/pi/Desktop/images/11072025/02/28/image_11072025_02_28_01_9430.jpg', 2), ('/home/pi/Desktop/images/11072025/02/27/image_11072025_02_27_01_6017.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/02/44/image_11072025_02_44_01_7148.jpg', '/home/pi/Desktop/images/11072025/02/42/image_11072025_02_42_02_2320.jpg', '/home/pi/Desktop/images/11072025/02/40/image_11072025_02_40_01_6949.jpg', '/home/pi/Desktop/images/11072025/02/37/image_11072025_02_37_01_9974.jpg', '/home/pi/Desktop/images/11072025/02/28/image_11072025_02_28_01_9430.jpg', '/home/pi/Desktop/images/11072025/02/27/image_11072025_02_27_01_6017.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/02/44/image_11072025_02_44_01_7148.jpg
/home/pi/Desktop/images/11072025/02/42/image_11072025_02_42_02_2320.jpg
/home/pi/Desktop/images/11072025/02/40/image_11072025_02_40_01_6949.jpg
/home/pi/Desktop/images/11072025/02/37/image_11072025_02_37_01_9974.jpg
/home/pi/Desktop/images/11072025/02/28/image_11072025_02_28_01_9430.jpg
/home/pi/Desktop/images/11072025/02/27/image_11072025_02_27_01_6017.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.73999094963074 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 02:46:05.610257
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/02/45/image_11072025_02_45_01_7379.jpg', 2), ('/home/pi/Desktop/images/11072025/02/44/image_11072025_02_44_01_7148.jpg', 2), ('/home/pi/Desktop/images/11072025/02/42/image_11072025_02_42_02_2320.jpg', 2), ('/home/pi/Desktop/images/11072025/02/40/image_11072025_02_40_01_6949.jpg', 2), ('/home/pi/Desktop/images/11072025/02/37/image_11072025_02_37_01_9974.jpg', 2), ('/home/pi/Desktop/images/11072025/02/28/image_11072025_02_28_01_9430.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/02/45/image_11072025_02_45_01_7379.jpg', '/home/pi/Desktop/images/11072025/02/44/image_11072025_02_44_01_7148.jpg', '/home/pi/Desktop/images/11072025/02/42/image_11072025_02_42_02_2320.jpg', '/home/pi/Desktop/images/11072025/02/40/image_11072025_02_40_01_6949.jpg', '/home/pi/Desktop/images/11072025/02/37/image_11072025_02_37_01_9974.jpg', '/home/pi/Desktop/images/11072025/02/28/image_11072025_02_28_01_9430.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/02/45/image_11072025_02_45_01_7379.jpg
/home/pi/Desktop/images/11072025/02/44/image_11072025_02_44_01_7148.jpg
/home/pi/Desktop/images/11072025/02/42/image_11072025_02_42_02_2320.jpg
/home/pi/Desktop/images/11072025/02/40/image_11072025_02_40_01_6949.jpg
/home/pi/Desktop/images/11072025/02/37/image_11072025_02_37_01_9974.jpg
/home/pi/Desktop/images/11072025/02/28/image_11072025_02_28_01_9430.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.032588958740234 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 02:47:05.854977
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/02/46/image_11072025_02_46_01_6070.jpg', 2), ('/home/pi/Desktop/images/11072025/02/45/image_11072025_02_45_01_7379.jpg', 2), ('/home/pi/Desktop/images/11072025/02/44/image_11072025_02_44_01_7148.jpg', 2), ('/home/pi/Desktop/images/11072025/02/42/image_11072025_02_42_02_2320.jpg', 2), ('/home/pi/Desktop/images/11072025/02/40/image_11072025_02_40_01_6949.jpg', 2), ('/home/pi/Desktop/images/11072025/02/37/image_11072025_02_37_01_9974.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/02/46/image_11072025_02_46_01_6070.jpg', '/home/pi/Desktop/images/11072025/02/45/image_11072025_02_45_01_7379.jpg', '/home/pi/Desktop/images/11072025/02/44/image_11072025_02_44_01_7148.jpg', '/home/pi/Desktop/images/11072025/02/42/image_11072025_02_42_02_2320.jpg', '/home/pi/Desktop/images/11072025/02/40/image_11072025_02_40_01_6949.jpg', '/home/pi/Desktop/images/11072025/02/37/image_11072025_02_37_01_9974.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/02/46/image_11072025_02_46_01_6070.jpg
/home/pi/Desktop/images/11072025/02/45/image_11072025_02_45_01_7379.jpg
/home/pi/Desktop/images/11072025/02/44/image_11072025_02_44_01_7148.jpg
/home/pi/Desktop/images/11072025/02/42/image_11072025_02_42_02_2320.jpg
/home/pi/Desktop/images/11072025/02/40/image_11072025_02_40_01_6949.jpg
/home/pi/Desktop/images/11072025/02/37/image_11072025_02_37_01_9974.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 32.903162717819214 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 02:48:04.886739
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/02/47/image_11072025_02_47_01_9776.jpg', 2), ('/home/pi/Desktop/images/11072025/02/46/image_11072025_02_46_01_6070.jpg', 2), ('/home/pi/Desktop/images/11072025/02/45/image_11072025_02_45_01_7379.jpg', 2), ('/home/pi/Desktop/images/11072025/02/44/image_11072025_02_44_01_7148.jpg', 2), ('/home/pi/Desktop/images/11072025/02/42/image_11072025_02_42_02_2320.jpg', 2), ('/home/pi/Desktop/images/11072025/02/40/image_11072025_02_40_01_6949.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/02/47/image_11072025_02_47_01_9776.jpg', '/home/pi/Desktop/images/11072025/02/46/image_11072025_02_46_01_6070.jpg', '/home/pi/Desktop/images/11072025/02/45/image_11072025_02_45_01_7379.jpg', '/home/pi/Desktop/images/11072025/02/44/image_11072025_02_44_01_7148.jpg', '/home/pi/Desktop/images/11072025/02/42/image_11072025_02_42_02_2320.jpg', '/home/pi/Desktop/images/11072025/02/40/image_11072025_02_40_01_6949.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/02/47/image_11072025_02_47_01_9776.jpg
/home/pi/Desktop/images/11072025/02/46/image_11072025_02_46_01_6070.jpg
/home/pi/Desktop/images/11072025/02/45/image_11072025_02_45_01_7379.jpg
/home/pi/Desktop/images/11072025/02/44/image_11072025_02_44_01_7148.jpg
/home/pi/Desktop/images/11072025/02/42/image_11072025_02_42_02_2320.jpg
/home/pi/Desktop/images/11072025/02/40/image_11072025_02_40_01_6949.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.019561529159546 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 02:49:05.981434
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/02/48/image_11072025_02_48_02_0050.jpg', 2), ('/home/pi/Desktop/images/11072025/02/47/image_11072025_02_47_01_9776.jpg', 2), ('/home/pi/Desktop/images/11072025/02/46/image_11072025_02_46_01_6070.jpg', 2), ('/home/pi/Desktop/images/11072025/02/45/image_11072025_02_45_01_7379.jpg', 2), ('/home/pi/Desktop/images/11072025/02/44/image_11072025_02_44_01_7148.jpg', 2), ('/home/pi/Desktop/images/11072025/02/42/image_11072025_02_42_02_2320.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/02/48/image_11072025_02_48_02_0050.jpg', '/home/pi/Desktop/images/11072025/02/47/image_11072025_02_47_01_9776.jpg', '/home/pi/Desktop/images/11072025/02/46/image_11072025_02_46_01_6070.jpg', '/home/pi/Desktop/images/11072025/02/45/image_11072025_02_45_01_7379.jpg', '/home/pi/Desktop/images/11072025/02/44/image_11072025_02_44_01_7148.jpg', '/home/pi/Desktop/images/11072025/02/42/image_11072025_02_42_02_2320.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/02/48/image_11072025_02_48_02_0050.jpg
/home/pi/Desktop/images/11072025/02/47/image_11072025_02_47_01_9776.jpg
/home/pi/Desktop/images/11072025/02/46/image_11072025_02_46_01_6070.jpg
/home/pi/Desktop/images/11072025/02/45/image_11072025_02_45_01_7379.jpg
/home/pi/Desktop/images/11072025/02/44/image_11072025_02_44_01_7148.jpg
/home/pi/Desktop/images/11072025/02/42/image_11072025_02_42_02_2320.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.21761703491211 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 02:50:06.012238
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/02/49/image_11072025_02_49_01_5801.jpg', 2), ('/home/pi/Desktop/images/11072025/02/48/image_11072025_02_48_02_0050.jpg', 2), ('/home/pi/Desktop/images/11072025/02/47/image_11072025_02_47_01_9776.jpg', 2), ('/home/pi/Desktop/images/11072025/02/46/image_11072025_02_46_01_6070.jpg', 2), ('/home/pi/Desktop/images/11072025/02/45/image_11072025_02_45_01_7379.jpg', 2), ('/home/pi/Desktop/images/11072025/02/44/image_11072025_02_44_01_7148.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/02/49/image_11072025_02_49_01_5801.jpg', '/home/pi/Desktop/images/11072025/02/48/image_11072025_02_48_02_0050.jpg', '/home/pi/Desktop/images/11072025/02/47/image_11072025_02_47_01_9776.jpg', '/home/pi/Desktop/images/11072025/02/46/image_11072025_02_46_01_6070.jpg', '/home/pi/Desktop/images/11072025/02/45/image_11072025_02_45_01_7379.jpg', '/home/pi/Desktop/images/11072025/02/44/image_11072025_02_44_01_7148.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/02/49/image_11072025_02_49_01_5801.jpg
/home/pi/Desktop/images/11072025/02/48/image_11072025_02_48_02_0050.jpg
/home/pi/Desktop/images/11072025/02/47/image_11072025_02_47_01_9776.jpg
/home/pi/Desktop/images/11072025/02/46/image_11072025_02_46_01_6070.jpg
/home/pi/Desktop/images/11072025/02/45/image_11072025_02_45_01_7379.jpg
/home/pi/Desktop/images/11072025/02/44/image_11072025_02_44_01_7148.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.32743287086487 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 02:51:05.822546
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/02/50/image_11072025_02_50_02_2154.jpg', 2), ('/home/pi/Desktop/images/11072025/02/49/image_11072025_02_49_01_5801.jpg', 2), ('/home/pi/Desktop/images/11072025/02/48/image_11072025_02_48_02_0050.jpg', 2), ('/home/pi/Desktop/images/11072025/02/47/image_11072025_02_47_01_9776.jpg', 2), ('/home/pi/Desktop/images/11072025/02/46/image_11072025_02_46_01_6070.jpg', 2), ('/home/pi/Desktop/images/11072025/02/45/image_11072025_02_45_01_7379.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/02/50/image_11072025_02_50_02_2154.jpg', '/home/pi/Desktop/images/11072025/02/49/image_11072025_02_49_01_5801.jpg', '/home/pi/Desktop/images/11072025/02/48/image_11072025_02_48_02_0050.jpg', '/home/pi/Desktop/images/11072025/02/47/image_11072025_02_47_01_9776.jpg', '/home/pi/Desktop/images/11072025/02/46/image_11072025_02_46_01_6070.jpg', '/home/pi/Desktop/images/11072025/02/45/image_11072025_02_45_01_7379.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/02/50/image_11072025_02_50_02_2154.jpg
/home/pi/Desktop/images/11072025/02/49/image_11072025_02_49_01_5801.jpg
/home/pi/Desktop/images/11072025/02/48/image_11072025_02_48_02_0050.jpg
/home/pi/Desktop/images/11072025/02/47/image_11072025_02_47_01_9776.jpg
/home/pi/Desktop/images/11072025/02/46/image_11072025_02_46_01_6070.jpg
/home/pi/Desktop/images/11072025/02/45/image_11072025_02_45_01_7379.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.56756043434143 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 02:52:05.645141
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/02/51/image_11072025_02_51_02_2028.jpg', 2), ('/home/pi/Desktop/images/11072025/02/50/image_11072025_02_50_02_2154.jpg', 2), ('/home/pi/Desktop/images/11072025/02/49/image_11072025_02_49_01_5801.jpg', 2), ('/home/pi/Desktop/images/11072025/02/48/image_11072025_02_48_02_0050.jpg', 2), ('/home/pi/Desktop/images/11072025/02/47/image_11072025_02_47_01_9776.jpg', 2), ('/home/pi/Desktop/images/11072025/02/46/image_11072025_02_46_01_6070.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/02/51/image_11072025_02_51_02_2028.jpg', '/home/pi/Desktop/images/11072025/02/50/image_11072025_02_50_02_2154.jpg', '/home/pi/Desktop/images/11072025/02/49/image_11072025_02_49_01_5801.jpg', '/home/pi/Desktop/images/11072025/02/48/image_11072025_02_48_02_0050.jpg', '/home/pi/Desktop/images/11072025/02/47/image_11072025_02_47_01_9776.jpg', '/home/pi/Desktop/images/11072025/02/46/image_11072025_02_46_01_6070.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/02/51/image_11072025_02_51_02_2028.jpg
/home/pi/Desktop/images/11072025/02/50/image_11072025_02_50_02_2154.jpg
/home/pi/Desktop/images/11072025/02/49/image_11072025_02_49_01_5801.jpg
/home/pi/Desktop/images/11072025/02/48/image_11072025_02_48_02_0050.jpg
/home/pi/Desktop/images/11072025/02/47/image_11072025_02_47_01_9776.jpg
/home/pi/Desktop/images/11072025/02/46/image_11072025_02_46_01_6070.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 32.86720848083496 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 02:53:05.432407
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/02/52/image_11072025_02_52_01_7961.jpg', 2), ('/home/pi/Desktop/images/11072025/02/51/image_11072025_02_51_02_2028.jpg', 2), ('/home/pi/Desktop/images/11072025/02/50/image_11072025_02_50_02_2154.jpg', 2), ('/home/pi/Desktop/images/11072025/02/49/image_11072025_02_49_01_5801.jpg', 2), ('/home/pi/Desktop/images/11072025/02/48/image_11072025_02_48_02_0050.jpg', 2), ('/home/pi/Desktop/images/11072025/02/47/image_11072025_02_47_01_9776.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/02/52/image_11072025_02_52_01_7961.jpg', '/home/pi/Desktop/images/11072025/02/51/image_11072025_02_51_02_2028.jpg', '/home/pi/Desktop/images/11072025/02/50/image_11072025_02_50_02_2154.jpg', '/home/pi/Desktop/images/11072025/02/49/image_11072025_02_49_01_5801.jpg', '/home/pi/Desktop/images/11072025/02/48/image_11072025_02_48_02_0050.jpg', '/home/pi/Desktop/images/11072025/02/47/image_11072025_02_47_01_9776.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/02/52/image_11072025_02_52_01_7961.jpg
/home/pi/Desktop/images/11072025/02/51/image_11072025_02_51_02_2028.jpg
/home/pi/Desktop/images/11072025/02/50/image_11072025_02_50_02_2154.jpg
/home/pi/Desktop/images/11072025/02/49/image_11072025_02_49_01_5801.jpg
/home/pi/Desktop/images/11072025/02/48/image_11072025_02_48_02_0050.jpg
/home/pi/Desktop/images/11072025/02/47/image_11072025_02_47_01_9776.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.402738094329834 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 02:54:05.664166
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/02/53/image_11072025_02_53_02_1212.jpg', 2), ('/home/pi/Desktop/images/11072025/02/52/image_11072025_02_52_01_7961.jpg', 2), ('/home/pi/Desktop/images/11072025/02/51/image_11072025_02_51_02_2028.jpg', 2), ('/home/pi/Desktop/images/11072025/02/50/image_11072025_02_50_02_2154.jpg', 2), ('/home/pi/Desktop/images/11072025/02/49/image_11072025_02_49_01_5801.jpg', 2), ('/home/pi/Desktop/images/11072025/02/48/image_11072025_02_48_02_0050.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/02/53/image_11072025_02_53_02_1212.jpg', '/home/pi/Desktop/images/11072025/02/52/image_11072025_02_52_01_7961.jpg', '/home/pi/Desktop/images/11072025/02/51/image_11072025_02_51_02_2028.jpg', '/home/pi/Desktop/images/11072025/02/50/image_11072025_02_50_02_2154.jpg', '/home/pi/Desktop/images/11072025/02/49/image_11072025_02_49_01_5801.jpg', '/home/pi/Desktop/images/11072025/02/48/image_11072025_02_48_02_0050.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/02/53/image_11072025_02_53_02_1212.jpg
/home/pi/Desktop/images/11072025/02/52/image_11072025_02_52_01_7961.jpg
/home/pi/Desktop/images/11072025/02/51/image_11072025_02_51_02_2028.jpg
/home/pi/Desktop/images/11072025/02/50/image_11072025_02_50_02_2154.jpg
/home/pi/Desktop/images/11072025/02/49/image_11072025_02_49_01_5801.jpg
/home/pi/Desktop/images/11072025/02/48/image_11072025_02_48_02_0050.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.304097175598145 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 02:55:05.667302
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/02/53/image_11072025_02_53_02_1212.jpg', 2), ('/home/pi/Desktop/images/11072025/02/52/image_11072025_02_52_01_7961.jpg', 2), ('/home/pi/Desktop/images/11072025/02/51/image_11072025_02_51_02_2028.jpg', 2), ('/home/pi/Desktop/images/11072025/02/50/image_11072025_02_50_02_2154.jpg', 2), ('/home/pi/Desktop/images/11072025/02/49/image_11072025_02_49_01_5801.jpg', 2), ('/home/pi/Desktop/images/11072025/02/48/image_11072025_02_48_02_0050.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/02/53/image_11072025_02_53_02_1212.jpg', '/home/pi/Desktop/images/11072025/02/52/image_11072025_02_52_01_7961.jpg', '/home/pi/Desktop/images/11072025/02/51/image_11072025_02_51_02_2028.jpg', '/home/pi/Desktop/images/11072025/02/50/image_11072025_02_50_02_2154.jpg', '/home/pi/Desktop/images/11072025/02/49/image_11072025_02_49_01_5801.jpg', '/home/pi/Desktop/images/11072025/02/48/image_11072025_02_48_02_0050.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/02/53/image_11072025_02_53_02_1212.jpg
/home/pi/Desktop/images/11072025/02/52/image_11072025_02_52_01_7961.jpg
/home/pi/Desktop/images/11072025/02/51/image_11072025_02_51_02_2028.jpg
/home/pi/Desktop/images/11072025/02/50/image_11072025_02_50_02_2154.jpg
/home/pi/Desktop/images/11072025/02/49/image_11072025_02_49_01_5801.jpg
/home/pi/Desktop/images/11072025/02/48/image_11072025_02_48_02_0050.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.4850332736969 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 02:56:05.147169
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/02/53/image_11072025_02_53_02_1212.jpg', 2), ('/home/pi/Desktop/images/11072025/02/52/image_11072025_02_52_01_7961.jpg', 2), ('/home/pi/Desktop/images/11072025/02/51/image_11072025_02_51_02_2028.jpg', 2), ('/home/pi/Desktop/images/11072025/02/50/image_11072025_02_50_02_2154.jpg', 2), ('/home/pi/Desktop/images/11072025/02/49/image_11072025_02_49_01_5801.jpg', 2), ('/home/pi/Desktop/images/11072025/02/48/image_11072025_02_48_02_0050.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/02/53/image_11072025_02_53_02_1212.jpg', '/home/pi/Desktop/images/11072025/02/52/image_11072025_02_52_01_7961.jpg', '/home/pi/Desktop/images/11072025/02/51/image_11072025_02_51_02_2028.jpg', '/home/pi/Desktop/images/11072025/02/50/image_11072025_02_50_02_2154.jpg', '/home/pi/Desktop/images/11072025/02/49/image_11072025_02_49_01_5801.jpg', '/home/pi/Desktop/images/11072025/02/48/image_11072025_02_48_02_0050.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/02/53/image_11072025_02_53_02_1212.jpg
/home/pi/Desktop/images/11072025/02/52/image_11072025_02_52_01_7961.jpg
/home/pi/Desktop/images/11072025/02/51/image_11072025_02_51_02_2028.jpg
/home/pi/Desktop/images/11072025/02/50/image_11072025_02_50_02_2154.jpg
/home/pi/Desktop/images/11072025/02/49/image_11072025_02_49_01_5801.jpg
/home/pi/Desktop/images/11072025/02/48/image_11072025_02_48_02_0050.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.20954942703247 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 02:57:06.754687
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/02/54/image_11072025_02_54_01_6173.jpg', 2), ('/home/pi/Desktop/images/11072025/02/53/image_11072025_02_53_02_1212.jpg', 2), ('/home/pi/Desktop/images/11072025/02/52/image_11072025_02_52_01_7961.jpg', 2), ('/home/pi/Desktop/images/11072025/02/51/image_11072025_02_51_02_2028.jpg', 2), ('/home/pi/Desktop/images/11072025/02/50/image_11072025_02_50_02_2154.jpg', 2), ('/home/pi/Desktop/images/11072025/02/49/image_11072025_02_49_01_5801.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/02/54/image_11072025_02_54_01_6173.jpg', '/home/pi/Desktop/images/11072025/02/53/image_11072025_02_53_02_1212.jpg', '/home/pi/Desktop/images/11072025/02/52/image_11072025_02_52_01_7961.jpg', '/home/pi/Desktop/images/11072025/02/51/image_11072025_02_51_02_2028.jpg', '/home/pi/Desktop/images/11072025/02/50/image_11072025_02_50_02_2154.jpg', '/home/pi/Desktop/images/11072025/02/49/image_11072025_02_49_01_5801.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/02/54/image_11072025_02_54_01_6173.jpg
/home/pi/Desktop/images/11072025/02/53/image_11072025_02_53_02_1212.jpg
/home/pi/Desktop/images/11072025/02/52/image_11072025_02_52_01_7961.jpg
/home/pi/Desktop/images/11072025/02/51/image_11072025_02_51_02_2028.jpg
/home/pi/Desktop/images/11072025/02/50/image_11072025_02_50_02_2154.jpg
/home/pi/Desktop/images/11072025/02/49/image_11072025_02_49_01_5801.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.71338868141174 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 02:59:04.390693
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/02/54/image_11072025_02_54_01_6173.jpg', 2), ('/home/pi/Desktop/images/11072025/02/53/image_11072025_02_53_02_1212.jpg', 2), ('/home/pi/Desktop/images/11072025/02/52/image_11072025_02_52_01_7961.jpg', 2), ('/home/pi/Desktop/images/11072025/02/51/image_11072025_02_51_02_2028.jpg', 2), ('/home/pi/Desktop/images/11072025/02/50/image_11072025_02_50_02_2154.jpg', 2), ('/home/pi/Desktop/images/11072025/02/49/image_11072025_02_49_01_5801.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/02/54/image_11072025_02_54_01_6173.jpg', '/home/pi/Desktop/images/11072025/02/53/image_11072025_02_53_02_1212.jpg', '/home/pi/Desktop/images/11072025/02/52/image_11072025_02_52_01_7961.jpg', '/home/pi/Desktop/images/11072025/02/51/image_11072025_02_51_02_2028.jpg', '/home/pi/Desktop/images/11072025/02/50/image_11072025_02_50_02_2154.jpg', '/home/pi/Desktop/images/11072025/02/49/image_11072025_02_49_01_5801.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/02/54/image_11072025_02_54_01_6173.jpg
/home/pi/Desktop/images/11072025/02/53/image_11072025_02_53_02_1212.jpg
/home/pi/Desktop/images/11072025/02/52/image_11072025_02_52_01_7961.jpg
/home/pi/Desktop/images/11072025/02/51/image_11072025_02_51_02_2028.jpg
/home/pi/Desktop/images/11072025/02/50/image_11072025_02_50_02_2154.jpg
/home/pi/Desktop/images/11072025/02/49/image_11072025_02_49_01_5801.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.41467308998108 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 03:00:03.611551
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/02/54/image_11072025_02_54_01_6173.jpg', 2), ('/home/pi/Desktop/images/11072025/02/53/image_11072025_02_53_02_1212.jpg', 2), ('/home/pi/Desktop/images/11072025/02/52/image_11072025_02_52_01_7961.jpg', 2), ('/home/pi/Desktop/images/11072025/02/51/image_11072025_02_51_02_2028.jpg', 2), ('/home/pi/Desktop/images/11072025/02/50/image_11072025_02_50_02_2154.jpg', 2), ('/home/pi/Desktop/images/11072025/02/49/image_11072025_02_49_01_5801.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/02/54/image_11072025_02_54_01_6173.jpg', '/home/pi/Desktop/images/11072025/02/53/image_11072025_02_53_02_1212.jpg', '/home/pi/Desktop/images/11072025/02/52/image_11072025_02_52_01_7961.jpg', '/home/pi/Desktop/images/11072025/02/51/image_11072025_02_51_02_2028.jpg', '/home/pi/Desktop/images/11072025/02/50/image_11072025_02_50_02_2154.jpg', '/home/pi/Desktop/images/11072025/02/49/image_11072025_02_49_01_5801.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/02/54/image_11072025_02_54_01_6173.jpg
/home/pi/Desktop/images/11072025/02/53/image_11072025_02_53_02_1212.jpg
/home/pi/Desktop/images/11072025/02/52/image_11072025_02_52_01_7961.jpg
/home/pi/Desktop/images/11072025/02/51/image_11072025_02_51_02_2028.jpg
/home/pi/Desktop/images/11072025/02/50/image_11072025_02_50_02_2154.jpg
/home/pi/Desktop/images/11072025/02/49/image_11072025_02_49_01_5801.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 32.28887319564819 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 03:01:05.358793
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/02/57/image_11072025_02_57_01_4147.jpg', 2), ('/home/pi/Desktop/images/11072025/02/54/image_11072025_02_54_01_6173.jpg', 2), ('/home/pi/Desktop/images/11072025/02/53/image_11072025_02_53_02_1212.jpg', 2), ('/home/pi/Desktop/images/11072025/02/52/image_11072025_02_52_01_7961.jpg', 2), ('/home/pi/Desktop/images/11072025/02/51/image_11072025_02_51_02_2028.jpg', 2), ('/home/pi/Desktop/images/11072025/02/50/image_11072025_02_50_02_2154.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/02/57/image_11072025_02_57_01_4147.jpg', '/home/pi/Desktop/images/11072025/02/54/image_11072025_02_54_01_6173.jpg', '/home/pi/Desktop/images/11072025/02/53/image_11072025_02_53_02_1212.jpg', '/home/pi/Desktop/images/11072025/02/52/image_11072025_02_52_01_7961.jpg', '/home/pi/Desktop/images/11072025/02/51/image_11072025_02_51_02_2028.jpg', '/home/pi/Desktop/images/11072025/02/50/image_11072025_02_50_02_2154.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/02/57/image_11072025_02_57_01_4147.jpg
/home/pi/Desktop/images/11072025/02/54/image_11072025_02_54_01_6173.jpg
/home/pi/Desktop/images/11072025/02/53/image_11072025_02_53_02_1212.jpg
/home/pi/Desktop/images/11072025/02/52/image_11072025_02_52_01_7961.jpg
/home/pi/Desktop/images/11072025/02/51/image_11072025_02_51_02_2028.jpg
/home/pi/Desktop/images/11072025/02/50/image_11072025_02_50_02_2154.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.70086693763733 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 03:02:04.451093
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/02/57/image_11072025_02_57_01_4147.jpg', 2), ('/home/pi/Desktop/images/11072025/02/54/image_11072025_02_54_01_6173.jpg', 2), ('/home/pi/Desktop/images/11072025/02/53/image_11072025_02_53_02_1212.jpg', 2), ('/home/pi/Desktop/images/11072025/02/52/image_11072025_02_52_01_7961.jpg', 2), ('/home/pi/Desktop/images/11072025/02/51/image_11072025_02_51_02_2028.jpg', 2), ('/home/pi/Desktop/images/11072025/02/50/image_11072025_02_50_02_2154.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/02/57/image_11072025_02_57_01_4147.jpg', '/home/pi/Desktop/images/11072025/02/54/image_11072025_02_54_01_6173.jpg', '/home/pi/Desktop/images/11072025/02/53/image_11072025_02_53_02_1212.jpg', '/home/pi/Desktop/images/11072025/02/52/image_11072025_02_52_01_7961.jpg', '/home/pi/Desktop/images/11072025/02/51/image_11072025_02_51_02_2028.jpg', '/home/pi/Desktop/images/11072025/02/50/image_11072025_02_50_02_2154.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/02/57/image_11072025_02_57_01_4147.jpg
/home/pi/Desktop/images/11072025/02/54/image_11072025_02_54_01_6173.jpg
/home/pi/Desktop/images/11072025/02/53/image_11072025_02_53_02_1212.jpg
/home/pi/Desktop/images/11072025/02/52/image_11072025_02_52_01_7961.jpg
/home/pi/Desktop/images/11072025/02/51/image_11072025_02_51_02_2028.jpg
/home/pi/Desktop/images/11072025/02/50/image_11072025_02_50_02_2154.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 32.92295455932617 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 03:03:05.803742
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/02/57/image_11072025_02_57_01_4147.jpg', 2), ('/home/pi/Desktop/images/11072025/02/54/image_11072025_02_54_01_6173.jpg', 2), ('/home/pi/Desktop/images/11072025/02/53/image_11072025_02_53_02_1212.jpg', 2), ('/home/pi/Desktop/images/11072025/02/52/image_11072025_02_52_01_7961.jpg', 2), ('/home/pi/Desktop/images/11072025/02/51/image_11072025_02_51_02_2028.jpg', 2), ('/home/pi/Desktop/images/11072025/02/50/image_11072025_02_50_02_2154.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/02/57/image_11072025_02_57_01_4147.jpg', '/home/pi/Desktop/images/11072025/02/54/image_11072025_02_54_01_6173.jpg', '/home/pi/Desktop/images/11072025/02/53/image_11072025_02_53_02_1212.jpg', '/home/pi/Desktop/images/11072025/02/52/image_11072025_02_52_01_7961.jpg', '/home/pi/Desktop/images/11072025/02/51/image_11072025_02_51_02_2028.jpg', '/home/pi/Desktop/images/11072025/02/50/image_11072025_02_50_02_2154.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/02/57/image_11072025_02_57_01_4147.jpg
/home/pi/Desktop/images/11072025/02/54/image_11072025_02_54_01_6173.jpg
/home/pi/Desktop/images/11072025/02/53/image_11072025_02_53_02_1212.jpg
/home/pi/Desktop/images/11072025/02/52/image_11072025_02_52_01_7961.jpg
/home/pi/Desktop/images/11072025/02/51/image_11072025_02_51_02_2028.jpg
/home/pi/Desktop/images/11072025/02/50/image_11072025_02_50_02_2154.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.68364095687866 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 03:04:05.589769
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/02/57/image_11072025_02_57_01_4147.jpg', 2), ('/home/pi/Desktop/images/11072025/02/54/image_11072025_02_54_01_6173.jpg', 2), ('/home/pi/Desktop/images/11072025/02/53/image_11072025_02_53_02_1212.jpg', 2), ('/home/pi/Desktop/images/11072025/02/52/image_11072025_02_52_01_7961.jpg', 2), ('/home/pi/Desktop/images/11072025/02/51/image_11072025_02_51_02_2028.jpg', 2), ('/home/pi/Desktop/images/11072025/02/50/image_11072025_02_50_02_2154.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/02/57/image_11072025_02_57_01_4147.jpg', '/home/pi/Desktop/images/11072025/02/54/image_11072025_02_54_01_6173.jpg', '/home/pi/Desktop/images/11072025/02/53/image_11072025_02_53_02_1212.jpg', '/home/pi/Desktop/images/11072025/02/52/image_11072025_02_52_01_7961.jpg', '/home/pi/Desktop/images/11072025/02/51/image_11072025_02_51_02_2028.jpg', '/home/pi/Desktop/images/11072025/02/50/image_11072025_02_50_02_2154.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/02/57/image_11072025_02_57_01_4147.jpg
/home/pi/Desktop/images/11072025/02/54/image_11072025_02_54_01_6173.jpg
/home/pi/Desktop/images/11072025/02/53/image_11072025_02_53_02_1212.jpg
/home/pi/Desktop/images/11072025/02/52/image_11072025_02_52_01_7961.jpg
/home/pi/Desktop/images/11072025/02/51/image_11072025_02_51_02_2028.jpg
/home/pi/Desktop/images/11072025/02/50/image_11072025_02_50_02_2154.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.059651613235474 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 03:05:06.099423
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/03/01/image_11072025_03_01_02_2403.jpg', 2), ('/home/pi/Desktop/images/11072025/02/57/image_11072025_02_57_01_4147.jpg', 2), ('/home/pi/Desktop/images/11072025/02/54/image_11072025_02_54_01_6173.jpg', 2), ('/home/pi/Desktop/images/11072025/02/53/image_11072025_02_53_02_1212.jpg', 2), ('/home/pi/Desktop/images/11072025/02/52/image_11072025_02_52_01_7961.jpg', 2), ('/home/pi/Desktop/images/11072025/02/51/image_11072025_02_51_02_2028.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/03/01/image_11072025_03_01_02_2403.jpg', '/home/pi/Desktop/images/11072025/02/57/image_11072025_02_57_01_4147.jpg', '/home/pi/Desktop/images/11072025/02/54/image_11072025_02_54_01_6173.jpg', '/home/pi/Desktop/images/11072025/02/53/image_11072025_02_53_02_1212.jpg', '/home/pi/Desktop/images/11072025/02/52/image_11072025_02_52_01_7961.jpg', '/home/pi/Desktop/images/11072025/02/51/image_11072025_02_51_02_2028.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/03/01/image_11072025_03_01_02_2403.jpg
/home/pi/Desktop/images/11072025/02/57/image_11072025_02_57_01_4147.jpg
/home/pi/Desktop/images/11072025/02/54/image_11072025_02_54_01_6173.jpg
/home/pi/Desktop/images/11072025/02/53/image_11072025_02_53_02_1212.jpg
/home/pi/Desktop/images/11072025/02/52/image_11072025_02_52_01_7961.jpg
/home/pi/Desktop/images/11072025/02/51/image_11072025_02_51_02_2028.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.649604082107544 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 03:06:05.944531
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/03/05/image_11072025_03_05_01_7072.jpg', 2), ('/home/pi/Desktop/images/11072025/03/01/image_11072025_03_01_02_2403.jpg', 2), ('/home/pi/Desktop/images/11072025/02/57/image_11072025_02_57_01_4147.jpg', 2), ('/home/pi/Desktop/images/11072025/02/54/image_11072025_02_54_01_6173.jpg', 2), ('/home/pi/Desktop/images/11072025/02/53/image_11072025_02_53_02_1212.jpg', 2), ('/home/pi/Desktop/images/11072025/02/52/image_11072025_02_52_01_7961.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/03/05/image_11072025_03_05_01_7072.jpg', '/home/pi/Desktop/images/11072025/03/01/image_11072025_03_01_02_2403.jpg', '/home/pi/Desktop/images/11072025/02/57/image_11072025_02_57_01_4147.jpg', '/home/pi/Desktop/images/11072025/02/54/image_11072025_02_54_01_6173.jpg', '/home/pi/Desktop/images/11072025/02/53/image_11072025_02_53_02_1212.jpg', '/home/pi/Desktop/images/11072025/02/52/image_11072025_02_52_01_7961.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/03/05/image_11072025_03_05_01_7072.jpg
/home/pi/Desktop/images/11072025/03/01/image_11072025_03_01_02_2403.jpg
/home/pi/Desktop/images/11072025/02/57/image_11072025_02_57_01_4147.jpg
/home/pi/Desktop/images/11072025/02/54/image_11072025_02_54_01_6173.jpg
/home/pi/Desktop/images/11072025/02/53/image_11072025_02_53_02_1212.jpg
/home/pi/Desktop/images/11072025/02/52/image_11072025_02_52_01_7961.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.138566732406616 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 03:07:05.128535
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/03/06/image_11072025_03_06_02_1923.jpg', 2), ('/home/pi/Desktop/images/11072025/03/05/image_11072025_03_05_01_7072.jpg', 2), ('/home/pi/Desktop/images/11072025/03/01/image_11072025_03_01_02_2403.jpg', 2), ('/home/pi/Desktop/images/11072025/02/57/image_11072025_02_57_01_4147.jpg', 2), ('/home/pi/Desktop/images/11072025/02/54/image_11072025_02_54_01_6173.jpg', 2), ('/home/pi/Desktop/images/11072025/02/53/image_11072025_02_53_02_1212.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/03/06/image_11072025_03_06_02_1923.jpg', '/home/pi/Desktop/images/11072025/03/05/image_11072025_03_05_01_7072.jpg', '/home/pi/Desktop/images/11072025/03/01/image_11072025_03_01_02_2403.jpg', '/home/pi/Desktop/images/11072025/02/57/image_11072025_02_57_01_4147.jpg', '/home/pi/Desktop/images/11072025/02/54/image_11072025_02_54_01_6173.jpg', '/home/pi/Desktop/images/11072025/02/53/image_11072025_02_53_02_1212.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/03/06/image_11072025_03_06_02_1923.jpg
/home/pi/Desktop/images/11072025/03/05/image_11072025_03_05_01_7072.jpg
/home/pi/Desktop/images/11072025/03/01/image_11072025_03_01_02_2403.jpg
/home/pi/Desktop/images/11072025/02/57/image_11072025_02_57_01_4147.jpg
/home/pi/Desktop/images/11072025/02/54/image_11072025_02_54_01_6173.jpg
/home/pi/Desktop/images/11072025/02/53/image_11072025_02_53_02_1212.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.07181191444397 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 03:08:03.839676
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/03/06/image_11072025_03_06_02_1923.jpg', 2), ('/home/pi/Desktop/images/11072025/03/05/image_11072025_03_05_01_7072.jpg', 2), ('/home/pi/Desktop/images/11072025/03/01/image_11072025_03_01_02_2403.jpg', 2), ('/home/pi/Desktop/images/11072025/02/57/image_11072025_02_57_01_4147.jpg', 2), ('/home/pi/Desktop/images/11072025/02/54/image_11072025_02_54_01_6173.jpg', 2), ('/home/pi/Desktop/images/11072025/02/53/image_11072025_02_53_02_1212.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/03/06/image_11072025_03_06_02_1923.jpg', '/home/pi/Desktop/images/11072025/03/05/image_11072025_03_05_01_7072.jpg', '/home/pi/Desktop/images/11072025/03/01/image_11072025_03_01_02_2403.jpg', '/home/pi/Desktop/images/11072025/02/57/image_11072025_02_57_01_4147.jpg', '/home/pi/Desktop/images/11072025/02/54/image_11072025_02_54_01_6173.jpg', '/home/pi/Desktop/images/11072025/02/53/image_11072025_02_53_02_1212.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/03/06/image_11072025_03_06_02_1923.jpg
/home/pi/Desktop/images/11072025/03/05/image_11072025_03_05_01_7072.jpg
/home/pi/Desktop/images/11072025/03/01/image_11072025_03_01_02_2403.jpg
/home/pi/Desktop/images/11072025/02/57/image_11072025_02_57_01_4147.jpg
/home/pi/Desktop/images/11072025/02/54/image_11072025_02_54_01_6173.jpg
/home/pi/Desktop/images/11072025/02/53/image_11072025_02_53_02_1212.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 31.478196144104004 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 03:09:05.061830
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/03/07/image_11072025_03_07_02_1609.jpg', 2), ('/home/pi/Desktop/images/11072025/03/06/image_11072025_03_06_02_1923.jpg', 2), ('/home/pi/Desktop/images/11072025/03/05/image_11072025_03_05_01_7072.jpg', 2), ('/home/pi/Desktop/images/11072025/03/01/image_11072025_03_01_02_2403.jpg', 2), ('/home/pi/Desktop/images/11072025/02/57/image_11072025_02_57_01_4147.jpg', 2), ('/home/pi/Desktop/images/11072025/02/54/image_11072025_02_54_01_6173.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/03/07/image_11072025_03_07_02_1609.jpg', '/home/pi/Desktop/images/11072025/03/06/image_11072025_03_06_02_1923.jpg', '/home/pi/Desktop/images/11072025/03/05/image_11072025_03_05_01_7072.jpg', '/home/pi/Desktop/images/11072025/03/01/image_11072025_03_01_02_2403.jpg', '/home/pi/Desktop/images/11072025/02/57/image_11072025_02_57_01_4147.jpg', '/home/pi/Desktop/images/11072025/02/54/image_11072025_02_54_01_6173.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/03/07/image_11072025_03_07_02_1609.jpg
/home/pi/Desktop/images/11072025/03/06/image_11072025_03_06_02_1923.jpg
/home/pi/Desktop/images/11072025/03/05/image_11072025_03_05_01_7072.jpg
/home/pi/Desktop/images/11072025/03/01/image_11072025_03_01_02_2403.jpg
/home/pi/Desktop/images/11072025/02/57/image_11072025_02_57_01_4147.jpg
/home/pi/Desktop/images/11072025/02/54/image_11072025_02_54_01_6173.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.41422891616821 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 03:10:04.953071
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/03/07/image_11072025_03_07_02_1609.jpg', 2), ('/home/pi/Desktop/images/11072025/03/06/image_11072025_03_06_02_1923.jpg', 2), ('/home/pi/Desktop/images/11072025/03/05/image_11072025_03_05_01_7072.jpg', 2), ('/home/pi/Desktop/images/11072025/03/01/image_11072025_03_01_02_2403.jpg', 2), ('/home/pi/Desktop/images/11072025/02/57/image_11072025_02_57_01_4147.jpg', 2), ('/home/pi/Desktop/images/11072025/02/54/image_11072025_02_54_01_6173.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/03/07/image_11072025_03_07_02_1609.jpg', '/home/pi/Desktop/images/11072025/03/06/image_11072025_03_06_02_1923.jpg', '/home/pi/Desktop/images/11072025/03/05/image_11072025_03_05_01_7072.jpg', '/home/pi/Desktop/images/11072025/03/01/image_11072025_03_01_02_2403.jpg', '/home/pi/Desktop/images/11072025/02/57/image_11072025_02_57_01_4147.jpg', '/home/pi/Desktop/images/11072025/02/54/image_11072025_02_54_01_6173.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/03/07/image_11072025_03_07_02_1609.jpg
/home/pi/Desktop/images/11072025/03/06/image_11072025_03_06_02_1923.jpg
/home/pi/Desktop/images/11072025/03/05/image_11072025_03_05_01_7072.jpg
/home/pi/Desktop/images/11072025/03/01/image_11072025_03_01_02_2403.jpg
/home/pi/Desktop/images/11072025/02/57/image_11072025_02_57_01_4147.jpg
/home/pi/Desktop/images/11072025/02/54/image_11072025_02_54_01_6173.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 32.86592221260071 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 03:11:05.560444
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/03/09/image_11072025_03_09_02_2508.jpg', 2), ('/home/pi/Desktop/images/11072025/03/07/image_11072025_03_07_02_1609.jpg', 2), ('/home/pi/Desktop/images/11072025/03/06/image_11072025_03_06_02_1923.jpg', 2), ('/home/pi/Desktop/images/11072025/03/05/image_11072025_03_05_01_7072.jpg', 2), ('/home/pi/Desktop/images/11072025/03/01/image_11072025_03_01_02_2403.jpg', 2), ('/home/pi/Desktop/images/11072025/02/57/image_11072025_02_57_01_4147.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/03/09/image_11072025_03_09_02_2508.jpg', '/home/pi/Desktop/images/11072025/03/07/image_11072025_03_07_02_1609.jpg', '/home/pi/Desktop/images/11072025/03/06/image_11072025_03_06_02_1923.jpg', '/home/pi/Desktop/images/11072025/03/05/image_11072025_03_05_01_7072.jpg', '/home/pi/Desktop/images/11072025/03/01/image_11072025_03_01_02_2403.jpg', '/home/pi/Desktop/images/11072025/02/57/image_11072025_02_57_01_4147.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/03/09/image_11072025_03_09_02_2508.jpg
/home/pi/Desktop/images/11072025/03/07/image_11072025_03_07_02_1609.jpg
/home/pi/Desktop/images/11072025/03/06/image_11072025_03_06_02_1923.jpg
/home/pi/Desktop/images/11072025/03/05/image_11072025_03_05_01_7072.jpg
/home/pi/Desktop/images/11072025/03/01/image_11072025_03_01_02_2403.jpg
/home/pi/Desktop/images/11072025/02/57/image_11072025_02_57_01_4147.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.372212409973145 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 03:12:04.805199
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/03/11/image_11072025_03_11_01_3891.jpg', 2), ('/home/pi/Desktop/images/11072025/03/09/image_11072025_03_09_02_2508.jpg', 2), ('/home/pi/Desktop/images/11072025/03/07/image_11072025_03_07_02_1609.jpg', 2), ('/home/pi/Desktop/images/11072025/03/06/image_11072025_03_06_02_1923.jpg', 2), ('/home/pi/Desktop/images/11072025/03/05/image_11072025_03_05_01_7072.jpg', 2), ('/home/pi/Desktop/images/11072025/03/01/image_11072025_03_01_02_2403.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/03/11/image_11072025_03_11_01_3891.jpg', '/home/pi/Desktop/images/11072025/03/09/image_11072025_03_09_02_2508.jpg', '/home/pi/Desktop/images/11072025/03/07/image_11072025_03_07_02_1609.jpg', '/home/pi/Desktop/images/11072025/03/06/image_11072025_03_06_02_1923.jpg', '/home/pi/Desktop/images/11072025/03/05/image_11072025_03_05_01_7072.jpg', '/home/pi/Desktop/images/11072025/03/01/image_11072025_03_01_02_2403.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/03/11/image_11072025_03_11_01_3891.jpg
/home/pi/Desktop/images/11072025/03/09/image_11072025_03_09_02_2508.jpg
/home/pi/Desktop/images/11072025/03/07/image_11072025_03_07_02_1609.jpg
/home/pi/Desktop/images/11072025/03/06/image_11072025_03_06_02_1923.jpg
/home/pi/Desktop/images/11072025/03/05/image_11072025_03_05_01_7072.jpg
/home/pi/Desktop/images/11072025/03/01/image_11072025_03_01_02_2403.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.22785043716431 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 03:13:06.133434
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/03/12/image_11072025_03_12_01_7355.jpg', 2), ('/home/pi/Desktop/images/11072025/03/11/image_11072025_03_11_01_3891.jpg', 2), ('/home/pi/Desktop/images/11072025/03/09/image_11072025_03_09_02_2508.jpg', 2), ('/home/pi/Desktop/images/11072025/03/07/image_11072025_03_07_02_1609.jpg', 2), ('/home/pi/Desktop/images/11072025/03/06/image_11072025_03_06_02_1923.jpg', 2), ('/home/pi/Desktop/images/11072025/03/05/image_11072025_03_05_01_7072.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/03/12/image_11072025_03_12_01_7355.jpg', '/home/pi/Desktop/images/11072025/03/11/image_11072025_03_11_01_3891.jpg', '/home/pi/Desktop/images/11072025/03/09/image_11072025_03_09_02_2508.jpg', '/home/pi/Desktop/images/11072025/03/07/image_11072025_03_07_02_1609.jpg', '/home/pi/Desktop/images/11072025/03/06/image_11072025_03_06_02_1923.jpg', '/home/pi/Desktop/images/11072025/03/05/image_11072025_03_05_01_7072.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/03/12/image_11072025_03_12_01_7355.jpg
/home/pi/Desktop/images/11072025/03/11/image_11072025_03_11_01_3891.jpg
/home/pi/Desktop/images/11072025/03/09/image_11072025_03_09_02_2508.jpg
/home/pi/Desktop/images/11072025/03/07/image_11072025_03_07_02_1609.jpg
/home/pi/Desktop/images/11072025/03/06/image_11072025_03_06_02_1923.jpg
/home/pi/Desktop/images/11072025/03/05/image_11072025_03_05_01_7072.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 34.99494814872742 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 03:14:05.595785
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/03/13/image_11072025_03_13_01_3890.jpg', 2), ('/home/pi/Desktop/images/11072025/03/12/image_11072025_03_12_01_7355.jpg', 2), ('/home/pi/Desktop/images/11072025/03/11/image_11072025_03_11_01_3891.jpg', 2), ('/home/pi/Desktop/images/11072025/03/09/image_11072025_03_09_02_2508.jpg', 2), ('/home/pi/Desktop/images/11072025/03/07/image_11072025_03_07_02_1609.jpg', 2), ('/home/pi/Desktop/images/11072025/03/06/image_11072025_03_06_02_1923.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/03/13/image_11072025_03_13_01_3890.jpg', '/home/pi/Desktop/images/11072025/03/12/image_11072025_03_12_01_7355.jpg', '/home/pi/Desktop/images/11072025/03/11/image_11072025_03_11_01_3891.jpg', '/home/pi/Desktop/images/11072025/03/09/image_11072025_03_09_02_2508.jpg', '/home/pi/Desktop/images/11072025/03/07/image_11072025_03_07_02_1609.jpg', '/home/pi/Desktop/images/11072025/03/06/image_11072025_03_06_02_1923.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/03/13/image_11072025_03_13_01_3890.jpg
/home/pi/Desktop/images/11072025/03/12/image_11072025_03_12_01_7355.jpg
/home/pi/Desktop/images/11072025/03/11/image_11072025_03_11_01_3891.jpg
/home/pi/Desktop/images/11072025/03/09/image_11072025_03_09_02_2508.jpg
/home/pi/Desktop/images/11072025/03/07/image_11072025_03_07_02_1609.jpg
/home/pi/Desktop/images/11072025/03/06/image_11072025_03_06_02_1923.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.74840331077576 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 03:15:05.739800
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/03/14/image_11072025_03_14_02_2951.jpg', 2), ('/home/pi/Desktop/images/11072025/03/13/image_11072025_03_13_01_3890.jpg', 2), ('/home/pi/Desktop/images/11072025/03/12/image_11072025_03_12_01_7355.jpg', 2), ('/home/pi/Desktop/images/11072025/03/11/image_11072025_03_11_01_3891.jpg', 2), ('/home/pi/Desktop/images/11072025/03/09/image_11072025_03_09_02_2508.jpg', 2), ('/home/pi/Desktop/images/11072025/03/07/image_11072025_03_07_02_1609.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/03/14/image_11072025_03_14_02_2951.jpg', '/home/pi/Desktop/images/11072025/03/13/image_11072025_03_13_01_3890.jpg', '/home/pi/Desktop/images/11072025/03/12/image_11072025_03_12_01_7355.jpg', '/home/pi/Desktop/images/11072025/03/11/image_11072025_03_11_01_3891.jpg', '/home/pi/Desktop/images/11072025/03/09/image_11072025_03_09_02_2508.jpg', '/home/pi/Desktop/images/11072025/03/07/image_11072025_03_07_02_1609.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/03/14/image_11072025_03_14_02_2951.jpg
/home/pi/Desktop/images/11072025/03/13/image_11072025_03_13_01_3890.jpg
/home/pi/Desktop/images/11072025/03/12/image_11072025_03_12_01_7355.jpg
/home/pi/Desktop/images/11072025/03/11/image_11072025_03_11_01_3891.jpg
/home/pi/Desktop/images/11072025/03/09/image_11072025_03_09_02_2508.jpg
/home/pi/Desktop/images/11072025/03/07/image_11072025_03_07_02_1609.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.77288460731506 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 03:16:04.885845
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/03/14/image_11072025_03_14_02_2951.jpg', 2), ('/home/pi/Desktop/images/11072025/03/13/image_11072025_03_13_01_3890.jpg', 2), ('/home/pi/Desktop/images/11072025/03/12/image_11072025_03_12_01_7355.jpg', 2), ('/home/pi/Desktop/images/11072025/03/11/image_11072025_03_11_01_3891.jpg', 2), ('/home/pi/Desktop/images/11072025/03/09/image_11072025_03_09_02_2508.jpg', 2), ('/home/pi/Desktop/images/11072025/03/07/image_11072025_03_07_02_1609.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/03/14/image_11072025_03_14_02_2951.jpg', '/home/pi/Desktop/images/11072025/03/13/image_11072025_03_13_01_3890.jpg', '/home/pi/Desktop/images/11072025/03/12/image_11072025_03_12_01_7355.jpg', '/home/pi/Desktop/images/11072025/03/11/image_11072025_03_11_01_3891.jpg', '/home/pi/Desktop/images/11072025/03/09/image_11072025_03_09_02_2508.jpg', '/home/pi/Desktop/images/11072025/03/07/image_11072025_03_07_02_1609.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/03/14/image_11072025_03_14_02_2951.jpg
/home/pi/Desktop/images/11072025/03/13/image_11072025_03_13_01_3890.jpg
/home/pi/Desktop/images/11072025/03/12/image_11072025_03_12_01_7355.jpg
/home/pi/Desktop/images/11072025/03/11/image_11072025_03_11_01_3891.jpg
/home/pi/Desktop/images/11072025/03/09/image_11072025_03_09_02_2508.jpg
/home/pi/Desktop/images/11072025/03/07/image_11072025_03_07_02_1609.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.79889178276062 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 03:17:05.110296
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/03/15/image_11072025_03_15_01_9787.jpg', 2), ('/home/pi/Desktop/images/11072025/03/14/image_11072025_03_14_02_2951.jpg', 2), ('/home/pi/Desktop/images/11072025/03/13/image_11072025_03_13_01_3890.jpg', 2), ('/home/pi/Desktop/images/11072025/03/12/image_11072025_03_12_01_7355.jpg', 2), ('/home/pi/Desktop/images/11072025/03/11/image_11072025_03_11_01_3891.jpg', 2), ('/home/pi/Desktop/images/11072025/03/09/image_11072025_03_09_02_2508.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/03/15/image_11072025_03_15_01_9787.jpg', '/home/pi/Desktop/images/11072025/03/14/image_11072025_03_14_02_2951.jpg', '/home/pi/Desktop/images/11072025/03/13/image_11072025_03_13_01_3890.jpg', '/home/pi/Desktop/images/11072025/03/12/image_11072025_03_12_01_7355.jpg', '/home/pi/Desktop/images/11072025/03/11/image_11072025_03_11_01_3891.jpg', '/home/pi/Desktop/images/11072025/03/09/image_11072025_03_09_02_2508.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/03/15/image_11072025_03_15_01_9787.jpg
/home/pi/Desktop/images/11072025/03/14/image_11072025_03_14_02_2951.jpg
/home/pi/Desktop/images/11072025/03/13/image_11072025_03_13_01_3890.jpg
/home/pi/Desktop/images/11072025/03/12/image_11072025_03_12_01_7355.jpg
/home/pi/Desktop/images/11072025/03/11/image_11072025_03_11_01_3891.jpg
/home/pi/Desktop/images/11072025/03/09/image_11072025_03_09_02_2508.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.89890193939209 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 03:18:05.625294
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/03/15/image_11072025_03_15_01_9787.jpg', 2), ('/home/pi/Desktop/images/11072025/03/14/image_11072025_03_14_02_2951.jpg', 2), ('/home/pi/Desktop/images/11072025/03/13/image_11072025_03_13_01_3890.jpg', 2), ('/home/pi/Desktop/images/11072025/03/12/image_11072025_03_12_01_7355.jpg', 2), ('/home/pi/Desktop/images/11072025/03/11/image_11072025_03_11_01_3891.jpg', 2), ('/home/pi/Desktop/images/11072025/03/09/image_11072025_03_09_02_2508.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/03/15/image_11072025_03_15_01_9787.jpg', '/home/pi/Desktop/images/11072025/03/14/image_11072025_03_14_02_2951.jpg', '/home/pi/Desktop/images/11072025/03/13/image_11072025_03_13_01_3890.jpg', '/home/pi/Desktop/images/11072025/03/12/image_11072025_03_12_01_7355.jpg', '/home/pi/Desktop/images/11072025/03/11/image_11072025_03_11_01_3891.jpg', '/home/pi/Desktop/images/11072025/03/09/image_11072025_03_09_02_2508.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/03/15/image_11072025_03_15_01_9787.jpg
/home/pi/Desktop/images/11072025/03/14/image_11072025_03_14_02_2951.jpg
/home/pi/Desktop/images/11072025/03/13/image_11072025_03_13_01_3890.jpg
/home/pi/Desktop/images/11072025/03/12/image_11072025_03_12_01_7355.jpg
/home/pi/Desktop/images/11072025/03/11/image_11072025_03_11_01_3891.jpg
/home/pi/Desktop/images/11072025/03/09/image_11072025_03_09_02_2508.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.44678616523743 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 03:19:05.140713
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/03/17/image_11072025_03_17_01_4253.jpg', 2), ('/home/pi/Desktop/images/11072025/03/15/image_11072025_03_15_01_9787.jpg', 2), ('/home/pi/Desktop/images/11072025/03/14/image_11072025_03_14_02_2951.jpg', 2), ('/home/pi/Desktop/images/11072025/03/13/image_11072025_03_13_01_3890.jpg', 2), ('/home/pi/Desktop/images/11072025/03/12/image_11072025_03_12_01_7355.jpg', 2), ('/home/pi/Desktop/images/11072025/03/11/image_11072025_03_11_01_3891.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/03/17/image_11072025_03_17_01_4253.jpg', '/home/pi/Desktop/images/11072025/03/15/image_11072025_03_15_01_9787.jpg', '/home/pi/Desktop/images/11072025/03/14/image_11072025_03_14_02_2951.jpg', '/home/pi/Desktop/images/11072025/03/13/image_11072025_03_13_01_3890.jpg', '/home/pi/Desktop/images/11072025/03/12/image_11072025_03_12_01_7355.jpg', '/home/pi/Desktop/images/11072025/03/11/image_11072025_03_11_01_3891.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/03/17/image_11072025_03_17_01_4253.jpg
/home/pi/Desktop/images/11072025/03/15/image_11072025_03_15_01_9787.jpg
/home/pi/Desktop/images/11072025/03/14/image_11072025_03_14_02_2951.jpg
/home/pi/Desktop/images/11072025/03/13/image_11072025_03_13_01_3890.jpg
/home/pi/Desktop/images/11072025/03/12/image_11072025_03_12_01_7355.jpg
/home/pi/Desktop/images/11072025/03/11/image_11072025_03_11_01_3891.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 34.02180361747742 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 03:20:05.778542
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/03/17/image_11072025_03_17_01_4253.jpg', 2), ('/home/pi/Desktop/images/11072025/03/15/image_11072025_03_15_01_9787.jpg', 2), ('/home/pi/Desktop/images/11072025/03/14/image_11072025_03_14_02_2951.jpg', 2), ('/home/pi/Desktop/images/11072025/03/13/image_11072025_03_13_01_3890.jpg', 2), ('/home/pi/Desktop/images/11072025/03/12/image_11072025_03_12_01_7355.jpg', 2), ('/home/pi/Desktop/images/11072025/03/11/image_11072025_03_11_01_3891.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/03/17/image_11072025_03_17_01_4253.jpg', '/home/pi/Desktop/images/11072025/03/15/image_11072025_03_15_01_9787.jpg', '/home/pi/Desktop/images/11072025/03/14/image_11072025_03_14_02_2951.jpg', '/home/pi/Desktop/images/11072025/03/13/image_11072025_03_13_01_3890.jpg', '/home/pi/Desktop/images/11072025/03/12/image_11072025_03_12_01_7355.jpg', '/home/pi/Desktop/images/11072025/03/11/image_11072025_03_11_01_3891.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/03/17/image_11072025_03_17_01_4253.jpg
/home/pi/Desktop/images/11072025/03/15/image_11072025_03_15_01_9787.jpg
/home/pi/Desktop/images/11072025/03/14/image_11072025_03_14_02_2951.jpg
/home/pi/Desktop/images/11072025/03/13/image_11072025_03_13_01_3890.jpg
/home/pi/Desktop/images/11072025/03/12/image_11072025_03_12_01_7355.jpg
/home/pi/Desktop/images/11072025/03/11/image_11072025_03_11_01_3891.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.707287311553955 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 03:21:05.376120
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/03/19/image_11072025_03_19_02_2112.jpg', 2), ('/home/pi/Desktop/images/11072025/03/17/image_11072025_03_17_01_4253.jpg', 2), ('/home/pi/Desktop/images/11072025/03/15/image_11072025_03_15_01_9787.jpg', 2), ('/home/pi/Desktop/images/11072025/03/14/image_11072025_03_14_02_2951.jpg', 2), ('/home/pi/Desktop/images/11072025/03/13/image_11072025_03_13_01_3890.jpg', 2), ('/home/pi/Desktop/images/11072025/03/12/image_11072025_03_12_01_7355.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/03/19/image_11072025_03_19_02_2112.jpg', '/home/pi/Desktop/images/11072025/03/17/image_11072025_03_17_01_4253.jpg', '/home/pi/Desktop/images/11072025/03/15/image_11072025_03_15_01_9787.jpg', '/home/pi/Desktop/images/11072025/03/14/image_11072025_03_14_02_2951.jpg', '/home/pi/Desktop/images/11072025/03/13/image_11072025_03_13_01_3890.jpg', '/home/pi/Desktop/images/11072025/03/12/image_11072025_03_12_01_7355.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/03/19/image_11072025_03_19_02_2112.jpg
/home/pi/Desktop/images/11072025/03/17/image_11072025_03_17_01_4253.jpg
/home/pi/Desktop/images/11072025/03/15/image_11072025_03_15_01_9787.jpg
/home/pi/Desktop/images/11072025/03/14/image_11072025_03_14_02_2951.jpg
/home/pi/Desktop/images/11072025/03/13/image_11072025_03_13_01_3890.jpg
/home/pi/Desktop/images/11072025/03/12/image_11072025_03_12_01_7355.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.26402044296265 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 03:22:04.917820
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/03/19/image_11072025_03_19_02_2112.jpg', 2), ('/home/pi/Desktop/images/11072025/03/17/image_11072025_03_17_01_4253.jpg', 2), ('/home/pi/Desktop/images/11072025/03/15/image_11072025_03_15_01_9787.jpg', 2), ('/home/pi/Desktop/images/11072025/03/14/image_11072025_03_14_02_2951.jpg', 2), ('/home/pi/Desktop/images/11072025/03/13/image_11072025_03_13_01_3890.jpg', 2), ('/home/pi/Desktop/images/11072025/03/12/image_11072025_03_12_01_7355.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/03/19/image_11072025_03_19_02_2112.jpg', '/home/pi/Desktop/images/11072025/03/17/image_11072025_03_17_01_4253.jpg', '/home/pi/Desktop/images/11072025/03/15/image_11072025_03_15_01_9787.jpg', '/home/pi/Desktop/images/11072025/03/14/image_11072025_03_14_02_2951.jpg', '/home/pi/Desktop/images/11072025/03/13/image_11072025_03_13_01_3890.jpg', '/home/pi/Desktop/images/11072025/03/12/image_11072025_03_12_01_7355.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/03/19/image_11072025_03_19_02_2112.jpg
/home/pi/Desktop/images/11072025/03/17/image_11072025_03_17_01_4253.jpg
/home/pi/Desktop/images/11072025/03/15/image_11072025_03_15_01_9787.jpg
/home/pi/Desktop/images/11072025/03/14/image_11072025_03_14_02_2951.jpg
/home/pi/Desktop/images/11072025/03/13/image_11072025_03_13_01_3890.jpg
/home/pi/Desktop/images/11072025/03/12/image_11072025_03_12_01_7355.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 32.885286808013916 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 03:23:05.571575
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/03/19/image_11072025_03_19_02_2112.jpg', 2), ('/home/pi/Desktop/images/11072025/03/17/image_11072025_03_17_01_4253.jpg', 2), ('/home/pi/Desktop/images/11072025/03/15/image_11072025_03_15_01_9787.jpg', 2), ('/home/pi/Desktop/images/11072025/03/14/image_11072025_03_14_02_2951.jpg', 2), ('/home/pi/Desktop/images/11072025/03/13/image_11072025_03_13_01_3890.jpg', 2), ('/home/pi/Desktop/images/11072025/03/12/image_11072025_03_12_01_7355.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/03/19/image_11072025_03_19_02_2112.jpg', '/home/pi/Desktop/images/11072025/03/17/image_11072025_03_17_01_4253.jpg', '/home/pi/Desktop/images/11072025/03/15/image_11072025_03_15_01_9787.jpg', '/home/pi/Desktop/images/11072025/03/14/image_11072025_03_14_02_2951.jpg', '/home/pi/Desktop/images/11072025/03/13/image_11072025_03_13_01_3890.jpg', '/home/pi/Desktop/images/11072025/03/12/image_11072025_03_12_01_7355.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/03/19/image_11072025_03_19_02_2112.jpg
/home/pi/Desktop/images/11072025/03/17/image_11072025_03_17_01_4253.jpg
/home/pi/Desktop/images/11072025/03/15/image_11072025_03_15_01_9787.jpg
/home/pi/Desktop/images/11072025/03/14/image_11072025_03_14_02_2951.jpg
/home/pi/Desktop/images/11072025/03/13/image_11072025_03_13_01_3890.jpg
/home/pi/Desktop/images/11072025/03/12/image_11072025_03_12_01_7355.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.56220602989197 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 03:24:06.445762
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/03/19/image_11072025_03_19_02_2112.jpg', 2), ('/home/pi/Desktop/images/11072025/03/17/image_11072025_03_17_01_4253.jpg', 2), ('/home/pi/Desktop/images/11072025/03/15/image_11072025_03_15_01_9787.jpg', 2), ('/home/pi/Desktop/images/11072025/03/14/image_11072025_03_14_02_2951.jpg', 2), ('/home/pi/Desktop/images/11072025/03/13/image_11072025_03_13_01_3890.jpg', 2), ('/home/pi/Desktop/images/11072025/03/12/image_11072025_03_12_01_7355.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/03/19/image_11072025_03_19_02_2112.jpg', '/home/pi/Desktop/images/11072025/03/17/image_11072025_03_17_01_4253.jpg', '/home/pi/Desktop/images/11072025/03/15/image_11072025_03_15_01_9787.jpg', '/home/pi/Desktop/images/11072025/03/14/image_11072025_03_14_02_2951.jpg', '/home/pi/Desktop/images/11072025/03/13/image_11072025_03_13_01_3890.jpg', '/home/pi/Desktop/images/11072025/03/12/image_11072025_03_12_01_7355.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/03/19/image_11072025_03_19_02_2112.jpg
/home/pi/Desktop/images/11072025/03/17/image_11072025_03_17_01_4253.jpg
/home/pi/Desktop/images/11072025/03/15/image_11072025_03_15_01_9787.jpg
/home/pi/Desktop/images/11072025/03/14/image_11072025_03_14_02_2951.jpg
/home/pi/Desktop/images/11072025/03/13/image_11072025_03_13_01_3890.jpg
/home/pi/Desktop/images/11072025/03/12/image_11072025_03_12_01_7355.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.90521860122681 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 03:25:06.697450
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/03/21/image_11072025_03_21_02_0606.jpg', 2), ('/home/pi/Desktop/images/11072025/03/19/image_11072025_03_19_02_2112.jpg', 2), ('/home/pi/Desktop/images/11072025/03/17/image_11072025_03_17_01_4253.jpg', 2), ('/home/pi/Desktop/images/11072025/03/15/image_11072025_03_15_01_9787.jpg', 2), ('/home/pi/Desktop/images/11072025/03/14/image_11072025_03_14_02_2951.jpg', 2), ('/home/pi/Desktop/images/11072025/03/13/image_11072025_03_13_01_3890.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/03/21/image_11072025_03_21_02_0606.jpg', '/home/pi/Desktop/images/11072025/03/19/image_11072025_03_19_02_2112.jpg', '/home/pi/Desktop/images/11072025/03/17/image_11072025_03_17_01_4253.jpg', '/home/pi/Desktop/images/11072025/03/15/image_11072025_03_15_01_9787.jpg', '/home/pi/Desktop/images/11072025/03/14/image_11072025_03_14_02_2951.jpg', '/home/pi/Desktop/images/11072025/03/13/image_11072025_03_13_01_3890.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/03/21/image_11072025_03_21_02_0606.jpg
/home/pi/Desktop/images/11072025/03/19/image_11072025_03_19_02_2112.jpg
/home/pi/Desktop/images/11072025/03/17/image_11072025_03_17_01_4253.jpg
/home/pi/Desktop/images/11072025/03/15/image_11072025_03_15_01_9787.jpg
/home/pi/Desktop/images/11072025/03/14/image_11072025_03_14_02_2951.jpg
/home/pi/Desktop/images/11072025/03/13/image_11072025_03_13_01_3890.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.72290515899658 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 03:26:05.434668
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/03/25/image_11072025_03_25_02_2852.jpg', 2), ('/home/pi/Desktop/images/11072025/03/21/image_11072025_03_21_02_0606.jpg', 2), ('/home/pi/Desktop/images/11072025/03/19/image_11072025_03_19_02_2112.jpg', 2), ('/home/pi/Desktop/images/11072025/03/17/image_11072025_03_17_01_4253.jpg', 2), ('/home/pi/Desktop/images/11072025/03/15/image_11072025_03_15_01_9787.jpg', 2), ('/home/pi/Desktop/images/11072025/03/14/image_11072025_03_14_02_2951.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/03/25/image_11072025_03_25_02_2852.jpg', '/home/pi/Desktop/images/11072025/03/21/image_11072025_03_21_02_0606.jpg', '/home/pi/Desktop/images/11072025/03/19/image_11072025_03_19_02_2112.jpg', '/home/pi/Desktop/images/11072025/03/17/image_11072025_03_17_01_4253.jpg', '/home/pi/Desktop/images/11072025/03/15/image_11072025_03_15_01_9787.jpg', '/home/pi/Desktop/images/11072025/03/14/image_11072025_03_14_02_2951.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/03/25/image_11072025_03_25_02_2852.jpg
/home/pi/Desktop/images/11072025/03/21/image_11072025_03_21_02_0606.jpg
/home/pi/Desktop/images/11072025/03/19/image_11072025_03_19_02_2112.jpg
/home/pi/Desktop/images/11072025/03/17/image_11072025_03_17_01_4253.jpg
/home/pi/Desktop/images/11072025/03/15/image_11072025_03_15_01_9787.jpg
/home/pi/Desktop/images/11072025/03/14/image_11072025_03_14_02_2951.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.061938524246216 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 03:27:06.030986
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/03/26/image_11072025_03_26_01_7125.jpg', 2), ('/home/pi/Desktop/images/11072025/03/25/image_11072025_03_25_02_2852.jpg', 2), ('/home/pi/Desktop/images/11072025/03/21/image_11072025_03_21_02_0606.jpg', 2), ('/home/pi/Desktop/images/11072025/03/19/image_11072025_03_19_02_2112.jpg', 2), ('/home/pi/Desktop/images/11072025/03/17/image_11072025_03_17_01_4253.jpg', 2), ('/home/pi/Desktop/images/11072025/03/15/image_11072025_03_15_01_9787.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/03/26/image_11072025_03_26_01_7125.jpg', '/home/pi/Desktop/images/11072025/03/25/image_11072025_03_25_02_2852.jpg', '/home/pi/Desktop/images/11072025/03/21/image_11072025_03_21_02_0606.jpg', '/home/pi/Desktop/images/11072025/03/19/image_11072025_03_19_02_2112.jpg', '/home/pi/Desktop/images/11072025/03/17/image_11072025_03_17_01_4253.jpg', '/home/pi/Desktop/images/11072025/03/15/image_11072025_03_15_01_9787.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/03/26/image_11072025_03_26_01_7125.jpg
/home/pi/Desktop/images/11072025/03/25/image_11072025_03_25_02_2852.jpg
/home/pi/Desktop/images/11072025/03/21/image_11072025_03_21_02_0606.jpg
/home/pi/Desktop/images/11072025/03/19/image_11072025_03_19_02_2112.jpg
/home/pi/Desktop/images/11072025/03/17/image_11072025_03_17_01_4253.jpg
/home/pi/Desktop/images/11072025/03/15/image_11072025_03_15_01_9787.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.73178195953369 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 03:28:05.407314
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/03/27/image_11072025_03_27_01_6053.jpg', 2), ('/home/pi/Desktop/images/11072025/03/26/image_11072025_03_26_01_7125.jpg', 2), ('/home/pi/Desktop/images/11072025/03/25/image_11072025_03_25_02_2852.jpg', 2), ('/home/pi/Desktop/images/11072025/03/21/image_11072025_03_21_02_0606.jpg', 2), ('/home/pi/Desktop/images/11072025/03/19/image_11072025_03_19_02_2112.jpg', 2), ('/home/pi/Desktop/images/11072025/03/17/image_11072025_03_17_01_4253.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/03/27/image_11072025_03_27_01_6053.jpg', '/home/pi/Desktop/images/11072025/03/26/image_11072025_03_26_01_7125.jpg', '/home/pi/Desktop/images/11072025/03/25/image_11072025_03_25_02_2852.jpg', '/home/pi/Desktop/images/11072025/03/21/image_11072025_03_21_02_0606.jpg', '/home/pi/Desktop/images/11072025/03/19/image_11072025_03_19_02_2112.jpg', '/home/pi/Desktop/images/11072025/03/17/image_11072025_03_17_01_4253.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/03/27/image_11072025_03_27_01_6053.jpg
/home/pi/Desktop/images/11072025/03/26/image_11072025_03_26_01_7125.jpg
/home/pi/Desktop/images/11072025/03/25/image_11072025_03_25_02_2852.jpg
/home/pi/Desktop/images/11072025/03/21/image_11072025_03_21_02_0606.jpg
/home/pi/Desktop/images/11072025/03/19/image_11072025_03_19_02_2112.jpg
/home/pi/Desktop/images/11072025/03/17/image_11072025_03_17_01_4253.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.45509624481201 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 03:29:05.433385
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/03/28/image_11072025_03_28_02_1343.jpg', 2), ('/home/pi/Desktop/images/11072025/03/27/image_11072025_03_27_01_6053.jpg', 2), ('/home/pi/Desktop/images/11072025/03/26/image_11072025_03_26_01_7125.jpg', 2), ('/home/pi/Desktop/images/11072025/03/25/image_11072025_03_25_02_2852.jpg', 2), ('/home/pi/Desktop/images/11072025/03/21/image_11072025_03_21_02_0606.jpg', 2), ('/home/pi/Desktop/images/11072025/03/19/image_11072025_03_19_02_2112.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/03/28/image_11072025_03_28_02_1343.jpg', '/home/pi/Desktop/images/11072025/03/27/image_11072025_03_27_01_6053.jpg', '/home/pi/Desktop/images/11072025/03/26/image_11072025_03_26_01_7125.jpg', '/home/pi/Desktop/images/11072025/03/25/image_11072025_03_25_02_2852.jpg', '/home/pi/Desktop/images/11072025/03/21/image_11072025_03_21_02_0606.jpg', '/home/pi/Desktop/images/11072025/03/19/image_11072025_03_19_02_2112.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/03/28/image_11072025_03_28_02_1343.jpg
/home/pi/Desktop/images/11072025/03/27/image_11072025_03_27_01_6053.jpg
/home/pi/Desktop/images/11072025/03/26/image_11072025_03_26_01_7125.jpg
/home/pi/Desktop/images/11072025/03/25/image_11072025_03_25_02_2852.jpg
/home/pi/Desktop/images/11072025/03/21/image_11072025_03_21_02_0606.jpg
/home/pi/Desktop/images/11072025/03/19/image_11072025_03_19_02_2112.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.495503187179565 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 03:30:03.461669
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/03/30/image_11072025_03_30_01_6640.jpg', 2), ('/home/pi/Desktop/images/11072025/03/28/image_11072025_03_28_02_1343.jpg', 2), ('/home/pi/Desktop/images/11072025/03/27/image_11072025_03_27_01_6053.jpg', 2), ('/home/pi/Desktop/images/11072025/03/26/image_11072025_03_26_01_7125.jpg', 2), ('/home/pi/Desktop/images/11072025/03/25/image_11072025_03_25_02_2852.jpg', 2), ('/home/pi/Desktop/images/11072025/03/21/image_11072025_03_21_02_0606.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/03/30/image_11072025_03_30_01_6640.jpg', '/home/pi/Desktop/images/11072025/03/28/image_11072025_03_28_02_1343.jpg', '/home/pi/Desktop/images/11072025/03/27/image_11072025_03_27_01_6053.jpg', '/home/pi/Desktop/images/11072025/03/26/image_11072025_03_26_01_7125.jpg', '/home/pi/Desktop/images/11072025/03/25/image_11072025_03_25_02_2852.jpg', '/home/pi/Desktop/images/11072025/03/21/image_11072025_03_21_02_0606.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/03/30/image_11072025_03_30_01_6640.jpg
/home/pi/Desktop/images/11072025/03/28/image_11072025_03_28_02_1343.jpg
/home/pi/Desktop/images/11072025/03/27/image_11072025_03_27_01_6053.jpg
/home/pi/Desktop/images/11072025/03/26/image_11072025_03_26_01_7125.jpg
/home/pi/Desktop/images/11072025/03/25/image_11072025_03_25_02_2852.jpg
/home/pi/Desktop/images/11072025/03/21/image_11072025_03_21_02_0606.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 31.726290702819824 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 03:31:04.858149
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/03/30/image_11072025_03_30_01_6640.jpg', 2), ('/home/pi/Desktop/images/11072025/03/29/image_11072025_03_29_01_8334.jpg', 2), ('/home/pi/Desktop/images/11072025/03/28/image_11072025_03_28_02_1343.jpg', 2), ('/home/pi/Desktop/images/11072025/03/27/image_11072025_03_27_01_6053.jpg', 2), ('/home/pi/Desktop/images/11072025/03/26/image_11072025_03_26_01_7125.jpg', 2), ('/home/pi/Desktop/images/11072025/03/25/image_11072025_03_25_02_2852.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/03/30/image_11072025_03_30_01_6640.jpg', '/home/pi/Desktop/images/11072025/03/29/image_11072025_03_29_01_8334.jpg', '/home/pi/Desktop/images/11072025/03/28/image_11072025_03_28_02_1343.jpg', '/home/pi/Desktop/images/11072025/03/27/image_11072025_03_27_01_6053.jpg', '/home/pi/Desktop/images/11072025/03/26/image_11072025_03_26_01_7125.jpg', '/home/pi/Desktop/images/11072025/03/25/image_11072025_03_25_02_2852.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/03/30/image_11072025_03_30_01_6640.jpg
/home/pi/Desktop/images/11072025/03/29/image_11072025_03_29_01_8334.jpg
/home/pi/Desktop/images/11072025/03/28/image_11072025_03_28_02_1343.jpg
/home/pi/Desktop/images/11072025/03/27/image_11072025_03_27_01_6053.jpg
/home/pi/Desktop/images/11072025/03/26/image_11072025_03_26_01_7125.jpg
/home/pi/Desktop/images/11072025/03/25/image_11072025_03_25_02_2852.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.44507932662964 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 03:32:05.721440
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/03/31/image_11072025_03_31_01_9640.jpg', 2), ('/home/pi/Desktop/images/11072025/03/30/image_11072025_03_30_01_6640.jpg', 2), ('/home/pi/Desktop/images/11072025/03/29/image_11072025_03_29_01_8334.jpg', 2), ('/home/pi/Desktop/images/11072025/03/28/image_11072025_03_28_02_1343.jpg', 2), ('/home/pi/Desktop/images/11072025/03/27/image_11072025_03_27_01_6053.jpg', 2), ('/home/pi/Desktop/images/11072025/03/26/image_11072025_03_26_01_7125.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/03/31/image_11072025_03_31_01_9640.jpg', '/home/pi/Desktop/images/11072025/03/30/image_11072025_03_30_01_6640.jpg', '/home/pi/Desktop/images/11072025/03/29/image_11072025_03_29_01_8334.jpg', '/home/pi/Desktop/images/11072025/03/28/image_11072025_03_28_02_1343.jpg', '/home/pi/Desktop/images/11072025/03/27/image_11072025_03_27_01_6053.jpg', '/home/pi/Desktop/images/11072025/03/26/image_11072025_03_26_01_7125.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/03/31/image_11072025_03_31_01_9640.jpg
/home/pi/Desktop/images/11072025/03/30/image_11072025_03_30_01_6640.jpg
/home/pi/Desktop/images/11072025/03/29/image_11072025_03_29_01_8334.jpg
/home/pi/Desktop/images/11072025/03/28/image_11072025_03_28_02_1343.jpg
/home/pi/Desktop/images/11072025/03/27/image_11072025_03_27_01_6053.jpg
/home/pi/Desktop/images/11072025/03/26/image_11072025_03_26_01_7125.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.6843535900116 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 03:33:05.381503
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/03/31/image_11072025_03_31_01_9640.jpg', 2), ('/home/pi/Desktop/images/11072025/03/30/image_11072025_03_30_01_6640.jpg', 2), ('/home/pi/Desktop/images/11072025/03/29/image_11072025_03_29_01_8334.jpg', 2), ('/home/pi/Desktop/images/11072025/03/28/image_11072025_03_28_02_1343.jpg', 2), ('/home/pi/Desktop/images/11072025/03/27/image_11072025_03_27_01_6053.jpg', 2), ('/home/pi/Desktop/images/11072025/03/26/image_11072025_03_26_01_7125.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/03/31/image_11072025_03_31_01_9640.jpg', '/home/pi/Desktop/images/11072025/03/30/image_11072025_03_30_01_6640.jpg', '/home/pi/Desktop/images/11072025/03/29/image_11072025_03_29_01_8334.jpg', '/home/pi/Desktop/images/11072025/03/28/image_11072025_03_28_02_1343.jpg', '/home/pi/Desktop/images/11072025/03/27/image_11072025_03_27_01_6053.jpg', '/home/pi/Desktop/images/11072025/03/26/image_11072025_03_26_01_7125.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/03/31/image_11072025_03_31_01_9640.jpg
/home/pi/Desktop/images/11072025/03/30/image_11072025_03_30_01_6640.jpg
/home/pi/Desktop/images/11072025/03/29/image_11072025_03_29_01_8334.jpg
/home/pi/Desktop/images/11072025/03/28/image_11072025_03_28_02_1343.jpg
/home/pi/Desktop/images/11072025/03/27/image_11072025_03_27_01_6053.jpg
/home/pi/Desktop/images/11072025/03/26/image_11072025_03_26_01_7125.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 36.11216354370117 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 03:34:05.097308
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/03/32/image_11072025_03_32_01_3629.jpg', 2), ('/home/pi/Desktop/images/11072025/03/31/image_11072025_03_31_01_9640.jpg', 2), ('/home/pi/Desktop/images/11072025/03/30/image_11072025_03_30_01_6640.jpg', 2), ('/home/pi/Desktop/images/11072025/03/29/image_11072025_03_29_01_8334.jpg', 2), ('/home/pi/Desktop/images/11072025/03/28/image_11072025_03_28_02_1343.jpg', 2), ('/home/pi/Desktop/images/11072025/03/27/image_11072025_03_27_01_6053.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/03/32/image_11072025_03_32_01_3629.jpg', '/home/pi/Desktop/images/11072025/03/31/image_11072025_03_31_01_9640.jpg', '/home/pi/Desktop/images/11072025/03/30/image_11072025_03_30_01_6640.jpg', '/home/pi/Desktop/images/11072025/03/29/image_11072025_03_29_01_8334.jpg', '/home/pi/Desktop/images/11072025/03/28/image_11072025_03_28_02_1343.jpg', '/home/pi/Desktop/images/11072025/03/27/image_11072025_03_27_01_6053.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/03/32/image_11072025_03_32_01_3629.jpg
/home/pi/Desktop/images/11072025/03/31/image_11072025_03_31_01_9640.jpg
/home/pi/Desktop/images/11072025/03/30/image_11072025_03_30_01_6640.jpg
/home/pi/Desktop/images/11072025/03/29/image_11072025_03_29_01_8334.jpg
/home/pi/Desktop/images/11072025/03/28/image_11072025_03_28_02_1343.jpg
/home/pi/Desktop/images/11072025/03/27/image_11072025_03_27_01_6053.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.70908808708191 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 03:35:04.956013
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/03/34/image_11072025_03_34_01_5449.jpg', 2), ('/home/pi/Desktop/images/11072025/03/32/image_11072025_03_32_01_3629.jpg', 2), ('/home/pi/Desktop/images/11072025/03/31/image_11072025_03_31_01_9640.jpg', 2), ('/home/pi/Desktop/images/11072025/03/30/image_11072025_03_30_01_6640.jpg', 2), ('/home/pi/Desktop/images/11072025/03/29/image_11072025_03_29_01_8334.jpg', 2), ('/home/pi/Desktop/images/11072025/03/28/image_11072025_03_28_02_1343.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/03/34/image_11072025_03_34_01_5449.jpg', '/home/pi/Desktop/images/11072025/03/32/image_11072025_03_32_01_3629.jpg', '/home/pi/Desktop/images/11072025/03/31/image_11072025_03_31_01_9640.jpg', '/home/pi/Desktop/images/11072025/03/30/image_11072025_03_30_01_6640.jpg', '/home/pi/Desktop/images/11072025/03/29/image_11072025_03_29_01_8334.jpg', '/home/pi/Desktop/images/11072025/03/28/image_11072025_03_28_02_1343.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/03/34/image_11072025_03_34_01_5449.jpg
/home/pi/Desktop/images/11072025/03/32/image_11072025_03_32_01_3629.jpg
/home/pi/Desktop/images/11072025/03/31/image_11072025_03_31_01_9640.jpg
/home/pi/Desktop/images/11072025/03/30/image_11072025_03_30_01_6640.jpg
/home/pi/Desktop/images/11072025/03/29/image_11072025_03_29_01_8334.jpg
/home/pi/Desktop/images/11072025/03/28/image_11072025_03_28_02_1343.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.947564363479614 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 03:36:05.112290
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/03/35/image_11072025_03_35_01_3330.jpg', 2), ('/home/pi/Desktop/images/11072025/03/34/image_11072025_03_34_01_5449.jpg', 2), ('/home/pi/Desktop/images/11072025/03/32/image_11072025_03_32_01_3629.jpg', 2), ('/home/pi/Desktop/images/11072025/03/31/image_11072025_03_31_01_9640.jpg', 2), ('/home/pi/Desktop/images/11072025/03/30/image_11072025_03_30_01_6640.jpg', 2), ('/home/pi/Desktop/images/11072025/03/29/image_11072025_03_29_01_8334.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/03/35/image_11072025_03_35_01_3330.jpg', '/home/pi/Desktop/images/11072025/03/34/image_11072025_03_34_01_5449.jpg', '/home/pi/Desktop/images/11072025/03/32/image_11072025_03_32_01_3629.jpg', '/home/pi/Desktop/images/11072025/03/31/image_11072025_03_31_01_9640.jpg', '/home/pi/Desktop/images/11072025/03/30/image_11072025_03_30_01_6640.jpg', '/home/pi/Desktop/images/11072025/03/29/image_11072025_03_29_01_8334.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/03/35/image_11072025_03_35_01_3330.jpg
/home/pi/Desktop/images/11072025/03/34/image_11072025_03_34_01_5449.jpg
/home/pi/Desktop/images/11072025/03/32/image_11072025_03_32_01_3629.jpg
/home/pi/Desktop/images/11072025/03/31/image_11072025_03_31_01_9640.jpg
/home/pi/Desktop/images/11072025/03/30/image_11072025_03_30_01_6640.jpg
/home/pi/Desktop/images/11072025/03/29/image_11072025_03_29_01_8334.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 32.93758034706116 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 03:37:05.133459
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/03/36/image_11072025_03_36_01_3663.jpg', 2), ('/home/pi/Desktop/images/11072025/03/35/image_11072025_03_35_01_3330.jpg', 2), ('/home/pi/Desktop/images/11072025/03/34/image_11072025_03_34_01_5449.jpg', 2), ('/home/pi/Desktop/images/11072025/03/32/image_11072025_03_32_01_3629.jpg', 2), ('/home/pi/Desktop/images/11072025/03/31/image_11072025_03_31_01_9640.jpg', 2), ('/home/pi/Desktop/images/11072025/03/30/image_11072025_03_30_01_6640.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/03/36/image_11072025_03_36_01_3663.jpg', '/home/pi/Desktop/images/11072025/03/35/image_11072025_03_35_01_3330.jpg', '/home/pi/Desktop/images/11072025/03/34/image_11072025_03_34_01_5449.jpg', '/home/pi/Desktop/images/11072025/03/32/image_11072025_03_32_01_3629.jpg', '/home/pi/Desktop/images/11072025/03/31/image_11072025_03_31_01_9640.jpg', '/home/pi/Desktop/images/11072025/03/30/image_11072025_03_30_01_6640.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/03/36/image_11072025_03_36_01_3663.jpg
/home/pi/Desktop/images/11072025/03/35/image_11072025_03_35_01_3330.jpg
/home/pi/Desktop/images/11072025/03/34/image_11072025_03_34_01_5449.jpg
/home/pi/Desktop/images/11072025/03/32/image_11072025_03_32_01_3629.jpg
/home/pi/Desktop/images/11072025/03/31/image_11072025_03_31_01_9640.jpg
/home/pi/Desktop/images/11072025/03/30/image_11072025_03_30_01_6640.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 34.05565881729126 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 03:38:04.925659
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/03/36/image_11072025_03_36_01_3663.jpg', 2), ('/home/pi/Desktop/images/11072025/03/35/image_11072025_03_35_01_3330.jpg', 2), ('/home/pi/Desktop/images/11072025/03/34/image_11072025_03_34_01_5449.jpg', 2), ('/home/pi/Desktop/images/11072025/03/32/image_11072025_03_32_01_3629.jpg', 2), ('/home/pi/Desktop/images/11072025/03/31/image_11072025_03_31_01_9640.jpg', 2), ('/home/pi/Desktop/images/11072025/03/30/image_11072025_03_30_01_6640.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/03/36/image_11072025_03_36_01_3663.jpg', '/home/pi/Desktop/images/11072025/03/35/image_11072025_03_35_01_3330.jpg', '/home/pi/Desktop/images/11072025/03/34/image_11072025_03_34_01_5449.jpg', '/home/pi/Desktop/images/11072025/03/32/image_11072025_03_32_01_3629.jpg', '/home/pi/Desktop/images/11072025/03/31/image_11072025_03_31_01_9640.jpg', '/home/pi/Desktop/images/11072025/03/30/image_11072025_03_30_01_6640.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/03/36/image_11072025_03_36_01_3663.jpg
/home/pi/Desktop/images/11072025/03/35/image_11072025_03_35_01_3330.jpg
/home/pi/Desktop/images/11072025/03/34/image_11072025_03_34_01_5449.jpg
/home/pi/Desktop/images/11072025/03/32/image_11072025_03_32_01_3629.jpg
/home/pi/Desktop/images/11072025/03/31/image_11072025_03_31_01_9640.jpg
/home/pi/Desktop/images/11072025/03/30/image_11072025_03_30_01_6640.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.38233184814453 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 03:39:04.932674
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/03/37/image_11072025_03_37_01_4194.jpg', 2), ('/home/pi/Desktop/images/11072025/03/36/image_11072025_03_36_01_3663.jpg', 2), ('/home/pi/Desktop/images/11072025/03/35/image_11072025_03_35_01_3330.jpg', 2), ('/home/pi/Desktop/images/11072025/03/34/image_11072025_03_34_01_5449.jpg', 2), ('/home/pi/Desktop/images/11072025/03/32/image_11072025_03_32_01_3629.jpg', 2), ('/home/pi/Desktop/images/11072025/03/31/image_11072025_03_31_01_9640.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/03/37/image_11072025_03_37_01_4194.jpg', '/home/pi/Desktop/images/11072025/03/36/image_11072025_03_36_01_3663.jpg', '/home/pi/Desktop/images/11072025/03/35/image_11072025_03_35_01_3330.jpg', '/home/pi/Desktop/images/11072025/03/34/image_11072025_03_34_01_5449.jpg', '/home/pi/Desktop/images/11072025/03/32/image_11072025_03_32_01_3629.jpg', '/home/pi/Desktop/images/11072025/03/31/image_11072025_03_31_01_9640.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/03/37/image_11072025_03_37_01_4194.jpg
/home/pi/Desktop/images/11072025/03/36/image_11072025_03_36_01_3663.jpg
/home/pi/Desktop/images/11072025/03/35/image_11072025_03_35_01_3330.jpg
/home/pi/Desktop/images/11072025/03/34/image_11072025_03_34_01_5449.jpg
/home/pi/Desktop/images/11072025/03/32/image_11072025_03_32_01_3629.jpg
/home/pi/Desktop/images/11072025/03/31/image_11072025_03_31_01_9640.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.52489519119263 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 03:40:04.574346
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/03/37/image_11072025_03_37_01_4194.jpg', 2), ('/home/pi/Desktop/images/11072025/03/36/image_11072025_03_36_01_3663.jpg', 2), ('/home/pi/Desktop/images/11072025/03/35/image_11072025_03_35_01_3330.jpg', 2), ('/home/pi/Desktop/images/11072025/03/34/image_11072025_03_34_01_5449.jpg', 2), ('/home/pi/Desktop/images/11072025/03/32/image_11072025_03_32_01_3629.jpg', 2), ('/home/pi/Desktop/images/11072025/03/31/image_11072025_03_31_01_9640.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/03/37/image_11072025_03_37_01_4194.jpg', '/home/pi/Desktop/images/11072025/03/36/image_11072025_03_36_01_3663.jpg', '/home/pi/Desktop/images/11072025/03/35/image_11072025_03_35_01_3330.jpg', '/home/pi/Desktop/images/11072025/03/34/image_11072025_03_34_01_5449.jpg', '/home/pi/Desktop/images/11072025/03/32/image_11072025_03_32_01_3629.jpg', '/home/pi/Desktop/images/11072025/03/31/image_11072025_03_31_01_9640.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/03/37/image_11072025_03_37_01_4194.jpg
/home/pi/Desktop/images/11072025/03/36/image_11072025_03_36_01_3663.jpg
/home/pi/Desktop/images/11072025/03/35/image_11072025_03_35_01_3330.jpg
/home/pi/Desktop/images/11072025/03/34/image_11072025_03_34_01_5449.jpg
/home/pi/Desktop/images/11072025/03/32/image_11072025_03_32_01_3629.jpg
/home/pi/Desktop/images/11072025/03/31/image_11072025_03_31_01_9640.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 31.986586332321167 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 03:41:05.904361
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/03/37/image_11072025_03_37_01_4194.jpg', 2), ('/home/pi/Desktop/images/11072025/03/36/image_11072025_03_36_01_3663.jpg', 2), ('/home/pi/Desktop/images/11072025/03/35/image_11072025_03_35_01_3330.jpg', 2), ('/home/pi/Desktop/images/11072025/03/34/image_11072025_03_34_01_5449.jpg', 2), ('/home/pi/Desktop/images/11072025/03/32/image_11072025_03_32_01_3629.jpg', 2), ('/home/pi/Desktop/images/11072025/03/31/image_11072025_03_31_01_9640.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/03/37/image_11072025_03_37_01_4194.jpg', '/home/pi/Desktop/images/11072025/03/36/image_11072025_03_36_01_3663.jpg', '/home/pi/Desktop/images/11072025/03/35/image_11072025_03_35_01_3330.jpg', '/home/pi/Desktop/images/11072025/03/34/image_11072025_03_34_01_5449.jpg', '/home/pi/Desktop/images/11072025/03/32/image_11072025_03_32_01_3629.jpg', '/home/pi/Desktop/images/11072025/03/31/image_11072025_03_31_01_9640.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/03/37/image_11072025_03_37_01_4194.jpg
/home/pi/Desktop/images/11072025/03/36/image_11072025_03_36_01_3663.jpg
/home/pi/Desktop/images/11072025/03/35/image_11072025_03_35_01_3330.jpg
/home/pi/Desktop/images/11072025/03/34/image_11072025_03_34_01_5449.jpg
/home/pi/Desktop/images/11072025/03/32/image_11072025_03_32_01_3629.jpg
/home/pi/Desktop/images/11072025/03/31/image_11072025_03_31_01_9640.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 34.7641761302948 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 03:42:05.291645
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/03/39/image_11072025_03_39_01_5321.jpg', 2), ('/home/pi/Desktop/images/11072025/03/37/image_11072025_03_37_01_4194.jpg', 2), ('/home/pi/Desktop/images/11072025/03/36/image_11072025_03_36_01_3663.jpg', 2), ('/home/pi/Desktop/images/11072025/03/35/image_11072025_03_35_01_3330.jpg', 2), ('/home/pi/Desktop/images/11072025/03/34/image_11072025_03_34_01_5449.jpg', 2), ('/home/pi/Desktop/images/11072025/03/32/image_11072025_03_32_01_3629.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/03/39/image_11072025_03_39_01_5321.jpg', '/home/pi/Desktop/images/11072025/03/37/image_11072025_03_37_01_4194.jpg', '/home/pi/Desktop/images/11072025/03/36/image_11072025_03_36_01_3663.jpg', '/home/pi/Desktop/images/11072025/03/35/image_11072025_03_35_01_3330.jpg', '/home/pi/Desktop/images/11072025/03/34/image_11072025_03_34_01_5449.jpg', '/home/pi/Desktop/images/11072025/03/32/image_11072025_03_32_01_3629.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/03/39/image_11072025_03_39_01_5321.jpg
/home/pi/Desktop/images/11072025/03/37/image_11072025_03_37_01_4194.jpg
/home/pi/Desktop/images/11072025/03/36/image_11072025_03_36_01_3663.jpg
/home/pi/Desktop/images/11072025/03/35/image_11072025_03_35_01_3330.jpg
/home/pi/Desktop/images/11072025/03/34/image_11072025_03_34_01_5449.jpg
/home/pi/Desktop/images/11072025/03/32/image_11072025_03_32_01_3629.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.49400615692139 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 03:43:05.236545
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/03/39/image_11072025_03_39_01_5321.jpg', 2), ('/home/pi/Desktop/images/11072025/03/37/image_11072025_03_37_01_4194.jpg', 2), ('/home/pi/Desktop/images/11072025/03/36/image_11072025_03_36_01_3663.jpg', 2), ('/home/pi/Desktop/images/11072025/03/35/image_11072025_03_35_01_3330.jpg', 2), ('/home/pi/Desktop/images/11072025/03/34/image_11072025_03_34_01_5449.jpg', 2), ('/home/pi/Desktop/images/11072025/03/32/image_11072025_03_32_01_3629.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/03/39/image_11072025_03_39_01_5321.jpg', '/home/pi/Desktop/images/11072025/03/37/image_11072025_03_37_01_4194.jpg', '/home/pi/Desktop/images/11072025/03/36/image_11072025_03_36_01_3663.jpg', '/home/pi/Desktop/images/11072025/03/35/image_11072025_03_35_01_3330.jpg', '/home/pi/Desktop/images/11072025/03/34/image_11072025_03_34_01_5449.jpg', '/home/pi/Desktop/images/11072025/03/32/image_11072025_03_32_01_3629.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/03/39/image_11072025_03_39_01_5321.jpg
/home/pi/Desktop/images/11072025/03/37/image_11072025_03_37_01_4194.jpg
/home/pi/Desktop/images/11072025/03/36/image_11072025_03_36_01_3663.jpg
/home/pi/Desktop/images/11072025/03/35/image_11072025_03_35_01_3330.jpg
/home/pi/Desktop/images/11072025/03/34/image_11072025_03_34_01_5449.jpg
/home/pi/Desktop/images/11072025/03/32/image_11072025_03_32_01_3629.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.71116518974304 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 03:44:05.625908
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/03/42/image_11072025_03_42_01_9380.jpg', 2), ('/home/pi/Desktop/images/11072025/03/39/image_11072025_03_39_01_5321.jpg', 2), ('/home/pi/Desktop/images/11072025/03/37/image_11072025_03_37_01_4194.jpg', 2), ('/home/pi/Desktop/images/11072025/03/36/image_11072025_03_36_01_3663.jpg', 2), ('/home/pi/Desktop/images/11072025/03/35/image_11072025_03_35_01_3330.jpg', 2), ('/home/pi/Desktop/images/11072025/03/34/image_11072025_03_34_01_5449.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/03/42/image_11072025_03_42_01_9380.jpg', '/home/pi/Desktop/images/11072025/03/39/image_11072025_03_39_01_5321.jpg', '/home/pi/Desktop/images/11072025/03/37/image_11072025_03_37_01_4194.jpg', '/home/pi/Desktop/images/11072025/03/36/image_11072025_03_36_01_3663.jpg', '/home/pi/Desktop/images/11072025/03/35/image_11072025_03_35_01_3330.jpg', '/home/pi/Desktop/images/11072025/03/34/image_11072025_03_34_01_5449.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/03/42/image_11072025_03_42_01_9380.jpg
/home/pi/Desktop/images/11072025/03/39/image_11072025_03_39_01_5321.jpg
/home/pi/Desktop/images/11072025/03/37/image_11072025_03_37_01_4194.jpg
/home/pi/Desktop/images/11072025/03/36/image_11072025_03_36_01_3663.jpg
/home/pi/Desktop/images/11072025/03/35/image_11072025_03_35_01_3330.jpg
/home/pi/Desktop/images/11072025/03/34/image_11072025_03_34_01_5449.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.595704317092896 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 03:45:05.751949
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/03/42/image_11072025_03_42_01_9380.jpg', 2), ('/home/pi/Desktop/images/11072025/03/39/image_11072025_03_39_01_5321.jpg', 2), ('/home/pi/Desktop/images/11072025/03/37/image_11072025_03_37_01_4194.jpg', 2), ('/home/pi/Desktop/images/11072025/03/36/image_11072025_03_36_01_3663.jpg', 2), ('/home/pi/Desktop/images/11072025/03/35/image_11072025_03_35_01_3330.jpg', 2), ('/home/pi/Desktop/images/11072025/03/34/image_11072025_03_34_01_5449.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/03/42/image_11072025_03_42_01_9380.jpg', '/home/pi/Desktop/images/11072025/03/39/image_11072025_03_39_01_5321.jpg', '/home/pi/Desktop/images/11072025/03/37/image_11072025_03_37_01_4194.jpg', '/home/pi/Desktop/images/11072025/03/36/image_11072025_03_36_01_3663.jpg', '/home/pi/Desktop/images/11072025/03/35/image_11072025_03_35_01_3330.jpg', '/home/pi/Desktop/images/11072025/03/34/image_11072025_03_34_01_5449.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/03/42/image_11072025_03_42_01_9380.jpg
/home/pi/Desktop/images/11072025/03/39/image_11072025_03_39_01_5321.jpg
/home/pi/Desktop/images/11072025/03/37/image_11072025_03_37_01_4194.jpg
/home/pi/Desktop/images/11072025/03/36/image_11072025_03_36_01_3663.jpg
/home/pi/Desktop/images/11072025/03/35/image_11072025_03_35_01_3330.jpg
/home/pi/Desktop/images/11072025/03/34/image_11072025_03_34_01_5449.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.65110158920288 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 03:46:05.245864
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/03/42/image_11072025_03_42_01_9380.jpg', 2), ('/home/pi/Desktop/images/11072025/03/39/image_11072025_03_39_01_5321.jpg', 2), ('/home/pi/Desktop/images/11072025/03/37/image_11072025_03_37_01_4194.jpg', 2), ('/home/pi/Desktop/images/11072025/03/36/image_11072025_03_36_01_3663.jpg', 2), ('/home/pi/Desktop/images/11072025/03/35/image_11072025_03_35_01_3330.jpg', 2), ('/home/pi/Desktop/images/11072025/03/34/image_11072025_03_34_01_5449.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/03/42/image_11072025_03_42_01_9380.jpg', '/home/pi/Desktop/images/11072025/03/39/image_11072025_03_39_01_5321.jpg', '/home/pi/Desktop/images/11072025/03/37/image_11072025_03_37_01_4194.jpg', '/home/pi/Desktop/images/11072025/03/36/image_11072025_03_36_01_3663.jpg', '/home/pi/Desktop/images/11072025/03/35/image_11072025_03_35_01_3330.jpg', '/home/pi/Desktop/images/11072025/03/34/image_11072025_03_34_01_5449.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/03/42/image_11072025_03_42_01_9380.jpg
/home/pi/Desktop/images/11072025/03/39/image_11072025_03_39_01_5321.jpg
/home/pi/Desktop/images/11072025/03/37/image_11072025_03_37_01_4194.jpg
/home/pi/Desktop/images/11072025/03/36/image_11072025_03_36_01_3663.jpg
/home/pi/Desktop/images/11072025/03/35/image_11072025_03_35_01_3330.jpg
/home/pi/Desktop/images/11072025/03/34/image_11072025_03_34_01_5449.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.32677865028381 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 03:47:05.805107
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/03/44/image_11072025_03_44_01_4500.jpg', 2), ('/home/pi/Desktop/images/11072025/03/42/image_11072025_03_42_01_9380.jpg', 2), ('/home/pi/Desktop/images/11072025/03/39/image_11072025_03_39_01_5321.jpg', 2), ('/home/pi/Desktop/images/11072025/03/37/image_11072025_03_37_01_4194.jpg', 2), ('/home/pi/Desktop/images/11072025/03/36/image_11072025_03_36_01_3663.jpg', 2), ('/home/pi/Desktop/images/11072025/03/35/image_11072025_03_35_01_3330.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/03/44/image_11072025_03_44_01_4500.jpg', '/home/pi/Desktop/images/11072025/03/42/image_11072025_03_42_01_9380.jpg', '/home/pi/Desktop/images/11072025/03/39/image_11072025_03_39_01_5321.jpg', '/home/pi/Desktop/images/11072025/03/37/image_11072025_03_37_01_4194.jpg', '/home/pi/Desktop/images/11072025/03/36/image_11072025_03_36_01_3663.jpg', '/home/pi/Desktop/images/11072025/03/35/image_11072025_03_35_01_3330.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/03/44/image_11072025_03_44_01_4500.jpg
/home/pi/Desktop/images/11072025/03/42/image_11072025_03_42_01_9380.jpg
/home/pi/Desktop/images/11072025/03/39/image_11072025_03_39_01_5321.jpg
/home/pi/Desktop/images/11072025/03/37/image_11072025_03_37_01_4194.jpg
/home/pi/Desktop/images/11072025/03/36/image_11072025_03_36_01_3663.jpg
/home/pi/Desktop/images/11072025/03/35/image_11072025_03_35_01_3330.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 34.01879644393921 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 03:48:05.372679
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/03/44/image_11072025_03_44_01_4500.jpg', 2), ('/home/pi/Desktop/images/11072025/03/42/image_11072025_03_42_01_9380.jpg', 2), ('/home/pi/Desktop/images/11072025/03/39/image_11072025_03_39_01_5321.jpg', 2), ('/home/pi/Desktop/images/11072025/03/37/image_11072025_03_37_01_4194.jpg', 2), ('/home/pi/Desktop/images/11072025/03/36/image_11072025_03_36_01_3663.jpg', 2), ('/home/pi/Desktop/images/11072025/03/35/image_11072025_03_35_01_3330.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/03/44/image_11072025_03_44_01_4500.jpg', '/home/pi/Desktop/images/11072025/03/42/image_11072025_03_42_01_9380.jpg', '/home/pi/Desktop/images/11072025/03/39/image_11072025_03_39_01_5321.jpg', '/home/pi/Desktop/images/11072025/03/37/image_11072025_03_37_01_4194.jpg', '/home/pi/Desktop/images/11072025/03/36/image_11072025_03_36_01_3663.jpg', '/home/pi/Desktop/images/11072025/03/35/image_11072025_03_35_01_3330.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/03/44/image_11072025_03_44_01_4500.jpg
/home/pi/Desktop/images/11072025/03/42/image_11072025_03_42_01_9380.jpg
/home/pi/Desktop/images/11072025/03/39/image_11072025_03_39_01_5321.jpg
/home/pi/Desktop/images/11072025/03/37/image_11072025_03_37_01_4194.jpg
/home/pi/Desktop/images/11072025/03/36/image_11072025_03_36_01_3663.jpg
/home/pi/Desktop/images/11072025/03/35/image_11072025_03_35_01_3330.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.59382486343384 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 03:49:05.491463
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/03/44/image_11072025_03_44_01_4500.jpg', 2), ('/home/pi/Desktop/images/11072025/03/42/image_11072025_03_42_01_9380.jpg', 2), ('/home/pi/Desktop/images/11072025/03/39/image_11072025_03_39_01_5321.jpg', 2), ('/home/pi/Desktop/images/11072025/03/37/image_11072025_03_37_01_4194.jpg', 2), ('/home/pi/Desktop/images/11072025/03/36/image_11072025_03_36_01_3663.jpg', 2), ('/home/pi/Desktop/images/11072025/03/35/image_11072025_03_35_01_3330.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/03/44/image_11072025_03_44_01_4500.jpg', '/home/pi/Desktop/images/11072025/03/42/image_11072025_03_42_01_9380.jpg', '/home/pi/Desktop/images/11072025/03/39/image_11072025_03_39_01_5321.jpg', '/home/pi/Desktop/images/11072025/03/37/image_11072025_03_37_01_4194.jpg', '/home/pi/Desktop/images/11072025/03/36/image_11072025_03_36_01_3663.jpg', '/home/pi/Desktop/images/11072025/03/35/image_11072025_03_35_01_3330.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/03/44/image_11072025_03_44_01_4500.jpg
/home/pi/Desktop/images/11072025/03/42/image_11072025_03_42_01_9380.jpg
/home/pi/Desktop/images/11072025/03/39/image_11072025_03_39_01_5321.jpg
/home/pi/Desktop/images/11072025/03/37/image_11072025_03_37_01_4194.jpg
/home/pi/Desktop/images/11072025/03/36/image_11072025_03_36_01_3663.jpg
/home/pi/Desktop/images/11072025/03/35/image_11072025_03_35_01_3330.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.614452838897705 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 03:50:04.819056
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/03/44/image_11072025_03_44_01_4500.jpg', 2), ('/home/pi/Desktop/images/11072025/03/42/image_11072025_03_42_01_9380.jpg', 2), ('/home/pi/Desktop/images/11072025/03/39/image_11072025_03_39_01_5321.jpg', 2), ('/home/pi/Desktop/images/11072025/03/37/image_11072025_03_37_01_4194.jpg', 2), ('/home/pi/Desktop/images/11072025/03/36/image_11072025_03_36_01_3663.jpg', 2), ('/home/pi/Desktop/images/11072025/03/35/image_11072025_03_35_01_3330.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/03/44/image_11072025_03_44_01_4500.jpg', '/home/pi/Desktop/images/11072025/03/42/image_11072025_03_42_01_9380.jpg', '/home/pi/Desktop/images/11072025/03/39/image_11072025_03_39_01_5321.jpg', '/home/pi/Desktop/images/11072025/03/37/image_11072025_03_37_01_4194.jpg', '/home/pi/Desktop/images/11072025/03/36/image_11072025_03_36_01_3663.jpg', '/home/pi/Desktop/images/11072025/03/35/image_11072025_03_35_01_3330.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/03/44/image_11072025_03_44_01_4500.jpg
/home/pi/Desktop/images/11072025/03/42/image_11072025_03_42_01_9380.jpg
/home/pi/Desktop/images/11072025/03/39/image_11072025_03_39_01_5321.jpg
/home/pi/Desktop/images/11072025/03/37/image_11072025_03_37_01_4194.jpg
/home/pi/Desktop/images/11072025/03/36/image_11072025_03_36_01_3663.jpg
/home/pi/Desktop/images/11072025/03/35/image_11072025_03_35_01_3330.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.42285227775574 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 03:51:05.172213
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/03/44/image_11072025_03_44_01_4500.jpg', 2), ('/home/pi/Desktop/images/11072025/03/42/image_11072025_03_42_01_9380.jpg', 2), ('/home/pi/Desktop/images/11072025/03/39/image_11072025_03_39_01_5321.jpg', 2), ('/home/pi/Desktop/images/11072025/03/37/image_11072025_03_37_01_4194.jpg', 2), ('/home/pi/Desktop/images/11072025/03/36/image_11072025_03_36_01_3663.jpg', 2), ('/home/pi/Desktop/images/11072025/03/35/image_11072025_03_35_01_3330.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/03/44/image_11072025_03_44_01_4500.jpg', '/home/pi/Desktop/images/11072025/03/42/image_11072025_03_42_01_9380.jpg', '/home/pi/Desktop/images/11072025/03/39/image_11072025_03_39_01_5321.jpg', '/home/pi/Desktop/images/11072025/03/37/image_11072025_03_37_01_4194.jpg', '/home/pi/Desktop/images/11072025/03/36/image_11072025_03_36_01_3663.jpg', '/home/pi/Desktop/images/11072025/03/35/image_11072025_03_35_01_3330.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/03/44/image_11072025_03_44_01_4500.jpg
/home/pi/Desktop/images/11072025/03/42/image_11072025_03_42_01_9380.jpg
/home/pi/Desktop/images/11072025/03/39/image_11072025_03_39_01_5321.jpg
/home/pi/Desktop/images/11072025/03/37/image_11072025_03_37_01_4194.jpg
/home/pi/Desktop/images/11072025/03/36/image_11072025_03_36_01_3663.jpg
/home/pi/Desktop/images/11072025/03/35/image_11072025_03_35_01_3330.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.28655242919922 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 03:52:05.952204
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/03/44/image_11072025_03_44_01_4500.jpg', 2), ('/home/pi/Desktop/images/11072025/03/42/image_11072025_03_42_01_9380.jpg', 2), ('/home/pi/Desktop/images/11072025/03/39/image_11072025_03_39_01_5321.jpg', 2), ('/home/pi/Desktop/images/11072025/03/37/image_11072025_03_37_01_4194.jpg', 2), ('/home/pi/Desktop/images/11072025/03/36/image_11072025_03_36_01_3663.jpg', 2), ('/home/pi/Desktop/images/11072025/03/35/image_11072025_03_35_01_3330.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/03/44/image_11072025_03_44_01_4500.jpg', '/home/pi/Desktop/images/11072025/03/42/image_11072025_03_42_01_9380.jpg', '/home/pi/Desktop/images/11072025/03/39/image_11072025_03_39_01_5321.jpg', '/home/pi/Desktop/images/11072025/03/37/image_11072025_03_37_01_4194.jpg', '/home/pi/Desktop/images/11072025/03/36/image_11072025_03_36_01_3663.jpg', '/home/pi/Desktop/images/11072025/03/35/image_11072025_03_35_01_3330.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/03/44/image_11072025_03_44_01_4500.jpg
/home/pi/Desktop/images/11072025/03/42/image_11072025_03_42_01_9380.jpg
/home/pi/Desktop/images/11072025/03/39/image_11072025_03_39_01_5321.jpg
/home/pi/Desktop/images/11072025/03/37/image_11072025_03_37_01_4194.jpg
/home/pi/Desktop/images/11072025/03/36/image_11072025_03_36_01_3663.jpg
/home/pi/Desktop/images/11072025/03/35/image_11072025_03_35_01_3330.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.62763452529907 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 03:53:05.612316
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/03/47/image_11072025_03_47_01_5847.jpg', 2), ('/home/pi/Desktop/images/11072025/03/44/image_11072025_03_44_01_4500.jpg', 2), ('/home/pi/Desktop/images/11072025/03/42/image_11072025_03_42_01_9380.jpg', 2), ('/home/pi/Desktop/images/11072025/03/39/image_11072025_03_39_01_5321.jpg', 2), ('/home/pi/Desktop/images/11072025/03/37/image_11072025_03_37_01_4194.jpg', 2), ('/home/pi/Desktop/images/11072025/03/36/image_11072025_03_36_01_3663.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/03/47/image_11072025_03_47_01_5847.jpg', '/home/pi/Desktop/images/11072025/03/44/image_11072025_03_44_01_4500.jpg', '/home/pi/Desktop/images/11072025/03/42/image_11072025_03_42_01_9380.jpg', '/home/pi/Desktop/images/11072025/03/39/image_11072025_03_39_01_5321.jpg', '/home/pi/Desktop/images/11072025/03/37/image_11072025_03_37_01_4194.jpg', '/home/pi/Desktop/images/11072025/03/36/image_11072025_03_36_01_3663.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/03/47/image_11072025_03_47_01_5847.jpg
/home/pi/Desktop/images/11072025/03/44/image_11072025_03_44_01_4500.jpg
/home/pi/Desktop/images/11072025/03/42/image_11072025_03_42_01_9380.jpg
/home/pi/Desktop/images/11072025/03/39/image_11072025_03_39_01_5321.jpg
/home/pi/Desktop/images/11072025/03/37/image_11072025_03_37_01_4194.jpg
/home/pi/Desktop/images/11072025/03/36/image_11072025_03_36_01_3663.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.10754680633545 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 03:54:05.617740
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/03/53/image_11072025_03_53_02_2952.jpg', 2), ('/home/pi/Desktop/images/11072025/03/47/image_11072025_03_47_01_5847.jpg', 2), ('/home/pi/Desktop/images/11072025/03/44/image_11072025_03_44_01_4500.jpg', 2), ('/home/pi/Desktop/images/11072025/03/42/image_11072025_03_42_01_9380.jpg', 2), ('/home/pi/Desktop/images/11072025/03/39/image_11072025_03_39_01_5321.jpg', 2), ('/home/pi/Desktop/images/11072025/03/37/image_11072025_03_37_01_4194.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/03/53/image_11072025_03_53_02_2952.jpg', '/home/pi/Desktop/images/11072025/03/47/image_11072025_03_47_01_5847.jpg', '/home/pi/Desktop/images/11072025/03/44/image_11072025_03_44_01_4500.jpg', '/home/pi/Desktop/images/11072025/03/42/image_11072025_03_42_01_9380.jpg', '/home/pi/Desktop/images/11072025/03/39/image_11072025_03_39_01_5321.jpg', '/home/pi/Desktop/images/11072025/03/37/image_11072025_03_37_01_4194.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/03/53/image_11072025_03_53_02_2952.jpg
/home/pi/Desktop/images/11072025/03/47/image_11072025_03_47_01_5847.jpg
/home/pi/Desktop/images/11072025/03/44/image_11072025_03_44_01_4500.jpg
/home/pi/Desktop/images/11072025/03/42/image_11072025_03_42_01_9380.jpg
/home/pi/Desktop/images/11072025/03/39/image_11072025_03_39_01_5321.jpg
/home/pi/Desktop/images/11072025/03/37/image_11072025_03_37_01_4194.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.2081503868103 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 03:55:05.348680
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/03/54/image_11072025_03_54_01_8890.jpg', 2), ('/home/pi/Desktop/images/11072025/03/53/image_11072025_03_53_02_2952.jpg', 2), ('/home/pi/Desktop/images/11072025/03/47/image_11072025_03_47_01_5847.jpg', 2), ('/home/pi/Desktop/images/11072025/03/44/image_11072025_03_44_01_4500.jpg', 2), ('/home/pi/Desktop/images/11072025/03/42/image_11072025_03_42_01_9380.jpg', 2), ('/home/pi/Desktop/images/11072025/03/39/image_11072025_03_39_01_5321.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/03/54/image_11072025_03_54_01_8890.jpg', '/home/pi/Desktop/images/11072025/03/53/image_11072025_03_53_02_2952.jpg', '/home/pi/Desktop/images/11072025/03/47/image_11072025_03_47_01_5847.jpg', '/home/pi/Desktop/images/11072025/03/44/image_11072025_03_44_01_4500.jpg', '/home/pi/Desktop/images/11072025/03/42/image_11072025_03_42_01_9380.jpg', '/home/pi/Desktop/images/11072025/03/39/image_11072025_03_39_01_5321.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/03/54/image_11072025_03_54_01_8890.jpg
/home/pi/Desktop/images/11072025/03/53/image_11072025_03_53_02_2952.jpg
/home/pi/Desktop/images/11072025/03/47/image_11072025_03_47_01_5847.jpg
/home/pi/Desktop/images/11072025/03/44/image_11072025_03_44_01_4500.jpg
/home/pi/Desktop/images/11072025/03/42/image_11072025_03_42_01_9380.jpg
/home/pi/Desktop/images/11072025/03/39/image_11072025_03_39_01_5321.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.719990730285645 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 03:56:03.448458
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/03/54/image_11072025_03_54_01_8890.jpg', 2), ('/home/pi/Desktop/images/11072025/03/53/image_11072025_03_53_02_2952.jpg', 2), ('/home/pi/Desktop/images/11072025/03/47/image_11072025_03_47_01_5847.jpg', 2), ('/home/pi/Desktop/images/11072025/03/44/image_11072025_03_44_01_4500.jpg', 2), ('/home/pi/Desktop/images/11072025/03/42/image_11072025_03_42_01_9380.jpg', 2), ('/home/pi/Desktop/images/11072025/03/39/image_11072025_03_39_01_5321.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/03/54/image_11072025_03_54_01_8890.jpg', '/home/pi/Desktop/images/11072025/03/53/image_11072025_03_53_02_2952.jpg', '/home/pi/Desktop/images/11072025/03/47/image_11072025_03_47_01_5847.jpg', '/home/pi/Desktop/images/11072025/03/44/image_11072025_03_44_01_4500.jpg', '/home/pi/Desktop/images/11072025/03/42/image_11072025_03_42_01_9380.jpg', '/home/pi/Desktop/images/11072025/03/39/image_11072025_03_39_01_5321.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/03/54/image_11072025_03_54_01_8890.jpg
/home/pi/Desktop/images/11072025/03/53/image_11072025_03_53_02_2952.jpg
/home/pi/Desktop/images/11072025/03/47/image_11072025_03_47_01_5847.jpg
/home/pi/Desktop/images/11072025/03/44/image_11072025_03_44_01_4500.jpg
/home/pi/Desktop/images/11072025/03/42/image_11072025_03_42_01_9380.jpg
/home/pi/Desktop/images/11072025/03/39/image_11072025_03_39_01_5321.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 31.705068349838257 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 03:57:03.732879
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/03/54/image_11072025_03_54_01_8890.jpg', 2), ('/home/pi/Desktop/images/11072025/03/53/image_11072025_03_53_02_2952.jpg', 2), ('/home/pi/Desktop/images/11072025/03/47/image_11072025_03_47_01_5847.jpg', 2), ('/home/pi/Desktop/images/11072025/03/44/image_11072025_03_44_01_4500.jpg', 2), ('/home/pi/Desktop/images/11072025/03/42/image_11072025_03_42_01_9380.jpg', 2), ('/home/pi/Desktop/images/11072025/03/39/image_11072025_03_39_01_5321.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/03/54/image_11072025_03_54_01_8890.jpg', '/home/pi/Desktop/images/11072025/03/53/image_11072025_03_53_02_2952.jpg', '/home/pi/Desktop/images/11072025/03/47/image_11072025_03_47_01_5847.jpg', '/home/pi/Desktop/images/11072025/03/44/image_11072025_03_44_01_4500.jpg', '/home/pi/Desktop/images/11072025/03/42/image_11072025_03_42_01_9380.jpg', '/home/pi/Desktop/images/11072025/03/39/image_11072025_03_39_01_5321.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/03/54/image_11072025_03_54_01_8890.jpg
/home/pi/Desktop/images/11072025/03/53/image_11072025_03_53_02_2952.jpg
/home/pi/Desktop/images/11072025/03/47/image_11072025_03_47_01_5847.jpg
/home/pi/Desktop/images/11072025/03/44/image_11072025_03_44_01_4500.jpg
/home/pi/Desktop/images/11072025/03/42/image_11072025_03_42_01_9380.jpg
/home/pi/Desktop/images/11072025/03/39/image_11072025_03_39_01_5321.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 31.61051654815674 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 03:59:04.216907
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/03/58/image_11072025_03_58_01_8894.jpg', 2), ('/home/pi/Desktop/images/11072025/03/55/image_11072025_03_55_01_9905.jpg', 2), ('/home/pi/Desktop/images/11072025/03/54/image_11072025_03_54_01_8890.jpg', 2), ('/home/pi/Desktop/images/11072025/03/53/image_11072025_03_53_02_2952.jpg', 2), ('/home/pi/Desktop/images/11072025/03/47/image_11072025_03_47_01_5847.jpg', 2), ('/home/pi/Desktop/images/11072025/03/44/image_11072025_03_44_01_4500.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/03/58/image_11072025_03_58_01_8894.jpg', '/home/pi/Desktop/images/11072025/03/55/image_11072025_03_55_01_9905.jpg', '/home/pi/Desktop/images/11072025/03/54/image_11072025_03_54_01_8890.jpg', '/home/pi/Desktop/images/11072025/03/53/image_11072025_03_53_02_2952.jpg', '/home/pi/Desktop/images/11072025/03/47/image_11072025_03_47_01_5847.jpg', '/home/pi/Desktop/images/11072025/03/44/image_11072025_03_44_01_4500.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/03/58/image_11072025_03_58_01_8894.jpg
/home/pi/Desktop/images/11072025/03/55/image_11072025_03_55_01_9905.jpg
/home/pi/Desktop/images/11072025/03/54/image_11072025_03_54_01_8890.jpg
/home/pi/Desktop/images/11072025/03/53/image_11072025_03_53_02_2952.jpg
/home/pi/Desktop/images/11072025/03/47/image_11072025_03_47_01_5847.jpg
/home/pi/Desktop/images/11072025/03/44/image_11072025_03_44_01_4500.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.431379556655884 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 04:00:03.547915
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/03/58/image_11072025_03_58_01_8894.jpg', 2), ('/home/pi/Desktop/images/11072025/03/55/image_11072025_03_55_01_9905.jpg', 2), ('/home/pi/Desktop/images/11072025/03/54/image_11072025_03_54_01_8890.jpg', 2), ('/home/pi/Desktop/images/11072025/03/53/image_11072025_03_53_02_2952.jpg', 2), ('/home/pi/Desktop/images/11072025/03/47/image_11072025_03_47_01_5847.jpg', 2), ('/home/pi/Desktop/images/11072025/03/44/image_11072025_03_44_01_4500.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/03/58/image_11072025_03_58_01_8894.jpg', '/home/pi/Desktop/images/11072025/03/55/image_11072025_03_55_01_9905.jpg', '/home/pi/Desktop/images/11072025/03/54/image_11072025_03_54_01_8890.jpg', '/home/pi/Desktop/images/11072025/03/53/image_11072025_03_53_02_2952.jpg', '/home/pi/Desktop/images/11072025/03/47/image_11072025_03_47_01_5847.jpg', '/home/pi/Desktop/images/11072025/03/44/image_11072025_03_44_01_4500.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/03/58/image_11072025_03_58_01_8894.jpg
/home/pi/Desktop/images/11072025/03/55/image_11072025_03_55_01_9905.jpg
/home/pi/Desktop/images/11072025/03/54/image_11072025_03_54_01_8890.jpg
/home/pi/Desktop/images/11072025/03/53/image_11072025_03_53_02_2952.jpg
/home/pi/Desktop/images/11072025/03/47/image_11072025_03_47_01_5847.jpg
/home/pi/Desktop/images/11072025/03/44/image_11072025_03_44_01_4500.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 32.288368463516235 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 04:01:05.625353
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/03/59/image_11072025_03_59_01_9562.jpg', 2), ('/home/pi/Desktop/images/11072025/03/58/image_11072025_03_58_01_8894.jpg', 2), ('/home/pi/Desktop/images/11072025/03/55/image_11072025_03_55_01_9905.jpg', 2), ('/home/pi/Desktop/images/11072025/03/54/image_11072025_03_54_01_8890.jpg', 2), ('/home/pi/Desktop/images/11072025/03/53/image_11072025_03_53_02_2952.jpg', 2), ('/home/pi/Desktop/images/11072025/03/47/image_11072025_03_47_01_5847.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/03/59/image_11072025_03_59_01_9562.jpg', '/home/pi/Desktop/images/11072025/03/58/image_11072025_03_58_01_8894.jpg', '/home/pi/Desktop/images/11072025/03/55/image_11072025_03_55_01_9905.jpg', '/home/pi/Desktop/images/11072025/03/54/image_11072025_03_54_01_8890.jpg', '/home/pi/Desktop/images/11072025/03/53/image_11072025_03_53_02_2952.jpg', '/home/pi/Desktop/images/11072025/03/47/image_11072025_03_47_01_5847.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/03/59/image_11072025_03_59_01_9562.jpg
/home/pi/Desktop/images/11072025/03/58/image_11072025_03_58_01_8894.jpg
/home/pi/Desktop/images/11072025/03/55/image_11072025_03_55_01_9905.jpg
/home/pi/Desktop/images/11072025/03/54/image_11072025_03_54_01_8890.jpg
/home/pi/Desktop/images/11072025/03/53/image_11072025_03_53_02_2952.jpg
/home/pi/Desktop/images/11072025/03/47/image_11072025_03_47_01_5847.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 36.46721434593201 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 04:02:05.176219
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/03/59/image_11072025_03_59_01_9562.jpg', 2), ('/home/pi/Desktop/images/11072025/03/58/image_11072025_03_58_01_8894.jpg', 2), ('/home/pi/Desktop/images/11072025/03/55/image_11072025_03_55_01_9905.jpg', 2), ('/home/pi/Desktop/images/11072025/03/54/image_11072025_03_54_01_8890.jpg', 2), ('/home/pi/Desktop/images/11072025/03/53/image_11072025_03_53_02_2952.jpg', 2), ('/home/pi/Desktop/images/11072025/03/47/image_11072025_03_47_01_5847.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/03/59/image_11072025_03_59_01_9562.jpg', '/home/pi/Desktop/images/11072025/03/58/image_11072025_03_58_01_8894.jpg', '/home/pi/Desktop/images/11072025/03/55/image_11072025_03_55_01_9905.jpg', '/home/pi/Desktop/images/11072025/03/54/image_11072025_03_54_01_8890.jpg', '/home/pi/Desktop/images/11072025/03/53/image_11072025_03_53_02_2952.jpg', '/home/pi/Desktop/images/11072025/03/47/image_11072025_03_47_01_5847.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/03/59/image_11072025_03_59_01_9562.jpg
/home/pi/Desktop/images/11072025/03/58/image_11072025_03_58_01_8894.jpg
/home/pi/Desktop/images/11072025/03/55/image_11072025_03_55_01_9905.jpg
/home/pi/Desktop/images/11072025/03/54/image_11072025_03_54_01_8890.jpg
/home/pi/Desktop/images/11072025/03/53/image_11072025_03_53_02_2952.jpg
/home/pi/Desktop/images/11072025/03/47/image_11072025_03_47_01_5847.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.05538582801819 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 04:03:05.329175
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/03/59/image_11072025_03_59_01_9562.jpg', 2), ('/home/pi/Desktop/images/11072025/03/58/image_11072025_03_58_01_8894.jpg', 2), ('/home/pi/Desktop/images/11072025/03/55/image_11072025_03_55_01_9905.jpg', 2), ('/home/pi/Desktop/images/11072025/03/54/image_11072025_03_54_01_8890.jpg', 2), ('/home/pi/Desktop/images/11072025/03/53/image_11072025_03_53_02_2952.jpg', 2), ('/home/pi/Desktop/images/11072025/03/47/image_11072025_03_47_01_5847.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/03/59/image_11072025_03_59_01_9562.jpg', '/home/pi/Desktop/images/11072025/03/58/image_11072025_03_58_01_8894.jpg', '/home/pi/Desktop/images/11072025/03/55/image_11072025_03_55_01_9905.jpg', '/home/pi/Desktop/images/11072025/03/54/image_11072025_03_54_01_8890.jpg', '/home/pi/Desktop/images/11072025/03/53/image_11072025_03_53_02_2952.jpg', '/home/pi/Desktop/images/11072025/03/47/image_11072025_03_47_01_5847.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/03/59/image_11072025_03_59_01_9562.jpg
/home/pi/Desktop/images/11072025/03/58/image_11072025_03_58_01_8894.jpg
/home/pi/Desktop/images/11072025/03/55/image_11072025_03_55_01_9905.jpg
/home/pi/Desktop/images/11072025/03/54/image_11072025_03_54_01_8890.jpg
/home/pi/Desktop/images/11072025/03/53/image_11072025_03_53_02_2952.jpg
/home/pi/Desktop/images/11072025/03/47/image_11072025_03_47_01_5847.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.99871778488159 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 04:04:05.645158
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/04/01/image_11072025_04_01_02_1067.jpg', 2), ('/home/pi/Desktop/images/11072025/03/59/image_11072025_03_59_01_9562.jpg', 2), ('/home/pi/Desktop/images/11072025/03/58/image_11072025_03_58_01_8894.jpg', 2), ('/home/pi/Desktop/images/11072025/03/55/image_11072025_03_55_01_9905.jpg', 2), ('/home/pi/Desktop/images/11072025/03/54/image_11072025_03_54_01_8890.jpg', 2), ('/home/pi/Desktop/images/11072025/03/53/image_11072025_03_53_02_2952.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/04/01/image_11072025_04_01_02_1067.jpg', '/home/pi/Desktop/images/11072025/03/59/image_11072025_03_59_01_9562.jpg', '/home/pi/Desktop/images/11072025/03/58/image_11072025_03_58_01_8894.jpg', '/home/pi/Desktop/images/11072025/03/55/image_11072025_03_55_01_9905.jpg', '/home/pi/Desktop/images/11072025/03/54/image_11072025_03_54_01_8890.jpg', '/home/pi/Desktop/images/11072025/03/53/image_11072025_03_53_02_2952.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/04/01/image_11072025_04_01_02_1067.jpg
/home/pi/Desktop/images/11072025/03/59/image_11072025_03_59_01_9562.jpg
/home/pi/Desktop/images/11072025/03/58/image_11072025_03_58_01_8894.jpg
/home/pi/Desktop/images/11072025/03/55/image_11072025_03_55_01_9905.jpg
/home/pi/Desktop/images/11072025/03/54/image_11072025_03_54_01_8890.jpg
/home/pi/Desktop/images/11072025/03/53/image_11072025_03_53_02_2952.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 32.92938542366028 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 04:05:05.645349
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/04/04/image_11072025_04_04_01_5294.jpg', 2), ('/home/pi/Desktop/images/11072025/04/01/image_11072025_04_01_02_1067.jpg', 2), ('/home/pi/Desktop/images/11072025/03/59/image_11072025_03_59_01_9562.jpg', 2), ('/home/pi/Desktop/images/11072025/03/58/image_11072025_03_58_01_8894.jpg', 2), ('/home/pi/Desktop/images/11072025/03/55/image_11072025_03_55_01_9905.jpg', 2), ('/home/pi/Desktop/images/11072025/03/54/image_11072025_03_54_01_8890.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/04/04/image_11072025_04_04_01_5294.jpg', '/home/pi/Desktop/images/11072025/04/01/image_11072025_04_01_02_1067.jpg', '/home/pi/Desktop/images/11072025/03/59/image_11072025_03_59_01_9562.jpg', '/home/pi/Desktop/images/11072025/03/58/image_11072025_03_58_01_8894.jpg', '/home/pi/Desktop/images/11072025/03/55/image_11072025_03_55_01_9905.jpg', '/home/pi/Desktop/images/11072025/03/54/image_11072025_03_54_01_8890.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/04/04/image_11072025_04_04_01_5294.jpg
/home/pi/Desktop/images/11072025/04/01/image_11072025_04_01_02_1067.jpg
/home/pi/Desktop/images/11072025/03/59/image_11072025_03_59_01_9562.jpg
/home/pi/Desktop/images/11072025/03/58/image_11072025_03_58_01_8894.jpg
/home/pi/Desktop/images/11072025/03/55/image_11072025_03_55_01_9905.jpg
/home/pi/Desktop/images/11072025/03/54/image_11072025_03_54_01_8890.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.03043079376221 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 04:06:05.058842
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/04/04/image_11072025_04_04_01_5294.jpg', 2), ('/home/pi/Desktop/images/11072025/04/01/image_11072025_04_01_02_1067.jpg', 2), ('/home/pi/Desktop/images/11072025/03/59/image_11072025_03_59_01_9562.jpg', 2), ('/home/pi/Desktop/images/11072025/03/58/image_11072025_03_58_01_8894.jpg', 2), ('/home/pi/Desktop/images/11072025/03/55/image_11072025_03_55_01_9905.jpg', 2), ('/home/pi/Desktop/images/11072025/03/54/image_11072025_03_54_01_8890.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/04/04/image_11072025_04_04_01_5294.jpg', '/home/pi/Desktop/images/11072025/04/01/image_11072025_04_01_02_1067.jpg', '/home/pi/Desktop/images/11072025/03/59/image_11072025_03_59_01_9562.jpg', '/home/pi/Desktop/images/11072025/03/58/image_11072025_03_58_01_8894.jpg', '/home/pi/Desktop/images/11072025/03/55/image_11072025_03_55_01_9905.jpg', '/home/pi/Desktop/images/11072025/03/54/image_11072025_03_54_01_8890.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/04/04/image_11072025_04_04_01_5294.jpg
/home/pi/Desktop/images/11072025/04/01/image_11072025_04_01_02_1067.jpg
/home/pi/Desktop/images/11072025/03/59/image_11072025_03_59_01_9562.jpg
/home/pi/Desktop/images/11072025/03/58/image_11072025_03_58_01_8894.jpg
/home/pi/Desktop/images/11072025/03/55/image_11072025_03_55_01_9905.jpg
/home/pi/Desktop/images/11072025/03/54/image_11072025_03_54_01_8890.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 32.70642685890198 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 04:07:05.340190
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/04/04/image_11072025_04_04_01_5294.jpg', 2), ('/home/pi/Desktop/images/11072025/04/01/image_11072025_04_01_02_1067.jpg', 2), ('/home/pi/Desktop/images/11072025/03/59/image_11072025_03_59_01_9562.jpg', 2), ('/home/pi/Desktop/images/11072025/03/58/image_11072025_03_58_01_8894.jpg', 2), ('/home/pi/Desktop/images/11072025/03/55/image_11072025_03_55_01_9905.jpg', 2), ('/home/pi/Desktop/images/11072025/03/54/image_11072025_03_54_01_8890.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/04/04/image_11072025_04_04_01_5294.jpg', '/home/pi/Desktop/images/11072025/04/01/image_11072025_04_01_02_1067.jpg', '/home/pi/Desktop/images/11072025/03/59/image_11072025_03_59_01_9562.jpg', '/home/pi/Desktop/images/11072025/03/58/image_11072025_03_58_01_8894.jpg', '/home/pi/Desktop/images/11072025/03/55/image_11072025_03_55_01_9905.jpg', '/home/pi/Desktop/images/11072025/03/54/image_11072025_03_54_01_8890.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/04/04/image_11072025_04_04_01_5294.jpg
/home/pi/Desktop/images/11072025/04/01/image_11072025_04_01_02_1067.jpg
/home/pi/Desktop/images/11072025/03/59/image_11072025_03_59_01_9562.jpg
/home/pi/Desktop/images/11072025/03/58/image_11072025_03_58_01_8894.jpg
/home/pi/Desktop/images/11072025/03/55/image_11072025_03_55_01_9905.jpg
/home/pi/Desktop/images/11072025/03/54/image_11072025_03_54_01_8890.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.691187381744385 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 04:08:04.922415
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/04/04/image_11072025_04_04_01_5294.jpg', 2), ('/home/pi/Desktop/images/11072025/04/01/image_11072025_04_01_02_1067.jpg', 2), ('/home/pi/Desktop/images/11072025/03/59/image_11072025_03_59_01_9562.jpg', 2), ('/home/pi/Desktop/images/11072025/03/58/image_11072025_03_58_01_8894.jpg', 2), ('/home/pi/Desktop/images/11072025/03/55/image_11072025_03_55_01_9905.jpg', 2), ('/home/pi/Desktop/images/11072025/03/54/image_11072025_03_54_01_8890.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/04/04/image_11072025_04_04_01_5294.jpg', '/home/pi/Desktop/images/11072025/04/01/image_11072025_04_01_02_1067.jpg', '/home/pi/Desktop/images/11072025/03/59/image_11072025_03_59_01_9562.jpg', '/home/pi/Desktop/images/11072025/03/58/image_11072025_03_58_01_8894.jpg', '/home/pi/Desktop/images/11072025/03/55/image_11072025_03_55_01_9905.jpg', '/home/pi/Desktop/images/11072025/03/54/image_11072025_03_54_01_8890.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/04/04/image_11072025_04_04_01_5294.jpg
/home/pi/Desktop/images/11072025/04/01/image_11072025_04_01_02_1067.jpg
/home/pi/Desktop/images/11072025/03/59/image_11072025_03_59_01_9562.jpg
/home/pi/Desktop/images/11072025/03/58/image_11072025_03_58_01_8894.jpg
/home/pi/Desktop/images/11072025/03/55/image_11072025_03_55_01_9905.jpg
/home/pi/Desktop/images/11072025/03/54/image_11072025_03_54_01_8890.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.24748373031616 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 04:09:05.825935
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/04/04/image_11072025_04_04_01_5294.jpg', 2), ('/home/pi/Desktop/images/11072025/04/01/image_11072025_04_01_02_1067.jpg', 2), ('/home/pi/Desktop/images/11072025/03/59/image_11072025_03_59_01_9562.jpg', 2), ('/home/pi/Desktop/images/11072025/03/58/image_11072025_03_58_01_8894.jpg', 2), ('/home/pi/Desktop/images/11072025/03/55/image_11072025_03_55_01_9905.jpg', 2), ('/home/pi/Desktop/images/11072025/03/54/image_11072025_03_54_01_8890.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/04/04/image_11072025_04_04_01_5294.jpg', '/home/pi/Desktop/images/11072025/04/01/image_11072025_04_01_02_1067.jpg', '/home/pi/Desktop/images/11072025/03/59/image_11072025_03_59_01_9562.jpg', '/home/pi/Desktop/images/11072025/03/58/image_11072025_03_58_01_8894.jpg', '/home/pi/Desktop/images/11072025/03/55/image_11072025_03_55_01_9905.jpg', '/home/pi/Desktop/images/11072025/03/54/image_11072025_03_54_01_8890.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/04/04/image_11072025_04_04_01_5294.jpg
/home/pi/Desktop/images/11072025/04/01/image_11072025_04_01_02_1067.jpg
/home/pi/Desktop/images/11072025/03/59/image_11072025_03_59_01_9562.jpg
/home/pi/Desktop/images/11072025/03/58/image_11072025_03_58_01_8894.jpg
/home/pi/Desktop/images/11072025/03/55/image_11072025_03_55_01_9905.jpg
/home/pi/Desktop/images/11072025/03/54/image_11072025_03_54_01_8890.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.488667488098145 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 04:10:05.247201
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/04/04/image_11072025_04_04_01_5294.jpg', 2), ('/home/pi/Desktop/images/11072025/04/01/image_11072025_04_01_02_1067.jpg', 2), ('/home/pi/Desktop/images/11072025/03/59/image_11072025_03_59_01_9562.jpg', 2), ('/home/pi/Desktop/images/11072025/03/58/image_11072025_03_58_01_8894.jpg', 2), ('/home/pi/Desktop/images/11072025/03/55/image_11072025_03_55_01_9905.jpg', 2), ('/home/pi/Desktop/images/11072025/03/54/image_11072025_03_54_01_8890.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/04/04/image_11072025_04_04_01_5294.jpg', '/home/pi/Desktop/images/11072025/04/01/image_11072025_04_01_02_1067.jpg', '/home/pi/Desktop/images/11072025/03/59/image_11072025_03_59_01_9562.jpg', '/home/pi/Desktop/images/11072025/03/58/image_11072025_03_58_01_8894.jpg', '/home/pi/Desktop/images/11072025/03/55/image_11072025_03_55_01_9905.jpg', '/home/pi/Desktop/images/11072025/03/54/image_11072025_03_54_01_8890.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/04/04/image_11072025_04_04_01_5294.jpg
/home/pi/Desktop/images/11072025/04/01/image_11072025_04_01_02_1067.jpg
/home/pi/Desktop/images/11072025/03/59/image_11072025_03_59_01_9562.jpg
/home/pi/Desktop/images/11072025/03/58/image_11072025_03_58_01_8894.jpg
/home/pi/Desktop/images/11072025/03/55/image_11072025_03_55_01_9905.jpg
/home/pi/Desktop/images/11072025/03/54/image_11072025_03_54_01_8890.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.205780029296875 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 04:11:05.050318
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/04/05/image_11072025_04_05_02_0727.jpg', 2), ('/home/pi/Desktop/images/11072025/04/04/image_11072025_04_04_01_5294.jpg', 2), ('/home/pi/Desktop/images/11072025/04/01/image_11072025_04_01_02_1067.jpg', 2), ('/home/pi/Desktop/images/11072025/03/59/image_11072025_03_59_01_9562.jpg', 2), ('/home/pi/Desktop/images/11072025/03/58/image_11072025_03_58_01_8894.jpg', 2), ('/home/pi/Desktop/images/11072025/03/55/image_11072025_03_55_01_9905.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/04/05/image_11072025_04_05_02_0727.jpg', '/home/pi/Desktop/images/11072025/04/04/image_11072025_04_04_01_5294.jpg', '/home/pi/Desktop/images/11072025/04/01/image_11072025_04_01_02_1067.jpg', '/home/pi/Desktop/images/11072025/03/59/image_11072025_03_59_01_9562.jpg', '/home/pi/Desktop/images/11072025/03/58/image_11072025_03_58_01_8894.jpg', '/home/pi/Desktop/images/11072025/03/55/image_11072025_03_55_01_9905.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/04/05/image_11072025_04_05_02_0727.jpg
/home/pi/Desktop/images/11072025/04/04/image_11072025_04_04_01_5294.jpg
/home/pi/Desktop/images/11072025/04/01/image_11072025_04_01_02_1067.jpg
/home/pi/Desktop/images/11072025/03/59/image_11072025_03_59_01_9562.jpg
/home/pi/Desktop/images/11072025/03/58/image_11072025_03_58_01_8894.jpg
/home/pi/Desktop/images/11072025/03/55/image_11072025_03_55_01_9905.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.664098501205444 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 04:12:05.158155
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/04/11/image_11072025_04_11_01_7032.jpg', 2), ('/home/pi/Desktop/images/11072025/04/05/image_11072025_04_05_02_0727.jpg', 2), ('/home/pi/Desktop/images/11072025/04/04/image_11072025_04_04_01_5294.jpg', 2), ('/home/pi/Desktop/images/11072025/04/01/image_11072025_04_01_02_1067.jpg', 2), ('/home/pi/Desktop/images/11072025/03/59/image_11072025_03_59_01_9562.jpg', 2), ('/home/pi/Desktop/images/11072025/03/58/image_11072025_03_58_01_8894.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/04/11/image_11072025_04_11_01_7032.jpg', '/home/pi/Desktop/images/11072025/04/05/image_11072025_04_05_02_0727.jpg', '/home/pi/Desktop/images/11072025/04/04/image_11072025_04_04_01_5294.jpg', '/home/pi/Desktop/images/11072025/04/01/image_11072025_04_01_02_1067.jpg', '/home/pi/Desktop/images/11072025/03/59/image_11072025_03_59_01_9562.jpg', '/home/pi/Desktop/images/11072025/03/58/image_11072025_03_58_01_8894.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/04/11/image_11072025_04_11_01_7032.jpg
/home/pi/Desktop/images/11072025/04/05/image_11072025_04_05_02_0727.jpg
/home/pi/Desktop/images/11072025/04/04/image_11072025_04_04_01_5294.jpg
/home/pi/Desktop/images/11072025/04/01/image_11072025_04_01_02_1067.jpg
/home/pi/Desktop/images/11072025/03/59/image_11072025_03_59_01_9562.jpg
/home/pi/Desktop/images/11072025/03/58/image_11072025_03_58_01_8894.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 32.68163800239563 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 04:13:05.733820
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/04/12/image_11072025_04_12_01_5348.jpg', 2), ('/home/pi/Desktop/images/11072025/04/11/image_11072025_04_11_01_7032.jpg', 2), ('/home/pi/Desktop/images/11072025/04/05/image_11072025_04_05_02_0727.jpg', 2), ('/home/pi/Desktop/images/11072025/04/04/image_11072025_04_04_01_5294.jpg', 2), ('/home/pi/Desktop/images/11072025/04/01/image_11072025_04_01_02_1067.jpg', 2), ('/home/pi/Desktop/images/11072025/03/59/image_11072025_03_59_01_9562.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/04/12/image_11072025_04_12_01_5348.jpg', '/home/pi/Desktop/images/11072025/04/11/image_11072025_04_11_01_7032.jpg', '/home/pi/Desktop/images/11072025/04/05/image_11072025_04_05_02_0727.jpg', '/home/pi/Desktop/images/11072025/04/04/image_11072025_04_04_01_5294.jpg', '/home/pi/Desktop/images/11072025/04/01/image_11072025_04_01_02_1067.jpg', '/home/pi/Desktop/images/11072025/03/59/image_11072025_03_59_01_9562.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/04/12/image_11072025_04_12_01_5348.jpg
/home/pi/Desktop/images/11072025/04/11/image_11072025_04_11_01_7032.jpg
/home/pi/Desktop/images/11072025/04/05/image_11072025_04_05_02_0727.jpg
/home/pi/Desktop/images/11072025/04/04/image_11072025_04_04_01_5294.jpg
/home/pi/Desktop/images/11072025/04/01/image_11072025_04_01_02_1067.jpg
/home/pi/Desktop/images/11072025/03/59/image_11072025_03_59_01_9562.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.29336953163147 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 04:14:05.945257
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/04/13/image_11072025_04_13_01_7120.jpg', 2), ('/home/pi/Desktop/images/11072025/04/12/image_11072025_04_12_01_5348.jpg', 2), ('/home/pi/Desktop/images/11072025/04/11/image_11072025_04_11_01_7032.jpg', 2), ('/home/pi/Desktop/images/11072025/04/05/image_11072025_04_05_02_0727.jpg', 2), ('/home/pi/Desktop/images/11072025/04/04/image_11072025_04_04_01_5294.jpg', 2), ('/home/pi/Desktop/images/11072025/04/01/image_11072025_04_01_02_1067.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/04/13/image_11072025_04_13_01_7120.jpg', '/home/pi/Desktop/images/11072025/04/12/image_11072025_04_12_01_5348.jpg', '/home/pi/Desktop/images/11072025/04/11/image_11072025_04_11_01_7032.jpg', '/home/pi/Desktop/images/11072025/04/05/image_11072025_04_05_02_0727.jpg', '/home/pi/Desktop/images/11072025/04/04/image_11072025_04_04_01_5294.jpg', '/home/pi/Desktop/images/11072025/04/01/image_11072025_04_01_02_1067.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/04/13/image_11072025_04_13_01_7120.jpg
/home/pi/Desktop/images/11072025/04/12/image_11072025_04_12_01_5348.jpg
/home/pi/Desktop/images/11072025/04/11/image_11072025_04_11_01_7032.jpg
/home/pi/Desktop/images/11072025/04/05/image_11072025_04_05_02_0727.jpg
/home/pi/Desktop/images/11072025/04/04/image_11072025_04_04_01_5294.jpg
/home/pi/Desktop/images/11072025/04/01/image_11072025_04_01_02_1067.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.171088457107544 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 04:15:06.086865
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/04/13/image_11072025_04_13_01_7120.jpg', 2), ('/home/pi/Desktop/images/11072025/04/12/image_11072025_04_12_01_5348.jpg', 2), ('/home/pi/Desktop/images/11072025/04/11/image_11072025_04_11_01_7032.jpg', 2), ('/home/pi/Desktop/images/11072025/04/05/image_11072025_04_05_02_0727.jpg', 2), ('/home/pi/Desktop/images/11072025/04/04/image_11072025_04_04_01_5294.jpg', 2), ('/home/pi/Desktop/images/11072025/04/01/image_11072025_04_01_02_1067.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/04/13/image_11072025_04_13_01_7120.jpg', '/home/pi/Desktop/images/11072025/04/12/image_11072025_04_12_01_5348.jpg', '/home/pi/Desktop/images/11072025/04/11/image_11072025_04_11_01_7032.jpg', '/home/pi/Desktop/images/11072025/04/05/image_11072025_04_05_02_0727.jpg', '/home/pi/Desktop/images/11072025/04/04/image_11072025_04_04_01_5294.jpg', '/home/pi/Desktop/images/11072025/04/01/image_11072025_04_01_02_1067.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/04/13/image_11072025_04_13_01_7120.jpg
/home/pi/Desktop/images/11072025/04/12/image_11072025_04_12_01_5348.jpg
/home/pi/Desktop/images/11072025/04/11/image_11072025_04_11_01_7032.jpg
/home/pi/Desktop/images/11072025/04/05/image_11072025_04_05_02_0727.jpg
/home/pi/Desktop/images/11072025/04/04/image_11072025_04_04_01_5294.jpg
/home/pi/Desktop/images/11072025/04/01/image_11072025_04_01_02_1067.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.24700617790222 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 04:16:05.171548
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/04/13/image_11072025_04_13_01_7120.jpg', 2), ('/home/pi/Desktop/images/11072025/04/12/image_11072025_04_12_01_5348.jpg', 2), ('/home/pi/Desktop/images/11072025/04/11/image_11072025_04_11_01_7032.jpg', 2), ('/home/pi/Desktop/images/11072025/04/05/image_11072025_04_05_02_0727.jpg', 2), ('/home/pi/Desktop/images/11072025/04/04/image_11072025_04_04_01_5294.jpg', 2), ('/home/pi/Desktop/images/11072025/04/01/image_11072025_04_01_02_1067.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/04/13/image_11072025_04_13_01_7120.jpg', '/home/pi/Desktop/images/11072025/04/12/image_11072025_04_12_01_5348.jpg', '/home/pi/Desktop/images/11072025/04/11/image_11072025_04_11_01_7032.jpg', '/home/pi/Desktop/images/11072025/04/05/image_11072025_04_05_02_0727.jpg', '/home/pi/Desktop/images/11072025/04/04/image_11072025_04_04_01_5294.jpg', '/home/pi/Desktop/images/11072025/04/01/image_11072025_04_01_02_1067.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/04/13/image_11072025_04_13_01_7120.jpg
/home/pi/Desktop/images/11072025/04/12/image_11072025_04_12_01_5348.jpg
/home/pi/Desktop/images/11072025/04/11/image_11072025_04_11_01_7032.jpg
/home/pi/Desktop/images/11072025/04/05/image_11072025_04_05_02_0727.jpg
/home/pi/Desktop/images/11072025/04/04/image_11072025_04_04_01_5294.jpg
/home/pi/Desktop/images/11072025/04/01/image_11072025_04_01_02_1067.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.2294340133667 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 04:17:05.650541
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/04/13/image_11072025_04_13_01_7120.jpg', 2), ('/home/pi/Desktop/images/11072025/04/12/image_11072025_04_12_01_5348.jpg', 2), ('/home/pi/Desktop/images/11072025/04/11/image_11072025_04_11_01_7032.jpg', 2), ('/home/pi/Desktop/images/11072025/04/05/image_11072025_04_05_02_0727.jpg', 2), ('/home/pi/Desktop/images/11072025/04/04/image_11072025_04_04_01_5294.jpg', 2), ('/home/pi/Desktop/images/11072025/04/01/image_11072025_04_01_02_1067.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/04/13/image_11072025_04_13_01_7120.jpg', '/home/pi/Desktop/images/11072025/04/12/image_11072025_04_12_01_5348.jpg', '/home/pi/Desktop/images/11072025/04/11/image_11072025_04_11_01_7032.jpg', '/home/pi/Desktop/images/11072025/04/05/image_11072025_04_05_02_0727.jpg', '/home/pi/Desktop/images/11072025/04/04/image_11072025_04_04_01_5294.jpg', '/home/pi/Desktop/images/11072025/04/01/image_11072025_04_01_02_1067.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/04/13/image_11072025_04_13_01_7120.jpg
/home/pi/Desktop/images/11072025/04/12/image_11072025_04_12_01_5348.jpg
/home/pi/Desktop/images/11072025/04/11/image_11072025_04_11_01_7032.jpg
/home/pi/Desktop/images/11072025/04/05/image_11072025_04_05_02_0727.jpg
/home/pi/Desktop/images/11072025/04/04/image_11072025_04_04_01_5294.jpg
/home/pi/Desktop/images/11072025/04/01/image_11072025_04_01_02_1067.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.93588662147522 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 04:18:05.226981
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/04/13/image_11072025_04_13_01_7120.jpg', 2), ('/home/pi/Desktop/images/11072025/04/12/image_11072025_04_12_01_5348.jpg', 2), ('/home/pi/Desktop/images/11072025/04/11/image_11072025_04_11_01_7032.jpg', 2), ('/home/pi/Desktop/images/11072025/04/05/image_11072025_04_05_02_0727.jpg', 2), ('/home/pi/Desktop/images/11072025/04/04/image_11072025_04_04_01_5294.jpg', 2), ('/home/pi/Desktop/images/11072025/04/01/image_11072025_04_01_02_1067.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/04/13/image_11072025_04_13_01_7120.jpg', '/home/pi/Desktop/images/11072025/04/12/image_11072025_04_12_01_5348.jpg', '/home/pi/Desktop/images/11072025/04/11/image_11072025_04_11_01_7032.jpg', '/home/pi/Desktop/images/11072025/04/05/image_11072025_04_05_02_0727.jpg', '/home/pi/Desktop/images/11072025/04/04/image_11072025_04_04_01_5294.jpg', '/home/pi/Desktop/images/11072025/04/01/image_11072025_04_01_02_1067.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/04/13/image_11072025_04_13_01_7120.jpg
/home/pi/Desktop/images/11072025/04/12/image_11072025_04_12_01_5348.jpg
/home/pi/Desktop/images/11072025/04/11/image_11072025_04_11_01_7032.jpg
/home/pi/Desktop/images/11072025/04/05/image_11072025_04_05_02_0727.jpg
/home/pi/Desktop/images/11072025/04/04/image_11072025_04_04_01_5294.jpg
/home/pi/Desktop/images/11072025/04/01/image_11072025_04_01_02_1067.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.648383140563965 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 04:19:06.019673
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/04/14/image_11072025_04_14_01_9048.jpg', 2), ('/home/pi/Desktop/images/11072025/04/13/image_11072025_04_13_01_7120.jpg', 2), ('/home/pi/Desktop/images/11072025/04/12/image_11072025_04_12_01_5348.jpg', 2), ('/home/pi/Desktop/images/11072025/04/11/image_11072025_04_11_01_7032.jpg', 2), ('/home/pi/Desktop/images/11072025/04/05/image_11072025_04_05_02_0727.jpg', 2), ('/home/pi/Desktop/images/11072025/04/04/image_11072025_04_04_01_5294.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/04/14/image_11072025_04_14_01_9048.jpg', '/home/pi/Desktop/images/11072025/04/13/image_11072025_04_13_01_7120.jpg', '/home/pi/Desktop/images/11072025/04/12/image_11072025_04_12_01_5348.jpg', '/home/pi/Desktop/images/11072025/04/11/image_11072025_04_11_01_7032.jpg', '/home/pi/Desktop/images/11072025/04/05/image_11072025_04_05_02_0727.jpg', '/home/pi/Desktop/images/11072025/04/04/image_11072025_04_04_01_5294.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/04/14/image_11072025_04_14_01_9048.jpg
/home/pi/Desktop/images/11072025/04/13/image_11072025_04_13_01_7120.jpg
/home/pi/Desktop/images/11072025/04/12/image_11072025_04_12_01_5348.jpg
/home/pi/Desktop/images/11072025/04/11/image_11072025_04_11_01_7032.jpg
/home/pi/Desktop/images/11072025/04/05/image_11072025_04_05_02_0727.jpg
/home/pi/Desktop/images/11072025/04/04/image_11072025_04_04_01_5294.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.993531942367554 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 04:20:03.614564
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/04/20/image_11072025_04_20_02_0890.jpg', 2), ('/home/pi/Desktop/images/11072025/04/14/image_11072025_04_14_01_9048.jpg', 2), ('/home/pi/Desktop/images/11072025/04/13/image_11072025_04_13_01_7120.jpg', 2), ('/home/pi/Desktop/images/11072025/04/12/image_11072025_04_12_01_5348.jpg', 2), ('/home/pi/Desktop/images/11072025/04/11/image_11072025_04_11_01_7032.jpg', 2), ('/home/pi/Desktop/images/11072025/04/05/image_11072025_04_05_02_0727.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/04/20/image_11072025_04_20_02_0890.jpg', '/home/pi/Desktop/images/11072025/04/14/image_11072025_04_14_01_9048.jpg', '/home/pi/Desktop/images/11072025/04/13/image_11072025_04_13_01_7120.jpg', '/home/pi/Desktop/images/11072025/04/12/image_11072025_04_12_01_5348.jpg', '/home/pi/Desktop/images/11072025/04/11/image_11072025_04_11_01_7032.jpg', '/home/pi/Desktop/images/11072025/04/05/image_11072025_04_05_02_0727.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/04/20/image_11072025_04_20_02_0890.jpg
/home/pi/Desktop/images/11072025/04/14/image_11072025_04_14_01_9048.jpg
/home/pi/Desktop/images/11072025/04/13/image_11072025_04_13_01_7120.jpg
/home/pi/Desktop/images/11072025/04/12/image_11072025_04_12_01_5348.jpg
/home/pi/Desktop/images/11072025/04/11/image_11072025_04_11_01_7032.jpg
/home/pi/Desktop/images/11072025/04/05/image_11072025_04_05_02_0727.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 31.594929933547974 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 04:21:05.073501
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/04/20/image_11072025_04_20_02_0890.jpg', 2), ('/home/pi/Desktop/images/11072025/04/14/image_11072025_04_14_01_9048.jpg', 2), ('/home/pi/Desktop/images/11072025/04/13/image_11072025_04_13_01_7120.jpg', 2), ('/home/pi/Desktop/images/11072025/04/12/image_11072025_04_12_01_5348.jpg', 2), ('/home/pi/Desktop/images/11072025/04/11/image_11072025_04_11_01_7032.jpg', 2), ('/home/pi/Desktop/images/11072025/04/05/image_11072025_04_05_02_0727.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/04/20/image_11072025_04_20_02_0890.jpg', '/home/pi/Desktop/images/11072025/04/14/image_11072025_04_14_01_9048.jpg', '/home/pi/Desktop/images/11072025/04/13/image_11072025_04_13_01_7120.jpg', '/home/pi/Desktop/images/11072025/04/12/image_11072025_04_12_01_5348.jpg', '/home/pi/Desktop/images/11072025/04/11/image_11072025_04_11_01_7032.jpg', '/home/pi/Desktop/images/11072025/04/05/image_11072025_04_05_02_0727.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/04/20/image_11072025_04_20_02_0890.jpg
/home/pi/Desktop/images/11072025/04/14/image_11072025_04_14_01_9048.jpg
/home/pi/Desktop/images/11072025/04/13/image_11072025_04_13_01_7120.jpg
/home/pi/Desktop/images/11072025/04/12/image_11072025_04_12_01_5348.jpg
/home/pi/Desktop/images/11072025/04/11/image_11072025_04_11_01_7032.jpg
/home/pi/Desktop/images/11072025/04/05/image_11072025_04_05_02_0727.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.48269057273865 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 04:22:04.904175
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/04/20/image_11072025_04_20_02_0890.jpg', 2), ('/home/pi/Desktop/images/11072025/04/19/image_11072025_04_19_01_8341.jpg', 2), ('/home/pi/Desktop/images/11072025/04/14/image_11072025_04_14_01_9048.jpg', 2), ('/home/pi/Desktop/images/11072025/04/13/image_11072025_04_13_01_7120.jpg', 2), ('/home/pi/Desktop/images/11072025/04/12/image_11072025_04_12_01_5348.jpg', 2), ('/home/pi/Desktop/images/11072025/04/11/image_11072025_04_11_01_7032.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/04/20/image_11072025_04_20_02_0890.jpg', '/home/pi/Desktop/images/11072025/04/19/image_11072025_04_19_01_8341.jpg', '/home/pi/Desktop/images/11072025/04/14/image_11072025_04_14_01_9048.jpg', '/home/pi/Desktop/images/11072025/04/13/image_11072025_04_13_01_7120.jpg', '/home/pi/Desktop/images/11072025/04/12/image_11072025_04_12_01_5348.jpg', '/home/pi/Desktop/images/11072025/04/11/image_11072025_04_11_01_7032.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/04/20/image_11072025_04_20_02_0890.jpg
/home/pi/Desktop/images/11072025/04/19/image_11072025_04_19_01_8341.jpg
/home/pi/Desktop/images/11072025/04/14/image_11072025_04_14_01_9048.jpg
/home/pi/Desktop/images/11072025/04/13/image_11072025_04_13_01_7120.jpg
/home/pi/Desktop/images/11072025/04/12/image_11072025_04_12_01_5348.jpg
/home/pi/Desktop/images/11072025/04/11/image_11072025_04_11_01_7032.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 32.83189582824707 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 04:23:06.041825
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/04/22/image_11072025_04_22_01_5911.jpg', 2), ('/home/pi/Desktop/images/11072025/04/20/image_11072025_04_20_02_0890.jpg', 2), ('/home/pi/Desktop/images/11072025/04/19/image_11072025_04_19_01_8341.jpg', 2), ('/home/pi/Desktop/images/11072025/04/14/image_11072025_04_14_01_9048.jpg', 2), ('/home/pi/Desktop/images/11072025/04/13/image_11072025_04_13_01_7120.jpg', 2), ('/home/pi/Desktop/images/11072025/04/12/image_11072025_04_12_01_5348.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/04/22/image_11072025_04_22_01_5911.jpg', '/home/pi/Desktop/images/11072025/04/20/image_11072025_04_20_02_0890.jpg', '/home/pi/Desktop/images/11072025/04/19/image_11072025_04_19_01_8341.jpg', '/home/pi/Desktop/images/11072025/04/14/image_11072025_04_14_01_9048.jpg', '/home/pi/Desktop/images/11072025/04/13/image_11072025_04_13_01_7120.jpg', '/home/pi/Desktop/images/11072025/04/12/image_11072025_04_12_01_5348.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/04/22/image_11072025_04_22_01_5911.jpg
/home/pi/Desktop/images/11072025/04/20/image_11072025_04_20_02_0890.jpg
/home/pi/Desktop/images/11072025/04/19/image_11072025_04_19_01_8341.jpg
/home/pi/Desktop/images/11072025/04/14/image_11072025_04_14_01_9048.jpg
/home/pi/Desktop/images/11072025/04/13/image_11072025_04_13_01_7120.jpg
/home/pi/Desktop/images/11072025/04/12/image_11072025_04_12_01_5348.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.805187702178955 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 04:24:05.802359
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/04/23/image_11072025_04_23_01_4508.jpg', 2), ('/home/pi/Desktop/images/11072025/04/22/image_11072025_04_22_01_5911.jpg', 2), ('/home/pi/Desktop/images/11072025/04/20/image_11072025_04_20_02_0890.jpg', 2), ('/home/pi/Desktop/images/11072025/04/19/image_11072025_04_19_01_8341.jpg', 2), ('/home/pi/Desktop/images/11072025/04/14/image_11072025_04_14_01_9048.jpg', 2), ('/home/pi/Desktop/images/11072025/04/13/image_11072025_04_13_01_7120.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/04/23/image_11072025_04_23_01_4508.jpg', '/home/pi/Desktop/images/11072025/04/22/image_11072025_04_22_01_5911.jpg', '/home/pi/Desktop/images/11072025/04/20/image_11072025_04_20_02_0890.jpg', '/home/pi/Desktop/images/11072025/04/19/image_11072025_04_19_01_8341.jpg', '/home/pi/Desktop/images/11072025/04/14/image_11072025_04_14_01_9048.jpg', '/home/pi/Desktop/images/11072025/04/13/image_11072025_04_13_01_7120.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/04/23/image_11072025_04_23_01_4508.jpg
/home/pi/Desktop/images/11072025/04/22/image_11072025_04_22_01_5911.jpg
/home/pi/Desktop/images/11072025/04/20/image_11072025_04_20_02_0890.jpg
/home/pi/Desktop/images/11072025/04/19/image_11072025_04_19_01_8341.jpg
/home/pi/Desktop/images/11072025/04/14/image_11072025_04_14_01_9048.jpg
/home/pi/Desktop/images/11072025/04/13/image_11072025_04_13_01_7120.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.170480251312256 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 04:25:07.107451
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/04/23/image_11072025_04_23_01_4508.jpg', 2), ('/home/pi/Desktop/images/11072025/04/22/image_11072025_04_22_01_5911.jpg', 2), ('/home/pi/Desktop/images/11072025/04/20/image_11072025_04_20_02_0890.jpg', 2), ('/home/pi/Desktop/images/11072025/04/19/image_11072025_04_19_01_8341.jpg', 2), ('/home/pi/Desktop/images/11072025/04/14/image_11072025_04_14_01_9048.jpg', 2), ('/home/pi/Desktop/images/11072025/04/13/image_11072025_04_13_01_7120.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/04/23/image_11072025_04_23_01_4508.jpg', '/home/pi/Desktop/images/11072025/04/22/image_11072025_04_22_01_5911.jpg', '/home/pi/Desktop/images/11072025/04/20/image_11072025_04_20_02_0890.jpg', '/home/pi/Desktop/images/11072025/04/19/image_11072025_04_19_01_8341.jpg', '/home/pi/Desktop/images/11072025/04/14/image_11072025_04_14_01_9048.jpg', '/home/pi/Desktop/images/11072025/04/13/image_11072025_04_13_01_7120.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/04/23/image_11072025_04_23_01_4508.jpg
/home/pi/Desktop/images/11072025/04/22/image_11072025_04_22_01_5911.jpg
/home/pi/Desktop/images/11072025/04/20/image_11072025_04_20_02_0890.jpg
/home/pi/Desktop/images/11072025/04/19/image_11072025_04_19_01_8341.jpg
/home/pi/Desktop/images/11072025/04/14/image_11072025_04_14_01_9048.jpg
/home/pi/Desktop/images/11072025/04/13/image_11072025_04_13_01_7120.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 34.05755019187927 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 04:26:05.063851
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/04/23/image_11072025_04_23_01_4508.jpg', 2), ('/home/pi/Desktop/images/11072025/04/22/image_11072025_04_22_01_5911.jpg', 2), ('/home/pi/Desktop/images/11072025/04/20/image_11072025_04_20_02_0890.jpg', 2), ('/home/pi/Desktop/images/11072025/04/19/image_11072025_04_19_01_8341.jpg', 2), ('/home/pi/Desktop/images/11072025/04/14/image_11072025_04_14_01_9048.jpg', 2), ('/home/pi/Desktop/images/11072025/04/13/image_11072025_04_13_01_7120.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/04/23/image_11072025_04_23_01_4508.jpg', '/home/pi/Desktop/images/11072025/04/22/image_11072025_04_22_01_5911.jpg', '/home/pi/Desktop/images/11072025/04/20/image_11072025_04_20_02_0890.jpg', '/home/pi/Desktop/images/11072025/04/19/image_11072025_04_19_01_8341.jpg', '/home/pi/Desktop/images/11072025/04/14/image_11072025_04_14_01_9048.jpg', '/home/pi/Desktop/images/11072025/04/13/image_11072025_04_13_01_7120.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/04/23/image_11072025_04_23_01_4508.jpg
/home/pi/Desktop/images/11072025/04/22/image_11072025_04_22_01_5911.jpg
/home/pi/Desktop/images/11072025/04/20/image_11072025_04_20_02_0890.jpg
/home/pi/Desktop/images/11072025/04/19/image_11072025_04_19_01_8341.jpg
/home/pi/Desktop/images/11072025/04/14/image_11072025_04_14_01_9048.jpg
/home/pi/Desktop/images/11072025/04/13/image_11072025_04_13_01_7120.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 35.23675179481506 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 04:27:04.870420
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/04/24/image_11072025_04_24_01_9830.jpg', 2), ('/home/pi/Desktop/images/11072025/04/23/image_11072025_04_23_01_4508.jpg', 2), ('/home/pi/Desktop/images/11072025/04/22/image_11072025_04_22_01_5911.jpg', 2), ('/home/pi/Desktop/images/11072025/04/20/image_11072025_04_20_02_0890.jpg', 2), ('/home/pi/Desktop/images/11072025/04/19/image_11072025_04_19_01_8341.jpg', 2), ('/home/pi/Desktop/images/11072025/04/14/image_11072025_04_14_01_9048.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/04/24/image_11072025_04_24_01_9830.jpg', '/home/pi/Desktop/images/11072025/04/23/image_11072025_04_23_01_4508.jpg', '/home/pi/Desktop/images/11072025/04/22/image_11072025_04_22_01_5911.jpg', '/home/pi/Desktop/images/11072025/04/20/image_11072025_04_20_02_0890.jpg', '/home/pi/Desktop/images/11072025/04/19/image_11072025_04_19_01_8341.jpg', '/home/pi/Desktop/images/11072025/04/14/image_11072025_04_14_01_9048.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/04/24/image_11072025_04_24_01_9830.jpg
/home/pi/Desktop/images/11072025/04/23/image_11072025_04_23_01_4508.jpg
/home/pi/Desktop/images/11072025/04/22/image_11072025_04_22_01_5911.jpg
/home/pi/Desktop/images/11072025/04/20/image_11072025_04_20_02_0890.jpg
/home/pi/Desktop/images/11072025/04/19/image_11072025_04_19_01_8341.jpg
/home/pi/Desktop/images/11072025/04/14/image_11072025_04_14_01_9048.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.530423164367676 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 04:28:05.173935
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/04/27/image_11072025_04_27_01_6936.jpg', 2), ('/home/pi/Desktop/images/11072025/04/24/image_11072025_04_24_01_9830.jpg', 2), ('/home/pi/Desktop/images/11072025/04/23/image_11072025_04_23_01_4508.jpg', 2), ('/home/pi/Desktop/images/11072025/04/22/image_11072025_04_22_01_5911.jpg', 2), ('/home/pi/Desktop/images/11072025/04/20/image_11072025_04_20_02_0890.jpg', 2), ('/home/pi/Desktop/images/11072025/04/19/image_11072025_04_19_01_8341.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/04/27/image_11072025_04_27_01_6936.jpg', '/home/pi/Desktop/images/11072025/04/24/image_11072025_04_24_01_9830.jpg', '/home/pi/Desktop/images/11072025/04/23/image_11072025_04_23_01_4508.jpg', '/home/pi/Desktop/images/11072025/04/22/image_11072025_04_22_01_5911.jpg', '/home/pi/Desktop/images/11072025/04/20/image_11072025_04_20_02_0890.jpg', '/home/pi/Desktop/images/11072025/04/19/image_11072025_04_19_01_8341.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/04/27/image_11072025_04_27_01_6936.jpg
/home/pi/Desktop/images/11072025/04/24/image_11072025_04_24_01_9830.jpg
/home/pi/Desktop/images/11072025/04/23/image_11072025_04_23_01_4508.jpg
/home/pi/Desktop/images/11072025/04/22/image_11072025_04_22_01_5911.jpg
/home/pi/Desktop/images/11072025/04/20/image_11072025_04_20_02_0890.jpg
/home/pi/Desktop/images/11072025/04/19/image_11072025_04_19_01_8341.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.36592411994934 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 04:29:05.573258
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/04/28/image_11072025_04_28_01_3439.jpg', 2), ('/home/pi/Desktop/images/11072025/04/27/image_11072025_04_27_01_6936.jpg', 2), ('/home/pi/Desktop/images/11072025/04/24/image_11072025_04_24_01_9830.jpg', 2), ('/home/pi/Desktop/images/11072025/04/23/image_11072025_04_23_01_4508.jpg', 2), ('/home/pi/Desktop/images/11072025/04/22/image_11072025_04_22_01_5911.jpg', 2), ('/home/pi/Desktop/images/11072025/04/20/image_11072025_04_20_02_0890.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/04/28/image_11072025_04_28_01_3439.jpg', '/home/pi/Desktop/images/11072025/04/27/image_11072025_04_27_01_6936.jpg', '/home/pi/Desktop/images/11072025/04/24/image_11072025_04_24_01_9830.jpg', '/home/pi/Desktop/images/11072025/04/23/image_11072025_04_23_01_4508.jpg', '/home/pi/Desktop/images/11072025/04/22/image_11072025_04_22_01_5911.jpg', '/home/pi/Desktop/images/11072025/04/20/image_11072025_04_20_02_0890.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/04/28/image_11072025_04_28_01_3439.jpg
/home/pi/Desktop/images/11072025/04/27/image_11072025_04_27_01_6936.jpg
/home/pi/Desktop/images/11072025/04/24/image_11072025_04_24_01_9830.jpg
/home/pi/Desktop/images/11072025/04/23/image_11072025_04_23_01_4508.jpg
/home/pi/Desktop/images/11072025/04/22/image_11072025_04_22_01_5911.jpg
/home/pi/Desktop/images/11072025/04/20/image_11072025_04_20_02_0890.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.052983045578 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 04:30:05.344981
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/04/29/image_11072025_04_29_01_6864.jpg', 2), ('/home/pi/Desktop/images/11072025/04/28/image_11072025_04_28_01_3439.jpg', 2), ('/home/pi/Desktop/images/11072025/04/27/image_11072025_04_27_01_6936.jpg', 2), ('/home/pi/Desktop/images/11072025/04/24/image_11072025_04_24_01_9830.jpg', 2), ('/home/pi/Desktop/images/11072025/04/23/image_11072025_04_23_01_4508.jpg', 2), ('/home/pi/Desktop/images/11072025/04/22/image_11072025_04_22_01_5911.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/04/29/image_11072025_04_29_01_6864.jpg', '/home/pi/Desktop/images/11072025/04/28/image_11072025_04_28_01_3439.jpg', '/home/pi/Desktop/images/11072025/04/27/image_11072025_04_27_01_6936.jpg', '/home/pi/Desktop/images/11072025/04/24/image_11072025_04_24_01_9830.jpg', '/home/pi/Desktop/images/11072025/04/23/image_11072025_04_23_01_4508.jpg', '/home/pi/Desktop/images/11072025/04/22/image_11072025_04_22_01_5911.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/04/29/image_11072025_04_29_01_6864.jpg
/home/pi/Desktop/images/11072025/04/28/image_11072025_04_28_01_3439.jpg
/home/pi/Desktop/images/11072025/04/27/image_11072025_04_27_01_6936.jpg
/home/pi/Desktop/images/11072025/04/24/image_11072025_04_24_01_9830.jpg
/home/pi/Desktop/images/11072025/04/23/image_11072025_04_23_01_4508.jpg
/home/pi/Desktop/images/11072025/04/22/image_11072025_04_22_01_5911.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.596333265304565 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 04:31:05.079023
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/04/30/image_11072025_04_30_01_8622.jpg', 2), ('/home/pi/Desktop/images/11072025/04/29/image_11072025_04_29_01_6864.jpg', 2), ('/home/pi/Desktop/images/11072025/04/28/image_11072025_04_28_01_3439.jpg', 2), ('/home/pi/Desktop/images/11072025/04/27/image_11072025_04_27_01_6936.jpg', 2), ('/home/pi/Desktop/images/11072025/04/24/image_11072025_04_24_01_9830.jpg', 2), ('/home/pi/Desktop/images/11072025/04/23/image_11072025_04_23_01_4508.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/04/30/image_11072025_04_30_01_8622.jpg', '/home/pi/Desktop/images/11072025/04/29/image_11072025_04_29_01_6864.jpg', '/home/pi/Desktop/images/11072025/04/28/image_11072025_04_28_01_3439.jpg', '/home/pi/Desktop/images/11072025/04/27/image_11072025_04_27_01_6936.jpg', '/home/pi/Desktop/images/11072025/04/24/image_11072025_04_24_01_9830.jpg', '/home/pi/Desktop/images/11072025/04/23/image_11072025_04_23_01_4508.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/04/30/image_11072025_04_30_01_8622.jpg
/home/pi/Desktop/images/11072025/04/29/image_11072025_04_29_01_6864.jpg
/home/pi/Desktop/images/11072025/04/28/image_11072025_04_28_01_3439.jpg
/home/pi/Desktop/images/11072025/04/27/image_11072025_04_27_01_6936.jpg
/home/pi/Desktop/images/11072025/04/24/image_11072025_04_24_01_9830.jpg
/home/pi/Desktop/images/11072025/04/23/image_11072025_04_23_01_4508.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.962358236312866 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 04:32:05.199906
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/04/31/image_11072025_04_31_01_7137.jpg', 2), ('/home/pi/Desktop/images/11072025/04/30/image_11072025_04_30_01_8622.jpg', 2), ('/home/pi/Desktop/images/11072025/04/29/image_11072025_04_29_01_6864.jpg', 2), ('/home/pi/Desktop/images/11072025/04/28/image_11072025_04_28_01_3439.jpg', 2), ('/home/pi/Desktop/images/11072025/04/27/image_11072025_04_27_01_6936.jpg', 2), ('/home/pi/Desktop/images/11072025/04/24/image_11072025_04_24_01_9830.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/04/31/image_11072025_04_31_01_7137.jpg', '/home/pi/Desktop/images/11072025/04/30/image_11072025_04_30_01_8622.jpg', '/home/pi/Desktop/images/11072025/04/29/image_11072025_04_29_01_6864.jpg', '/home/pi/Desktop/images/11072025/04/28/image_11072025_04_28_01_3439.jpg', '/home/pi/Desktop/images/11072025/04/27/image_11072025_04_27_01_6936.jpg', '/home/pi/Desktop/images/11072025/04/24/image_11072025_04_24_01_9830.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/04/31/image_11072025_04_31_01_7137.jpg
/home/pi/Desktop/images/11072025/04/30/image_11072025_04_30_01_8622.jpg
/home/pi/Desktop/images/11072025/04/29/image_11072025_04_29_01_6864.jpg
/home/pi/Desktop/images/11072025/04/28/image_11072025_04_28_01_3439.jpg
/home/pi/Desktop/images/11072025/04/27/image_11072025_04_27_01_6936.jpg
/home/pi/Desktop/images/11072025/04/24/image_11072025_04_24_01_9830.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 32.949769735336304 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 04:33:06.099666
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/04/32/image_11072025_04_32_01_4318.jpg', 2), ('/home/pi/Desktop/images/11072025/04/31/image_11072025_04_31_01_7137.jpg', 2), ('/home/pi/Desktop/images/11072025/04/30/image_11072025_04_30_01_8622.jpg', 2), ('/home/pi/Desktop/images/11072025/04/29/image_11072025_04_29_01_6864.jpg', 2), ('/home/pi/Desktop/images/11072025/04/28/image_11072025_04_28_01_3439.jpg', 2), ('/home/pi/Desktop/images/11072025/04/27/image_11072025_04_27_01_6936.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/04/32/image_11072025_04_32_01_4318.jpg', '/home/pi/Desktop/images/11072025/04/31/image_11072025_04_31_01_7137.jpg', '/home/pi/Desktop/images/11072025/04/30/image_11072025_04_30_01_8622.jpg', '/home/pi/Desktop/images/11072025/04/29/image_11072025_04_29_01_6864.jpg', '/home/pi/Desktop/images/11072025/04/28/image_11072025_04_28_01_3439.jpg', '/home/pi/Desktop/images/11072025/04/27/image_11072025_04_27_01_6936.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/04/32/image_11072025_04_32_01_4318.jpg
/home/pi/Desktop/images/11072025/04/31/image_11072025_04_31_01_7137.jpg
/home/pi/Desktop/images/11072025/04/30/image_11072025_04_30_01_8622.jpg
/home/pi/Desktop/images/11072025/04/29/image_11072025_04_29_01_6864.jpg
/home/pi/Desktop/images/11072025/04/28/image_11072025_04_28_01_3439.jpg
/home/pi/Desktop/images/11072025/04/27/image_11072025_04_27_01_6936.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.31271028518677 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 04:34:05.376381
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/04/33/image_11072025_04_33_01_4714.jpg', 2), ('/home/pi/Desktop/images/11072025/04/32/image_11072025_04_32_01_4318.jpg', 2), ('/home/pi/Desktop/images/11072025/04/31/image_11072025_04_31_01_7137.jpg', 2), ('/home/pi/Desktop/images/11072025/04/30/image_11072025_04_30_01_8622.jpg', 2), ('/home/pi/Desktop/images/11072025/04/29/image_11072025_04_29_01_6864.jpg', 2), ('/home/pi/Desktop/images/11072025/04/28/image_11072025_04_28_01_3439.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/04/33/image_11072025_04_33_01_4714.jpg', '/home/pi/Desktop/images/11072025/04/32/image_11072025_04_32_01_4318.jpg', '/home/pi/Desktop/images/11072025/04/31/image_11072025_04_31_01_7137.jpg', '/home/pi/Desktop/images/11072025/04/30/image_11072025_04_30_01_8622.jpg', '/home/pi/Desktop/images/11072025/04/29/image_11072025_04_29_01_6864.jpg', '/home/pi/Desktop/images/11072025/04/28/image_11072025_04_28_01_3439.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/04/33/image_11072025_04_33_01_4714.jpg
/home/pi/Desktop/images/11072025/04/32/image_11072025_04_32_01_4318.jpg
/home/pi/Desktop/images/11072025/04/31/image_11072025_04_31_01_7137.jpg
/home/pi/Desktop/images/11072025/04/30/image_11072025_04_30_01_8622.jpg
/home/pi/Desktop/images/11072025/04/29/image_11072025_04_29_01_6864.jpg
/home/pi/Desktop/images/11072025/04/28/image_11072025_04_28_01_3439.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.19916868209839 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 04:35:05.605147
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/04/33/image_11072025_04_33_01_4714.jpg', 2), ('/home/pi/Desktop/images/11072025/04/32/image_11072025_04_32_01_4318.jpg', 2), ('/home/pi/Desktop/images/11072025/04/31/image_11072025_04_31_01_7137.jpg', 2), ('/home/pi/Desktop/images/11072025/04/30/image_11072025_04_30_01_8622.jpg', 2), ('/home/pi/Desktop/images/11072025/04/29/image_11072025_04_29_01_6864.jpg', 2), ('/home/pi/Desktop/images/11072025/04/28/image_11072025_04_28_01_3439.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/04/33/image_11072025_04_33_01_4714.jpg', '/home/pi/Desktop/images/11072025/04/32/image_11072025_04_32_01_4318.jpg', '/home/pi/Desktop/images/11072025/04/31/image_11072025_04_31_01_7137.jpg', '/home/pi/Desktop/images/11072025/04/30/image_11072025_04_30_01_8622.jpg', '/home/pi/Desktop/images/11072025/04/29/image_11072025_04_29_01_6864.jpg', '/home/pi/Desktop/images/11072025/04/28/image_11072025_04_28_01_3439.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/04/33/image_11072025_04_33_01_4714.jpg
/home/pi/Desktop/images/11072025/04/32/image_11072025_04_32_01_4318.jpg
/home/pi/Desktop/images/11072025/04/31/image_11072025_04_31_01_7137.jpg
/home/pi/Desktop/images/11072025/04/30/image_11072025_04_30_01_8622.jpg
/home/pi/Desktop/images/11072025/04/29/image_11072025_04_29_01_6864.jpg
/home/pi/Desktop/images/11072025/04/28/image_11072025_04_28_01_3439.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.078585147857666 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 04:36:05.082555
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/04/34/image_11072025_04_34_02_2740.jpg', 2), ('/home/pi/Desktop/images/11072025/04/33/image_11072025_04_33_01_4714.jpg', 2), ('/home/pi/Desktop/images/11072025/04/32/image_11072025_04_32_01_4318.jpg', 2), ('/home/pi/Desktop/images/11072025/04/31/image_11072025_04_31_01_7137.jpg', 2), ('/home/pi/Desktop/images/11072025/04/30/image_11072025_04_30_01_8622.jpg', 2), ('/home/pi/Desktop/images/11072025/04/29/image_11072025_04_29_01_6864.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/04/34/image_11072025_04_34_02_2740.jpg', '/home/pi/Desktop/images/11072025/04/33/image_11072025_04_33_01_4714.jpg', '/home/pi/Desktop/images/11072025/04/32/image_11072025_04_32_01_4318.jpg', '/home/pi/Desktop/images/11072025/04/31/image_11072025_04_31_01_7137.jpg', '/home/pi/Desktop/images/11072025/04/30/image_11072025_04_30_01_8622.jpg', '/home/pi/Desktop/images/11072025/04/29/image_11072025_04_29_01_6864.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/04/34/image_11072025_04_34_02_2740.jpg
/home/pi/Desktop/images/11072025/04/33/image_11072025_04_33_01_4714.jpg
/home/pi/Desktop/images/11072025/04/32/image_11072025_04_32_01_4318.jpg
/home/pi/Desktop/images/11072025/04/31/image_11072025_04_31_01_7137.jpg
/home/pi/Desktop/images/11072025/04/30/image_11072025_04_30_01_8622.jpg
/home/pi/Desktop/images/11072025/04/29/image_11072025_04_29_01_6864.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 32.74002170562744 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 04:37:05.186137
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/04/34/image_11072025_04_34_02_2740.jpg', 2), ('/home/pi/Desktop/images/11072025/04/33/image_11072025_04_33_01_4714.jpg', 2), ('/home/pi/Desktop/images/11072025/04/32/image_11072025_04_32_01_4318.jpg', 2), ('/home/pi/Desktop/images/11072025/04/31/image_11072025_04_31_01_7137.jpg', 2), ('/home/pi/Desktop/images/11072025/04/30/image_11072025_04_30_01_8622.jpg', 2), ('/home/pi/Desktop/images/11072025/04/29/image_11072025_04_29_01_6864.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/04/34/image_11072025_04_34_02_2740.jpg', '/home/pi/Desktop/images/11072025/04/33/image_11072025_04_33_01_4714.jpg', '/home/pi/Desktop/images/11072025/04/32/image_11072025_04_32_01_4318.jpg', '/home/pi/Desktop/images/11072025/04/31/image_11072025_04_31_01_7137.jpg', '/home/pi/Desktop/images/11072025/04/30/image_11072025_04_30_01_8622.jpg', '/home/pi/Desktop/images/11072025/04/29/image_11072025_04_29_01_6864.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/04/34/image_11072025_04_34_02_2740.jpg
/home/pi/Desktop/images/11072025/04/33/image_11072025_04_33_01_4714.jpg
/home/pi/Desktop/images/11072025/04/32/image_11072025_04_32_01_4318.jpg
/home/pi/Desktop/images/11072025/04/31/image_11072025_04_31_01_7137.jpg
/home/pi/Desktop/images/11072025/04/30/image_11072025_04_30_01_8622.jpg
/home/pi/Desktop/images/11072025/04/29/image_11072025_04_29_01_6864.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.8181676864624 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 04:38:05.594584
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/04/34/image_11072025_04_34_02_2740.jpg', 2), ('/home/pi/Desktop/images/11072025/04/33/image_11072025_04_33_01_4714.jpg', 2), ('/home/pi/Desktop/images/11072025/04/32/image_11072025_04_32_01_4318.jpg', 2), ('/home/pi/Desktop/images/11072025/04/31/image_11072025_04_31_01_7137.jpg', 2), ('/home/pi/Desktop/images/11072025/04/30/image_11072025_04_30_01_8622.jpg', 2), ('/home/pi/Desktop/images/11072025/04/29/image_11072025_04_29_01_6864.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/04/34/image_11072025_04_34_02_2740.jpg', '/home/pi/Desktop/images/11072025/04/33/image_11072025_04_33_01_4714.jpg', '/home/pi/Desktop/images/11072025/04/32/image_11072025_04_32_01_4318.jpg', '/home/pi/Desktop/images/11072025/04/31/image_11072025_04_31_01_7137.jpg', '/home/pi/Desktop/images/11072025/04/30/image_11072025_04_30_01_8622.jpg', '/home/pi/Desktop/images/11072025/04/29/image_11072025_04_29_01_6864.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/04/34/image_11072025_04_34_02_2740.jpg
/home/pi/Desktop/images/11072025/04/33/image_11072025_04_33_01_4714.jpg
/home/pi/Desktop/images/11072025/04/32/image_11072025_04_32_01_4318.jpg
/home/pi/Desktop/images/11072025/04/31/image_11072025_04_31_01_7137.jpg
/home/pi/Desktop/images/11072025/04/30/image_11072025_04_30_01_8622.jpg
/home/pi/Desktop/images/11072025/04/29/image_11072025_04_29_01_6864.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 32.70491123199463 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 04:39:05.998815
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/04/34/image_11072025_04_34_02_2740.jpg', 2), ('/home/pi/Desktop/images/11072025/04/33/image_11072025_04_33_01_4714.jpg', 2), ('/home/pi/Desktop/images/11072025/04/32/image_11072025_04_32_01_4318.jpg', 2), ('/home/pi/Desktop/images/11072025/04/31/image_11072025_04_31_01_7137.jpg', 2), ('/home/pi/Desktop/images/11072025/04/30/image_11072025_04_30_01_8622.jpg', 2), ('/home/pi/Desktop/images/11072025/04/29/image_11072025_04_29_01_6864.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/04/34/image_11072025_04_34_02_2740.jpg', '/home/pi/Desktop/images/11072025/04/33/image_11072025_04_33_01_4714.jpg', '/home/pi/Desktop/images/11072025/04/32/image_11072025_04_32_01_4318.jpg', '/home/pi/Desktop/images/11072025/04/31/image_11072025_04_31_01_7137.jpg', '/home/pi/Desktop/images/11072025/04/30/image_11072025_04_30_01_8622.jpg', '/home/pi/Desktop/images/11072025/04/29/image_11072025_04_29_01_6864.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/04/34/image_11072025_04_34_02_2740.jpg
/home/pi/Desktop/images/11072025/04/33/image_11072025_04_33_01_4714.jpg
/home/pi/Desktop/images/11072025/04/32/image_11072025_04_32_01_4318.jpg
/home/pi/Desktop/images/11072025/04/31/image_11072025_04_31_01_7137.jpg
/home/pi/Desktop/images/11072025/04/30/image_11072025_04_30_01_8622.jpg
/home/pi/Desktop/images/11072025/04/29/image_11072025_04_29_01_6864.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.458969593048096 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 04:40:05.351074
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/04/34/image_11072025_04_34_02_2740.jpg', 2), ('/home/pi/Desktop/images/11072025/04/33/image_11072025_04_33_01_4714.jpg', 2), ('/home/pi/Desktop/images/11072025/04/32/image_11072025_04_32_01_4318.jpg', 2), ('/home/pi/Desktop/images/11072025/04/31/image_11072025_04_31_01_7137.jpg', 2), ('/home/pi/Desktop/images/11072025/04/30/image_11072025_04_30_01_8622.jpg', 2), ('/home/pi/Desktop/images/11072025/04/29/image_11072025_04_29_01_6864.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/04/34/image_11072025_04_34_02_2740.jpg', '/home/pi/Desktop/images/11072025/04/33/image_11072025_04_33_01_4714.jpg', '/home/pi/Desktop/images/11072025/04/32/image_11072025_04_32_01_4318.jpg', '/home/pi/Desktop/images/11072025/04/31/image_11072025_04_31_01_7137.jpg', '/home/pi/Desktop/images/11072025/04/30/image_11072025_04_30_01_8622.jpg', '/home/pi/Desktop/images/11072025/04/29/image_11072025_04_29_01_6864.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/04/34/image_11072025_04_34_02_2740.jpg
/home/pi/Desktop/images/11072025/04/33/image_11072025_04_33_01_4714.jpg
/home/pi/Desktop/images/11072025/04/32/image_11072025_04_32_01_4318.jpg
/home/pi/Desktop/images/11072025/04/31/image_11072025_04_31_01_7137.jpg
/home/pi/Desktop/images/11072025/04/30/image_11072025_04_30_01_8622.jpg
/home/pi/Desktop/images/11072025/04/29/image_11072025_04_29_01_6864.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.19856595993042 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 04:41:05.115350
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/04/34/image_11072025_04_34_02_2740.jpg', 2), ('/home/pi/Desktop/images/11072025/04/33/image_11072025_04_33_01_4714.jpg', 2), ('/home/pi/Desktop/images/11072025/04/32/image_11072025_04_32_01_4318.jpg', 2), ('/home/pi/Desktop/images/11072025/04/31/image_11072025_04_31_01_7137.jpg', 2), ('/home/pi/Desktop/images/11072025/04/30/image_11072025_04_30_01_8622.jpg', 2), ('/home/pi/Desktop/images/11072025/04/29/image_11072025_04_29_01_6864.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/04/34/image_11072025_04_34_02_2740.jpg', '/home/pi/Desktop/images/11072025/04/33/image_11072025_04_33_01_4714.jpg', '/home/pi/Desktop/images/11072025/04/32/image_11072025_04_32_01_4318.jpg', '/home/pi/Desktop/images/11072025/04/31/image_11072025_04_31_01_7137.jpg', '/home/pi/Desktop/images/11072025/04/30/image_11072025_04_30_01_8622.jpg', '/home/pi/Desktop/images/11072025/04/29/image_11072025_04_29_01_6864.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/04/34/image_11072025_04_34_02_2740.jpg
/home/pi/Desktop/images/11072025/04/33/image_11072025_04_33_01_4714.jpg
/home/pi/Desktop/images/11072025/04/32/image_11072025_04_32_01_4318.jpg
/home/pi/Desktop/images/11072025/04/31/image_11072025_04_31_01_7137.jpg
/home/pi/Desktop/images/11072025/04/30/image_11072025_04_30_01_8622.jpg
/home/pi/Desktop/images/11072025/04/29/image_11072025_04_29_01_6864.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.530534505844116 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 04:42:05.512849
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/04/34/image_11072025_04_34_02_2740.jpg', 2), ('/home/pi/Desktop/images/11072025/04/33/image_11072025_04_33_01_4714.jpg', 2), ('/home/pi/Desktop/images/11072025/04/32/image_11072025_04_32_01_4318.jpg', 2), ('/home/pi/Desktop/images/11072025/04/31/image_11072025_04_31_01_7137.jpg', 2), ('/home/pi/Desktop/images/11072025/04/30/image_11072025_04_30_01_8622.jpg', 2), ('/home/pi/Desktop/images/11072025/04/29/image_11072025_04_29_01_6864.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/04/34/image_11072025_04_34_02_2740.jpg', '/home/pi/Desktop/images/11072025/04/33/image_11072025_04_33_01_4714.jpg', '/home/pi/Desktop/images/11072025/04/32/image_11072025_04_32_01_4318.jpg', '/home/pi/Desktop/images/11072025/04/31/image_11072025_04_31_01_7137.jpg', '/home/pi/Desktop/images/11072025/04/30/image_11072025_04_30_01_8622.jpg', '/home/pi/Desktop/images/11072025/04/29/image_11072025_04_29_01_6864.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/04/34/image_11072025_04_34_02_2740.jpg
/home/pi/Desktop/images/11072025/04/33/image_11072025_04_33_01_4714.jpg
/home/pi/Desktop/images/11072025/04/32/image_11072025_04_32_01_4318.jpg
/home/pi/Desktop/images/11072025/04/31/image_11072025_04_31_01_7137.jpg
/home/pi/Desktop/images/11072025/04/30/image_11072025_04_30_01_8622.jpg
/home/pi/Desktop/images/11072025/04/29/image_11072025_04_29_01_6864.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.22359228134155 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 04:43:05.461946
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/04/36/image_11072025_04_36_01_5311.jpg', 2), ('/home/pi/Desktop/images/11072025/04/34/image_11072025_04_34_02_2740.jpg', 2), ('/home/pi/Desktop/images/11072025/04/33/image_11072025_04_33_01_4714.jpg', 2), ('/home/pi/Desktop/images/11072025/04/32/image_11072025_04_32_01_4318.jpg', 2), ('/home/pi/Desktop/images/11072025/04/31/image_11072025_04_31_01_7137.jpg', 2), ('/home/pi/Desktop/images/11072025/04/30/image_11072025_04_30_01_8622.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/04/36/image_11072025_04_36_01_5311.jpg', '/home/pi/Desktop/images/11072025/04/34/image_11072025_04_34_02_2740.jpg', '/home/pi/Desktop/images/11072025/04/33/image_11072025_04_33_01_4714.jpg', '/home/pi/Desktop/images/11072025/04/32/image_11072025_04_32_01_4318.jpg', '/home/pi/Desktop/images/11072025/04/31/image_11072025_04_31_01_7137.jpg', '/home/pi/Desktop/images/11072025/04/30/image_11072025_04_30_01_8622.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/04/36/image_11072025_04_36_01_5311.jpg
/home/pi/Desktop/images/11072025/04/34/image_11072025_04_34_02_2740.jpg
/home/pi/Desktop/images/11072025/04/33/image_11072025_04_33_01_4714.jpg
/home/pi/Desktop/images/11072025/04/32/image_11072025_04_32_01_4318.jpg
/home/pi/Desktop/images/11072025/04/31/image_11072025_04_31_01_7137.jpg
/home/pi/Desktop/images/11072025/04/30/image_11072025_04_30_01_8622.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.394041538238525 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 04:44:05.151004
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/04/43/image_11072025_04_43_01_9796.jpg', 2), ('/home/pi/Desktop/images/11072025/04/36/image_11072025_04_36_01_5311.jpg', 2), ('/home/pi/Desktop/images/11072025/04/34/image_11072025_04_34_02_2740.jpg', 2), ('/home/pi/Desktop/images/11072025/04/33/image_11072025_04_33_01_4714.jpg', 2), ('/home/pi/Desktop/images/11072025/04/32/image_11072025_04_32_01_4318.jpg', 2), ('/home/pi/Desktop/images/11072025/04/31/image_11072025_04_31_01_7137.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/04/43/image_11072025_04_43_01_9796.jpg', '/home/pi/Desktop/images/11072025/04/36/image_11072025_04_36_01_5311.jpg', '/home/pi/Desktop/images/11072025/04/34/image_11072025_04_34_02_2740.jpg', '/home/pi/Desktop/images/11072025/04/33/image_11072025_04_33_01_4714.jpg', '/home/pi/Desktop/images/11072025/04/32/image_11072025_04_32_01_4318.jpg', '/home/pi/Desktop/images/11072025/04/31/image_11072025_04_31_01_7137.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/04/43/image_11072025_04_43_01_9796.jpg
/home/pi/Desktop/images/11072025/04/36/image_11072025_04_36_01_5311.jpg
/home/pi/Desktop/images/11072025/04/34/image_11072025_04_34_02_2740.jpg
/home/pi/Desktop/images/11072025/04/33/image_11072025_04_33_01_4714.jpg
/home/pi/Desktop/images/11072025/04/32/image_11072025_04_32_01_4318.jpg
/home/pi/Desktop/images/11072025/04/31/image_11072025_04_31_01_7137.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.00370454788208 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 04:45:05.420390
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/04/44/image_11072025_04_44_01_6373.jpg', 2), ('/home/pi/Desktop/images/11072025/04/43/image_11072025_04_43_01_9796.jpg', 2), ('/home/pi/Desktop/images/11072025/04/36/image_11072025_04_36_01_5311.jpg', 2), ('/home/pi/Desktop/images/11072025/04/34/image_11072025_04_34_02_2740.jpg', 2), ('/home/pi/Desktop/images/11072025/04/33/image_11072025_04_33_01_4714.jpg', 2), ('/home/pi/Desktop/images/11072025/04/32/image_11072025_04_32_01_4318.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/04/44/image_11072025_04_44_01_6373.jpg', '/home/pi/Desktop/images/11072025/04/43/image_11072025_04_43_01_9796.jpg', '/home/pi/Desktop/images/11072025/04/36/image_11072025_04_36_01_5311.jpg', '/home/pi/Desktop/images/11072025/04/34/image_11072025_04_34_02_2740.jpg', '/home/pi/Desktop/images/11072025/04/33/image_11072025_04_33_01_4714.jpg', '/home/pi/Desktop/images/11072025/04/32/image_11072025_04_32_01_4318.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/04/44/image_11072025_04_44_01_6373.jpg
/home/pi/Desktop/images/11072025/04/43/image_11072025_04_43_01_9796.jpg
/home/pi/Desktop/images/11072025/04/36/image_11072025_04_36_01_5311.jpg
/home/pi/Desktop/images/11072025/04/34/image_11072025_04_34_02_2740.jpg
/home/pi/Desktop/images/11072025/04/33/image_11072025_04_33_01_4714.jpg
/home/pi/Desktop/images/11072025/04/32/image_11072025_04_32_01_4318.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.82433819770813 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 04:46:05.784592
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/04/45/image_11072025_04_45_01_7730.jpg', 2), ('/home/pi/Desktop/images/11072025/04/44/image_11072025_04_44_01_6373.jpg', 2), ('/home/pi/Desktop/images/11072025/04/43/image_11072025_04_43_01_9796.jpg', 2), ('/home/pi/Desktop/images/11072025/04/36/image_11072025_04_36_01_5311.jpg', 2), ('/home/pi/Desktop/images/11072025/04/34/image_11072025_04_34_02_2740.jpg', 2), ('/home/pi/Desktop/images/11072025/04/33/image_11072025_04_33_01_4714.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/04/45/image_11072025_04_45_01_7730.jpg', '/home/pi/Desktop/images/11072025/04/44/image_11072025_04_44_01_6373.jpg', '/home/pi/Desktop/images/11072025/04/43/image_11072025_04_43_01_9796.jpg', '/home/pi/Desktop/images/11072025/04/36/image_11072025_04_36_01_5311.jpg', '/home/pi/Desktop/images/11072025/04/34/image_11072025_04_34_02_2740.jpg', '/home/pi/Desktop/images/11072025/04/33/image_11072025_04_33_01_4714.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/04/45/image_11072025_04_45_01_7730.jpg
/home/pi/Desktop/images/11072025/04/44/image_11072025_04_44_01_6373.jpg
/home/pi/Desktop/images/11072025/04/43/image_11072025_04_43_01_9796.jpg
/home/pi/Desktop/images/11072025/04/36/image_11072025_04_36_01_5311.jpg
/home/pi/Desktop/images/11072025/04/34/image_11072025_04_34_02_2740.jpg
/home/pi/Desktop/images/11072025/04/33/image_11072025_04_33_01_4714.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.63554859161377 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 04:47:06.126959
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/04/45/image_11072025_04_45_01_7730.jpg', 2), ('/home/pi/Desktop/images/11072025/04/44/image_11072025_04_44_01_6373.jpg', 2), ('/home/pi/Desktop/images/11072025/04/43/image_11072025_04_43_01_9796.jpg', 2), ('/home/pi/Desktop/images/11072025/04/36/image_11072025_04_36_01_5311.jpg', 2), ('/home/pi/Desktop/images/11072025/04/34/image_11072025_04_34_02_2740.jpg', 2), ('/home/pi/Desktop/images/11072025/04/33/image_11072025_04_33_01_4714.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/04/45/image_11072025_04_45_01_7730.jpg', '/home/pi/Desktop/images/11072025/04/44/image_11072025_04_44_01_6373.jpg', '/home/pi/Desktop/images/11072025/04/43/image_11072025_04_43_01_9796.jpg', '/home/pi/Desktop/images/11072025/04/36/image_11072025_04_36_01_5311.jpg', '/home/pi/Desktop/images/11072025/04/34/image_11072025_04_34_02_2740.jpg', '/home/pi/Desktop/images/11072025/04/33/image_11072025_04_33_01_4714.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/04/45/image_11072025_04_45_01_7730.jpg
/home/pi/Desktop/images/11072025/04/44/image_11072025_04_44_01_6373.jpg
/home/pi/Desktop/images/11072025/04/43/image_11072025_04_43_01_9796.jpg
/home/pi/Desktop/images/11072025/04/36/image_11072025_04_36_01_5311.jpg
/home/pi/Desktop/images/11072025/04/34/image_11072025_04_34_02_2740.jpg
/home/pi/Desktop/images/11072025/04/33/image_11072025_04_33_01_4714.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 36.59719514846802 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 04:48:05.749112
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/04/46/image_11072025_04_46_01_6402.jpg', 2), ('/home/pi/Desktop/images/11072025/04/45/image_11072025_04_45_01_7730.jpg', 2), ('/home/pi/Desktop/images/11072025/04/44/image_11072025_04_44_01_6373.jpg', 2), ('/home/pi/Desktop/images/11072025/04/43/image_11072025_04_43_01_9796.jpg', 2), ('/home/pi/Desktop/images/11072025/04/36/image_11072025_04_36_01_5311.jpg', 2), ('/home/pi/Desktop/images/11072025/04/34/image_11072025_04_34_02_2740.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/04/46/image_11072025_04_46_01_6402.jpg', '/home/pi/Desktop/images/11072025/04/45/image_11072025_04_45_01_7730.jpg', '/home/pi/Desktop/images/11072025/04/44/image_11072025_04_44_01_6373.jpg', '/home/pi/Desktop/images/11072025/04/43/image_11072025_04_43_01_9796.jpg', '/home/pi/Desktop/images/11072025/04/36/image_11072025_04_36_01_5311.jpg', '/home/pi/Desktop/images/11072025/04/34/image_11072025_04_34_02_2740.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/04/46/image_11072025_04_46_01_6402.jpg
/home/pi/Desktop/images/11072025/04/45/image_11072025_04_45_01_7730.jpg
/home/pi/Desktop/images/11072025/04/44/image_11072025_04_44_01_6373.jpg
/home/pi/Desktop/images/11072025/04/43/image_11072025_04_43_01_9796.jpg
/home/pi/Desktop/images/11072025/04/36/image_11072025_04_36_01_5311.jpg
/home/pi/Desktop/images/11072025/04/34/image_11072025_04_34_02_2740.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 37.10689449310303 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 04:49:05.027634
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/04/46/image_11072025_04_46_01_6402.jpg', 2), ('/home/pi/Desktop/images/11072025/04/45/image_11072025_04_45_01_7730.jpg', 2), ('/home/pi/Desktop/images/11072025/04/44/image_11072025_04_44_01_6373.jpg', 2), ('/home/pi/Desktop/images/11072025/04/43/image_11072025_04_43_01_9796.jpg', 2), ('/home/pi/Desktop/images/11072025/04/36/image_11072025_04_36_01_5311.jpg', 2), ('/home/pi/Desktop/images/11072025/04/34/image_11072025_04_34_02_2740.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/04/46/image_11072025_04_46_01_6402.jpg', '/home/pi/Desktop/images/11072025/04/45/image_11072025_04_45_01_7730.jpg', '/home/pi/Desktop/images/11072025/04/44/image_11072025_04_44_01_6373.jpg', '/home/pi/Desktop/images/11072025/04/43/image_11072025_04_43_01_9796.jpg', '/home/pi/Desktop/images/11072025/04/36/image_11072025_04_36_01_5311.jpg', '/home/pi/Desktop/images/11072025/04/34/image_11072025_04_34_02_2740.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/04/46/image_11072025_04_46_01_6402.jpg
/home/pi/Desktop/images/11072025/04/45/image_11072025_04_45_01_7730.jpg
/home/pi/Desktop/images/11072025/04/44/image_11072025_04_44_01_6373.jpg
/home/pi/Desktop/images/11072025/04/43/image_11072025_04_43_01_9796.jpg
/home/pi/Desktop/images/11072025/04/36/image_11072025_04_36_01_5311.jpg
/home/pi/Desktop/images/11072025/04/34/image_11072025_04_34_02_2740.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 32.95745372772217 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 04:50:05.572450
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/04/46/image_11072025_04_46_01_6402.jpg', 2), ('/home/pi/Desktop/images/11072025/04/45/image_11072025_04_45_01_7730.jpg', 2), ('/home/pi/Desktop/images/11072025/04/44/image_11072025_04_44_01_6373.jpg', 2), ('/home/pi/Desktop/images/11072025/04/43/image_11072025_04_43_01_9796.jpg', 2), ('/home/pi/Desktop/images/11072025/04/36/image_11072025_04_36_01_5311.jpg', 2), ('/home/pi/Desktop/images/11072025/04/34/image_11072025_04_34_02_2740.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/04/46/image_11072025_04_46_01_6402.jpg', '/home/pi/Desktop/images/11072025/04/45/image_11072025_04_45_01_7730.jpg', '/home/pi/Desktop/images/11072025/04/44/image_11072025_04_44_01_6373.jpg', '/home/pi/Desktop/images/11072025/04/43/image_11072025_04_43_01_9796.jpg', '/home/pi/Desktop/images/11072025/04/36/image_11072025_04_36_01_5311.jpg', '/home/pi/Desktop/images/11072025/04/34/image_11072025_04_34_02_2740.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/04/46/image_11072025_04_46_01_6402.jpg
/home/pi/Desktop/images/11072025/04/45/image_11072025_04_45_01_7730.jpg
/home/pi/Desktop/images/11072025/04/44/image_11072025_04_44_01_6373.jpg
/home/pi/Desktop/images/11072025/04/43/image_11072025_04_43_01_9796.jpg
/home/pi/Desktop/images/11072025/04/36/image_11072025_04_36_01_5311.jpg
/home/pi/Desktop/images/11072025/04/34/image_11072025_04_34_02_2740.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.486313343048096 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 04:51:05.705953
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/04/46/image_11072025_04_46_01_6402.jpg', 2), ('/home/pi/Desktop/images/11072025/04/45/image_11072025_04_45_01_7730.jpg', 2), ('/home/pi/Desktop/images/11072025/04/44/image_11072025_04_44_01_6373.jpg', 2), ('/home/pi/Desktop/images/11072025/04/43/image_11072025_04_43_01_9796.jpg', 2), ('/home/pi/Desktop/images/11072025/04/36/image_11072025_04_36_01_5311.jpg', 2), ('/home/pi/Desktop/images/11072025/04/34/image_11072025_04_34_02_2740.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/04/46/image_11072025_04_46_01_6402.jpg', '/home/pi/Desktop/images/11072025/04/45/image_11072025_04_45_01_7730.jpg', '/home/pi/Desktop/images/11072025/04/44/image_11072025_04_44_01_6373.jpg', '/home/pi/Desktop/images/11072025/04/43/image_11072025_04_43_01_9796.jpg', '/home/pi/Desktop/images/11072025/04/36/image_11072025_04_36_01_5311.jpg', '/home/pi/Desktop/images/11072025/04/34/image_11072025_04_34_02_2740.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/04/46/image_11072025_04_46_01_6402.jpg
/home/pi/Desktop/images/11072025/04/45/image_11072025_04_45_01_7730.jpg
/home/pi/Desktop/images/11072025/04/44/image_11072025_04_44_01_6373.jpg
/home/pi/Desktop/images/11072025/04/43/image_11072025_04_43_01_9796.jpg
/home/pi/Desktop/images/11072025/04/36/image_11072025_04_36_01_5311.jpg
/home/pi/Desktop/images/11072025/04/34/image_11072025_04_34_02_2740.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.65427327156067 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 04:52:05.254760
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/04/48/image_11072025_04_48_02_1136.jpg', 2), ('/home/pi/Desktop/images/11072025/04/46/image_11072025_04_46_01_6402.jpg', 2), ('/home/pi/Desktop/images/11072025/04/45/image_11072025_04_45_01_7730.jpg', 2), ('/home/pi/Desktop/images/11072025/04/44/image_11072025_04_44_01_6373.jpg', 2), ('/home/pi/Desktop/images/11072025/04/43/image_11072025_04_43_01_9796.jpg', 2), ('/home/pi/Desktop/images/11072025/04/36/image_11072025_04_36_01_5311.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/04/48/image_11072025_04_48_02_1136.jpg', '/home/pi/Desktop/images/11072025/04/46/image_11072025_04_46_01_6402.jpg', '/home/pi/Desktop/images/11072025/04/45/image_11072025_04_45_01_7730.jpg', '/home/pi/Desktop/images/11072025/04/44/image_11072025_04_44_01_6373.jpg', '/home/pi/Desktop/images/11072025/04/43/image_11072025_04_43_01_9796.jpg', '/home/pi/Desktop/images/11072025/04/36/image_11072025_04_36_01_5311.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/04/48/image_11072025_04_48_02_1136.jpg
/home/pi/Desktop/images/11072025/04/46/image_11072025_04_46_01_6402.jpg
/home/pi/Desktop/images/11072025/04/45/image_11072025_04_45_01_7730.jpg
/home/pi/Desktop/images/11072025/04/44/image_11072025_04_44_01_6373.jpg
/home/pi/Desktop/images/11072025/04/43/image_11072025_04_43_01_9796.jpg
/home/pi/Desktop/images/11072025/04/36/image_11072025_04_36_01_5311.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.25014114379883 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 04:53:05.710505
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/04/52/image_11072025_04_52_02_1078.jpg', 2), ('/home/pi/Desktop/images/11072025/04/48/image_11072025_04_48_02_1136.jpg', 2), ('/home/pi/Desktop/images/11072025/04/46/image_11072025_04_46_01_6402.jpg', 2), ('/home/pi/Desktop/images/11072025/04/45/image_11072025_04_45_01_7730.jpg', 2), ('/home/pi/Desktop/images/11072025/04/44/image_11072025_04_44_01_6373.jpg', 2), ('/home/pi/Desktop/images/11072025/04/43/image_11072025_04_43_01_9796.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/04/52/image_11072025_04_52_02_1078.jpg', '/home/pi/Desktop/images/11072025/04/48/image_11072025_04_48_02_1136.jpg', '/home/pi/Desktop/images/11072025/04/46/image_11072025_04_46_01_6402.jpg', '/home/pi/Desktop/images/11072025/04/45/image_11072025_04_45_01_7730.jpg', '/home/pi/Desktop/images/11072025/04/44/image_11072025_04_44_01_6373.jpg', '/home/pi/Desktop/images/11072025/04/43/image_11072025_04_43_01_9796.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/04/52/image_11072025_04_52_02_1078.jpg
/home/pi/Desktop/images/11072025/04/48/image_11072025_04_48_02_1136.jpg
/home/pi/Desktop/images/11072025/04/46/image_11072025_04_46_01_6402.jpg
/home/pi/Desktop/images/11072025/04/45/image_11072025_04_45_01_7730.jpg
/home/pi/Desktop/images/11072025/04/44/image_11072025_04_44_01_6373.jpg
/home/pi/Desktop/images/11072025/04/43/image_11072025_04_43_01_9796.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.909892559051514 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 04:54:04.960538
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/04/53/image_11072025_04_53_01_8452.jpg', 2), ('/home/pi/Desktop/images/11072025/04/52/image_11072025_04_52_02_1078.jpg', 2), ('/home/pi/Desktop/images/11072025/04/48/image_11072025_04_48_02_1136.jpg', 2), ('/home/pi/Desktop/images/11072025/04/46/image_11072025_04_46_01_6402.jpg', 2), ('/home/pi/Desktop/images/11072025/04/45/image_11072025_04_45_01_7730.jpg', 2), ('/home/pi/Desktop/images/11072025/04/44/image_11072025_04_44_01_6373.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/04/53/image_11072025_04_53_01_8452.jpg', '/home/pi/Desktop/images/11072025/04/52/image_11072025_04_52_02_1078.jpg', '/home/pi/Desktop/images/11072025/04/48/image_11072025_04_48_02_1136.jpg', '/home/pi/Desktop/images/11072025/04/46/image_11072025_04_46_01_6402.jpg', '/home/pi/Desktop/images/11072025/04/45/image_11072025_04_45_01_7730.jpg', '/home/pi/Desktop/images/11072025/04/44/image_11072025_04_44_01_6373.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/04/53/image_11072025_04_53_01_8452.jpg
/home/pi/Desktop/images/11072025/04/52/image_11072025_04_52_02_1078.jpg
/home/pi/Desktop/images/11072025/04/48/image_11072025_04_48_02_1136.jpg
/home/pi/Desktop/images/11072025/04/46/image_11072025_04_46_01_6402.jpg
/home/pi/Desktop/images/11072025/04/45/image_11072025_04_45_01_7730.jpg
/home/pi/Desktop/images/11072025/04/44/image_11072025_04_44_01_6373.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.739911794662476 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 04:55:05.367781
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/04/53/image_11072025_04_53_01_8452.jpg', 2), ('/home/pi/Desktop/images/11072025/04/52/image_11072025_04_52_02_1078.jpg', 2), ('/home/pi/Desktop/images/11072025/04/48/image_11072025_04_48_02_1136.jpg', 2), ('/home/pi/Desktop/images/11072025/04/46/image_11072025_04_46_01_6402.jpg', 2), ('/home/pi/Desktop/images/11072025/04/45/image_11072025_04_45_01_7730.jpg', 2), ('/home/pi/Desktop/images/11072025/04/44/image_11072025_04_44_01_6373.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/04/53/image_11072025_04_53_01_8452.jpg', '/home/pi/Desktop/images/11072025/04/52/image_11072025_04_52_02_1078.jpg', '/home/pi/Desktop/images/11072025/04/48/image_11072025_04_48_02_1136.jpg', '/home/pi/Desktop/images/11072025/04/46/image_11072025_04_46_01_6402.jpg', '/home/pi/Desktop/images/11072025/04/45/image_11072025_04_45_01_7730.jpg', '/home/pi/Desktop/images/11072025/04/44/image_11072025_04_44_01_6373.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/04/53/image_11072025_04_53_01_8452.jpg
/home/pi/Desktop/images/11072025/04/52/image_11072025_04_52_02_1078.jpg
/home/pi/Desktop/images/11072025/04/48/image_11072025_04_48_02_1136.jpg
/home/pi/Desktop/images/11072025/04/46/image_11072025_04_46_01_6402.jpg
/home/pi/Desktop/images/11072025/04/45/image_11072025_04_45_01_7730.jpg
/home/pi/Desktop/images/11072025/04/44/image_11072025_04_44_01_6373.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.57500338554382 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 04:56:05.375380
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/04/53/image_11072025_04_53_01_8452.jpg', 2), ('/home/pi/Desktop/images/11072025/04/52/image_11072025_04_52_02_1078.jpg', 2), ('/home/pi/Desktop/images/11072025/04/48/image_11072025_04_48_02_1136.jpg', 2), ('/home/pi/Desktop/images/11072025/04/46/image_11072025_04_46_01_6402.jpg', 2), ('/home/pi/Desktop/images/11072025/04/45/image_11072025_04_45_01_7730.jpg', 2), ('/home/pi/Desktop/images/11072025/04/44/image_11072025_04_44_01_6373.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/04/53/image_11072025_04_53_01_8452.jpg', '/home/pi/Desktop/images/11072025/04/52/image_11072025_04_52_02_1078.jpg', '/home/pi/Desktop/images/11072025/04/48/image_11072025_04_48_02_1136.jpg', '/home/pi/Desktop/images/11072025/04/46/image_11072025_04_46_01_6402.jpg', '/home/pi/Desktop/images/11072025/04/45/image_11072025_04_45_01_7730.jpg', '/home/pi/Desktop/images/11072025/04/44/image_11072025_04_44_01_6373.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/04/53/image_11072025_04_53_01_8452.jpg
/home/pi/Desktop/images/11072025/04/52/image_11072025_04_52_02_1078.jpg
/home/pi/Desktop/images/11072025/04/48/image_11072025_04_48_02_1136.jpg
/home/pi/Desktop/images/11072025/04/46/image_11072025_04_46_01_6402.jpg
/home/pi/Desktop/images/11072025/04/45/image_11072025_04_45_01_7730.jpg
/home/pi/Desktop/images/11072025/04/44/image_11072025_04_44_01_6373.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.659318923950195 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 04:57:05.679595
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/04/53/image_11072025_04_53_01_8452.jpg', 2), ('/home/pi/Desktop/images/11072025/04/52/image_11072025_04_52_02_1078.jpg', 2), ('/home/pi/Desktop/images/11072025/04/48/image_11072025_04_48_02_1136.jpg', 2), ('/home/pi/Desktop/images/11072025/04/46/image_11072025_04_46_01_6402.jpg', 2), ('/home/pi/Desktop/images/11072025/04/45/image_11072025_04_45_01_7730.jpg', 2), ('/home/pi/Desktop/images/11072025/04/44/image_11072025_04_44_01_6373.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/04/53/image_11072025_04_53_01_8452.jpg', '/home/pi/Desktop/images/11072025/04/52/image_11072025_04_52_02_1078.jpg', '/home/pi/Desktop/images/11072025/04/48/image_11072025_04_48_02_1136.jpg', '/home/pi/Desktop/images/11072025/04/46/image_11072025_04_46_01_6402.jpg', '/home/pi/Desktop/images/11072025/04/45/image_11072025_04_45_01_7730.jpg', '/home/pi/Desktop/images/11072025/04/44/image_11072025_04_44_01_6373.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/04/53/image_11072025_04_53_01_8452.jpg
/home/pi/Desktop/images/11072025/04/52/image_11072025_04_52_02_1078.jpg
/home/pi/Desktop/images/11072025/04/48/image_11072025_04_48_02_1136.jpg
/home/pi/Desktop/images/11072025/04/46/image_11072025_04_46_01_6402.jpg
/home/pi/Desktop/images/11072025/04/45/image_11072025_04_45_01_7730.jpg
/home/pi/Desktop/images/11072025/04/44/image_11072025_04_44_01_6373.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.478482246398926 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 04:59:04.765274
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/04/53/image_11072025_04_53_01_8452.jpg', 2), ('/home/pi/Desktop/images/11072025/04/52/image_11072025_04_52_02_1078.jpg', 2), ('/home/pi/Desktop/images/11072025/04/48/image_11072025_04_48_02_1136.jpg', 2), ('/home/pi/Desktop/images/11072025/04/46/image_11072025_04_46_01_6402.jpg', 2), ('/home/pi/Desktop/images/11072025/04/45/image_11072025_04_45_01_7730.jpg', 2), ('/home/pi/Desktop/images/11072025/04/44/image_11072025_04_44_01_6373.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/04/53/image_11072025_04_53_01_8452.jpg', '/home/pi/Desktop/images/11072025/04/52/image_11072025_04_52_02_1078.jpg', '/home/pi/Desktop/images/11072025/04/48/image_11072025_04_48_02_1136.jpg', '/home/pi/Desktop/images/11072025/04/46/image_11072025_04_46_01_6402.jpg', '/home/pi/Desktop/images/11072025/04/45/image_11072025_04_45_01_7730.jpg', '/home/pi/Desktop/images/11072025/04/44/image_11072025_04_44_01_6373.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/04/53/image_11072025_04_53_01_8452.jpg
/home/pi/Desktop/images/11072025/04/52/image_11072025_04_52_02_1078.jpg
/home/pi/Desktop/images/11072025/04/48/image_11072025_04_48_02_1136.jpg
/home/pi/Desktop/images/11072025/04/46/image_11072025_04_46_01_6402.jpg
/home/pi/Desktop/images/11072025/04/45/image_11072025_04_45_01_7730.jpg
/home/pi/Desktop/images/11072025/04/44/image_11072025_04_44_01_6373.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.66152286529541 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 05:00:04.277960
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/04/53/image_11072025_04_53_01_8452.jpg', 2), ('/home/pi/Desktop/images/11072025/04/52/image_11072025_04_52_02_1078.jpg', 2), ('/home/pi/Desktop/images/11072025/04/48/image_11072025_04_48_02_1136.jpg', 2), ('/home/pi/Desktop/images/11072025/04/46/image_11072025_04_46_01_6402.jpg', 2), ('/home/pi/Desktop/images/11072025/04/45/image_11072025_04_45_01_7730.jpg', 2), ('/home/pi/Desktop/images/11072025/04/44/image_11072025_04_44_01_6373.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/04/53/image_11072025_04_53_01_8452.jpg', '/home/pi/Desktop/images/11072025/04/52/image_11072025_04_52_02_1078.jpg', '/home/pi/Desktop/images/11072025/04/48/image_11072025_04_48_02_1136.jpg', '/home/pi/Desktop/images/11072025/04/46/image_11072025_04_46_01_6402.jpg', '/home/pi/Desktop/images/11072025/04/45/image_11072025_04_45_01_7730.jpg', '/home/pi/Desktop/images/11072025/04/44/image_11072025_04_44_01_6373.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/04/53/image_11072025_04_53_01_8452.jpg
/home/pi/Desktop/images/11072025/04/52/image_11072025_04_52_02_1078.jpg
/home/pi/Desktop/images/11072025/04/48/image_11072025_04_48_02_1136.jpg
/home/pi/Desktop/images/11072025/04/46/image_11072025_04_46_01_6402.jpg
/home/pi/Desktop/images/11072025/04/45/image_11072025_04_45_01_7730.jpg
/home/pi/Desktop/images/11072025/04/44/image_11072025_04_44_01_6373.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 32.232073068618774 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 05:01:05.287653
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/04/53/image_11072025_04_53_01_8452.jpg', 2), ('/home/pi/Desktop/images/11072025/04/52/image_11072025_04_52_02_1078.jpg', 2), ('/home/pi/Desktop/images/11072025/04/48/image_11072025_04_48_02_1136.jpg', 2), ('/home/pi/Desktop/images/11072025/04/46/image_11072025_04_46_01_6402.jpg', 2), ('/home/pi/Desktop/images/11072025/04/45/image_11072025_04_45_01_7730.jpg', 2), ('/home/pi/Desktop/images/11072025/04/44/image_11072025_04_44_01_6373.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/04/53/image_11072025_04_53_01_8452.jpg', '/home/pi/Desktop/images/11072025/04/52/image_11072025_04_52_02_1078.jpg', '/home/pi/Desktop/images/11072025/04/48/image_11072025_04_48_02_1136.jpg', '/home/pi/Desktop/images/11072025/04/46/image_11072025_04_46_01_6402.jpg', '/home/pi/Desktop/images/11072025/04/45/image_11072025_04_45_01_7730.jpg', '/home/pi/Desktop/images/11072025/04/44/image_11072025_04_44_01_6373.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/04/53/image_11072025_04_53_01_8452.jpg
/home/pi/Desktop/images/11072025/04/52/image_11072025_04_52_02_1078.jpg
/home/pi/Desktop/images/11072025/04/48/image_11072025_04_48_02_1136.jpg
/home/pi/Desktop/images/11072025/04/46/image_11072025_04_46_01_6402.jpg
/home/pi/Desktop/images/11072025/04/45/image_11072025_04_45_01_7730.jpg
/home/pi/Desktop/images/11072025/04/44/image_11072025_04_44_01_6373.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.32015538215637 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 05:02:02.885386
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/04/53/image_11072025_04_53_01_8452.jpg', 2), ('/home/pi/Desktop/images/11072025/04/52/image_11072025_04_52_02_1078.jpg', 2), ('/home/pi/Desktop/images/11072025/04/48/image_11072025_04_48_02_1136.jpg', 2), ('/home/pi/Desktop/images/11072025/04/46/image_11072025_04_46_01_6402.jpg', 2), ('/home/pi/Desktop/images/11072025/04/45/image_11072025_04_45_01_7730.jpg', 2), ('/home/pi/Desktop/images/11072025/04/44/image_11072025_04_44_01_6373.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/04/53/image_11072025_04_53_01_8452.jpg', '/home/pi/Desktop/images/11072025/04/52/image_11072025_04_52_02_1078.jpg', '/home/pi/Desktop/images/11072025/04/48/image_11072025_04_48_02_1136.jpg', '/home/pi/Desktop/images/11072025/04/46/image_11072025_04_46_01_6402.jpg', '/home/pi/Desktop/images/11072025/04/45/image_11072025_04_45_01_7730.jpg', '/home/pi/Desktop/images/11072025/04/44/image_11072025_04_44_01_6373.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/04/53/image_11072025_04_53_01_8452.jpg
/home/pi/Desktop/images/11072025/04/52/image_11072025_04_52_02_1078.jpg
/home/pi/Desktop/images/11072025/04/48/image_11072025_04_48_02_1136.jpg
/home/pi/Desktop/images/11072025/04/46/image_11072025_04_46_01_6402.jpg
/home/pi/Desktop/images/11072025/04/45/image_11072025_04_45_01_7730.jpg
/home/pi/Desktop/images/11072025/04/44/image_11072025_04_44_01_6373.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 31.865976095199585 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 05:03:06.119163
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/04/53/image_11072025_04_53_01_8452.jpg', 2), ('/home/pi/Desktop/images/11072025/04/52/image_11072025_04_52_02_1078.jpg', 2), ('/home/pi/Desktop/images/11072025/04/48/image_11072025_04_48_02_1136.jpg', 2), ('/home/pi/Desktop/images/11072025/04/46/image_11072025_04_46_01_6402.jpg', 2), ('/home/pi/Desktop/images/11072025/04/45/image_11072025_04_45_01_7730.jpg', 2), ('/home/pi/Desktop/images/11072025/04/44/image_11072025_04_44_01_6373.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/04/53/image_11072025_04_53_01_8452.jpg', '/home/pi/Desktop/images/11072025/04/52/image_11072025_04_52_02_1078.jpg', '/home/pi/Desktop/images/11072025/04/48/image_11072025_04_48_02_1136.jpg', '/home/pi/Desktop/images/11072025/04/46/image_11072025_04_46_01_6402.jpg', '/home/pi/Desktop/images/11072025/04/45/image_11072025_04_45_01_7730.jpg', '/home/pi/Desktop/images/11072025/04/44/image_11072025_04_44_01_6373.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/04/53/image_11072025_04_53_01_8452.jpg
/home/pi/Desktop/images/11072025/04/52/image_11072025_04_52_02_1078.jpg
/home/pi/Desktop/images/11072025/04/48/image_11072025_04_48_02_1136.jpg
/home/pi/Desktop/images/11072025/04/46/image_11072025_04_46_01_6402.jpg
/home/pi/Desktop/images/11072025/04/45/image_11072025_04_45_01_7730.jpg
/home/pi/Desktop/images/11072025/04/44/image_11072025_04_44_01_6373.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.80980920791626 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 05:04:05.366671
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/04/53/image_11072025_04_53_01_8452.jpg', 2), ('/home/pi/Desktop/images/11072025/04/52/image_11072025_04_52_02_1078.jpg', 2), ('/home/pi/Desktop/images/11072025/04/48/image_11072025_04_48_02_1136.jpg', 2), ('/home/pi/Desktop/images/11072025/04/46/image_11072025_04_46_01_6402.jpg', 2), ('/home/pi/Desktop/images/11072025/04/45/image_11072025_04_45_01_7730.jpg', 2), ('/home/pi/Desktop/images/11072025/04/44/image_11072025_04_44_01_6373.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/04/53/image_11072025_04_53_01_8452.jpg', '/home/pi/Desktop/images/11072025/04/52/image_11072025_04_52_02_1078.jpg', '/home/pi/Desktop/images/11072025/04/48/image_11072025_04_48_02_1136.jpg', '/home/pi/Desktop/images/11072025/04/46/image_11072025_04_46_01_6402.jpg', '/home/pi/Desktop/images/11072025/04/45/image_11072025_04_45_01_7730.jpg', '/home/pi/Desktop/images/11072025/04/44/image_11072025_04_44_01_6373.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/04/53/image_11072025_04_53_01_8452.jpg
/home/pi/Desktop/images/11072025/04/52/image_11072025_04_52_02_1078.jpg
/home/pi/Desktop/images/11072025/04/48/image_11072025_04_48_02_1136.jpg
/home/pi/Desktop/images/11072025/04/46/image_11072025_04_46_01_6402.jpg
/home/pi/Desktop/images/11072025/04/45/image_11072025_04_45_01_7730.jpg
/home/pi/Desktop/images/11072025/04/44/image_11072025_04_44_01_6373.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.65022110939026 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 05:05:05.748758
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/04/54/image_11072025_04_54_01_7226.jpg', 2), ('/home/pi/Desktop/images/11072025/04/53/image_11072025_04_53_01_8452.jpg', 2), ('/home/pi/Desktop/images/11072025/04/52/image_11072025_04_52_02_1078.jpg', 2), ('/home/pi/Desktop/images/11072025/04/48/image_11072025_04_48_02_1136.jpg', 2), ('/home/pi/Desktop/images/11072025/04/46/image_11072025_04_46_01_6402.jpg', 2), ('/home/pi/Desktop/images/11072025/04/45/image_11072025_04_45_01_7730.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/04/54/image_11072025_04_54_01_7226.jpg', '/home/pi/Desktop/images/11072025/04/53/image_11072025_04_53_01_8452.jpg', '/home/pi/Desktop/images/11072025/04/52/image_11072025_04_52_02_1078.jpg', '/home/pi/Desktop/images/11072025/04/48/image_11072025_04_48_02_1136.jpg', '/home/pi/Desktop/images/11072025/04/46/image_11072025_04_46_01_6402.jpg', '/home/pi/Desktop/images/11072025/04/45/image_11072025_04_45_01_7730.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/04/54/image_11072025_04_54_01_7226.jpg
/home/pi/Desktop/images/11072025/04/53/image_11072025_04_53_01_8452.jpg
/home/pi/Desktop/images/11072025/04/52/image_11072025_04_52_02_1078.jpg
/home/pi/Desktop/images/11072025/04/48/image_11072025_04_48_02_1136.jpg
/home/pi/Desktop/images/11072025/04/46/image_11072025_04_46_01_6402.jpg
/home/pi/Desktop/images/11072025/04/45/image_11072025_04_45_01_7730.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.378021001815796 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 05:06:06.006015
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/05/05/image_11072025_05_05_01_4561.jpg', 2), ('/home/pi/Desktop/images/11072025/04/54/image_11072025_04_54_01_7226.jpg', 2), ('/home/pi/Desktop/images/11072025/04/53/image_11072025_04_53_01_8452.jpg', 2), ('/home/pi/Desktop/images/11072025/04/52/image_11072025_04_52_02_1078.jpg', 2), ('/home/pi/Desktop/images/11072025/04/48/image_11072025_04_48_02_1136.jpg', 2), ('/home/pi/Desktop/images/11072025/04/46/image_11072025_04_46_01_6402.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/05/05/image_11072025_05_05_01_4561.jpg', '/home/pi/Desktop/images/11072025/04/54/image_11072025_04_54_01_7226.jpg', '/home/pi/Desktop/images/11072025/04/53/image_11072025_04_53_01_8452.jpg', '/home/pi/Desktop/images/11072025/04/52/image_11072025_04_52_02_1078.jpg', '/home/pi/Desktop/images/11072025/04/48/image_11072025_04_48_02_1136.jpg', '/home/pi/Desktop/images/11072025/04/46/image_11072025_04_46_01_6402.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/05/05/image_11072025_05_05_01_4561.jpg
/home/pi/Desktop/images/11072025/04/54/image_11072025_04_54_01_7226.jpg
/home/pi/Desktop/images/11072025/04/53/image_11072025_04_53_01_8452.jpg
/home/pi/Desktop/images/11072025/04/52/image_11072025_04_52_02_1078.jpg
/home/pi/Desktop/images/11072025/04/48/image_11072025_04_48_02_1136.jpg
/home/pi/Desktop/images/11072025/04/46/image_11072025_04_46_01_6402.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.34861636161804 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 05:07:05.271006
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/05/06/image_11072025_05_06_01_9435.jpg', 2), ('/home/pi/Desktop/images/11072025/05/05/image_11072025_05_05_01_4561.jpg', 2), ('/home/pi/Desktop/images/11072025/04/54/image_11072025_04_54_01_7226.jpg', 2), ('/home/pi/Desktop/images/11072025/04/53/image_11072025_04_53_01_8452.jpg', 2), ('/home/pi/Desktop/images/11072025/04/52/image_11072025_04_52_02_1078.jpg', 2), ('/home/pi/Desktop/images/11072025/04/48/image_11072025_04_48_02_1136.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/05/06/image_11072025_05_06_01_9435.jpg', '/home/pi/Desktop/images/11072025/05/05/image_11072025_05_05_01_4561.jpg', '/home/pi/Desktop/images/11072025/04/54/image_11072025_04_54_01_7226.jpg', '/home/pi/Desktop/images/11072025/04/53/image_11072025_04_53_01_8452.jpg', '/home/pi/Desktop/images/11072025/04/52/image_11072025_04_52_02_1078.jpg', '/home/pi/Desktop/images/11072025/04/48/image_11072025_04_48_02_1136.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/05/06/image_11072025_05_06_01_9435.jpg
/home/pi/Desktop/images/11072025/05/05/image_11072025_05_05_01_4561.jpg
/home/pi/Desktop/images/11072025/04/54/image_11072025_04_54_01_7226.jpg
/home/pi/Desktop/images/11072025/04/53/image_11072025_04_53_01_8452.jpg
/home/pi/Desktop/images/11072025/04/52/image_11072025_04_52_02_1078.jpg
/home/pi/Desktop/images/11072025/04/48/image_11072025_04_48_02_1136.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.23724842071533 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 05:08:05.272180
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/05/06/image_11072025_05_06_01_9435.jpg', 2), ('/home/pi/Desktop/images/11072025/05/05/image_11072025_05_05_01_4561.jpg', 2), ('/home/pi/Desktop/images/11072025/04/54/image_11072025_04_54_01_7226.jpg', 2), ('/home/pi/Desktop/images/11072025/04/53/image_11072025_04_53_01_8452.jpg', 2), ('/home/pi/Desktop/images/11072025/04/52/image_11072025_04_52_02_1078.jpg', 2), ('/home/pi/Desktop/images/11072025/04/48/image_11072025_04_48_02_1136.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/05/06/image_11072025_05_06_01_9435.jpg', '/home/pi/Desktop/images/11072025/05/05/image_11072025_05_05_01_4561.jpg', '/home/pi/Desktop/images/11072025/04/54/image_11072025_04_54_01_7226.jpg', '/home/pi/Desktop/images/11072025/04/53/image_11072025_04_53_01_8452.jpg', '/home/pi/Desktop/images/11072025/04/52/image_11072025_04_52_02_1078.jpg', '/home/pi/Desktop/images/11072025/04/48/image_11072025_04_48_02_1136.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/05/06/image_11072025_05_06_01_9435.jpg
/home/pi/Desktop/images/11072025/05/05/image_11072025_05_05_01_4561.jpg
/home/pi/Desktop/images/11072025/04/54/image_11072025_04_54_01_7226.jpg
/home/pi/Desktop/images/11072025/04/53/image_11072025_04_53_01_8452.jpg
/home/pi/Desktop/images/11072025/04/52/image_11072025_04_52_02_1078.jpg
/home/pi/Desktop/images/11072025/04/48/image_11072025_04_48_02_1136.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.39342641830444 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 05:09:05.667366
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/05/06/image_11072025_05_06_01_9435.jpg', 2), ('/home/pi/Desktop/images/11072025/05/05/image_11072025_05_05_01_4561.jpg', 2), ('/home/pi/Desktop/images/11072025/04/54/image_11072025_04_54_01_7226.jpg', 2), ('/home/pi/Desktop/images/11072025/04/53/image_11072025_04_53_01_8452.jpg', 2), ('/home/pi/Desktop/images/11072025/04/52/image_11072025_04_52_02_1078.jpg', 2), ('/home/pi/Desktop/images/11072025/04/48/image_11072025_04_48_02_1136.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/05/06/image_11072025_05_06_01_9435.jpg', '/home/pi/Desktop/images/11072025/05/05/image_11072025_05_05_01_4561.jpg', '/home/pi/Desktop/images/11072025/04/54/image_11072025_04_54_01_7226.jpg', '/home/pi/Desktop/images/11072025/04/53/image_11072025_04_53_01_8452.jpg', '/home/pi/Desktop/images/11072025/04/52/image_11072025_04_52_02_1078.jpg', '/home/pi/Desktop/images/11072025/04/48/image_11072025_04_48_02_1136.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/05/06/image_11072025_05_06_01_9435.jpg
/home/pi/Desktop/images/11072025/05/05/image_11072025_05_05_01_4561.jpg
/home/pi/Desktop/images/11072025/04/54/image_11072025_04_54_01_7226.jpg
/home/pi/Desktop/images/11072025/04/53/image_11072025_04_53_01_8452.jpg
/home/pi/Desktop/images/11072025/04/52/image_11072025_04_52_02_1078.jpg
/home/pi/Desktop/images/11072025/04/48/image_11072025_04_48_02_1136.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 34.170002460479736 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 05:10:03.334294
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/05/10/image_11072025_05_10_02_0578.jpg', 2), ('/home/pi/Desktop/images/11072025/05/06/image_11072025_05_06_01_9435.jpg', 2), ('/home/pi/Desktop/images/11072025/05/05/image_11072025_05_05_01_4561.jpg', 2), ('/home/pi/Desktop/images/11072025/04/54/image_11072025_04_54_01_7226.jpg', 2), ('/home/pi/Desktop/images/11072025/04/53/image_11072025_04_53_01_8452.jpg', 2), ('/home/pi/Desktop/images/11072025/04/52/image_11072025_04_52_02_1078.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/05/10/image_11072025_05_10_02_0578.jpg', '/home/pi/Desktop/images/11072025/05/06/image_11072025_05_06_01_9435.jpg', '/home/pi/Desktop/images/11072025/05/05/image_11072025_05_05_01_4561.jpg', '/home/pi/Desktop/images/11072025/04/54/image_11072025_04_54_01_7226.jpg', '/home/pi/Desktop/images/11072025/04/53/image_11072025_04_53_01_8452.jpg', '/home/pi/Desktop/images/11072025/04/52/image_11072025_04_52_02_1078.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/05/10/image_11072025_05_10_02_0578.jpg
/home/pi/Desktop/images/11072025/05/06/image_11072025_05_06_01_9435.jpg
/home/pi/Desktop/images/11072025/05/05/image_11072025_05_05_01_4561.jpg
/home/pi/Desktop/images/11072025/04/54/image_11072025_04_54_01_7226.jpg
/home/pi/Desktop/images/11072025/04/53/image_11072025_04_53_01_8452.jpg
/home/pi/Desktop/images/11072025/04/52/image_11072025_04_52_02_1078.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 31.675809860229492 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 05:11:05.558913
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/05/10/image_11072025_05_10_02_0578.jpg', 2), ('/home/pi/Desktop/images/11072025/05/06/image_11072025_05_06_01_9435.jpg', 2), ('/home/pi/Desktop/images/11072025/05/05/image_11072025_05_05_01_4561.jpg', 2), ('/home/pi/Desktop/images/11072025/04/54/image_11072025_04_54_01_7226.jpg', 2), ('/home/pi/Desktop/images/11072025/04/53/image_11072025_04_53_01_8452.jpg', 2), ('/home/pi/Desktop/images/11072025/04/52/image_11072025_04_52_02_1078.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/05/10/image_11072025_05_10_02_0578.jpg', '/home/pi/Desktop/images/11072025/05/06/image_11072025_05_06_01_9435.jpg', '/home/pi/Desktop/images/11072025/05/05/image_11072025_05_05_01_4561.jpg', '/home/pi/Desktop/images/11072025/04/54/image_11072025_04_54_01_7226.jpg', '/home/pi/Desktop/images/11072025/04/53/image_11072025_04_53_01_8452.jpg', '/home/pi/Desktop/images/11072025/04/52/image_11072025_04_52_02_1078.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/05/10/image_11072025_05_10_02_0578.jpg
/home/pi/Desktop/images/11072025/05/06/image_11072025_05_06_01_9435.jpg
/home/pi/Desktop/images/11072025/05/05/image_11072025_05_05_01_4561.jpg
/home/pi/Desktop/images/11072025/04/54/image_11072025_04_54_01_7226.jpg
/home/pi/Desktop/images/11072025/04/53/image_11072025_04_53_01_8452.jpg
/home/pi/Desktop/images/11072025/04/52/image_11072025_04_52_02_1078.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.5379524230957 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 05:12:04.808375
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/05/10/image_11072025_05_10_02_0578.jpg', 2), ('/home/pi/Desktop/images/11072025/05/07/image_11072025_05_07_02_2767.jpg', 2), ('/home/pi/Desktop/images/11072025/05/06/image_11072025_05_06_01_9435.jpg', 2), ('/home/pi/Desktop/images/11072025/05/05/image_11072025_05_05_01_4561.jpg', 2), ('/home/pi/Desktop/images/11072025/04/54/image_11072025_04_54_01_7226.jpg', 2), ('/home/pi/Desktop/images/11072025/04/53/image_11072025_04_53_01_8452.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/05/10/image_11072025_05_10_02_0578.jpg', '/home/pi/Desktop/images/11072025/05/07/image_11072025_05_07_02_2767.jpg', '/home/pi/Desktop/images/11072025/05/06/image_11072025_05_06_01_9435.jpg', '/home/pi/Desktop/images/11072025/05/05/image_11072025_05_05_01_4561.jpg', '/home/pi/Desktop/images/11072025/04/54/image_11072025_04_54_01_7226.jpg', '/home/pi/Desktop/images/11072025/04/53/image_11072025_04_53_01_8452.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/05/10/image_11072025_05_10_02_0578.jpg
/home/pi/Desktop/images/11072025/05/07/image_11072025_05_07_02_2767.jpg
/home/pi/Desktop/images/11072025/05/06/image_11072025_05_06_01_9435.jpg
/home/pi/Desktop/images/11072025/05/05/image_11072025_05_05_01_4561.jpg
/home/pi/Desktop/images/11072025/04/54/image_11072025_04_54_01_7226.jpg
/home/pi/Desktop/images/11072025/04/53/image_11072025_04_53_01_8452.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.528512477874756 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 05:13:05.715189
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/05/12/image_11072025_05_12_01_9384.jpg', 2), ('/home/pi/Desktop/images/11072025/05/10/image_11072025_05_10_02_0578.jpg', 2), ('/home/pi/Desktop/images/11072025/05/07/image_11072025_05_07_02_2767.jpg', 2), ('/home/pi/Desktop/images/11072025/05/06/image_11072025_05_06_01_9435.jpg', 2), ('/home/pi/Desktop/images/11072025/05/05/image_11072025_05_05_01_4561.jpg', 2), ('/home/pi/Desktop/images/11072025/04/54/image_11072025_04_54_01_7226.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/05/12/image_11072025_05_12_01_9384.jpg', '/home/pi/Desktop/images/11072025/05/10/image_11072025_05_10_02_0578.jpg', '/home/pi/Desktop/images/11072025/05/07/image_11072025_05_07_02_2767.jpg', '/home/pi/Desktop/images/11072025/05/06/image_11072025_05_06_01_9435.jpg', '/home/pi/Desktop/images/11072025/05/05/image_11072025_05_05_01_4561.jpg', '/home/pi/Desktop/images/11072025/04/54/image_11072025_04_54_01_7226.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/05/12/image_11072025_05_12_01_9384.jpg
/home/pi/Desktop/images/11072025/05/10/image_11072025_05_10_02_0578.jpg
/home/pi/Desktop/images/11072025/05/07/image_11072025_05_07_02_2767.jpg
/home/pi/Desktop/images/11072025/05/06/image_11072025_05_06_01_9435.jpg
/home/pi/Desktop/images/11072025/05/05/image_11072025_05_05_01_4561.jpg
/home/pi/Desktop/images/11072025/04/54/image_11072025_04_54_01_7226.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.7326545715332 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 05:14:05.600045
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/05/13/image_11072025_05_13_01_5426.jpg', 2), ('/home/pi/Desktop/images/11072025/05/12/image_11072025_05_12_01_9384.jpg', 2), ('/home/pi/Desktop/images/11072025/05/10/image_11072025_05_10_02_0578.jpg', 2), ('/home/pi/Desktop/images/11072025/05/07/image_11072025_05_07_02_2767.jpg', 2), ('/home/pi/Desktop/images/11072025/05/06/image_11072025_05_06_01_9435.jpg', 2), ('/home/pi/Desktop/images/11072025/05/05/image_11072025_05_05_01_4561.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/05/13/image_11072025_05_13_01_5426.jpg', '/home/pi/Desktop/images/11072025/05/12/image_11072025_05_12_01_9384.jpg', '/home/pi/Desktop/images/11072025/05/10/image_11072025_05_10_02_0578.jpg', '/home/pi/Desktop/images/11072025/05/07/image_11072025_05_07_02_2767.jpg', '/home/pi/Desktop/images/11072025/05/06/image_11072025_05_06_01_9435.jpg', '/home/pi/Desktop/images/11072025/05/05/image_11072025_05_05_01_4561.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/05/13/image_11072025_05_13_01_5426.jpg
/home/pi/Desktop/images/11072025/05/12/image_11072025_05_12_01_9384.jpg
/home/pi/Desktop/images/11072025/05/10/image_11072025_05_10_02_0578.jpg
/home/pi/Desktop/images/11072025/05/07/image_11072025_05_07_02_2767.jpg
/home/pi/Desktop/images/11072025/05/06/image_11072025_05_06_01_9435.jpg
/home/pi/Desktop/images/11072025/05/05/image_11072025_05_05_01_4561.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 32.94145202636719 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 05:15:06.242773
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/05/14/image_11072025_05_14_01_8839.jpg', 2), ('/home/pi/Desktop/images/11072025/05/13/image_11072025_05_13_01_5426.jpg', 2), ('/home/pi/Desktop/images/11072025/05/12/image_11072025_05_12_01_9384.jpg', 2), ('/home/pi/Desktop/images/11072025/05/10/image_11072025_05_10_02_0578.jpg', 2), ('/home/pi/Desktop/images/11072025/05/07/image_11072025_05_07_02_2767.jpg', 2), ('/home/pi/Desktop/images/11072025/05/06/image_11072025_05_06_01_9435.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/05/14/image_11072025_05_14_01_8839.jpg', '/home/pi/Desktop/images/11072025/05/13/image_11072025_05_13_01_5426.jpg', '/home/pi/Desktop/images/11072025/05/12/image_11072025_05_12_01_9384.jpg', '/home/pi/Desktop/images/11072025/05/10/image_11072025_05_10_02_0578.jpg', '/home/pi/Desktop/images/11072025/05/07/image_11072025_05_07_02_2767.jpg', '/home/pi/Desktop/images/11072025/05/06/image_11072025_05_06_01_9435.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/05/14/image_11072025_05_14_01_8839.jpg
/home/pi/Desktop/images/11072025/05/13/image_11072025_05_13_01_5426.jpg
/home/pi/Desktop/images/11072025/05/12/image_11072025_05_12_01_9384.jpg
/home/pi/Desktop/images/11072025/05/10/image_11072025_05_10_02_0578.jpg
/home/pi/Desktop/images/11072025/05/07/image_11072025_05_07_02_2767.jpg
/home/pi/Desktop/images/11072025/05/06/image_11072025_05_06_01_9435.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.420225620269775 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 05:16:05.002992
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/05/15/image_11072025_05_15_01_8816.jpg', 2), ('/home/pi/Desktop/images/11072025/05/14/image_11072025_05_14_01_8839.jpg', 2), ('/home/pi/Desktop/images/11072025/05/13/image_11072025_05_13_01_5426.jpg', 2), ('/home/pi/Desktop/images/11072025/05/12/image_11072025_05_12_01_9384.jpg', 2), ('/home/pi/Desktop/images/11072025/05/10/image_11072025_05_10_02_0578.jpg', 2), ('/home/pi/Desktop/images/11072025/05/07/image_11072025_05_07_02_2767.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/05/15/image_11072025_05_15_01_8816.jpg', '/home/pi/Desktop/images/11072025/05/14/image_11072025_05_14_01_8839.jpg', '/home/pi/Desktop/images/11072025/05/13/image_11072025_05_13_01_5426.jpg', '/home/pi/Desktop/images/11072025/05/12/image_11072025_05_12_01_9384.jpg', '/home/pi/Desktop/images/11072025/05/10/image_11072025_05_10_02_0578.jpg', '/home/pi/Desktop/images/11072025/05/07/image_11072025_05_07_02_2767.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/05/15/image_11072025_05_15_01_8816.jpg
/home/pi/Desktop/images/11072025/05/14/image_11072025_05_14_01_8839.jpg
/home/pi/Desktop/images/11072025/05/13/image_11072025_05_13_01_5426.jpg
/home/pi/Desktop/images/11072025/05/12/image_11072025_05_12_01_9384.jpg
/home/pi/Desktop/images/11072025/05/10/image_11072025_05_10_02_0578.jpg
/home/pi/Desktop/images/11072025/05/07/image_11072025_05_07_02_2767.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 32.99728989601135 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 05:17:05.547326
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/05/16/image_11072025_05_16_02_0779.jpg', 2), ('/home/pi/Desktop/images/11072025/05/15/image_11072025_05_15_01_8816.jpg', 2), ('/home/pi/Desktop/images/11072025/05/14/image_11072025_05_14_01_8839.jpg', 2), ('/home/pi/Desktop/images/11072025/05/13/image_11072025_05_13_01_5426.jpg', 2), ('/home/pi/Desktop/images/11072025/05/12/image_11072025_05_12_01_9384.jpg', 2), ('/home/pi/Desktop/images/11072025/05/10/image_11072025_05_10_02_0578.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/05/16/image_11072025_05_16_02_0779.jpg', '/home/pi/Desktop/images/11072025/05/15/image_11072025_05_15_01_8816.jpg', '/home/pi/Desktop/images/11072025/05/14/image_11072025_05_14_01_8839.jpg', '/home/pi/Desktop/images/11072025/05/13/image_11072025_05_13_01_5426.jpg', '/home/pi/Desktop/images/11072025/05/12/image_11072025_05_12_01_9384.jpg', '/home/pi/Desktop/images/11072025/05/10/image_11072025_05_10_02_0578.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/05/16/image_11072025_05_16_02_0779.jpg
/home/pi/Desktop/images/11072025/05/15/image_11072025_05_15_01_8816.jpg
/home/pi/Desktop/images/11072025/05/14/image_11072025_05_14_01_8839.jpg
/home/pi/Desktop/images/11072025/05/13/image_11072025_05_13_01_5426.jpg
/home/pi/Desktop/images/11072025/05/12/image_11072025_05_12_01_9384.jpg
/home/pi/Desktop/images/11072025/05/10/image_11072025_05_10_02_0578.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 34.59524917602539 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 05:18:04.721522
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/05/16/image_11072025_05_16_02_0779.jpg', 2), ('/home/pi/Desktop/images/11072025/05/15/image_11072025_05_15_01_8816.jpg', 2), ('/home/pi/Desktop/images/11072025/05/14/image_11072025_05_14_01_8839.jpg', 2), ('/home/pi/Desktop/images/11072025/05/13/image_11072025_05_13_01_5426.jpg', 2), ('/home/pi/Desktop/images/11072025/05/12/image_11072025_05_12_01_9384.jpg', 2), ('/home/pi/Desktop/images/11072025/05/10/image_11072025_05_10_02_0578.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/05/16/image_11072025_05_16_02_0779.jpg', '/home/pi/Desktop/images/11072025/05/15/image_11072025_05_15_01_8816.jpg', '/home/pi/Desktop/images/11072025/05/14/image_11072025_05_14_01_8839.jpg', '/home/pi/Desktop/images/11072025/05/13/image_11072025_05_13_01_5426.jpg', '/home/pi/Desktop/images/11072025/05/12/image_11072025_05_12_01_9384.jpg', '/home/pi/Desktop/images/11072025/05/10/image_11072025_05_10_02_0578.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/05/16/image_11072025_05_16_02_0779.jpg
/home/pi/Desktop/images/11072025/05/15/image_11072025_05_15_01_8816.jpg
/home/pi/Desktop/images/11072025/05/14/image_11072025_05_14_01_8839.jpg
/home/pi/Desktop/images/11072025/05/13/image_11072025_05_13_01_5426.jpg
/home/pi/Desktop/images/11072025/05/12/image_11072025_05_12_01_9384.jpg
/home/pi/Desktop/images/11072025/05/10/image_11072025_05_10_02_0578.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.56469774246216 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 05:19:05.406487
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/05/17/image_11072025_05_17_01_6297.jpg', 2), ('/home/pi/Desktop/images/11072025/05/16/image_11072025_05_16_02_0779.jpg', 2), ('/home/pi/Desktop/images/11072025/05/15/image_11072025_05_15_01_8816.jpg', 2), ('/home/pi/Desktop/images/11072025/05/14/image_11072025_05_14_01_8839.jpg', 2), ('/home/pi/Desktop/images/11072025/05/13/image_11072025_05_13_01_5426.jpg', 2), ('/home/pi/Desktop/images/11072025/05/12/image_11072025_05_12_01_9384.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/05/17/image_11072025_05_17_01_6297.jpg', '/home/pi/Desktop/images/11072025/05/16/image_11072025_05_16_02_0779.jpg', '/home/pi/Desktop/images/11072025/05/15/image_11072025_05_15_01_8816.jpg', '/home/pi/Desktop/images/11072025/05/14/image_11072025_05_14_01_8839.jpg', '/home/pi/Desktop/images/11072025/05/13/image_11072025_05_13_01_5426.jpg', '/home/pi/Desktop/images/11072025/05/12/image_11072025_05_12_01_9384.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/05/17/image_11072025_05_17_01_6297.jpg
/home/pi/Desktop/images/11072025/05/16/image_11072025_05_16_02_0779.jpg
/home/pi/Desktop/images/11072025/05/15/image_11072025_05_15_01_8816.jpg
/home/pi/Desktop/images/11072025/05/14/image_11072025_05_14_01_8839.jpg
/home/pi/Desktop/images/11072025/05/13/image_11072025_05_13_01_5426.jpg
/home/pi/Desktop/images/11072025/05/12/image_11072025_05_12_01_9384.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.13555979728699 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 05:20:03.441460
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/05/17/image_11072025_05_17_01_6297.jpg', 2), ('/home/pi/Desktop/images/11072025/05/16/image_11072025_05_16_02_0779.jpg', 2), ('/home/pi/Desktop/images/11072025/05/15/image_11072025_05_15_01_8816.jpg', 2), ('/home/pi/Desktop/images/11072025/05/14/image_11072025_05_14_01_8839.jpg', 2), ('/home/pi/Desktop/images/11072025/05/13/image_11072025_05_13_01_5426.jpg', 2), ('/home/pi/Desktop/images/11072025/05/12/image_11072025_05_12_01_9384.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/05/17/image_11072025_05_17_01_6297.jpg', '/home/pi/Desktop/images/11072025/05/16/image_11072025_05_16_02_0779.jpg', '/home/pi/Desktop/images/11072025/05/15/image_11072025_05_15_01_8816.jpg', '/home/pi/Desktop/images/11072025/05/14/image_11072025_05_14_01_8839.jpg', '/home/pi/Desktop/images/11072025/05/13/image_11072025_05_13_01_5426.jpg', '/home/pi/Desktop/images/11072025/05/12/image_11072025_05_12_01_9384.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/05/17/image_11072025_05_17_01_6297.jpg
/home/pi/Desktop/images/11072025/05/16/image_11072025_05_16_02_0779.jpg
/home/pi/Desktop/images/11072025/05/15/image_11072025_05_15_01_8816.jpg
/home/pi/Desktop/images/11072025/05/14/image_11072025_05_14_01_8839.jpg
/home/pi/Desktop/images/11072025/05/13/image_11072025_05_13_01_5426.jpg
/home/pi/Desktop/images/11072025/05/12/image_11072025_05_12_01_9384.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 32.22256350517273 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 05:21:06.170358
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/05/19/image_11072025_05_19_01_4353.jpg', 2), ('/home/pi/Desktop/images/11072025/05/17/image_11072025_05_17_01_6297.jpg', 2), ('/home/pi/Desktop/images/11072025/05/16/image_11072025_05_16_02_0779.jpg', 2), ('/home/pi/Desktop/images/11072025/05/15/image_11072025_05_15_01_8816.jpg', 2), ('/home/pi/Desktop/images/11072025/05/14/image_11072025_05_14_01_8839.jpg', 2), ('/home/pi/Desktop/images/11072025/05/13/image_11072025_05_13_01_5426.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/05/19/image_11072025_05_19_01_4353.jpg', '/home/pi/Desktop/images/11072025/05/17/image_11072025_05_17_01_6297.jpg', '/home/pi/Desktop/images/11072025/05/16/image_11072025_05_16_02_0779.jpg', '/home/pi/Desktop/images/11072025/05/15/image_11072025_05_15_01_8816.jpg', '/home/pi/Desktop/images/11072025/05/14/image_11072025_05_14_01_8839.jpg', '/home/pi/Desktop/images/11072025/05/13/image_11072025_05_13_01_5426.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/05/19/image_11072025_05_19_01_4353.jpg
/home/pi/Desktop/images/11072025/05/17/image_11072025_05_17_01_6297.jpg
/home/pi/Desktop/images/11072025/05/16/image_11072025_05_16_02_0779.jpg
/home/pi/Desktop/images/11072025/05/15/image_11072025_05_15_01_8816.jpg
/home/pi/Desktop/images/11072025/05/14/image_11072025_05_14_01_8839.jpg
/home/pi/Desktop/images/11072025/05/13/image_11072025_05_13_01_5426.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.654648303985596 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 05:22:05.395362
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/05/21/image_11072025_05_21_01_8854.jpg', 2), ('/home/pi/Desktop/images/11072025/05/19/image_11072025_05_19_01_4353.jpg', 2), ('/home/pi/Desktop/images/11072025/05/17/image_11072025_05_17_01_6297.jpg', 2), ('/home/pi/Desktop/images/11072025/05/16/image_11072025_05_16_02_0779.jpg', 2), ('/home/pi/Desktop/images/11072025/05/15/image_11072025_05_15_01_8816.jpg', 2), ('/home/pi/Desktop/images/11072025/05/14/image_11072025_05_14_01_8839.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/05/21/image_11072025_05_21_01_8854.jpg', '/home/pi/Desktop/images/11072025/05/19/image_11072025_05_19_01_4353.jpg', '/home/pi/Desktop/images/11072025/05/17/image_11072025_05_17_01_6297.jpg', '/home/pi/Desktop/images/11072025/05/16/image_11072025_05_16_02_0779.jpg', '/home/pi/Desktop/images/11072025/05/15/image_11072025_05_15_01_8816.jpg', '/home/pi/Desktop/images/11072025/05/14/image_11072025_05_14_01_8839.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/05/21/image_11072025_05_21_01_8854.jpg
/home/pi/Desktop/images/11072025/05/19/image_11072025_05_19_01_4353.jpg
/home/pi/Desktop/images/11072025/05/17/image_11072025_05_17_01_6297.jpg
/home/pi/Desktop/images/11072025/05/16/image_11072025_05_16_02_0779.jpg
/home/pi/Desktop/images/11072025/05/15/image_11072025_05_15_01_8816.jpg
/home/pi/Desktop/images/11072025/05/14/image_11072025_05_14_01_8839.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.53977680206299 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 05:23:05.539674
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/05/22/image_11072025_05_22_02_2692.jpg', 2), ('/home/pi/Desktop/images/11072025/05/21/image_11072025_05_21_01_8854.jpg', 2), ('/home/pi/Desktop/images/11072025/05/19/image_11072025_05_19_01_4353.jpg', 2), ('/home/pi/Desktop/images/11072025/05/17/image_11072025_05_17_01_6297.jpg', 2), ('/home/pi/Desktop/images/11072025/05/16/image_11072025_05_16_02_0779.jpg', 2), ('/home/pi/Desktop/images/11072025/05/15/image_11072025_05_15_01_8816.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/05/22/image_11072025_05_22_02_2692.jpg', '/home/pi/Desktop/images/11072025/05/21/image_11072025_05_21_01_8854.jpg', '/home/pi/Desktop/images/11072025/05/19/image_11072025_05_19_01_4353.jpg', '/home/pi/Desktop/images/11072025/05/17/image_11072025_05_17_01_6297.jpg', '/home/pi/Desktop/images/11072025/05/16/image_11072025_05_16_02_0779.jpg', '/home/pi/Desktop/images/11072025/05/15/image_11072025_05_15_01_8816.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/05/22/image_11072025_05_22_02_2692.jpg
/home/pi/Desktop/images/11072025/05/21/image_11072025_05_21_01_8854.jpg
/home/pi/Desktop/images/11072025/05/19/image_11072025_05_19_01_4353.jpg
/home/pi/Desktop/images/11072025/05/17/image_11072025_05_17_01_6297.jpg
/home/pi/Desktop/images/11072025/05/16/image_11072025_05_16_02_0779.jpg
/home/pi/Desktop/images/11072025/05/15/image_11072025_05_15_01_8816.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.66857576370239 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 05:24:05.209601
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/05/23/image_11072025_05_23_01_7645.jpg', 2), ('/home/pi/Desktop/images/11072025/05/22/image_11072025_05_22_02_2692.jpg', 2), ('/home/pi/Desktop/images/11072025/05/21/image_11072025_05_21_01_8854.jpg', 2), ('/home/pi/Desktop/images/11072025/05/19/image_11072025_05_19_01_4353.jpg', 2), ('/home/pi/Desktop/images/11072025/05/17/image_11072025_05_17_01_6297.jpg', 2), ('/home/pi/Desktop/images/11072025/05/16/image_11072025_05_16_02_0779.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/05/23/image_11072025_05_23_01_7645.jpg', '/home/pi/Desktop/images/11072025/05/22/image_11072025_05_22_02_2692.jpg', '/home/pi/Desktop/images/11072025/05/21/image_11072025_05_21_01_8854.jpg', '/home/pi/Desktop/images/11072025/05/19/image_11072025_05_19_01_4353.jpg', '/home/pi/Desktop/images/11072025/05/17/image_11072025_05_17_01_6297.jpg', '/home/pi/Desktop/images/11072025/05/16/image_11072025_05_16_02_0779.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/05/23/image_11072025_05_23_01_7645.jpg
/home/pi/Desktop/images/11072025/05/22/image_11072025_05_22_02_2692.jpg
/home/pi/Desktop/images/11072025/05/21/image_11072025_05_21_01_8854.jpg
/home/pi/Desktop/images/11072025/05/19/image_11072025_05_19_01_4353.jpg
/home/pi/Desktop/images/11072025/05/17/image_11072025_05_17_01_6297.jpg
/home/pi/Desktop/images/11072025/05/16/image_11072025_05_16_02_0779.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.119083642959595 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 05:25:05.933080
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/05/24/image_11072025_05_24_01_5427.jpg', 2), ('/home/pi/Desktop/images/11072025/05/23/image_11072025_05_23_01_7645.jpg', 2), ('/home/pi/Desktop/images/11072025/05/22/image_11072025_05_22_02_2692.jpg', 2), ('/home/pi/Desktop/images/11072025/05/21/image_11072025_05_21_01_8854.jpg', 2), ('/home/pi/Desktop/images/11072025/05/19/image_11072025_05_19_01_4353.jpg', 2), ('/home/pi/Desktop/images/11072025/05/17/image_11072025_05_17_01_6297.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/05/24/image_11072025_05_24_01_5427.jpg', '/home/pi/Desktop/images/11072025/05/23/image_11072025_05_23_01_7645.jpg', '/home/pi/Desktop/images/11072025/05/22/image_11072025_05_22_02_2692.jpg', '/home/pi/Desktop/images/11072025/05/21/image_11072025_05_21_01_8854.jpg', '/home/pi/Desktop/images/11072025/05/19/image_11072025_05_19_01_4353.jpg', '/home/pi/Desktop/images/11072025/05/17/image_11072025_05_17_01_6297.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/05/24/image_11072025_05_24_01_5427.jpg
/home/pi/Desktop/images/11072025/05/23/image_11072025_05_23_01_7645.jpg
/home/pi/Desktop/images/11072025/05/22/image_11072025_05_22_02_2692.jpg
/home/pi/Desktop/images/11072025/05/21/image_11072025_05_21_01_8854.jpg
/home/pi/Desktop/images/11072025/05/19/image_11072025_05_19_01_4353.jpg
/home/pi/Desktop/images/11072025/05/17/image_11072025_05_17_01_6297.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.53317379951477 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 05:26:05.350852
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/05/25/image_11072025_05_25_01_5426.jpg', 2), ('/home/pi/Desktop/images/11072025/05/24/image_11072025_05_24_01_5427.jpg', 2), ('/home/pi/Desktop/images/11072025/05/23/image_11072025_05_23_01_7645.jpg', 2), ('/home/pi/Desktop/images/11072025/05/22/image_11072025_05_22_02_2692.jpg', 2), ('/home/pi/Desktop/images/11072025/05/21/image_11072025_05_21_01_8854.jpg', 2), ('/home/pi/Desktop/images/11072025/05/19/image_11072025_05_19_01_4353.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/05/25/image_11072025_05_25_01_5426.jpg', '/home/pi/Desktop/images/11072025/05/24/image_11072025_05_24_01_5427.jpg', '/home/pi/Desktop/images/11072025/05/23/image_11072025_05_23_01_7645.jpg', '/home/pi/Desktop/images/11072025/05/22/image_11072025_05_22_02_2692.jpg', '/home/pi/Desktop/images/11072025/05/21/image_11072025_05_21_01_8854.jpg', '/home/pi/Desktop/images/11072025/05/19/image_11072025_05_19_01_4353.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/05/25/image_11072025_05_25_01_5426.jpg
/home/pi/Desktop/images/11072025/05/24/image_11072025_05_24_01_5427.jpg
/home/pi/Desktop/images/11072025/05/23/image_11072025_05_23_01_7645.jpg
/home/pi/Desktop/images/11072025/05/22/image_11072025_05_22_02_2692.jpg
/home/pi/Desktop/images/11072025/05/21/image_11072025_05_21_01_8854.jpg
/home/pi/Desktop/images/11072025/05/19/image_11072025_05_19_01_4353.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.34788799285889 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 05:27:05.739329
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/05/26/image_11072025_05_26_01_8988.jpg', 2), ('/home/pi/Desktop/images/11072025/05/25/image_11072025_05_25_01_5426.jpg', 2), ('/home/pi/Desktop/images/11072025/05/24/image_11072025_05_24_01_5427.jpg', 2), ('/home/pi/Desktop/images/11072025/05/23/image_11072025_05_23_01_7645.jpg', 2), ('/home/pi/Desktop/images/11072025/05/22/image_11072025_05_22_02_2692.jpg', 2), ('/home/pi/Desktop/images/11072025/05/21/image_11072025_05_21_01_8854.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/05/26/image_11072025_05_26_01_8988.jpg', '/home/pi/Desktop/images/11072025/05/25/image_11072025_05_25_01_5426.jpg', '/home/pi/Desktop/images/11072025/05/24/image_11072025_05_24_01_5427.jpg', '/home/pi/Desktop/images/11072025/05/23/image_11072025_05_23_01_7645.jpg', '/home/pi/Desktop/images/11072025/05/22/image_11072025_05_22_02_2692.jpg', '/home/pi/Desktop/images/11072025/05/21/image_11072025_05_21_01_8854.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/05/26/image_11072025_05_26_01_8988.jpg
/home/pi/Desktop/images/11072025/05/25/image_11072025_05_25_01_5426.jpg
/home/pi/Desktop/images/11072025/05/24/image_11072025_05_24_01_5427.jpg
/home/pi/Desktop/images/11072025/05/23/image_11072025_05_23_01_7645.jpg
/home/pi/Desktop/images/11072025/05/22/image_11072025_05_22_02_2692.jpg
/home/pi/Desktop/images/11072025/05/21/image_11072025_05_21_01_8854.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 34.071678161621094 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 05:28:05.668307
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/05/27/image_11072025_05_27_01_6635.jpg', 2), ('/home/pi/Desktop/images/11072025/05/26/image_11072025_05_26_01_8988.jpg', 2), ('/home/pi/Desktop/images/11072025/05/25/image_11072025_05_25_01_5426.jpg', 2), ('/home/pi/Desktop/images/11072025/05/24/image_11072025_05_24_01_5427.jpg', 2), ('/home/pi/Desktop/images/11072025/05/23/image_11072025_05_23_01_7645.jpg', 2), ('/home/pi/Desktop/images/11072025/05/22/image_11072025_05_22_02_2692.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/05/27/image_11072025_05_27_01_6635.jpg', '/home/pi/Desktop/images/11072025/05/26/image_11072025_05_26_01_8988.jpg', '/home/pi/Desktop/images/11072025/05/25/image_11072025_05_25_01_5426.jpg', '/home/pi/Desktop/images/11072025/05/24/image_11072025_05_24_01_5427.jpg', '/home/pi/Desktop/images/11072025/05/23/image_11072025_05_23_01_7645.jpg', '/home/pi/Desktop/images/11072025/05/22/image_11072025_05_22_02_2692.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/05/27/image_11072025_05_27_01_6635.jpg
/home/pi/Desktop/images/11072025/05/26/image_11072025_05_26_01_8988.jpg
/home/pi/Desktop/images/11072025/05/25/image_11072025_05_25_01_5426.jpg
/home/pi/Desktop/images/11072025/05/24/image_11072025_05_24_01_5427.jpg
/home/pi/Desktop/images/11072025/05/23/image_11072025_05_23_01_7645.jpg
/home/pi/Desktop/images/11072025/05/22/image_11072025_05_22_02_2692.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.29790997505188 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 05:29:05.607892
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/05/28/image_11072025_05_28_01_8465.jpg', 2), ('/home/pi/Desktop/images/11072025/05/27/image_11072025_05_27_01_6635.jpg', 2), ('/home/pi/Desktop/images/11072025/05/26/image_11072025_05_26_01_8988.jpg', 2), ('/home/pi/Desktop/images/11072025/05/25/image_11072025_05_25_01_5426.jpg', 2), ('/home/pi/Desktop/images/11072025/05/24/image_11072025_05_24_01_5427.jpg', 2), ('/home/pi/Desktop/images/11072025/05/23/image_11072025_05_23_01_7645.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/05/28/image_11072025_05_28_01_8465.jpg', '/home/pi/Desktop/images/11072025/05/27/image_11072025_05_27_01_6635.jpg', '/home/pi/Desktop/images/11072025/05/26/image_11072025_05_26_01_8988.jpg', '/home/pi/Desktop/images/11072025/05/25/image_11072025_05_25_01_5426.jpg', '/home/pi/Desktop/images/11072025/05/24/image_11072025_05_24_01_5427.jpg', '/home/pi/Desktop/images/11072025/05/23/image_11072025_05_23_01_7645.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/05/28/image_11072025_05_28_01_8465.jpg
/home/pi/Desktop/images/11072025/05/27/image_11072025_05_27_01_6635.jpg
/home/pi/Desktop/images/11072025/05/26/image_11072025_05_26_01_8988.jpg
/home/pi/Desktop/images/11072025/05/25/image_11072025_05_25_01_5426.jpg
/home/pi/Desktop/images/11072025/05/24/image_11072025_05_24_01_5427.jpg
/home/pi/Desktop/images/11072025/05/23/image_11072025_05_23_01_7645.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.62627649307251 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 05:30:05.144628
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/05/29/image_11072025_05_29_02_0934.jpg', 2), ('/home/pi/Desktop/images/11072025/05/28/image_11072025_05_28_01_8465.jpg', 2), ('/home/pi/Desktop/images/11072025/05/27/image_11072025_05_27_01_6635.jpg', 2), ('/home/pi/Desktop/images/11072025/05/26/image_11072025_05_26_01_8988.jpg', 2), ('/home/pi/Desktop/images/11072025/05/25/image_11072025_05_25_01_5426.jpg', 2), ('/home/pi/Desktop/images/11072025/05/24/image_11072025_05_24_01_5427.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/05/29/image_11072025_05_29_02_0934.jpg', '/home/pi/Desktop/images/11072025/05/28/image_11072025_05_28_01_8465.jpg', '/home/pi/Desktop/images/11072025/05/27/image_11072025_05_27_01_6635.jpg', '/home/pi/Desktop/images/11072025/05/26/image_11072025_05_26_01_8988.jpg', '/home/pi/Desktop/images/11072025/05/25/image_11072025_05_25_01_5426.jpg', '/home/pi/Desktop/images/11072025/05/24/image_11072025_05_24_01_5427.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/05/29/image_11072025_05_29_02_0934.jpg
/home/pi/Desktop/images/11072025/05/28/image_11072025_05_28_01_8465.jpg
/home/pi/Desktop/images/11072025/05/27/image_11072025_05_27_01_6635.jpg
/home/pi/Desktop/images/11072025/05/26/image_11072025_05_26_01_8988.jpg
/home/pi/Desktop/images/11072025/05/25/image_11072025_05_25_01_5426.jpg
/home/pi/Desktop/images/11072025/05/24/image_11072025_05_24_01_5427.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.188990354537964 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 05:31:05.294467
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/05/30/image_11072025_05_30_01_8185.jpg', 2), ('/home/pi/Desktop/images/11072025/05/29/image_11072025_05_29_02_0934.jpg', 2), ('/home/pi/Desktop/images/11072025/05/28/image_11072025_05_28_01_8465.jpg', 2), ('/home/pi/Desktop/images/11072025/05/27/image_11072025_05_27_01_6635.jpg', 2), ('/home/pi/Desktop/images/11072025/05/26/image_11072025_05_26_01_8988.jpg', 2), ('/home/pi/Desktop/images/11072025/05/25/image_11072025_05_25_01_5426.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/05/30/image_11072025_05_30_01_8185.jpg', '/home/pi/Desktop/images/11072025/05/29/image_11072025_05_29_02_0934.jpg', '/home/pi/Desktop/images/11072025/05/28/image_11072025_05_28_01_8465.jpg', '/home/pi/Desktop/images/11072025/05/27/image_11072025_05_27_01_6635.jpg', '/home/pi/Desktop/images/11072025/05/26/image_11072025_05_26_01_8988.jpg', '/home/pi/Desktop/images/11072025/05/25/image_11072025_05_25_01_5426.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/05/30/image_11072025_05_30_01_8185.jpg
/home/pi/Desktop/images/11072025/05/29/image_11072025_05_29_02_0934.jpg
/home/pi/Desktop/images/11072025/05/28/image_11072025_05_28_01_8465.jpg
/home/pi/Desktop/images/11072025/05/27/image_11072025_05_27_01_6635.jpg
/home/pi/Desktop/images/11072025/05/26/image_11072025_05_26_01_8988.jpg
/home/pi/Desktop/images/11072025/05/25/image_11072025_05_25_01_5426.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.22477436065674 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 05:32:05.443319
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/05/31/image_11072025_05_31_01_6003.jpg', 2), ('/home/pi/Desktop/images/11072025/05/30/image_11072025_05_30_01_8185.jpg', 2), ('/home/pi/Desktop/images/11072025/05/29/image_11072025_05_29_02_0934.jpg', 2), ('/home/pi/Desktop/images/11072025/05/28/image_11072025_05_28_01_8465.jpg', 2), ('/home/pi/Desktop/images/11072025/05/27/image_11072025_05_27_01_6635.jpg', 2), ('/home/pi/Desktop/images/11072025/05/26/image_11072025_05_26_01_8988.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/05/31/image_11072025_05_31_01_6003.jpg', '/home/pi/Desktop/images/11072025/05/30/image_11072025_05_30_01_8185.jpg', '/home/pi/Desktop/images/11072025/05/29/image_11072025_05_29_02_0934.jpg', '/home/pi/Desktop/images/11072025/05/28/image_11072025_05_28_01_8465.jpg', '/home/pi/Desktop/images/11072025/05/27/image_11072025_05_27_01_6635.jpg', '/home/pi/Desktop/images/11072025/05/26/image_11072025_05_26_01_8988.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/05/31/image_11072025_05_31_01_6003.jpg
/home/pi/Desktop/images/11072025/05/30/image_11072025_05_30_01_8185.jpg
/home/pi/Desktop/images/11072025/05/29/image_11072025_05_29_02_0934.jpg
/home/pi/Desktop/images/11072025/05/28/image_11072025_05_28_01_8465.jpg
/home/pi/Desktop/images/11072025/05/27/image_11072025_05_27_01_6635.jpg
/home/pi/Desktop/images/11072025/05/26/image_11072025_05_26_01_8988.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.22487950325012 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 05:33:05.819043
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/05/32/image_11072025_05_32_01_5654.jpg', 2), ('/home/pi/Desktop/images/11072025/05/31/image_11072025_05_31_01_6003.jpg', 2), ('/home/pi/Desktop/images/11072025/05/30/image_11072025_05_30_01_8185.jpg', 2), ('/home/pi/Desktop/images/11072025/05/29/image_11072025_05_29_02_0934.jpg', 2), ('/home/pi/Desktop/images/11072025/05/28/image_11072025_05_28_01_8465.jpg', 2), ('/home/pi/Desktop/images/11072025/05/27/image_11072025_05_27_01_6635.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/05/32/image_11072025_05_32_01_5654.jpg', '/home/pi/Desktop/images/11072025/05/31/image_11072025_05_31_01_6003.jpg', '/home/pi/Desktop/images/11072025/05/30/image_11072025_05_30_01_8185.jpg', '/home/pi/Desktop/images/11072025/05/29/image_11072025_05_29_02_0934.jpg', '/home/pi/Desktop/images/11072025/05/28/image_11072025_05_28_01_8465.jpg', '/home/pi/Desktop/images/11072025/05/27/image_11072025_05_27_01_6635.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/05/32/image_11072025_05_32_01_5654.jpg
/home/pi/Desktop/images/11072025/05/31/image_11072025_05_31_01_6003.jpg
/home/pi/Desktop/images/11072025/05/30/image_11072025_05_30_01_8185.jpg
/home/pi/Desktop/images/11072025/05/29/image_11072025_05_29_02_0934.jpg
/home/pi/Desktop/images/11072025/05/28/image_11072025_05_28_01_8465.jpg
/home/pi/Desktop/images/11072025/05/27/image_11072025_05_27_01_6635.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.080573081970215 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 05:34:05.057936
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/05/32/image_11072025_05_32_01_5654.jpg', 2), ('/home/pi/Desktop/images/11072025/05/31/image_11072025_05_31_01_6003.jpg', 2), ('/home/pi/Desktop/images/11072025/05/30/image_11072025_05_30_01_8185.jpg', 2), ('/home/pi/Desktop/images/11072025/05/29/image_11072025_05_29_02_0934.jpg', 2), ('/home/pi/Desktop/images/11072025/05/28/image_11072025_05_28_01_8465.jpg', 2), ('/home/pi/Desktop/images/11072025/05/27/image_11072025_05_27_01_6635.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/05/32/image_11072025_05_32_01_5654.jpg', '/home/pi/Desktop/images/11072025/05/31/image_11072025_05_31_01_6003.jpg', '/home/pi/Desktop/images/11072025/05/30/image_11072025_05_30_01_8185.jpg', '/home/pi/Desktop/images/11072025/05/29/image_11072025_05_29_02_0934.jpg', '/home/pi/Desktop/images/11072025/05/28/image_11072025_05_28_01_8465.jpg', '/home/pi/Desktop/images/11072025/05/27/image_11072025_05_27_01_6635.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/05/32/image_11072025_05_32_01_5654.jpg
/home/pi/Desktop/images/11072025/05/31/image_11072025_05_31_01_6003.jpg
/home/pi/Desktop/images/11072025/05/30/image_11072025_05_30_01_8185.jpg
/home/pi/Desktop/images/11072025/05/29/image_11072025_05_29_02_0934.jpg
/home/pi/Desktop/images/11072025/05/28/image_11072025_05_28_01_8465.jpg
/home/pi/Desktop/images/11072025/05/27/image_11072025_05_27_01_6635.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 32.93121290206909 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 05:35:04.233565
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/05/32/image_11072025_05_32_01_5654.jpg', 2), ('/home/pi/Desktop/images/11072025/05/31/image_11072025_05_31_01_6003.jpg', 2), ('/home/pi/Desktop/images/11072025/05/30/image_11072025_05_30_01_8185.jpg', 2), ('/home/pi/Desktop/images/11072025/05/29/image_11072025_05_29_02_0934.jpg', 2), ('/home/pi/Desktop/images/11072025/05/28/image_11072025_05_28_01_8465.jpg', 2), ('/home/pi/Desktop/images/11072025/05/27/image_11072025_05_27_01_6635.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/05/32/image_11072025_05_32_01_5654.jpg', '/home/pi/Desktop/images/11072025/05/31/image_11072025_05_31_01_6003.jpg', '/home/pi/Desktop/images/11072025/05/30/image_11072025_05_30_01_8185.jpg', '/home/pi/Desktop/images/11072025/05/29/image_11072025_05_29_02_0934.jpg', '/home/pi/Desktop/images/11072025/05/28/image_11072025_05_28_01_8465.jpg', '/home/pi/Desktop/images/11072025/05/27/image_11072025_05_27_01_6635.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/05/32/image_11072025_05_32_01_5654.jpg
/home/pi/Desktop/images/11072025/05/31/image_11072025_05_31_01_6003.jpg
/home/pi/Desktop/images/11072025/05/30/image_11072025_05_30_01_8185.jpg
/home/pi/Desktop/images/11072025/05/29/image_11072025_05_29_02_0934.jpg
/home/pi/Desktop/images/11072025/05/28/image_11072025_05_28_01_8465.jpg
/home/pi/Desktop/images/11072025/05/27/image_11072025_05_27_01_6635.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 31.970680475234985 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 05:36:05.084248
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/05/33/image_11072025_05_33_01_8412.jpg', 2), ('/home/pi/Desktop/images/11072025/05/32/image_11072025_05_32_01_5654.jpg', 2), ('/home/pi/Desktop/images/11072025/05/31/image_11072025_05_31_01_6003.jpg', 2), ('/home/pi/Desktop/images/11072025/05/30/image_11072025_05_30_01_8185.jpg', 2), ('/home/pi/Desktop/images/11072025/05/29/image_11072025_05_29_02_0934.jpg', 2), ('/home/pi/Desktop/images/11072025/05/28/image_11072025_05_28_01_8465.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/05/33/image_11072025_05_33_01_8412.jpg', '/home/pi/Desktop/images/11072025/05/32/image_11072025_05_32_01_5654.jpg', '/home/pi/Desktop/images/11072025/05/31/image_11072025_05_31_01_6003.jpg', '/home/pi/Desktop/images/11072025/05/30/image_11072025_05_30_01_8185.jpg', '/home/pi/Desktop/images/11072025/05/29/image_11072025_05_29_02_0934.jpg', '/home/pi/Desktop/images/11072025/05/28/image_11072025_05_28_01_8465.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/05/33/image_11072025_05_33_01_8412.jpg
/home/pi/Desktop/images/11072025/05/32/image_11072025_05_32_01_5654.jpg
/home/pi/Desktop/images/11072025/05/31/image_11072025_05_31_01_6003.jpg
/home/pi/Desktop/images/11072025/05/30/image_11072025_05_30_01_8185.jpg
/home/pi/Desktop/images/11072025/05/29/image_11072025_05_29_02_0934.jpg
/home/pi/Desktop/images/11072025/05/28/image_11072025_05_28_01_8465.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 34.29409646987915 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 05:37:05.607431
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/05/36/image_11072025_05_36_02_1529.jpg', 2), ('/home/pi/Desktop/images/11072025/05/33/image_11072025_05_33_01_8412.jpg', 2), ('/home/pi/Desktop/images/11072025/05/32/image_11072025_05_32_01_5654.jpg', 2), ('/home/pi/Desktop/images/11072025/05/31/image_11072025_05_31_01_6003.jpg', 2), ('/home/pi/Desktop/images/11072025/05/30/image_11072025_05_30_01_8185.jpg', 2), ('/home/pi/Desktop/images/11072025/05/29/image_11072025_05_29_02_0934.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/05/36/image_11072025_05_36_02_1529.jpg', '/home/pi/Desktop/images/11072025/05/33/image_11072025_05_33_01_8412.jpg', '/home/pi/Desktop/images/11072025/05/32/image_11072025_05_32_01_5654.jpg', '/home/pi/Desktop/images/11072025/05/31/image_11072025_05_31_01_6003.jpg', '/home/pi/Desktop/images/11072025/05/30/image_11072025_05_30_01_8185.jpg', '/home/pi/Desktop/images/11072025/05/29/image_11072025_05_29_02_0934.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/05/36/image_11072025_05_36_02_1529.jpg
/home/pi/Desktop/images/11072025/05/33/image_11072025_05_33_01_8412.jpg
/home/pi/Desktop/images/11072025/05/32/image_11072025_05_32_01_5654.jpg
/home/pi/Desktop/images/11072025/05/31/image_11072025_05_31_01_6003.jpg
/home/pi/Desktop/images/11072025/05/30/image_11072025_05_30_01_8185.jpg
/home/pi/Desktop/images/11072025/05/29/image_11072025_05_29_02_0934.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.806655168533325 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 05:38:04.869716
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/05/37/image_11072025_05_37_01_5928.jpg', 2), ('/home/pi/Desktop/images/11072025/05/36/image_11072025_05_36_02_1529.jpg', 2), ('/home/pi/Desktop/images/11072025/05/33/image_11072025_05_33_01_8412.jpg', 2), ('/home/pi/Desktop/images/11072025/05/32/image_11072025_05_32_01_5654.jpg', 2), ('/home/pi/Desktop/images/11072025/05/31/image_11072025_05_31_01_6003.jpg', 2), ('/home/pi/Desktop/images/11072025/05/30/image_11072025_05_30_01_8185.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/05/37/image_11072025_05_37_01_5928.jpg', '/home/pi/Desktop/images/11072025/05/36/image_11072025_05_36_02_1529.jpg', '/home/pi/Desktop/images/11072025/05/33/image_11072025_05_33_01_8412.jpg', '/home/pi/Desktop/images/11072025/05/32/image_11072025_05_32_01_5654.jpg', '/home/pi/Desktop/images/11072025/05/31/image_11072025_05_31_01_6003.jpg', '/home/pi/Desktop/images/11072025/05/30/image_11072025_05_30_01_8185.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/05/37/image_11072025_05_37_01_5928.jpg
/home/pi/Desktop/images/11072025/05/36/image_11072025_05_36_02_1529.jpg
/home/pi/Desktop/images/11072025/05/33/image_11072025_05_33_01_8412.jpg
/home/pi/Desktop/images/11072025/05/32/image_11072025_05_32_01_5654.jpg
/home/pi/Desktop/images/11072025/05/31/image_11072025_05_31_01_6003.jpg
/home/pi/Desktop/images/11072025/05/30/image_11072025_05_30_01_8185.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.66636419296265 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 05:39:05.987016
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/05/38/image_11072025_05_38_01_6803.jpg', 2), ('/home/pi/Desktop/images/11072025/05/37/image_11072025_05_37_01_5928.jpg', 2), ('/home/pi/Desktop/images/11072025/05/36/image_11072025_05_36_02_1529.jpg', 2), ('/home/pi/Desktop/images/11072025/05/33/image_11072025_05_33_01_8412.jpg', 2), ('/home/pi/Desktop/images/11072025/05/32/image_11072025_05_32_01_5654.jpg', 2), ('/home/pi/Desktop/images/11072025/05/31/image_11072025_05_31_01_6003.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/05/38/image_11072025_05_38_01_6803.jpg', '/home/pi/Desktop/images/11072025/05/37/image_11072025_05_37_01_5928.jpg', '/home/pi/Desktop/images/11072025/05/36/image_11072025_05_36_02_1529.jpg', '/home/pi/Desktop/images/11072025/05/33/image_11072025_05_33_01_8412.jpg', '/home/pi/Desktop/images/11072025/05/32/image_11072025_05_32_01_5654.jpg', '/home/pi/Desktop/images/11072025/05/31/image_11072025_05_31_01_6003.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/05/38/image_11072025_05_38_01_6803.jpg
/home/pi/Desktop/images/11072025/05/37/image_11072025_05_37_01_5928.jpg
/home/pi/Desktop/images/11072025/05/36/image_11072025_05_36_02_1529.jpg
/home/pi/Desktop/images/11072025/05/33/image_11072025_05_33_01_8412.jpg
/home/pi/Desktop/images/11072025/05/32/image_11072025_05_32_01_5654.jpg
/home/pi/Desktop/images/11072025/05/31/image_11072025_05_31_01_6003.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.7781286239624 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 05:40:05.440263
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/05/39/image_11072025_05_39_01_4270.jpg', 2), ('/home/pi/Desktop/images/11072025/05/38/image_11072025_05_38_01_6803.jpg', 2), ('/home/pi/Desktop/images/11072025/05/37/image_11072025_05_37_01_5928.jpg', 2), ('/home/pi/Desktop/images/11072025/05/36/image_11072025_05_36_02_1529.jpg', 2), ('/home/pi/Desktop/images/11072025/05/33/image_11072025_05_33_01_8412.jpg', 2), ('/home/pi/Desktop/images/11072025/05/32/image_11072025_05_32_01_5654.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/05/39/image_11072025_05_39_01_4270.jpg', '/home/pi/Desktop/images/11072025/05/38/image_11072025_05_38_01_6803.jpg', '/home/pi/Desktop/images/11072025/05/37/image_11072025_05_37_01_5928.jpg', '/home/pi/Desktop/images/11072025/05/36/image_11072025_05_36_02_1529.jpg', '/home/pi/Desktop/images/11072025/05/33/image_11072025_05_33_01_8412.jpg', '/home/pi/Desktop/images/11072025/05/32/image_11072025_05_32_01_5654.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/05/39/image_11072025_05_39_01_4270.jpg
/home/pi/Desktop/images/11072025/05/38/image_11072025_05_38_01_6803.jpg
/home/pi/Desktop/images/11072025/05/37/image_11072025_05_37_01_5928.jpg
/home/pi/Desktop/images/11072025/05/36/image_11072025_05_36_02_1529.jpg
/home/pi/Desktop/images/11072025/05/33/image_11072025_05_33_01_8412.jpg
/home/pi/Desktop/images/11072025/05/32/image_11072025_05_32_01_5654.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.50350546836853 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 05:41:05.847841
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/05/40/image_11072025_05_40_02_0584.jpg', 2), ('/home/pi/Desktop/images/11072025/05/39/image_11072025_05_39_01_4270.jpg', 2), ('/home/pi/Desktop/images/11072025/05/38/image_11072025_05_38_01_6803.jpg', 2), ('/home/pi/Desktop/images/11072025/05/37/image_11072025_05_37_01_5928.jpg', 2), ('/home/pi/Desktop/images/11072025/05/36/image_11072025_05_36_02_1529.jpg', 2), ('/home/pi/Desktop/images/11072025/05/33/image_11072025_05_33_01_8412.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/05/40/image_11072025_05_40_02_0584.jpg', '/home/pi/Desktop/images/11072025/05/39/image_11072025_05_39_01_4270.jpg', '/home/pi/Desktop/images/11072025/05/38/image_11072025_05_38_01_6803.jpg', '/home/pi/Desktop/images/11072025/05/37/image_11072025_05_37_01_5928.jpg', '/home/pi/Desktop/images/11072025/05/36/image_11072025_05_36_02_1529.jpg', '/home/pi/Desktop/images/11072025/05/33/image_11072025_05_33_01_8412.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/05/40/image_11072025_05_40_02_0584.jpg
/home/pi/Desktop/images/11072025/05/39/image_11072025_05_39_01_4270.jpg
/home/pi/Desktop/images/11072025/05/38/image_11072025_05_38_01_6803.jpg
/home/pi/Desktop/images/11072025/05/37/image_11072025_05_37_01_5928.jpg
/home/pi/Desktop/images/11072025/05/36/image_11072025_05_36_02_1529.jpg
/home/pi/Desktop/images/11072025/05/33/image_11072025_05_33_01_8412.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.26275134086609 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 05:42:05.577083
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/05/41/image_11072025_05_41_01_9433.jpg', 2), ('/home/pi/Desktop/images/11072025/05/40/image_11072025_05_40_02_0584.jpg', 2), ('/home/pi/Desktop/images/11072025/05/39/image_11072025_05_39_01_4270.jpg', 2), ('/home/pi/Desktop/images/11072025/05/38/image_11072025_05_38_01_6803.jpg', 2), ('/home/pi/Desktop/images/11072025/05/37/image_11072025_05_37_01_5928.jpg', 2), ('/home/pi/Desktop/images/11072025/05/36/image_11072025_05_36_02_1529.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/05/41/image_11072025_05_41_01_9433.jpg', '/home/pi/Desktop/images/11072025/05/40/image_11072025_05_40_02_0584.jpg', '/home/pi/Desktop/images/11072025/05/39/image_11072025_05_39_01_4270.jpg', '/home/pi/Desktop/images/11072025/05/38/image_11072025_05_38_01_6803.jpg', '/home/pi/Desktop/images/11072025/05/37/image_11072025_05_37_01_5928.jpg', '/home/pi/Desktop/images/11072025/05/36/image_11072025_05_36_02_1529.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/05/41/image_11072025_05_41_01_9433.jpg
/home/pi/Desktop/images/11072025/05/40/image_11072025_05_40_02_0584.jpg
/home/pi/Desktop/images/11072025/05/39/image_11072025_05_39_01_4270.jpg
/home/pi/Desktop/images/11072025/05/38/image_11072025_05_38_01_6803.jpg
/home/pi/Desktop/images/11072025/05/37/image_11072025_05_37_01_5928.jpg
/home/pi/Desktop/images/11072025/05/36/image_11072025_05_36_02_1529.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 36.600576877593994 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 05:43:06.025238
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/05/42/image_11072025_05_42_02_0894.jpg', 2), ('/home/pi/Desktop/images/11072025/05/41/image_11072025_05_41_01_9433.jpg', 2), ('/home/pi/Desktop/images/11072025/05/40/image_11072025_05_40_02_0584.jpg', 2), ('/home/pi/Desktop/images/11072025/05/39/image_11072025_05_39_01_4270.jpg', 2), ('/home/pi/Desktop/images/11072025/05/38/image_11072025_05_38_01_6803.jpg', 2), ('/home/pi/Desktop/images/11072025/05/37/image_11072025_05_37_01_5928.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/05/42/image_11072025_05_42_02_0894.jpg', '/home/pi/Desktop/images/11072025/05/41/image_11072025_05_41_01_9433.jpg', '/home/pi/Desktop/images/11072025/05/40/image_11072025_05_40_02_0584.jpg', '/home/pi/Desktop/images/11072025/05/39/image_11072025_05_39_01_4270.jpg', '/home/pi/Desktop/images/11072025/05/38/image_11072025_05_38_01_6803.jpg', '/home/pi/Desktop/images/11072025/05/37/image_11072025_05_37_01_5928.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/05/42/image_11072025_05_42_02_0894.jpg
/home/pi/Desktop/images/11072025/05/41/image_11072025_05_41_01_9433.jpg
/home/pi/Desktop/images/11072025/05/40/image_11072025_05_40_02_0584.jpg
/home/pi/Desktop/images/11072025/05/39/image_11072025_05_39_01_4270.jpg
/home/pi/Desktop/images/11072025/05/38/image_11072025_05_38_01_6803.jpg
/home/pi/Desktop/images/11072025/05/37/image_11072025_05_37_01_5928.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.26727914810181 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 05:44:04.904230
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/05/43/image_11072025_05_43_01_7790.jpg', 2), ('/home/pi/Desktop/images/11072025/05/42/image_11072025_05_42_02_0894.jpg', 2), ('/home/pi/Desktop/images/11072025/05/41/image_11072025_05_41_01_9433.jpg', 2), ('/home/pi/Desktop/images/11072025/05/40/image_11072025_05_40_02_0584.jpg', 2), ('/home/pi/Desktop/images/11072025/05/39/image_11072025_05_39_01_4270.jpg', 2), ('/home/pi/Desktop/images/11072025/05/38/image_11072025_05_38_01_6803.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/05/43/image_11072025_05_43_01_7790.jpg', '/home/pi/Desktop/images/11072025/05/42/image_11072025_05_42_02_0894.jpg', '/home/pi/Desktop/images/11072025/05/41/image_11072025_05_41_01_9433.jpg', '/home/pi/Desktop/images/11072025/05/40/image_11072025_05_40_02_0584.jpg', '/home/pi/Desktop/images/11072025/05/39/image_11072025_05_39_01_4270.jpg', '/home/pi/Desktop/images/11072025/05/38/image_11072025_05_38_01_6803.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/05/43/image_11072025_05_43_01_7790.jpg
/home/pi/Desktop/images/11072025/05/42/image_11072025_05_42_02_0894.jpg
/home/pi/Desktop/images/11072025/05/41/image_11072025_05_41_01_9433.jpg
/home/pi/Desktop/images/11072025/05/40/image_11072025_05_40_02_0584.jpg
/home/pi/Desktop/images/11072025/05/39/image_11072025_05_39_01_4270.jpg
/home/pi/Desktop/images/11072025/05/38/image_11072025_05_38_01_6803.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 34.521522760391235 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 05:45:05.830267
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/05/44/image_11072025_05_44_02_0042.jpg', 2), ('/home/pi/Desktop/images/11072025/05/43/image_11072025_05_43_01_7790.jpg', 2), ('/home/pi/Desktop/images/11072025/05/42/image_11072025_05_42_02_0894.jpg', 2), ('/home/pi/Desktop/images/11072025/05/41/image_11072025_05_41_01_9433.jpg', 2), ('/home/pi/Desktop/images/11072025/05/40/image_11072025_05_40_02_0584.jpg', 2), ('/home/pi/Desktop/images/11072025/05/39/image_11072025_05_39_01_4270.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/05/44/image_11072025_05_44_02_0042.jpg', '/home/pi/Desktop/images/11072025/05/43/image_11072025_05_43_01_7790.jpg', '/home/pi/Desktop/images/11072025/05/42/image_11072025_05_42_02_0894.jpg', '/home/pi/Desktop/images/11072025/05/41/image_11072025_05_41_01_9433.jpg', '/home/pi/Desktop/images/11072025/05/40/image_11072025_05_40_02_0584.jpg', '/home/pi/Desktop/images/11072025/05/39/image_11072025_05_39_01_4270.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/05/44/image_11072025_05_44_02_0042.jpg
/home/pi/Desktop/images/11072025/05/43/image_11072025_05_43_01_7790.jpg
/home/pi/Desktop/images/11072025/05/42/image_11072025_05_42_02_0894.jpg
/home/pi/Desktop/images/11072025/05/41/image_11072025_05_41_01_9433.jpg
/home/pi/Desktop/images/11072025/05/40/image_11072025_05_40_02_0584.jpg
/home/pi/Desktop/images/11072025/05/39/image_11072025_05_39_01_4270.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 34.01854372024536 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 05:46:05.003388
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/05/45/image_11072025_05_45_01_3926.jpg', 2), ('/home/pi/Desktop/images/11072025/05/44/image_11072025_05_44_02_0042.jpg', 2), ('/home/pi/Desktop/images/11072025/05/43/image_11072025_05_43_01_7790.jpg', 2), ('/home/pi/Desktop/images/11072025/05/42/image_11072025_05_42_02_0894.jpg', 2), ('/home/pi/Desktop/images/11072025/05/41/image_11072025_05_41_01_9433.jpg', 2), ('/home/pi/Desktop/images/11072025/05/40/image_11072025_05_40_02_0584.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/05/45/image_11072025_05_45_01_3926.jpg', '/home/pi/Desktop/images/11072025/05/44/image_11072025_05_44_02_0042.jpg', '/home/pi/Desktop/images/11072025/05/43/image_11072025_05_43_01_7790.jpg', '/home/pi/Desktop/images/11072025/05/42/image_11072025_05_42_02_0894.jpg', '/home/pi/Desktop/images/11072025/05/41/image_11072025_05_41_01_9433.jpg', '/home/pi/Desktop/images/11072025/05/40/image_11072025_05_40_02_0584.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/05/45/image_11072025_05_45_01_3926.jpg
/home/pi/Desktop/images/11072025/05/44/image_11072025_05_44_02_0042.jpg
/home/pi/Desktop/images/11072025/05/43/image_11072025_05_43_01_7790.jpg
/home/pi/Desktop/images/11072025/05/42/image_11072025_05_42_02_0894.jpg
/home/pi/Desktop/images/11072025/05/41/image_11072025_05_41_01_9433.jpg
/home/pi/Desktop/images/11072025/05/40/image_11072025_05_40_02_0584.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 36.90120530128479 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 05:47:06.198203
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/05/46/image_11072025_05_46_01_9334.jpg', 2), ('/home/pi/Desktop/images/11072025/05/45/image_11072025_05_45_01_3926.jpg', 2), ('/home/pi/Desktop/images/11072025/05/44/image_11072025_05_44_02_0042.jpg', 2), ('/home/pi/Desktop/images/11072025/05/43/image_11072025_05_43_01_7790.jpg', 2), ('/home/pi/Desktop/images/11072025/05/42/image_11072025_05_42_02_0894.jpg', 2), ('/home/pi/Desktop/images/11072025/05/41/image_11072025_05_41_01_9433.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/05/46/image_11072025_05_46_01_9334.jpg', '/home/pi/Desktop/images/11072025/05/45/image_11072025_05_45_01_3926.jpg', '/home/pi/Desktop/images/11072025/05/44/image_11072025_05_44_02_0042.jpg', '/home/pi/Desktop/images/11072025/05/43/image_11072025_05_43_01_7790.jpg', '/home/pi/Desktop/images/11072025/05/42/image_11072025_05_42_02_0894.jpg', '/home/pi/Desktop/images/11072025/05/41/image_11072025_05_41_01_9433.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/05/46/image_11072025_05_46_01_9334.jpg
/home/pi/Desktop/images/11072025/05/45/image_11072025_05_45_01_3926.jpg
/home/pi/Desktop/images/11072025/05/44/image_11072025_05_44_02_0042.jpg
/home/pi/Desktop/images/11072025/05/43/image_11072025_05_43_01_7790.jpg
/home/pi/Desktop/images/11072025/05/42/image_11072025_05_42_02_0894.jpg
/home/pi/Desktop/images/11072025/05/41/image_11072025_05_41_01_9433.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.81378197669983 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 05:48:05.555867
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/05/47/image_11072025_05_47_01_5343.jpg', 2), ('/home/pi/Desktop/images/11072025/05/46/image_11072025_05_46_01_9334.jpg', 2), ('/home/pi/Desktop/images/11072025/05/45/image_11072025_05_45_01_3926.jpg', 2), ('/home/pi/Desktop/images/11072025/05/44/image_11072025_05_44_02_0042.jpg', 2), ('/home/pi/Desktop/images/11072025/05/43/image_11072025_05_43_01_7790.jpg', 2), ('/home/pi/Desktop/images/11072025/05/42/image_11072025_05_42_02_0894.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/05/47/image_11072025_05_47_01_5343.jpg', '/home/pi/Desktop/images/11072025/05/46/image_11072025_05_46_01_9334.jpg', '/home/pi/Desktop/images/11072025/05/45/image_11072025_05_45_01_3926.jpg', '/home/pi/Desktop/images/11072025/05/44/image_11072025_05_44_02_0042.jpg', '/home/pi/Desktop/images/11072025/05/43/image_11072025_05_43_01_7790.jpg', '/home/pi/Desktop/images/11072025/05/42/image_11072025_05_42_02_0894.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/05/47/image_11072025_05_47_01_5343.jpg
/home/pi/Desktop/images/11072025/05/46/image_11072025_05_46_01_9334.jpg
/home/pi/Desktop/images/11072025/05/45/image_11072025_05_45_01_3926.jpg
/home/pi/Desktop/images/11072025/05/44/image_11072025_05_44_02_0042.jpg
/home/pi/Desktop/images/11072025/05/43/image_11072025_05_43_01_7790.jpg
/home/pi/Desktop/images/11072025/05/42/image_11072025_05_42_02_0894.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.54863452911377 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 05:49:04.996717
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/05/47/image_11072025_05_47_01_5343.jpg', 2), ('/home/pi/Desktop/images/11072025/05/46/image_11072025_05_46_01_9334.jpg', 2), ('/home/pi/Desktop/images/11072025/05/45/image_11072025_05_45_01_3926.jpg', 2), ('/home/pi/Desktop/images/11072025/05/44/image_11072025_05_44_02_0042.jpg', 2), ('/home/pi/Desktop/images/11072025/05/43/image_11072025_05_43_01_7790.jpg', 2), ('/home/pi/Desktop/images/11072025/05/42/image_11072025_05_42_02_0894.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/05/47/image_11072025_05_47_01_5343.jpg', '/home/pi/Desktop/images/11072025/05/46/image_11072025_05_46_01_9334.jpg', '/home/pi/Desktop/images/11072025/05/45/image_11072025_05_45_01_3926.jpg', '/home/pi/Desktop/images/11072025/05/44/image_11072025_05_44_02_0042.jpg', '/home/pi/Desktop/images/11072025/05/43/image_11072025_05_43_01_7790.jpg', '/home/pi/Desktop/images/11072025/05/42/image_11072025_05_42_02_0894.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/05/47/image_11072025_05_47_01_5343.jpg
/home/pi/Desktop/images/11072025/05/46/image_11072025_05_46_01_9334.jpg
/home/pi/Desktop/images/11072025/05/45/image_11072025_05_45_01_3926.jpg
/home/pi/Desktop/images/11072025/05/44/image_11072025_05_44_02_0042.jpg
/home/pi/Desktop/images/11072025/05/43/image_11072025_05_43_01_7790.jpg
/home/pi/Desktop/images/11072025/05/42/image_11072025_05_42_02_0894.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 34.30600690841675 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 05:50:03.781413
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/05/47/image_11072025_05_47_01_5343.jpg', 2), ('/home/pi/Desktop/images/11072025/05/46/image_11072025_05_46_01_9334.jpg', 2), ('/home/pi/Desktop/images/11072025/05/45/image_11072025_05_45_01_3926.jpg', 2), ('/home/pi/Desktop/images/11072025/05/44/image_11072025_05_44_02_0042.jpg', 2), ('/home/pi/Desktop/images/11072025/05/43/image_11072025_05_43_01_7790.jpg', 2), ('/home/pi/Desktop/images/11072025/05/42/image_11072025_05_42_02_0894.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/05/47/image_11072025_05_47_01_5343.jpg', '/home/pi/Desktop/images/11072025/05/46/image_11072025_05_46_01_9334.jpg', '/home/pi/Desktop/images/11072025/05/45/image_11072025_05_45_01_3926.jpg', '/home/pi/Desktop/images/11072025/05/44/image_11072025_05_44_02_0042.jpg', '/home/pi/Desktop/images/11072025/05/43/image_11072025_05_43_01_7790.jpg', '/home/pi/Desktop/images/11072025/05/42/image_11072025_05_42_02_0894.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/05/47/image_11072025_05_47_01_5343.jpg
/home/pi/Desktop/images/11072025/05/46/image_11072025_05_46_01_9334.jpg
/home/pi/Desktop/images/11072025/05/45/image_11072025_05_45_01_3926.jpg
/home/pi/Desktop/images/11072025/05/44/image_11072025_05_44_02_0042.jpg
/home/pi/Desktop/images/11072025/05/43/image_11072025_05_43_01_7790.jpg
/home/pi/Desktop/images/11072025/05/42/image_11072025_05_42_02_0894.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 31.665919542312622 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 05:51:05.906002
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/05/48/image_11072025_05_48_02_0647.jpg', 2), ('/home/pi/Desktop/images/11072025/05/47/image_11072025_05_47_01_5343.jpg', 2), ('/home/pi/Desktop/images/11072025/05/46/image_11072025_05_46_01_9334.jpg', 2), ('/home/pi/Desktop/images/11072025/05/45/image_11072025_05_45_01_3926.jpg', 2), ('/home/pi/Desktop/images/11072025/05/44/image_11072025_05_44_02_0042.jpg', 2), ('/home/pi/Desktop/images/11072025/05/43/image_11072025_05_43_01_7790.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/05/48/image_11072025_05_48_02_0647.jpg', '/home/pi/Desktop/images/11072025/05/47/image_11072025_05_47_01_5343.jpg', '/home/pi/Desktop/images/11072025/05/46/image_11072025_05_46_01_9334.jpg', '/home/pi/Desktop/images/11072025/05/45/image_11072025_05_45_01_3926.jpg', '/home/pi/Desktop/images/11072025/05/44/image_11072025_05_44_02_0042.jpg', '/home/pi/Desktop/images/11072025/05/43/image_11072025_05_43_01_7790.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/05/48/image_11072025_05_48_02_0647.jpg
/home/pi/Desktop/images/11072025/05/47/image_11072025_05_47_01_5343.jpg
/home/pi/Desktop/images/11072025/05/46/image_11072025_05_46_01_9334.jpg
/home/pi/Desktop/images/11072025/05/45/image_11072025_05_45_01_3926.jpg
/home/pi/Desktop/images/11072025/05/44/image_11072025_05_44_02_0042.jpg
/home/pi/Desktop/images/11072025/05/43/image_11072025_05_43_01_7790.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.66426205635071 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 05:52:03.348133
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/05/48/image_11072025_05_48_02_0647.jpg', 2), ('/home/pi/Desktop/images/11072025/05/47/image_11072025_05_47_01_5343.jpg', 2), ('/home/pi/Desktop/images/11072025/05/46/image_11072025_05_46_01_9334.jpg', 2), ('/home/pi/Desktop/images/11072025/05/45/image_11072025_05_45_01_3926.jpg', 2), ('/home/pi/Desktop/images/11072025/05/44/image_11072025_05_44_02_0042.jpg', 2), ('/home/pi/Desktop/images/11072025/05/43/image_11072025_05_43_01_7790.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/05/48/image_11072025_05_48_02_0647.jpg', '/home/pi/Desktop/images/11072025/05/47/image_11072025_05_47_01_5343.jpg', '/home/pi/Desktop/images/11072025/05/46/image_11072025_05_46_01_9334.jpg', '/home/pi/Desktop/images/11072025/05/45/image_11072025_05_45_01_3926.jpg', '/home/pi/Desktop/images/11072025/05/44/image_11072025_05_44_02_0042.jpg', '/home/pi/Desktop/images/11072025/05/43/image_11072025_05_43_01_7790.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/05/48/image_11072025_05_48_02_0647.jpg
/home/pi/Desktop/images/11072025/05/47/image_11072025_05_47_01_5343.jpg
/home/pi/Desktop/images/11072025/05/46/image_11072025_05_46_01_9334.jpg
/home/pi/Desktop/images/11072025/05/45/image_11072025_05_45_01_3926.jpg
/home/pi/Desktop/images/11072025/05/44/image_11072025_05_44_02_0042.jpg
/home/pi/Desktop/images/11072025/05/43/image_11072025_05_43_01_7790.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 30.85762047767639 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 05:53:06.120441
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/05/51/image_11072025_05_51_01_5673.jpg', 2), ('/home/pi/Desktop/images/11072025/05/48/image_11072025_05_48_02_0647.jpg', 2), ('/home/pi/Desktop/images/11072025/05/47/image_11072025_05_47_01_5343.jpg', 2), ('/home/pi/Desktop/images/11072025/05/46/image_11072025_05_46_01_9334.jpg', 2), ('/home/pi/Desktop/images/11072025/05/45/image_11072025_05_45_01_3926.jpg', 2), ('/home/pi/Desktop/images/11072025/05/44/image_11072025_05_44_02_0042.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/05/51/image_11072025_05_51_01_5673.jpg', '/home/pi/Desktop/images/11072025/05/48/image_11072025_05_48_02_0647.jpg', '/home/pi/Desktop/images/11072025/05/47/image_11072025_05_47_01_5343.jpg', '/home/pi/Desktop/images/11072025/05/46/image_11072025_05_46_01_9334.jpg', '/home/pi/Desktop/images/11072025/05/45/image_11072025_05_45_01_3926.jpg', '/home/pi/Desktop/images/11072025/05/44/image_11072025_05_44_02_0042.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/05/51/image_11072025_05_51_01_5673.jpg
/home/pi/Desktop/images/11072025/05/48/image_11072025_05_48_02_0647.jpg
/home/pi/Desktop/images/11072025/05/47/image_11072025_05_47_01_5343.jpg
/home/pi/Desktop/images/11072025/05/46/image_11072025_05_46_01_9334.jpg
/home/pi/Desktop/images/11072025/05/45/image_11072025_05_45_01_3926.jpg
/home/pi/Desktop/images/11072025/05/44/image_11072025_05_44_02_0042.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.359586000442505 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 05:54:05.002528
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/05/53/image_11072025_05_53_01_5037.jpg', 2), ('/home/pi/Desktop/images/11072025/05/51/image_11072025_05_51_01_5673.jpg', 2), ('/home/pi/Desktop/images/11072025/05/48/image_11072025_05_48_02_0647.jpg', 2), ('/home/pi/Desktop/images/11072025/05/47/image_11072025_05_47_01_5343.jpg', 2), ('/home/pi/Desktop/images/11072025/05/46/image_11072025_05_46_01_9334.jpg', 2), ('/home/pi/Desktop/images/11072025/05/45/image_11072025_05_45_01_3926.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/05/53/image_11072025_05_53_01_5037.jpg', '/home/pi/Desktop/images/11072025/05/51/image_11072025_05_51_01_5673.jpg', '/home/pi/Desktop/images/11072025/05/48/image_11072025_05_48_02_0647.jpg', '/home/pi/Desktop/images/11072025/05/47/image_11072025_05_47_01_5343.jpg', '/home/pi/Desktop/images/11072025/05/46/image_11072025_05_46_01_9334.jpg', '/home/pi/Desktop/images/11072025/05/45/image_11072025_05_45_01_3926.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/05/53/image_11072025_05_53_01_5037.jpg
/home/pi/Desktop/images/11072025/05/51/image_11072025_05_51_01_5673.jpg
/home/pi/Desktop/images/11072025/05/48/image_11072025_05_48_02_0647.jpg
/home/pi/Desktop/images/11072025/05/47/image_11072025_05_47_01_5343.jpg
/home/pi/Desktop/images/11072025/05/46/image_11072025_05_46_01_9334.jpg
/home/pi/Desktop/images/11072025/05/45/image_11072025_05_45_01_3926.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.633347511291504 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 05:55:05.885507
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/05/54/image_11072025_05_54_02_1678.jpg', 2), ('/home/pi/Desktop/images/11072025/05/53/image_11072025_05_53_01_5037.jpg', 2), ('/home/pi/Desktop/images/11072025/05/51/image_11072025_05_51_01_5673.jpg', 2), ('/home/pi/Desktop/images/11072025/05/48/image_11072025_05_48_02_0647.jpg', 2), ('/home/pi/Desktop/images/11072025/05/47/image_11072025_05_47_01_5343.jpg', 2), ('/home/pi/Desktop/images/11072025/05/46/image_11072025_05_46_01_9334.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/05/54/image_11072025_05_54_02_1678.jpg', '/home/pi/Desktop/images/11072025/05/53/image_11072025_05_53_01_5037.jpg', '/home/pi/Desktop/images/11072025/05/51/image_11072025_05_51_01_5673.jpg', '/home/pi/Desktop/images/11072025/05/48/image_11072025_05_48_02_0647.jpg', '/home/pi/Desktop/images/11072025/05/47/image_11072025_05_47_01_5343.jpg', '/home/pi/Desktop/images/11072025/05/46/image_11072025_05_46_01_9334.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/05/54/image_11072025_05_54_02_1678.jpg
/home/pi/Desktop/images/11072025/05/53/image_11072025_05_53_01_5037.jpg
/home/pi/Desktop/images/11072025/05/51/image_11072025_05_51_01_5673.jpg
/home/pi/Desktop/images/11072025/05/48/image_11072025_05_48_02_0647.jpg
/home/pi/Desktop/images/11072025/05/47/image_11072025_05_47_01_5343.jpg
/home/pi/Desktop/images/11072025/05/46/image_11072025_05_46_01_9334.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.023825883865356 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 05:56:05.105342
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/05/55/image_11072025_05_55_01_4133.jpg', 2), ('/home/pi/Desktop/images/11072025/05/54/image_11072025_05_54_02_1678.jpg', 2), ('/home/pi/Desktop/images/11072025/05/53/image_11072025_05_53_01_5037.jpg', 2), ('/home/pi/Desktop/images/11072025/05/51/image_11072025_05_51_01_5673.jpg', 2), ('/home/pi/Desktop/images/11072025/05/48/image_11072025_05_48_02_0647.jpg', 2), ('/home/pi/Desktop/images/11072025/05/47/image_11072025_05_47_01_5343.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/05/55/image_11072025_05_55_01_4133.jpg', '/home/pi/Desktop/images/11072025/05/54/image_11072025_05_54_02_1678.jpg', '/home/pi/Desktop/images/11072025/05/53/image_11072025_05_53_01_5037.jpg', '/home/pi/Desktop/images/11072025/05/51/image_11072025_05_51_01_5673.jpg', '/home/pi/Desktop/images/11072025/05/48/image_11072025_05_48_02_0647.jpg', '/home/pi/Desktop/images/11072025/05/47/image_11072025_05_47_01_5343.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/05/55/image_11072025_05_55_01_4133.jpg
/home/pi/Desktop/images/11072025/05/54/image_11072025_05_54_02_1678.jpg
/home/pi/Desktop/images/11072025/05/53/image_11072025_05_53_01_5037.jpg
/home/pi/Desktop/images/11072025/05/51/image_11072025_05_51_01_5673.jpg
/home/pi/Desktop/images/11072025/05/48/image_11072025_05_48_02_0647.jpg
/home/pi/Desktop/images/11072025/05/47/image_11072025_05_47_01_5343.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 32.89116668701172 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 05:57:04.960072
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/05/55/image_11072025_05_55_01_4133.jpg', 2), ('/home/pi/Desktop/images/11072025/05/54/image_11072025_05_54_02_1678.jpg', 2), ('/home/pi/Desktop/images/11072025/05/53/image_11072025_05_53_01_5037.jpg', 2), ('/home/pi/Desktop/images/11072025/05/51/image_11072025_05_51_01_5673.jpg', 2), ('/home/pi/Desktop/images/11072025/05/48/image_11072025_05_48_02_0647.jpg', 2), ('/home/pi/Desktop/images/11072025/05/47/image_11072025_05_47_01_5343.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/05/55/image_11072025_05_55_01_4133.jpg', '/home/pi/Desktop/images/11072025/05/54/image_11072025_05_54_02_1678.jpg', '/home/pi/Desktop/images/11072025/05/53/image_11072025_05_53_01_5037.jpg', '/home/pi/Desktop/images/11072025/05/51/image_11072025_05_51_01_5673.jpg', '/home/pi/Desktop/images/11072025/05/48/image_11072025_05_48_02_0647.jpg', '/home/pi/Desktop/images/11072025/05/47/image_11072025_05_47_01_5343.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/05/55/image_11072025_05_55_01_4133.jpg
/home/pi/Desktop/images/11072025/05/54/image_11072025_05_54_02_1678.jpg
/home/pi/Desktop/images/11072025/05/53/image_11072025_05_53_01_5037.jpg
/home/pi/Desktop/images/11072025/05/51/image_11072025_05_51_01_5673.jpg
/home/pi/Desktop/images/11072025/05/48/image_11072025_05_48_02_0647.jpg
/home/pi/Desktop/images/11072025/05/47/image_11072025_05_47_01_5343.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.17906665802002 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 05:59:04.572768
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
1 photos no longer on disk
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/06/00/image_11072025_06_00_01_9434.jpg', 2), ('/home/pi/Desktop/images/11072025/05/58/image_11072025_05_58_01_3688.jpg', 2), ('/home/pi/Desktop/images/11072025/05/56/image_11072025_05_56_01_9175.jpg', 2), ('/home/pi/Desktop/images/11072025/05/55/image_11072025_05_55_01_4133.jpg', 2), ('/home/pi/Desktop/images/11072025/05/54/image_11072025_05_54_02_1678.jpg', 2), ('/home/pi/Desktop/images/11072025/05/53/image_11072025_05_53_01_5037.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/05/58/image_11072025_05_58_01_3688.jpg', '/home/pi/Desktop/images/11072025/05/56/image_11072025_05_56_01_9175.jpg', '/home/pi/Desktop/images/11072025/05/55/image_11072025_05_55_01_4133.jpg', '/home/pi/Desktop/images/11072025/05/54/image_11072025_05_54_02_1678.jpg', '/home/pi/Desktop/images/11072025/05/53/image_11072025_05_53_01_5037.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/05/58/image_11072025_05_58_01_3688.jpg
/home/pi/Desktop/images/11072025/05/56/image_11072025_05_56_01_9175.jpg
/home/pi/Desktop/images/11072025/05/55/image_11072025_05_55_01_4133.jpg
/home/pi/Desktop/images/11072025/05/54/image_11072025_05_54_02_1678.jpg
/home/pi/Desktop/images/11072025/05/53/image_11072025_05_53_01_5037.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.86082744598389 secondes ---
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 377, in upload_from_sqlite
    upload_photo_and_update_logs(files, lsr, port_id, datou_current_id, fc, hashtags = hashtags, verbose = verbose, nb_batch= nb_batch,batch_size=limit)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 74, in upload_photo_and_update_logs
    logger.info("no_longer_on_disk_list:",no_longer_on_disk_list)
Message: 'no_longer_on_disk_list:'
Arguments: (['/home/pi/Desktop/images/11072025/06/00/image_11072025_06_00_01_9434.jpg'],)
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 06:00:03.468563
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/05/58/image_11072025_05_58_01_3688.jpg', 2), ('/home/pi/Desktop/images/11072025/05/56/image_11072025_05_56_01_9175.jpg', 2), ('/home/pi/Desktop/images/11072025/05/55/image_11072025_05_55_01_4133.jpg', 2), ('/home/pi/Desktop/images/11072025/05/54/image_11072025_05_54_02_1678.jpg', 2), ('/home/pi/Desktop/images/11072025/05/53/image_11072025_05_53_01_5037.jpg', 2), ('/home/pi/Desktop/images/11072025/05/51/image_11072025_05_51_01_5673.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/05/58/image_11072025_05_58_01_3688.jpg', '/home/pi/Desktop/images/11072025/05/56/image_11072025_05_56_01_9175.jpg', '/home/pi/Desktop/images/11072025/05/55/image_11072025_05_55_01_4133.jpg', '/home/pi/Desktop/images/11072025/05/54/image_11072025_05_54_02_1678.jpg', '/home/pi/Desktop/images/11072025/05/53/image_11072025_05_53_01_5037.jpg', '/home/pi/Desktop/images/11072025/05/51/image_11072025_05_51_01_5673.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/05/58/image_11072025_05_58_01_3688.jpg
/home/pi/Desktop/images/11072025/05/56/image_11072025_05_56_01_9175.jpg
/home/pi/Desktop/images/11072025/05/55/image_11072025_05_55_01_4133.jpg
/home/pi/Desktop/images/11072025/05/54/image_11072025_05_54_02_1678.jpg
/home/pi/Desktop/images/11072025/05/53/image_11072025_05_53_01_5037.jpg
/home/pi/Desktop/images/11072025/05/51/image_11072025_05_51_01_5673.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 32.22690725326538 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 06:01:05.933879
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/05/59/image_11072025_05_59_02_2275.jpg', 2), ('/home/pi/Desktop/images/11072025/05/58/image_11072025_05_58_01_3688.jpg', 2), ('/home/pi/Desktop/images/11072025/05/56/image_11072025_05_56_01_9175.jpg', 2), ('/home/pi/Desktop/images/11072025/05/55/image_11072025_05_55_01_4133.jpg', 2), ('/home/pi/Desktop/images/11072025/05/54/image_11072025_05_54_02_1678.jpg', 2), ('/home/pi/Desktop/images/11072025/05/53/image_11072025_05_53_01_5037.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/05/59/image_11072025_05_59_02_2275.jpg', '/home/pi/Desktop/images/11072025/05/58/image_11072025_05_58_01_3688.jpg', '/home/pi/Desktop/images/11072025/05/56/image_11072025_05_56_01_9175.jpg', '/home/pi/Desktop/images/11072025/05/55/image_11072025_05_55_01_4133.jpg', '/home/pi/Desktop/images/11072025/05/54/image_11072025_05_54_02_1678.jpg', '/home/pi/Desktop/images/11072025/05/53/image_11072025_05_53_01_5037.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/05/59/image_11072025_05_59_02_2275.jpg
/home/pi/Desktop/images/11072025/05/58/image_11072025_05_58_01_3688.jpg
/home/pi/Desktop/images/11072025/05/56/image_11072025_05_56_01_9175.jpg
/home/pi/Desktop/images/11072025/05/55/image_11072025_05_55_01_4133.jpg
/home/pi/Desktop/images/11072025/05/54/image_11072025_05_54_02_1678.jpg
/home/pi/Desktop/images/11072025/05/53/image_11072025_05_53_01_5037.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.849122047424316 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 06:02:05.293286
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/06/01/image_11072025_06_01_02_0436.jpg', 2), ('/home/pi/Desktop/images/11072025/05/59/image_11072025_05_59_02_2275.jpg', 2), ('/home/pi/Desktop/images/11072025/05/58/image_11072025_05_58_01_3688.jpg', 2), ('/home/pi/Desktop/images/11072025/05/56/image_11072025_05_56_01_9175.jpg', 2), ('/home/pi/Desktop/images/11072025/05/55/image_11072025_05_55_01_4133.jpg', 2), ('/home/pi/Desktop/images/11072025/05/54/image_11072025_05_54_02_1678.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/06/01/image_11072025_06_01_02_0436.jpg', '/home/pi/Desktop/images/11072025/05/59/image_11072025_05_59_02_2275.jpg', '/home/pi/Desktop/images/11072025/05/58/image_11072025_05_58_01_3688.jpg', '/home/pi/Desktop/images/11072025/05/56/image_11072025_05_56_01_9175.jpg', '/home/pi/Desktop/images/11072025/05/55/image_11072025_05_55_01_4133.jpg', '/home/pi/Desktop/images/11072025/05/54/image_11072025_05_54_02_1678.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/06/01/image_11072025_06_01_02_0436.jpg
/home/pi/Desktop/images/11072025/05/59/image_11072025_05_59_02_2275.jpg
/home/pi/Desktop/images/11072025/05/58/image_11072025_05_58_01_3688.jpg
/home/pi/Desktop/images/11072025/05/56/image_11072025_05_56_01_9175.jpg
/home/pi/Desktop/images/11072025/05/55/image_11072025_05_55_01_4133.jpg
/home/pi/Desktop/images/11072025/05/54/image_11072025_05_54_02_1678.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 32.77088284492493 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 06:03:05.902913
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/06/02/image_11072025_06_02_01_8018.jpg', 2), ('/home/pi/Desktop/images/11072025/06/01/image_11072025_06_01_02_0436.jpg', 2), ('/home/pi/Desktop/images/11072025/05/59/image_11072025_05_59_02_2275.jpg', 2), ('/home/pi/Desktop/images/11072025/05/58/image_11072025_05_58_01_3688.jpg', 2), ('/home/pi/Desktop/images/11072025/05/56/image_11072025_05_56_01_9175.jpg', 2), ('/home/pi/Desktop/images/11072025/05/55/image_11072025_05_55_01_4133.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/06/02/image_11072025_06_02_01_8018.jpg', '/home/pi/Desktop/images/11072025/06/01/image_11072025_06_01_02_0436.jpg', '/home/pi/Desktop/images/11072025/05/59/image_11072025_05_59_02_2275.jpg', '/home/pi/Desktop/images/11072025/05/58/image_11072025_05_58_01_3688.jpg', '/home/pi/Desktop/images/11072025/05/56/image_11072025_05_56_01_9175.jpg', '/home/pi/Desktop/images/11072025/05/55/image_11072025_05_55_01_4133.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/06/02/image_11072025_06_02_01_8018.jpg
/home/pi/Desktop/images/11072025/06/01/image_11072025_06_01_02_0436.jpg
/home/pi/Desktop/images/11072025/05/59/image_11072025_05_59_02_2275.jpg
/home/pi/Desktop/images/11072025/05/58/image_11072025_05_58_01_3688.jpg
/home/pi/Desktop/images/11072025/05/56/image_11072025_05_56_01_9175.jpg
/home/pi/Desktop/images/11072025/05/55/image_11072025_05_55_01_4133.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.27805042266846 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 06:04:05.844828
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/06/03/image_11072025_06_03_01_8105.jpg', 2), ('/home/pi/Desktop/images/11072025/06/02/image_11072025_06_02_01_8018.jpg', 2), ('/home/pi/Desktop/images/11072025/06/01/image_11072025_06_01_02_0436.jpg', 2), ('/home/pi/Desktop/images/11072025/05/59/image_11072025_05_59_02_2275.jpg', 2), ('/home/pi/Desktop/images/11072025/05/58/image_11072025_05_58_01_3688.jpg', 2), ('/home/pi/Desktop/images/11072025/05/56/image_11072025_05_56_01_9175.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/06/03/image_11072025_06_03_01_8105.jpg', '/home/pi/Desktop/images/11072025/06/02/image_11072025_06_02_01_8018.jpg', '/home/pi/Desktop/images/11072025/06/01/image_11072025_06_01_02_0436.jpg', '/home/pi/Desktop/images/11072025/05/59/image_11072025_05_59_02_2275.jpg', '/home/pi/Desktop/images/11072025/05/58/image_11072025_05_58_01_3688.jpg', '/home/pi/Desktop/images/11072025/05/56/image_11072025_05_56_01_9175.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/06/03/image_11072025_06_03_01_8105.jpg
/home/pi/Desktop/images/11072025/06/02/image_11072025_06_02_01_8018.jpg
/home/pi/Desktop/images/11072025/06/01/image_11072025_06_01_02_0436.jpg
/home/pi/Desktop/images/11072025/05/59/image_11072025_05_59_02_2275.jpg
/home/pi/Desktop/images/11072025/05/58/image_11072025_05_58_01_3688.jpg
/home/pi/Desktop/images/11072025/05/56/image_11072025_05_56_01_9175.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.46650981903076 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 06:05:05.232800
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/06/04/image_11072025_06_04_02_0003.jpg', 2), ('/home/pi/Desktop/images/11072025/06/03/image_11072025_06_03_01_8105.jpg', 2), ('/home/pi/Desktop/images/11072025/06/02/image_11072025_06_02_01_8018.jpg', 2), ('/home/pi/Desktop/images/11072025/06/01/image_11072025_06_01_02_0436.jpg', 2), ('/home/pi/Desktop/images/11072025/05/59/image_11072025_05_59_02_2275.jpg', 2), ('/home/pi/Desktop/images/11072025/05/58/image_11072025_05_58_01_3688.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/06/04/image_11072025_06_04_02_0003.jpg', '/home/pi/Desktop/images/11072025/06/03/image_11072025_06_03_01_8105.jpg', '/home/pi/Desktop/images/11072025/06/02/image_11072025_06_02_01_8018.jpg', '/home/pi/Desktop/images/11072025/06/01/image_11072025_06_01_02_0436.jpg', '/home/pi/Desktop/images/11072025/05/59/image_11072025_05_59_02_2275.jpg', '/home/pi/Desktop/images/11072025/05/58/image_11072025_05_58_01_3688.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/06/04/image_11072025_06_04_02_0003.jpg
/home/pi/Desktop/images/11072025/06/03/image_11072025_06_03_01_8105.jpg
/home/pi/Desktop/images/11072025/06/02/image_11072025_06_02_01_8018.jpg
/home/pi/Desktop/images/11072025/06/01/image_11072025_06_01_02_0436.jpg
/home/pi/Desktop/images/11072025/05/59/image_11072025_05_59_02_2275.jpg
/home/pi/Desktop/images/11072025/05/58/image_11072025_05_58_01_3688.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.383490800857544 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 06:06:05.161489
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/06/05/image_11072025_06_05_02_2106.jpg', 2), ('/home/pi/Desktop/images/11072025/06/04/image_11072025_06_04_02_0003.jpg', 2), ('/home/pi/Desktop/images/11072025/06/03/image_11072025_06_03_01_8105.jpg', 2), ('/home/pi/Desktop/images/11072025/06/02/image_11072025_06_02_01_8018.jpg', 2), ('/home/pi/Desktop/images/11072025/06/01/image_11072025_06_01_02_0436.jpg', 2), ('/home/pi/Desktop/images/11072025/05/59/image_11072025_05_59_02_2275.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/06/05/image_11072025_06_05_02_2106.jpg', '/home/pi/Desktop/images/11072025/06/04/image_11072025_06_04_02_0003.jpg', '/home/pi/Desktop/images/11072025/06/03/image_11072025_06_03_01_8105.jpg', '/home/pi/Desktop/images/11072025/06/02/image_11072025_06_02_01_8018.jpg', '/home/pi/Desktop/images/11072025/06/01/image_11072025_06_01_02_0436.jpg', '/home/pi/Desktop/images/11072025/05/59/image_11072025_05_59_02_2275.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/06/05/image_11072025_06_05_02_2106.jpg
/home/pi/Desktop/images/11072025/06/04/image_11072025_06_04_02_0003.jpg
/home/pi/Desktop/images/11072025/06/03/image_11072025_06_03_01_8105.jpg
/home/pi/Desktop/images/11072025/06/02/image_11072025_06_02_01_8018.jpg
/home/pi/Desktop/images/11072025/06/01/image_11072025_06_01_02_0436.jpg
/home/pi/Desktop/images/11072025/05/59/image_11072025_05_59_02_2275.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.590521812438965 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 06:07:05.500391
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/06/06/image_11072025_06_06_01_5292.jpg', 2), ('/home/pi/Desktop/images/11072025/06/05/image_11072025_06_05_02_2106.jpg', 2), ('/home/pi/Desktop/images/11072025/06/04/image_11072025_06_04_02_0003.jpg', 2), ('/home/pi/Desktop/images/11072025/06/03/image_11072025_06_03_01_8105.jpg', 2), ('/home/pi/Desktop/images/11072025/06/02/image_11072025_06_02_01_8018.jpg', 2), ('/home/pi/Desktop/images/11072025/06/01/image_11072025_06_01_02_0436.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/06/06/image_11072025_06_06_01_5292.jpg', '/home/pi/Desktop/images/11072025/06/05/image_11072025_06_05_02_2106.jpg', '/home/pi/Desktop/images/11072025/06/04/image_11072025_06_04_02_0003.jpg', '/home/pi/Desktop/images/11072025/06/03/image_11072025_06_03_01_8105.jpg', '/home/pi/Desktop/images/11072025/06/02/image_11072025_06_02_01_8018.jpg', '/home/pi/Desktop/images/11072025/06/01/image_11072025_06_01_02_0436.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/06/06/image_11072025_06_06_01_5292.jpg
/home/pi/Desktop/images/11072025/06/05/image_11072025_06_05_02_2106.jpg
/home/pi/Desktop/images/11072025/06/04/image_11072025_06_04_02_0003.jpg
/home/pi/Desktop/images/11072025/06/03/image_11072025_06_03_01_8105.jpg
/home/pi/Desktop/images/11072025/06/02/image_11072025_06_02_01_8018.jpg
/home/pi/Desktop/images/11072025/06/01/image_11072025_06_01_02_0436.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.434635162353516 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 06:08:05.694366
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/06/07/image_11072025_06_07_01_6873.jpg', 2), ('/home/pi/Desktop/images/11072025/06/06/image_11072025_06_06_01_5292.jpg', 2), ('/home/pi/Desktop/images/11072025/06/05/image_11072025_06_05_02_2106.jpg', 2), ('/home/pi/Desktop/images/11072025/06/04/image_11072025_06_04_02_0003.jpg', 2), ('/home/pi/Desktop/images/11072025/06/03/image_11072025_06_03_01_8105.jpg', 2), ('/home/pi/Desktop/images/11072025/06/02/image_11072025_06_02_01_8018.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/06/07/image_11072025_06_07_01_6873.jpg', '/home/pi/Desktop/images/11072025/06/06/image_11072025_06_06_01_5292.jpg', '/home/pi/Desktop/images/11072025/06/05/image_11072025_06_05_02_2106.jpg', '/home/pi/Desktop/images/11072025/06/04/image_11072025_06_04_02_0003.jpg', '/home/pi/Desktop/images/11072025/06/03/image_11072025_06_03_01_8105.jpg', '/home/pi/Desktop/images/11072025/06/02/image_11072025_06_02_01_8018.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/06/07/image_11072025_06_07_01_6873.jpg
/home/pi/Desktop/images/11072025/06/06/image_11072025_06_06_01_5292.jpg
/home/pi/Desktop/images/11072025/06/05/image_11072025_06_05_02_2106.jpg
/home/pi/Desktop/images/11072025/06/04/image_11072025_06_04_02_0003.jpg
/home/pi/Desktop/images/11072025/06/03/image_11072025_06_03_01_8105.jpg
/home/pi/Desktop/images/11072025/06/02/image_11072025_06_02_01_8018.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.40463733673096 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 06:09:05.882491
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/06/08/image_11072025_06_08_01_6483.jpg', 2), ('/home/pi/Desktop/images/11072025/06/07/image_11072025_06_07_01_6873.jpg', 2), ('/home/pi/Desktop/images/11072025/06/06/image_11072025_06_06_01_5292.jpg', 2), ('/home/pi/Desktop/images/11072025/06/05/image_11072025_06_05_02_2106.jpg', 2), ('/home/pi/Desktop/images/11072025/06/04/image_11072025_06_04_02_0003.jpg', 2), ('/home/pi/Desktop/images/11072025/06/03/image_11072025_06_03_01_8105.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/06/08/image_11072025_06_08_01_6483.jpg', '/home/pi/Desktop/images/11072025/06/07/image_11072025_06_07_01_6873.jpg', '/home/pi/Desktop/images/11072025/06/06/image_11072025_06_06_01_5292.jpg', '/home/pi/Desktop/images/11072025/06/05/image_11072025_06_05_02_2106.jpg', '/home/pi/Desktop/images/11072025/06/04/image_11072025_06_04_02_0003.jpg', '/home/pi/Desktop/images/11072025/06/03/image_11072025_06_03_01_8105.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/06/08/image_11072025_06_08_01_6483.jpg
/home/pi/Desktop/images/11072025/06/07/image_11072025_06_07_01_6873.jpg
/home/pi/Desktop/images/11072025/06/06/image_11072025_06_06_01_5292.jpg
/home/pi/Desktop/images/11072025/06/05/image_11072025_06_05_02_2106.jpg
/home/pi/Desktop/images/11072025/06/04/image_11072025_06_04_02_0003.jpg
/home/pi/Desktop/images/11072025/06/03/image_11072025_06_03_01_8105.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.30149221420288 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 06:10:05.638783
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/06/08/image_11072025_06_08_01_6483.jpg', 2), ('/home/pi/Desktop/images/11072025/06/07/image_11072025_06_07_01_6873.jpg', 2), ('/home/pi/Desktop/images/11072025/06/06/image_11072025_06_06_01_5292.jpg', 2), ('/home/pi/Desktop/images/11072025/06/05/image_11072025_06_05_02_2106.jpg', 2), ('/home/pi/Desktop/images/11072025/06/04/image_11072025_06_04_02_0003.jpg', 2), ('/home/pi/Desktop/images/11072025/06/03/image_11072025_06_03_01_8105.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/06/08/image_11072025_06_08_01_6483.jpg', '/home/pi/Desktop/images/11072025/06/07/image_11072025_06_07_01_6873.jpg', '/home/pi/Desktop/images/11072025/06/06/image_11072025_06_06_01_5292.jpg', '/home/pi/Desktop/images/11072025/06/05/image_11072025_06_05_02_2106.jpg', '/home/pi/Desktop/images/11072025/06/04/image_11072025_06_04_02_0003.jpg', '/home/pi/Desktop/images/11072025/06/03/image_11072025_06_03_01_8105.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/06/08/image_11072025_06_08_01_6483.jpg
/home/pi/Desktop/images/11072025/06/07/image_11072025_06_07_01_6873.jpg
/home/pi/Desktop/images/11072025/06/06/image_11072025_06_06_01_5292.jpg
/home/pi/Desktop/images/11072025/06/05/image_11072025_06_05_02_2106.jpg
/home/pi/Desktop/images/11072025/06/04/image_11072025_06_04_02_0003.jpg
/home/pi/Desktop/images/11072025/06/03/image_11072025_06_03_01_8105.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 32.71304202079773 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 06:11:04.980999
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/06/09/image_11072025_06_09_02_1532.jpg', 2), ('/home/pi/Desktop/images/11072025/06/08/image_11072025_06_08_01_6483.jpg', 2), ('/home/pi/Desktop/images/11072025/06/07/image_11072025_06_07_01_6873.jpg', 2), ('/home/pi/Desktop/images/11072025/06/06/image_11072025_06_06_01_5292.jpg', 2), ('/home/pi/Desktop/images/11072025/06/05/image_11072025_06_05_02_2106.jpg', 2), ('/home/pi/Desktop/images/11072025/06/04/image_11072025_06_04_02_0003.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/06/09/image_11072025_06_09_02_1532.jpg', '/home/pi/Desktop/images/11072025/06/08/image_11072025_06_08_01_6483.jpg', '/home/pi/Desktop/images/11072025/06/07/image_11072025_06_07_01_6873.jpg', '/home/pi/Desktop/images/11072025/06/06/image_11072025_06_06_01_5292.jpg', '/home/pi/Desktop/images/11072025/06/05/image_11072025_06_05_02_2106.jpg', '/home/pi/Desktop/images/11072025/06/04/image_11072025_06_04_02_0003.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/06/09/image_11072025_06_09_02_1532.jpg
/home/pi/Desktop/images/11072025/06/08/image_11072025_06_08_01_6483.jpg
/home/pi/Desktop/images/11072025/06/07/image_11072025_06_07_01_6873.jpg
/home/pi/Desktop/images/11072025/06/06/image_11072025_06_06_01_5292.jpg
/home/pi/Desktop/images/11072025/06/05/image_11072025_06_05_02_2106.jpg
/home/pi/Desktop/images/11072025/06/04/image_11072025_06_04_02_0003.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.526601791381836 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 06:12:05.354481
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/06/11/image_11072025_06_11_02_0017.jpg', 2), ('/home/pi/Desktop/images/11072025/06/09/image_11072025_06_09_02_1532.jpg', 2), ('/home/pi/Desktop/images/11072025/06/08/image_11072025_06_08_01_6483.jpg', 2), ('/home/pi/Desktop/images/11072025/06/07/image_11072025_06_07_01_6873.jpg', 2), ('/home/pi/Desktop/images/11072025/06/06/image_11072025_06_06_01_5292.jpg', 2), ('/home/pi/Desktop/images/11072025/06/05/image_11072025_06_05_02_2106.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/06/11/image_11072025_06_11_02_0017.jpg', '/home/pi/Desktop/images/11072025/06/09/image_11072025_06_09_02_1532.jpg', '/home/pi/Desktop/images/11072025/06/08/image_11072025_06_08_01_6483.jpg', '/home/pi/Desktop/images/11072025/06/07/image_11072025_06_07_01_6873.jpg', '/home/pi/Desktop/images/11072025/06/06/image_11072025_06_06_01_5292.jpg', '/home/pi/Desktop/images/11072025/06/05/image_11072025_06_05_02_2106.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/06/11/image_11072025_06_11_02_0017.jpg
/home/pi/Desktop/images/11072025/06/09/image_11072025_06_09_02_1532.jpg
/home/pi/Desktop/images/11072025/06/08/image_11072025_06_08_01_6483.jpg
/home/pi/Desktop/images/11072025/06/07/image_11072025_06_07_01_6873.jpg
/home/pi/Desktop/images/11072025/06/06/image_11072025_06_06_01_5292.jpg
/home/pi/Desktop/images/11072025/06/05/image_11072025_06_05_02_2106.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.30721592903137 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 06:13:05.648660
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/06/11/image_11072025_06_11_02_0017.jpg', 2), ('/home/pi/Desktop/images/11072025/06/09/image_11072025_06_09_02_1532.jpg', 2), ('/home/pi/Desktop/images/11072025/06/08/image_11072025_06_08_01_6483.jpg', 2), ('/home/pi/Desktop/images/11072025/06/07/image_11072025_06_07_01_6873.jpg', 2), ('/home/pi/Desktop/images/11072025/06/06/image_11072025_06_06_01_5292.jpg', 2), ('/home/pi/Desktop/images/11072025/06/05/image_11072025_06_05_02_2106.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/06/11/image_11072025_06_11_02_0017.jpg', '/home/pi/Desktop/images/11072025/06/09/image_11072025_06_09_02_1532.jpg', '/home/pi/Desktop/images/11072025/06/08/image_11072025_06_08_01_6483.jpg', '/home/pi/Desktop/images/11072025/06/07/image_11072025_06_07_01_6873.jpg', '/home/pi/Desktop/images/11072025/06/06/image_11072025_06_06_01_5292.jpg', '/home/pi/Desktop/images/11072025/06/05/image_11072025_06_05_02_2106.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/06/11/image_11072025_06_11_02_0017.jpg
/home/pi/Desktop/images/11072025/06/09/image_11072025_06_09_02_1532.jpg
/home/pi/Desktop/images/11072025/06/08/image_11072025_06_08_01_6483.jpg
/home/pi/Desktop/images/11072025/06/07/image_11072025_06_07_01_6873.jpg
/home/pi/Desktop/images/11072025/06/06/image_11072025_06_06_01_5292.jpg
/home/pi/Desktop/images/11072025/06/05/image_11072025_06_05_02_2106.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.32245683670044 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 06:14:05.473272
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/06/12/image_11072025_06_12_01_5634.jpg', 2), ('/home/pi/Desktop/images/11072025/06/11/image_11072025_06_11_02_0017.jpg', 2), ('/home/pi/Desktop/images/11072025/06/09/image_11072025_06_09_02_1532.jpg', 2), ('/home/pi/Desktop/images/11072025/06/08/image_11072025_06_08_01_6483.jpg', 2), ('/home/pi/Desktop/images/11072025/06/07/image_11072025_06_07_01_6873.jpg', 2), ('/home/pi/Desktop/images/11072025/06/06/image_11072025_06_06_01_5292.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/06/12/image_11072025_06_12_01_5634.jpg', '/home/pi/Desktop/images/11072025/06/11/image_11072025_06_11_02_0017.jpg', '/home/pi/Desktop/images/11072025/06/09/image_11072025_06_09_02_1532.jpg', '/home/pi/Desktop/images/11072025/06/08/image_11072025_06_08_01_6483.jpg', '/home/pi/Desktop/images/11072025/06/07/image_11072025_06_07_01_6873.jpg', '/home/pi/Desktop/images/11072025/06/06/image_11072025_06_06_01_5292.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/06/12/image_11072025_06_12_01_5634.jpg
/home/pi/Desktop/images/11072025/06/11/image_11072025_06_11_02_0017.jpg
/home/pi/Desktop/images/11072025/06/09/image_11072025_06_09_02_1532.jpg
/home/pi/Desktop/images/11072025/06/08/image_11072025_06_08_01_6483.jpg
/home/pi/Desktop/images/11072025/06/07/image_11072025_06_07_01_6873.jpg
/home/pi/Desktop/images/11072025/06/06/image_11072025_06_06_01_5292.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.599506855010986 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 06:15:05.842901
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/06/14/image_11072025_06_14_01_7549.jpg', 2), ('/home/pi/Desktop/images/11072025/06/12/image_11072025_06_12_01_5634.jpg', 2), ('/home/pi/Desktop/images/11072025/06/11/image_11072025_06_11_02_0017.jpg', 2), ('/home/pi/Desktop/images/11072025/06/09/image_11072025_06_09_02_1532.jpg', 2), ('/home/pi/Desktop/images/11072025/06/08/image_11072025_06_08_01_6483.jpg', 2), ('/home/pi/Desktop/images/11072025/06/07/image_11072025_06_07_01_6873.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/06/14/image_11072025_06_14_01_7549.jpg', '/home/pi/Desktop/images/11072025/06/12/image_11072025_06_12_01_5634.jpg', '/home/pi/Desktop/images/11072025/06/11/image_11072025_06_11_02_0017.jpg', '/home/pi/Desktop/images/11072025/06/09/image_11072025_06_09_02_1532.jpg', '/home/pi/Desktop/images/11072025/06/08/image_11072025_06_08_01_6483.jpg', '/home/pi/Desktop/images/11072025/06/07/image_11072025_06_07_01_6873.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/06/14/image_11072025_06_14_01_7549.jpg
/home/pi/Desktop/images/11072025/06/12/image_11072025_06_12_01_5634.jpg
/home/pi/Desktop/images/11072025/06/11/image_11072025_06_11_02_0017.jpg
/home/pi/Desktop/images/11072025/06/09/image_11072025_06_09_02_1532.jpg
/home/pi/Desktop/images/11072025/06/08/image_11072025_06_08_01_6483.jpg
/home/pi/Desktop/images/11072025/06/07/image_11072025_06_07_01_6873.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.40461087226868 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 06:16:05.766227
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/06/15/image_11072025_06_15_01_8031.jpg', 2), ('/home/pi/Desktop/images/11072025/06/14/image_11072025_06_14_01_7549.jpg', 2), ('/home/pi/Desktop/images/11072025/06/12/image_11072025_06_12_01_5634.jpg', 2), ('/home/pi/Desktop/images/11072025/06/11/image_11072025_06_11_02_0017.jpg', 2), ('/home/pi/Desktop/images/11072025/06/09/image_11072025_06_09_02_1532.jpg', 2), ('/home/pi/Desktop/images/11072025/06/08/image_11072025_06_08_01_6483.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/06/15/image_11072025_06_15_01_8031.jpg', '/home/pi/Desktop/images/11072025/06/14/image_11072025_06_14_01_7549.jpg', '/home/pi/Desktop/images/11072025/06/12/image_11072025_06_12_01_5634.jpg', '/home/pi/Desktop/images/11072025/06/11/image_11072025_06_11_02_0017.jpg', '/home/pi/Desktop/images/11072025/06/09/image_11072025_06_09_02_1532.jpg', '/home/pi/Desktop/images/11072025/06/08/image_11072025_06_08_01_6483.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/06/15/image_11072025_06_15_01_8031.jpg
/home/pi/Desktop/images/11072025/06/14/image_11072025_06_14_01_7549.jpg
/home/pi/Desktop/images/11072025/06/12/image_11072025_06_12_01_5634.jpg
/home/pi/Desktop/images/11072025/06/11/image_11072025_06_11_02_0017.jpg
/home/pi/Desktop/images/11072025/06/09/image_11072025_06_09_02_1532.jpg
/home/pi/Desktop/images/11072025/06/08/image_11072025_06_08_01_6483.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.58157134056091 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 06:17:05.197982
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/06/16/image_11072025_06_16_02_1198.jpg', 2), ('/home/pi/Desktop/images/11072025/06/15/image_11072025_06_15_01_8031.jpg', 2), ('/home/pi/Desktop/images/11072025/06/14/image_11072025_06_14_01_7549.jpg', 2), ('/home/pi/Desktop/images/11072025/06/12/image_11072025_06_12_01_5634.jpg', 2), ('/home/pi/Desktop/images/11072025/06/11/image_11072025_06_11_02_0017.jpg', 2), ('/home/pi/Desktop/images/11072025/06/09/image_11072025_06_09_02_1532.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/06/16/image_11072025_06_16_02_1198.jpg', '/home/pi/Desktop/images/11072025/06/15/image_11072025_06_15_01_8031.jpg', '/home/pi/Desktop/images/11072025/06/14/image_11072025_06_14_01_7549.jpg', '/home/pi/Desktop/images/11072025/06/12/image_11072025_06_12_01_5634.jpg', '/home/pi/Desktop/images/11072025/06/11/image_11072025_06_11_02_0017.jpg', '/home/pi/Desktop/images/11072025/06/09/image_11072025_06_09_02_1532.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/06/16/image_11072025_06_16_02_1198.jpg
/home/pi/Desktop/images/11072025/06/15/image_11072025_06_15_01_8031.jpg
/home/pi/Desktop/images/11072025/06/14/image_11072025_06_14_01_7549.jpg
/home/pi/Desktop/images/11072025/06/12/image_11072025_06_12_01_5634.jpg
/home/pi/Desktop/images/11072025/06/11/image_11072025_06_11_02_0017.jpg
/home/pi/Desktop/images/11072025/06/09/image_11072025_06_09_02_1532.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.35509014129639 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 06:18:05.537775
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/06/17/image_11072025_06_17_01_9720.jpg', 2), ('/home/pi/Desktop/images/11072025/06/16/image_11072025_06_16_02_1198.jpg', 2), ('/home/pi/Desktop/images/11072025/06/15/image_11072025_06_15_01_8031.jpg', 2), ('/home/pi/Desktop/images/11072025/06/14/image_11072025_06_14_01_7549.jpg', 2), ('/home/pi/Desktop/images/11072025/06/12/image_11072025_06_12_01_5634.jpg', 2), ('/home/pi/Desktop/images/11072025/06/11/image_11072025_06_11_02_0017.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/06/17/image_11072025_06_17_01_9720.jpg', '/home/pi/Desktop/images/11072025/06/16/image_11072025_06_16_02_1198.jpg', '/home/pi/Desktop/images/11072025/06/15/image_11072025_06_15_01_8031.jpg', '/home/pi/Desktop/images/11072025/06/14/image_11072025_06_14_01_7549.jpg', '/home/pi/Desktop/images/11072025/06/12/image_11072025_06_12_01_5634.jpg', '/home/pi/Desktop/images/11072025/06/11/image_11072025_06_11_02_0017.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/06/17/image_11072025_06_17_01_9720.jpg
/home/pi/Desktop/images/11072025/06/16/image_11072025_06_16_02_1198.jpg
/home/pi/Desktop/images/11072025/06/15/image_11072025_06_15_01_8031.jpg
/home/pi/Desktop/images/11072025/06/14/image_11072025_06_14_01_7549.jpg
/home/pi/Desktop/images/11072025/06/12/image_11072025_06_12_01_5634.jpg
/home/pi/Desktop/images/11072025/06/11/image_11072025_06_11_02_0017.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.178359270095825 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 06:19:05.519352
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/06/17/image_11072025_06_17_01_9720.jpg', 2), ('/home/pi/Desktop/images/11072025/06/16/image_11072025_06_16_02_1198.jpg', 2), ('/home/pi/Desktop/images/11072025/06/15/image_11072025_06_15_01_8031.jpg', 2), ('/home/pi/Desktop/images/11072025/06/14/image_11072025_06_14_01_7549.jpg', 2), ('/home/pi/Desktop/images/11072025/06/12/image_11072025_06_12_01_5634.jpg', 2), ('/home/pi/Desktop/images/11072025/06/11/image_11072025_06_11_02_0017.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/06/17/image_11072025_06_17_01_9720.jpg', '/home/pi/Desktop/images/11072025/06/16/image_11072025_06_16_02_1198.jpg', '/home/pi/Desktop/images/11072025/06/15/image_11072025_06_15_01_8031.jpg', '/home/pi/Desktop/images/11072025/06/14/image_11072025_06_14_01_7549.jpg', '/home/pi/Desktop/images/11072025/06/12/image_11072025_06_12_01_5634.jpg', '/home/pi/Desktop/images/11072025/06/11/image_11072025_06_11_02_0017.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/06/17/image_11072025_06_17_01_9720.jpg
/home/pi/Desktop/images/11072025/06/16/image_11072025_06_16_02_1198.jpg
/home/pi/Desktop/images/11072025/06/15/image_11072025_06_15_01_8031.jpg
/home/pi/Desktop/images/11072025/06/14/image_11072025_06_14_01_7549.jpg
/home/pi/Desktop/images/11072025/06/12/image_11072025_06_12_01_5634.jpg
/home/pi/Desktop/images/11072025/06/11/image_11072025_06_11_02_0017.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.36119103431702 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 06:20:04.903252
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/06/18/image_11072025_06_18_01_3430.jpg', 2), ('/home/pi/Desktop/images/11072025/06/17/image_11072025_06_17_01_9720.jpg', 2), ('/home/pi/Desktop/images/11072025/06/16/image_11072025_06_16_02_1198.jpg', 2), ('/home/pi/Desktop/images/11072025/06/15/image_11072025_06_15_01_8031.jpg', 2), ('/home/pi/Desktop/images/11072025/06/14/image_11072025_06_14_01_7549.jpg', 2), ('/home/pi/Desktop/images/11072025/06/12/image_11072025_06_12_01_5634.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/06/18/image_11072025_06_18_01_3430.jpg', '/home/pi/Desktop/images/11072025/06/17/image_11072025_06_17_01_9720.jpg', '/home/pi/Desktop/images/11072025/06/16/image_11072025_06_16_02_1198.jpg', '/home/pi/Desktop/images/11072025/06/15/image_11072025_06_15_01_8031.jpg', '/home/pi/Desktop/images/11072025/06/14/image_11072025_06_14_01_7549.jpg', '/home/pi/Desktop/images/11072025/06/12/image_11072025_06_12_01_5634.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/06/18/image_11072025_06_18_01_3430.jpg
/home/pi/Desktop/images/11072025/06/17/image_11072025_06_17_01_9720.jpg
/home/pi/Desktop/images/11072025/06/16/image_11072025_06_16_02_1198.jpg
/home/pi/Desktop/images/11072025/06/15/image_11072025_06_15_01_8031.jpg
/home/pi/Desktop/images/11072025/06/14/image_11072025_06_14_01_7549.jpg
/home/pi/Desktop/images/11072025/06/12/image_11072025_06_12_01_5634.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.09259629249573 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 06:21:05.981621
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/06/20/image_11072025_06_20_01_9668.jpg', 2), ('/home/pi/Desktop/images/11072025/06/18/image_11072025_06_18_01_3430.jpg', 2), ('/home/pi/Desktop/images/11072025/06/17/image_11072025_06_17_01_9720.jpg', 2), ('/home/pi/Desktop/images/11072025/06/16/image_11072025_06_16_02_1198.jpg', 2), ('/home/pi/Desktop/images/11072025/06/15/image_11072025_06_15_01_8031.jpg', 2), ('/home/pi/Desktop/images/11072025/06/14/image_11072025_06_14_01_7549.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/06/20/image_11072025_06_20_01_9668.jpg', '/home/pi/Desktop/images/11072025/06/18/image_11072025_06_18_01_3430.jpg', '/home/pi/Desktop/images/11072025/06/17/image_11072025_06_17_01_9720.jpg', '/home/pi/Desktop/images/11072025/06/16/image_11072025_06_16_02_1198.jpg', '/home/pi/Desktop/images/11072025/06/15/image_11072025_06_15_01_8031.jpg', '/home/pi/Desktop/images/11072025/06/14/image_11072025_06_14_01_7549.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/06/20/image_11072025_06_20_01_9668.jpg
/home/pi/Desktop/images/11072025/06/18/image_11072025_06_18_01_3430.jpg
/home/pi/Desktop/images/11072025/06/17/image_11072025_06_17_01_9720.jpg
/home/pi/Desktop/images/11072025/06/16/image_11072025_06_16_02_1198.jpg
/home/pi/Desktop/images/11072025/06/15/image_11072025_06_15_01_8031.jpg
/home/pi/Desktop/images/11072025/06/14/image_11072025_06_14_01_7549.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 34.36719298362732 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 06:22:04.987420
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/06/21/image_11072025_06_21_01_4547.jpg', 2), ('/home/pi/Desktop/images/11072025/06/20/image_11072025_06_20_01_9668.jpg', 2), ('/home/pi/Desktop/images/11072025/06/18/image_11072025_06_18_01_3430.jpg', 2), ('/home/pi/Desktop/images/11072025/06/17/image_11072025_06_17_01_9720.jpg', 2), ('/home/pi/Desktop/images/11072025/06/16/image_11072025_06_16_02_1198.jpg', 2), ('/home/pi/Desktop/images/11072025/06/15/image_11072025_06_15_01_8031.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/06/21/image_11072025_06_21_01_4547.jpg', '/home/pi/Desktop/images/11072025/06/20/image_11072025_06_20_01_9668.jpg', '/home/pi/Desktop/images/11072025/06/18/image_11072025_06_18_01_3430.jpg', '/home/pi/Desktop/images/11072025/06/17/image_11072025_06_17_01_9720.jpg', '/home/pi/Desktop/images/11072025/06/16/image_11072025_06_16_02_1198.jpg', '/home/pi/Desktop/images/11072025/06/15/image_11072025_06_15_01_8031.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/06/21/image_11072025_06_21_01_4547.jpg
/home/pi/Desktop/images/11072025/06/20/image_11072025_06_20_01_9668.jpg
/home/pi/Desktop/images/11072025/06/18/image_11072025_06_18_01_3430.jpg
/home/pi/Desktop/images/11072025/06/17/image_11072025_06_17_01_9720.jpg
/home/pi/Desktop/images/11072025/06/16/image_11072025_06_16_02_1198.jpg
/home/pi/Desktop/images/11072025/06/15/image_11072025_06_15_01_8031.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.47942876815796 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 06:23:05.458751
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/06/22/image_11072025_06_22_01_7517.jpg', 2), ('/home/pi/Desktop/images/11072025/06/21/image_11072025_06_21_01_4547.jpg', 2), ('/home/pi/Desktop/images/11072025/06/20/image_11072025_06_20_01_9668.jpg', 2), ('/home/pi/Desktop/images/11072025/06/18/image_11072025_06_18_01_3430.jpg', 2), ('/home/pi/Desktop/images/11072025/06/17/image_11072025_06_17_01_9720.jpg', 2), ('/home/pi/Desktop/images/11072025/06/16/image_11072025_06_16_02_1198.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/06/22/image_11072025_06_22_01_7517.jpg', '/home/pi/Desktop/images/11072025/06/21/image_11072025_06_21_01_4547.jpg', '/home/pi/Desktop/images/11072025/06/20/image_11072025_06_20_01_9668.jpg', '/home/pi/Desktop/images/11072025/06/18/image_11072025_06_18_01_3430.jpg', '/home/pi/Desktop/images/11072025/06/17/image_11072025_06_17_01_9720.jpg', '/home/pi/Desktop/images/11072025/06/16/image_11072025_06_16_02_1198.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/06/22/image_11072025_06_22_01_7517.jpg
/home/pi/Desktop/images/11072025/06/21/image_11072025_06_21_01_4547.jpg
/home/pi/Desktop/images/11072025/06/20/image_11072025_06_20_01_9668.jpg
/home/pi/Desktop/images/11072025/06/18/image_11072025_06_18_01_3430.jpg
/home/pi/Desktop/images/11072025/06/17/image_11072025_06_17_01_9720.jpg
/home/pi/Desktop/images/11072025/06/16/image_11072025_06_16_02_1198.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.14684534072876 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 06:24:06.056855
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/06/23/image_11072025_06_23_01_3737.jpg', 2), ('/home/pi/Desktop/images/11072025/06/22/image_11072025_06_22_01_7517.jpg', 2), ('/home/pi/Desktop/images/11072025/06/21/image_11072025_06_21_01_4547.jpg', 2), ('/home/pi/Desktop/images/11072025/06/20/image_11072025_06_20_01_9668.jpg', 2), ('/home/pi/Desktop/images/11072025/06/18/image_11072025_06_18_01_3430.jpg', 2), ('/home/pi/Desktop/images/11072025/06/17/image_11072025_06_17_01_9720.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/06/23/image_11072025_06_23_01_3737.jpg', '/home/pi/Desktop/images/11072025/06/22/image_11072025_06_22_01_7517.jpg', '/home/pi/Desktop/images/11072025/06/21/image_11072025_06_21_01_4547.jpg', '/home/pi/Desktop/images/11072025/06/20/image_11072025_06_20_01_9668.jpg', '/home/pi/Desktop/images/11072025/06/18/image_11072025_06_18_01_3430.jpg', '/home/pi/Desktop/images/11072025/06/17/image_11072025_06_17_01_9720.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/06/23/image_11072025_06_23_01_3737.jpg
/home/pi/Desktop/images/11072025/06/22/image_11072025_06_22_01_7517.jpg
/home/pi/Desktop/images/11072025/06/21/image_11072025_06_21_01_4547.jpg
/home/pi/Desktop/images/11072025/06/20/image_11072025_06_20_01_9668.jpg
/home/pi/Desktop/images/11072025/06/18/image_11072025_06_18_01_3430.jpg
/home/pi/Desktop/images/11072025/06/17/image_11072025_06_17_01_9720.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 32.96707248687744 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 06:25:05.980664
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/06/24/image_11072025_06_24_01_3617.jpg', 2), ('/home/pi/Desktop/images/11072025/06/23/image_11072025_06_23_01_3737.jpg', 2), ('/home/pi/Desktop/images/11072025/06/22/image_11072025_06_22_01_7517.jpg', 2), ('/home/pi/Desktop/images/11072025/06/21/image_11072025_06_21_01_4547.jpg', 2), ('/home/pi/Desktop/images/11072025/06/20/image_11072025_06_20_01_9668.jpg', 2), ('/home/pi/Desktop/images/11072025/06/18/image_11072025_06_18_01_3430.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/06/24/image_11072025_06_24_01_3617.jpg', '/home/pi/Desktop/images/11072025/06/23/image_11072025_06_23_01_3737.jpg', '/home/pi/Desktop/images/11072025/06/22/image_11072025_06_22_01_7517.jpg', '/home/pi/Desktop/images/11072025/06/21/image_11072025_06_21_01_4547.jpg', '/home/pi/Desktop/images/11072025/06/20/image_11072025_06_20_01_9668.jpg', '/home/pi/Desktop/images/11072025/06/18/image_11072025_06_18_01_3430.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/06/24/image_11072025_06_24_01_3617.jpg
/home/pi/Desktop/images/11072025/06/23/image_11072025_06_23_01_3737.jpg
/home/pi/Desktop/images/11072025/06/22/image_11072025_06_22_01_7517.jpg
/home/pi/Desktop/images/11072025/06/21/image_11072025_06_21_01_4547.jpg
/home/pi/Desktop/images/11072025/06/20/image_11072025_06_20_01_9668.jpg
/home/pi/Desktop/images/11072025/06/18/image_11072025_06_18_01_3430.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 34.0357186794281 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 06:26:04.855769
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/06/25/image_11072025_06_25_01_5432.jpg', 2), ('/home/pi/Desktop/images/11072025/06/24/image_11072025_06_24_01_3617.jpg', 2), ('/home/pi/Desktop/images/11072025/06/23/image_11072025_06_23_01_3737.jpg', 2), ('/home/pi/Desktop/images/11072025/06/22/image_11072025_06_22_01_7517.jpg', 2), ('/home/pi/Desktop/images/11072025/06/21/image_11072025_06_21_01_4547.jpg', 2), ('/home/pi/Desktop/images/11072025/06/20/image_11072025_06_20_01_9668.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/06/25/image_11072025_06_25_01_5432.jpg', '/home/pi/Desktop/images/11072025/06/24/image_11072025_06_24_01_3617.jpg', '/home/pi/Desktop/images/11072025/06/23/image_11072025_06_23_01_3737.jpg', '/home/pi/Desktop/images/11072025/06/22/image_11072025_06_22_01_7517.jpg', '/home/pi/Desktop/images/11072025/06/21/image_11072025_06_21_01_4547.jpg', '/home/pi/Desktop/images/11072025/06/20/image_11072025_06_20_01_9668.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/06/25/image_11072025_06_25_01_5432.jpg
/home/pi/Desktop/images/11072025/06/24/image_11072025_06_24_01_3617.jpg
/home/pi/Desktop/images/11072025/06/23/image_11072025_06_23_01_3737.jpg
/home/pi/Desktop/images/11072025/06/22/image_11072025_06_22_01_7517.jpg
/home/pi/Desktop/images/11072025/06/21/image_11072025_06_21_01_4547.jpg
/home/pi/Desktop/images/11072025/06/20/image_11072025_06_20_01_9668.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.26457095146179 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 06:27:05.644988
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/06/26/image_11072025_06_26_01_5008.jpg', 2), ('/home/pi/Desktop/images/11072025/06/25/image_11072025_06_25_01_5432.jpg', 2), ('/home/pi/Desktop/images/11072025/06/24/image_11072025_06_24_01_3617.jpg', 2), ('/home/pi/Desktop/images/11072025/06/23/image_11072025_06_23_01_3737.jpg', 2), ('/home/pi/Desktop/images/11072025/06/22/image_11072025_06_22_01_7517.jpg', 2), ('/home/pi/Desktop/images/11072025/06/21/image_11072025_06_21_01_4547.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/06/26/image_11072025_06_26_01_5008.jpg', '/home/pi/Desktop/images/11072025/06/25/image_11072025_06_25_01_5432.jpg', '/home/pi/Desktop/images/11072025/06/24/image_11072025_06_24_01_3617.jpg', '/home/pi/Desktop/images/11072025/06/23/image_11072025_06_23_01_3737.jpg', '/home/pi/Desktop/images/11072025/06/22/image_11072025_06_22_01_7517.jpg', '/home/pi/Desktop/images/11072025/06/21/image_11072025_06_21_01_4547.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/06/26/image_11072025_06_26_01_5008.jpg
/home/pi/Desktop/images/11072025/06/25/image_11072025_06_25_01_5432.jpg
/home/pi/Desktop/images/11072025/06/24/image_11072025_06_24_01_3617.jpg
/home/pi/Desktop/images/11072025/06/23/image_11072025_06_23_01_3737.jpg
/home/pi/Desktop/images/11072025/06/22/image_11072025_06_22_01_7517.jpg
/home/pi/Desktop/images/11072025/06/21/image_11072025_06_21_01_4547.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.71734929084778 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 06:28:05.145370
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/06/27/image_11072025_06_27_01_4122.jpg', 2), ('/home/pi/Desktop/images/11072025/06/26/image_11072025_06_26_01_5008.jpg', 2), ('/home/pi/Desktop/images/11072025/06/25/image_11072025_06_25_01_5432.jpg', 2), ('/home/pi/Desktop/images/11072025/06/24/image_11072025_06_24_01_3617.jpg', 2), ('/home/pi/Desktop/images/11072025/06/23/image_11072025_06_23_01_3737.jpg', 2), ('/home/pi/Desktop/images/11072025/06/22/image_11072025_06_22_01_7517.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/06/27/image_11072025_06_27_01_4122.jpg', '/home/pi/Desktop/images/11072025/06/26/image_11072025_06_26_01_5008.jpg', '/home/pi/Desktop/images/11072025/06/25/image_11072025_06_25_01_5432.jpg', '/home/pi/Desktop/images/11072025/06/24/image_11072025_06_24_01_3617.jpg', '/home/pi/Desktop/images/11072025/06/23/image_11072025_06_23_01_3737.jpg', '/home/pi/Desktop/images/11072025/06/22/image_11072025_06_22_01_7517.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/06/27/image_11072025_06_27_01_4122.jpg
/home/pi/Desktop/images/11072025/06/26/image_11072025_06_26_01_5008.jpg
/home/pi/Desktop/images/11072025/06/25/image_11072025_06_25_01_5432.jpg
/home/pi/Desktop/images/11072025/06/24/image_11072025_06_24_01_3617.jpg
/home/pi/Desktop/images/11072025/06/23/image_11072025_06_23_01_3737.jpg
/home/pi/Desktop/images/11072025/06/22/image_11072025_06_22_01_7517.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.359747886657715 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 06:29:05.544719
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/06/28/image_11072025_06_28_01_7416.jpg', 2), ('/home/pi/Desktop/images/11072025/06/27/image_11072025_06_27_01_4122.jpg', 2), ('/home/pi/Desktop/images/11072025/06/26/image_11072025_06_26_01_5008.jpg', 2), ('/home/pi/Desktop/images/11072025/06/25/image_11072025_06_25_01_5432.jpg', 2), ('/home/pi/Desktop/images/11072025/06/24/image_11072025_06_24_01_3617.jpg', 2), ('/home/pi/Desktop/images/11072025/06/23/image_11072025_06_23_01_3737.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/06/28/image_11072025_06_28_01_7416.jpg', '/home/pi/Desktop/images/11072025/06/27/image_11072025_06_27_01_4122.jpg', '/home/pi/Desktop/images/11072025/06/26/image_11072025_06_26_01_5008.jpg', '/home/pi/Desktop/images/11072025/06/25/image_11072025_06_25_01_5432.jpg', '/home/pi/Desktop/images/11072025/06/24/image_11072025_06_24_01_3617.jpg', '/home/pi/Desktop/images/11072025/06/23/image_11072025_06_23_01_3737.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/06/28/image_11072025_06_28_01_7416.jpg
/home/pi/Desktop/images/11072025/06/27/image_11072025_06_27_01_4122.jpg
/home/pi/Desktop/images/11072025/06/26/image_11072025_06_26_01_5008.jpg
/home/pi/Desktop/images/11072025/06/25/image_11072025_06_25_01_5432.jpg
/home/pi/Desktop/images/11072025/06/24/image_11072025_06_24_01_3617.jpg
/home/pi/Desktop/images/11072025/06/23/image_11072025_06_23_01_3737.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 34.07549262046814 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 06:30:05.772987
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/06/29/image_11072025_06_29_01_5029.jpg', 2), ('/home/pi/Desktop/images/11072025/06/28/image_11072025_06_28_01_7416.jpg', 2), ('/home/pi/Desktop/images/11072025/06/27/image_11072025_06_27_01_4122.jpg', 2), ('/home/pi/Desktop/images/11072025/06/26/image_11072025_06_26_01_5008.jpg', 2), ('/home/pi/Desktop/images/11072025/06/25/image_11072025_06_25_01_5432.jpg', 2), ('/home/pi/Desktop/images/11072025/06/24/image_11072025_06_24_01_3617.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/06/29/image_11072025_06_29_01_5029.jpg', '/home/pi/Desktop/images/11072025/06/28/image_11072025_06_28_01_7416.jpg', '/home/pi/Desktop/images/11072025/06/27/image_11072025_06_27_01_4122.jpg', '/home/pi/Desktop/images/11072025/06/26/image_11072025_06_26_01_5008.jpg', '/home/pi/Desktop/images/11072025/06/25/image_11072025_06_25_01_5432.jpg', '/home/pi/Desktop/images/11072025/06/24/image_11072025_06_24_01_3617.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/06/29/image_11072025_06_29_01_5029.jpg
/home/pi/Desktop/images/11072025/06/28/image_11072025_06_28_01_7416.jpg
/home/pi/Desktop/images/11072025/06/27/image_11072025_06_27_01_4122.jpg
/home/pi/Desktop/images/11072025/06/26/image_11072025_06_26_01_5008.jpg
/home/pi/Desktop/images/11072025/06/25/image_11072025_06_25_01_5432.jpg
/home/pi/Desktop/images/11072025/06/24/image_11072025_06_24_01_3617.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 32.897029399871826 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 06:31:05.566234
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/06/30/image_11072025_06_30_01_9588.jpg', 2), ('/home/pi/Desktop/images/11072025/06/29/image_11072025_06_29_01_5029.jpg', 2), ('/home/pi/Desktop/images/11072025/06/28/image_11072025_06_28_01_7416.jpg', 2), ('/home/pi/Desktop/images/11072025/06/27/image_11072025_06_27_01_4122.jpg', 2), ('/home/pi/Desktop/images/11072025/06/26/image_11072025_06_26_01_5008.jpg', 2), ('/home/pi/Desktop/images/11072025/06/25/image_11072025_06_25_01_5432.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/06/30/image_11072025_06_30_01_9588.jpg', '/home/pi/Desktop/images/11072025/06/29/image_11072025_06_29_01_5029.jpg', '/home/pi/Desktop/images/11072025/06/28/image_11072025_06_28_01_7416.jpg', '/home/pi/Desktop/images/11072025/06/27/image_11072025_06_27_01_4122.jpg', '/home/pi/Desktop/images/11072025/06/26/image_11072025_06_26_01_5008.jpg', '/home/pi/Desktop/images/11072025/06/25/image_11072025_06_25_01_5432.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/06/30/image_11072025_06_30_01_9588.jpg
/home/pi/Desktop/images/11072025/06/29/image_11072025_06_29_01_5029.jpg
/home/pi/Desktop/images/11072025/06/28/image_11072025_06_28_01_7416.jpg
/home/pi/Desktop/images/11072025/06/27/image_11072025_06_27_01_4122.jpg
/home/pi/Desktop/images/11072025/06/26/image_11072025_06_26_01_5008.jpg
/home/pi/Desktop/images/11072025/06/25/image_11072025_06_25_01_5432.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.39195513725281 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 06:32:04.934788
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/06/31/image_11072025_06_31_02_2683.jpg', 2), ('/home/pi/Desktop/images/11072025/06/30/image_11072025_06_30_01_9588.jpg', 2), ('/home/pi/Desktop/images/11072025/06/29/image_11072025_06_29_01_5029.jpg', 2), ('/home/pi/Desktop/images/11072025/06/28/image_11072025_06_28_01_7416.jpg', 2), ('/home/pi/Desktop/images/11072025/06/27/image_11072025_06_27_01_4122.jpg', 2), ('/home/pi/Desktop/images/11072025/06/26/image_11072025_06_26_01_5008.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/06/31/image_11072025_06_31_02_2683.jpg', '/home/pi/Desktop/images/11072025/06/30/image_11072025_06_30_01_9588.jpg', '/home/pi/Desktop/images/11072025/06/29/image_11072025_06_29_01_5029.jpg', '/home/pi/Desktop/images/11072025/06/28/image_11072025_06_28_01_7416.jpg', '/home/pi/Desktop/images/11072025/06/27/image_11072025_06_27_01_4122.jpg', '/home/pi/Desktop/images/11072025/06/26/image_11072025_06_26_01_5008.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/06/31/image_11072025_06_31_02_2683.jpg
/home/pi/Desktop/images/11072025/06/30/image_11072025_06_30_01_9588.jpg
/home/pi/Desktop/images/11072025/06/29/image_11072025_06_29_01_5029.jpg
/home/pi/Desktop/images/11072025/06/28/image_11072025_06_28_01_7416.jpg
/home/pi/Desktop/images/11072025/06/27/image_11072025_06_27_01_4122.jpg
/home/pi/Desktop/images/11072025/06/26/image_11072025_06_26_01_5008.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.168091773986816 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 06:33:05.563200
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/06/32/image_11072025_06_32_01_5989.jpg', 2), ('/home/pi/Desktop/images/11072025/06/31/image_11072025_06_31_02_2683.jpg', 2), ('/home/pi/Desktop/images/11072025/06/30/image_11072025_06_30_01_9588.jpg', 2), ('/home/pi/Desktop/images/11072025/06/29/image_11072025_06_29_01_5029.jpg', 2), ('/home/pi/Desktop/images/11072025/06/28/image_11072025_06_28_01_7416.jpg', 2), ('/home/pi/Desktop/images/11072025/06/27/image_11072025_06_27_01_4122.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/06/32/image_11072025_06_32_01_5989.jpg', '/home/pi/Desktop/images/11072025/06/31/image_11072025_06_31_02_2683.jpg', '/home/pi/Desktop/images/11072025/06/30/image_11072025_06_30_01_9588.jpg', '/home/pi/Desktop/images/11072025/06/29/image_11072025_06_29_01_5029.jpg', '/home/pi/Desktop/images/11072025/06/28/image_11072025_06_28_01_7416.jpg', '/home/pi/Desktop/images/11072025/06/27/image_11072025_06_27_01_4122.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/06/32/image_11072025_06_32_01_5989.jpg
/home/pi/Desktop/images/11072025/06/31/image_11072025_06_31_02_2683.jpg
/home/pi/Desktop/images/11072025/06/30/image_11072025_06_30_01_9588.jpg
/home/pi/Desktop/images/11072025/06/29/image_11072025_06_29_01_5029.jpg
/home/pi/Desktop/images/11072025/06/28/image_11072025_06_28_01_7416.jpg
/home/pi/Desktop/images/11072025/06/27/image_11072025_06_27_01_4122.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.70666718482971 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 06:34:05.101308
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/06/33/image_11072025_06_33_01_4293.jpg', 2), ('/home/pi/Desktop/images/11072025/06/32/image_11072025_06_32_01_5989.jpg', 2), ('/home/pi/Desktop/images/11072025/06/31/image_11072025_06_31_02_2683.jpg', 2), ('/home/pi/Desktop/images/11072025/06/30/image_11072025_06_30_01_9588.jpg', 2), ('/home/pi/Desktop/images/11072025/06/29/image_11072025_06_29_01_5029.jpg', 2), ('/home/pi/Desktop/images/11072025/06/28/image_11072025_06_28_01_7416.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/06/33/image_11072025_06_33_01_4293.jpg', '/home/pi/Desktop/images/11072025/06/32/image_11072025_06_32_01_5989.jpg', '/home/pi/Desktop/images/11072025/06/31/image_11072025_06_31_02_2683.jpg', '/home/pi/Desktop/images/11072025/06/30/image_11072025_06_30_01_9588.jpg', '/home/pi/Desktop/images/11072025/06/29/image_11072025_06_29_01_5029.jpg', '/home/pi/Desktop/images/11072025/06/28/image_11072025_06_28_01_7416.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/06/33/image_11072025_06_33_01_4293.jpg
/home/pi/Desktop/images/11072025/06/32/image_11072025_06_32_01_5989.jpg
/home/pi/Desktop/images/11072025/06/31/image_11072025_06_31_02_2683.jpg
/home/pi/Desktop/images/11072025/06/30/image_11072025_06_30_01_9588.jpg
/home/pi/Desktop/images/11072025/06/29/image_11072025_06_29_01_5029.jpg
/home/pi/Desktop/images/11072025/06/28/image_11072025_06_28_01_7416.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.3162624835968 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 06:35:05.951403
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/06/33/image_11072025_06_33_01_4293.jpg', 2), ('/home/pi/Desktop/images/11072025/06/32/image_11072025_06_32_01_5989.jpg', 2), ('/home/pi/Desktop/images/11072025/06/31/image_11072025_06_31_02_2683.jpg', 2), ('/home/pi/Desktop/images/11072025/06/30/image_11072025_06_30_01_9588.jpg', 2), ('/home/pi/Desktop/images/11072025/06/29/image_11072025_06_29_01_5029.jpg', 2), ('/home/pi/Desktop/images/11072025/06/28/image_11072025_06_28_01_7416.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/06/33/image_11072025_06_33_01_4293.jpg', '/home/pi/Desktop/images/11072025/06/32/image_11072025_06_32_01_5989.jpg', '/home/pi/Desktop/images/11072025/06/31/image_11072025_06_31_02_2683.jpg', '/home/pi/Desktop/images/11072025/06/30/image_11072025_06_30_01_9588.jpg', '/home/pi/Desktop/images/11072025/06/29/image_11072025_06_29_01_5029.jpg', '/home/pi/Desktop/images/11072025/06/28/image_11072025_06_28_01_7416.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/06/33/image_11072025_06_33_01_4293.jpg
/home/pi/Desktop/images/11072025/06/32/image_11072025_06_32_01_5989.jpg
/home/pi/Desktop/images/11072025/06/31/image_11072025_06_31_02_2683.jpg
/home/pi/Desktop/images/11072025/06/30/image_11072025_06_30_01_9588.jpg
/home/pi/Desktop/images/11072025/06/29/image_11072025_06_29_01_5029.jpg
/home/pi/Desktop/images/11072025/06/28/image_11072025_06_28_01_7416.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.7294647693634 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 06:36:05.787814
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/06/34/image_11072025_06_34_01_7320.jpg', 2), ('/home/pi/Desktop/images/11072025/06/33/image_11072025_06_33_01_4293.jpg', 2), ('/home/pi/Desktop/images/11072025/06/32/image_11072025_06_32_01_5989.jpg', 2), ('/home/pi/Desktop/images/11072025/06/31/image_11072025_06_31_02_2683.jpg', 2), ('/home/pi/Desktop/images/11072025/06/30/image_11072025_06_30_01_9588.jpg', 2), ('/home/pi/Desktop/images/11072025/06/29/image_11072025_06_29_01_5029.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/06/34/image_11072025_06_34_01_7320.jpg', '/home/pi/Desktop/images/11072025/06/33/image_11072025_06_33_01_4293.jpg', '/home/pi/Desktop/images/11072025/06/32/image_11072025_06_32_01_5989.jpg', '/home/pi/Desktop/images/11072025/06/31/image_11072025_06_31_02_2683.jpg', '/home/pi/Desktop/images/11072025/06/30/image_11072025_06_30_01_9588.jpg', '/home/pi/Desktop/images/11072025/06/29/image_11072025_06_29_01_5029.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/06/34/image_11072025_06_34_01_7320.jpg
/home/pi/Desktop/images/11072025/06/33/image_11072025_06_33_01_4293.jpg
/home/pi/Desktop/images/11072025/06/32/image_11072025_06_32_01_5989.jpg
/home/pi/Desktop/images/11072025/06/31/image_11072025_06_31_02_2683.jpg
/home/pi/Desktop/images/11072025/06/30/image_11072025_06_30_01_9588.jpg
/home/pi/Desktop/images/11072025/06/29/image_11072025_06_29_01_5029.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.02782893180847 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 06:37:05.939874
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/06/36/image_11072025_06_36_01_9433.jpg', 2), ('/home/pi/Desktop/images/11072025/06/34/image_11072025_06_34_01_7320.jpg', 2), ('/home/pi/Desktop/images/11072025/06/33/image_11072025_06_33_01_4293.jpg', 2), ('/home/pi/Desktop/images/11072025/06/32/image_11072025_06_32_01_5989.jpg', 2), ('/home/pi/Desktop/images/11072025/06/31/image_11072025_06_31_02_2683.jpg', 2), ('/home/pi/Desktop/images/11072025/06/30/image_11072025_06_30_01_9588.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/06/36/image_11072025_06_36_01_9433.jpg', '/home/pi/Desktop/images/11072025/06/34/image_11072025_06_34_01_7320.jpg', '/home/pi/Desktop/images/11072025/06/33/image_11072025_06_33_01_4293.jpg', '/home/pi/Desktop/images/11072025/06/32/image_11072025_06_32_01_5989.jpg', '/home/pi/Desktop/images/11072025/06/31/image_11072025_06_31_02_2683.jpg', '/home/pi/Desktop/images/11072025/06/30/image_11072025_06_30_01_9588.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/06/36/image_11072025_06_36_01_9433.jpg
/home/pi/Desktop/images/11072025/06/34/image_11072025_06_34_01_7320.jpg
/home/pi/Desktop/images/11072025/06/33/image_11072025_06_33_01_4293.jpg
/home/pi/Desktop/images/11072025/06/32/image_11072025_06_32_01_5989.jpg
/home/pi/Desktop/images/11072025/06/31/image_11072025_06_31_02_2683.jpg
/home/pi/Desktop/images/11072025/06/30/image_11072025_06_30_01_9588.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.03942632675171 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 06:38:04.909014
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/06/37/image_11072025_06_37_02_2152.jpg', 2), ('/home/pi/Desktop/images/11072025/06/36/image_11072025_06_36_01_9433.jpg', 2), ('/home/pi/Desktop/images/11072025/06/34/image_11072025_06_34_01_7320.jpg', 2), ('/home/pi/Desktop/images/11072025/06/33/image_11072025_06_33_01_4293.jpg', 2), ('/home/pi/Desktop/images/11072025/06/32/image_11072025_06_32_01_5989.jpg', 2), ('/home/pi/Desktop/images/11072025/06/31/image_11072025_06_31_02_2683.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/06/37/image_11072025_06_37_02_2152.jpg', '/home/pi/Desktop/images/11072025/06/36/image_11072025_06_36_01_9433.jpg', '/home/pi/Desktop/images/11072025/06/34/image_11072025_06_34_01_7320.jpg', '/home/pi/Desktop/images/11072025/06/33/image_11072025_06_33_01_4293.jpg', '/home/pi/Desktop/images/11072025/06/32/image_11072025_06_32_01_5989.jpg', '/home/pi/Desktop/images/11072025/06/31/image_11072025_06_31_02_2683.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/06/37/image_11072025_06_37_02_2152.jpg
/home/pi/Desktop/images/11072025/06/36/image_11072025_06_36_01_9433.jpg
/home/pi/Desktop/images/11072025/06/34/image_11072025_06_34_01_7320.jpg
/home/pi/Desktop/images/11072025/06/33/image_11072025_06_33_01_4293.jpg
/home/pi/Desktop/images/11072025/06/32/image_11072025_06_32_01_5989.jpg
/home/pi/Desktop/images/11072025/06/31/image_11072025_06_31_02_2683.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.22806787490845 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 06:39:05.297738
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/06/38/image_11072025_06_38_02_0979.jpg', 2), ('/home/pi/Desktop/images/11072025/06/37/image_11072025_06_37_02_2152.jpg', 2), ('/home/pi/Desktop/images/11072025/06/36/image_11072025_06_36_01_9433.jpg', 2), ('/home/pi/Desktop/images/11072025/06/34/image_11072025_06_34_01_7320.jpg', 2), ('/home/pi/Desktop/images/11072025/06/33/image_11072025_06_33_01_4293.jpg', 2), ('/home/pi/Desktop/images/11072025/06/32/image_11072025_06_32_01_5989.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/06/38/image_11072025_06_38_02_0979.jpg', '/home/pi/Desktop/images/11072025/06/37/image_11072025_06_37_02_2152.jpg', '/home/pi/Desktop/images/11072025/06/36/image_11072025_06_36_01_9433.jpg', '/home/pi/Desktop/images/11072025/06/34/image_11072025_06_34_01_7320.jpg', '/home/pi/Desktop/images/11072025/06/33/image_11072025_06_33_01_4293.jpg', '/home/pi/Desktop/images/11072025/06/32/image_11072025_06_32_01_5989.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/06/38/image_11072025_06_38_02_0979.jpg
/home/pi/Desktop/images/11072025/06/37/image_11072025_06_37_02_2152.jpg
/home/pi/Desktop/images/11072025/06/36/image_11072025_06_36_01_9433.jpg
/home/pi/Desktop/images/11072025/06/34/image_11072025_06_34_01_7320.jpg
/home/pi/Desktop/images/11072025/06/33/image_11072025_06_33_01_4293.jpg
/home/pi/Desktop/images/11072025/06/32/image_11072025_06_32_01_5989.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.98479509353638 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 06:40:05.701775
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/06/38/image_11072025_06_38_02_0979.jpg', 2), ('/home/pi/Desktop/images/11072025/06/37/image_11072025_06_37_02_2152.jpg', 2), ('/home/pi/Desktop/images/11072025/06/36/image_11072025_06_36_01_9433.jpg', 2), ('/home/pi/Desktop/images/11072025/06/34/image_11072025_06_34_01_7320.jpg', 2), ('/home/pi/Desktop/images/11072025/06/33/image_11072025_06_33_01_4293.jpg', 2), ('/home/pi/Desktop/images/11072025/06/32/image_11072025_06_32_01_5989.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/06/38/image_11072025_06_38_02_0979.jpg', '/home/pi/Desktop/images/11072025/06/37/image_11072025_06_37_02_2152.jpg', '/home/pi/Desktop/images/11072025/06/36/image_11072025_06_36_01_9433.jpg', '/home/pi/Desktop/images/11072025/06/34/image_11072025_06_34_01_7320.jpg', '/home/pi/Desktop/images/11072025/06/33/image_11072025_06_33_01_4293.jpg', '/home/pi/Desktop/images/11072025/06/32/image_11072025_06_32_01_5989.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/06/38/image_11072025_06_38_02_0979.jpg
/home/pi/Desktop/images/11072025/06/37/image_11072025_06_37_02_2152.jpg
/home/pi/Desktop/images/11072025/06/36/image_11072025_06_36_01_9433.jpg
/home/pi/Desktop/images/11072025/06/34/image_11072025_06_34_01_7320.jpg
/home/pi/Desktop/images/11072025/06/33/image_11072025_06_33_01_4293.jpg
/home/pi/Desktop/images/11072025/06/32/image_11072025_06_32_01_5989.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 32.688485622406006 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 06:41:06.453751
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/06/38/image_11072025_06_38_02_0979.jpg', 2), ('/home/pi/Desktop/images/11072025/06/37/image_11072025_06_37_02_2152.jpg', 2), ('/home/pi/Desktop/images/11072025/06/36/image_11072025_06_36_01_9433.jpg', 2), ('/home/pi/Desktop/images/11072025/06/34/image_11072025_06_34_01_7320.jpg', 2), ('/home/pi/Desktop/images/11072025/06/33/image_11072025_06_33_01_4293.jpg', 2), ('/home/pi/Desktop/images/11072025/06/32/image_11072025_06_32_01_5989.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/06/38/image_11072025_06_38_02_0979.jpg', '/home/pi/Desktop/images/11072025/06/37/image_11072025_06_37_02_2152.jpg', '/home/pi/Desktop/images/11072025/06/36/image_11072025_06_36_01_9433.jpg', '/home/pi/Desktop/images/11072025/06/34/image_11072025_06_34_01_7320.jpg', '/home/pi/Desktop/images/11072025/06/33/image_11072025_06_33_01_4293.jpg', '/home/pi/Desktop/images/11072025/06/32/image_11072025_06_32_01_5989.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/06/38/image_11072025_06_38_02_0979.jpg
/home/pi/Desktop/images/11072025/06/37/image_11072025_06_37_02_2152.jpg
/home/pi/Desktop/images/11072025/06/36/image_11072025_06_36_01_9433.jpg
/home/pi/Desktop/images/11072025/06/34/image_11072025_06_34_01_7320.jpg
/home/pi/Desktop/images/11072025/06/33/image_11072025_06_33_01_4293.jpg
/home/pi/Desktop/images/11072025/06/32/image_11072025_06_32_01_5989.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 34.03743004798889 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 06:42:05.283233
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/06/38/image_11072025_06_38_02_0979.jpg', 2), ('/home/pi/Desktop/images/11072025/06/37/image_11072025_06_37_02_2152.jpg', 2), ('/home/pi/Desktop/images/11072025/06/36/image_11072025_06_36_01_9433.jpg', 2), ('/home/pi/Desktop/images/11072025/06/34/image_11072025_06_34_01_7320.jpg', 2), ('/home/pi/Desktop/images/11072025/06/33/image_11072025_06_33_01_4293.jpg', 2), ('/home/pi/Desktop/images/11072025/06/32/image_11072025_06_32_01_5989.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/06/38/image_11072025_06_38_02_0979.jpg', '/home/pi/Desktop/images/11072025/06/37/image_11072025_06_37_02_2152.jpg', '/home/pi/Desktop/images/11072025/06/36/image_11072025_06_36_01_9433.jpg', '/home/pi/Desktop/images/11072025/06/34/image_11072025_06_34_01_7320.jpg', '/home/pi/Desktop/images/11072025/06/33/image_11072025_06_33_01_4293.jpg', '/home/pi/Desktop/images/11072025/06/32/image_11072025_06_32_01_5989.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/06/38/image_11072025_06_38_02_0979.jpg
/home/pi/Desktop/images/11072025/06/37/image_11072025_06_37_02_2152.jpg
/home/pi/Desktop/images/11072025/06/36/image_11072025_06_36_01_9433.jpg
/home/pi/Desktop/images/11072025/06/34/image_11072025_06_34_01_7320.jpg
/home/pi/Desktop/images/11072025/06/33/image_11072025_06_33_01_4293.jpg
/home/pi/Desktop/images/11072025/06/32/image_11072025_06_32_01_5989.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.36004376411438 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 06:43:05.409313
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/06/39/image_11072025_06_39_01_4127.jpg', 2), ('/home/pi/Desktop/images/11072025/06/38/image_11072025_06_38_02_0979.jpg', 2), ('/home/pi/Desktop/images/11072025/06/37/image_11072025_06_37_02_2152.jpg', 2), ('/home/pi/Desktop/images/11072025/06/36/image_11072025_06_36_01_9433.jpg', 2), ('/home/pi/Desktop/images/11072025/06/34/image_11072025_06_34_01_7320.jpg', 2), ('/home/pi/Desktop/images/11072025/06/33/image_11072025_06_33_01_4293.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/06/39/image_11072025_06_39_01_4127.jpg', '/home/pi/Desktop/images/11072025/06/38/image_11072025_06_38_02_0979.jpg', '/home/pi/Desktop/images/11072025/06/37/image_11072025_06_37_02_2152.jpg', '/home/pi/Desktop/images/11072025/06/36/image_11072025_06_36_01_9433.jpg', '/home/pi/Desktop/images/11072025/06/34/image_11072025_06_34_01_7320.jpg', '/home/pi/Desktop/images/11072025/06/33/image_11072025_06_33_01_4293.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/06/39/image_11072025_06_39_01_4127.jpg
/home/pi/Desktop/images/11072025/06/38/image_11072025_06_38_02_0979.jpg
/home/pi/Desktop/images/11072025/06/37/image_11072025_06_37_02_2152.jpg
/home/pi/Desktop/images/11072025/06/36/image_11072025_06_36_01_9433.jpg
/home/pi/Desktop/images/11072025/06/34/image_11072025_06_34_01_7320.jpg
/home/pi/Desktop/images/11072025/06/33/image_11072025_06_33_01_4293.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.42225885391235 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 06:44:05.524218
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/06/43/image_11072025_06_43_01_8259.jpg', 2), ('/home/pi/Desktop/images/11072025/06/39/image_11072025_06_39_01_4127.jpg', 2), ('/home/pi/Desktop/images/11072025/06/38/image_11072025_06_38_02_0979.jpg', 2), ('/home/pi/Desktop/images/11072025/06/37/image_11072025_06_37_02_2152.jpg', 2), ('/home/pi/Desktop/images/11072025/06/36/image_11072025_06_36_01_9433.jpg', 2), ('/home/pi/Desktop/images/11072025/06/34/image_11072025_06_34_01_7320.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/06/43/image_11072025_06_43_01_8259.jpg', '/home/pi/Desktop/images/11072025/06/39/image_11072025_06_39_01_4127.jpg', '/home/pi/Desktop/images/11072025/06/38/image_11072025_06_38_02_0979.jpg', '/home/pi/Desktop/images/11072025/06/37/image_11072025_06_37_02_2152.jpg', '/home/pi/Desktop/images/11072025/06/36/image_11072025_06_36_01_9433.jpg', '/home/pi/Desktop/images/11072025/06/34/image_11072025_06_34_01_7320.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/06/43/image_11072025_06_43_01_8259.jpg
/home/pi/Desktop/images/11072025/06/39/image_11072025_06_39_01_4127.jpg
/home/pi/Desktop/images/11072025/06/38/image_11072025_06_38_02_0979.jpg
/home/pi/Desktop/images/11072025/06/37/image_11072025_06_37_02_2152.jpg
/home/pi/Desktop/images/11072025/06/36/image_11072025_06_36_01_9433.jpg
/home/pi/Desktop/images/11072025/06/34/image_11072025_06_34_01_7320.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.42646408081055 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 06:45:05.699268
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/06/43/image_11072025_06_43_01_8259.jpg', 2), ('/home/pi/Desktop/images/11072025/06/39/image_11072025_06_39_01_4127.jpg', 2), ('/home/pi/Desktop/images/11072025/06/38/image_11072025_06_38_02_0979.jpg', 2), ('/home/pi/Desktop/images/11072025/06/37/image_11072025_06_37_02_2152.jpg', 2), ('/home/pi/Desktop/images/11072025/06/36/image_11072025_06_36_01_9433.jpg', 2), ('/home/pi/Desktop/images/11072025/06/34/image_11072025_06_34_01_7320.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/06/43/image_11072025_06_43_01_8259.jpg', '/home/pi/Desktop/images/11072025/06/39/image_11072025_06_39_01_4127.jpg', '/home/pi/Desktop/images/11072025/06/38/image_11072025_06_38_02_0979.jpg', '/home/pi/Desktop/images/11072025/06/37/image_11072025_06_37_02_2152.jpg', '/home/pi/Desktop/images/11072025/06/36/image_11072025_06_36_01_9433.jpg', '/home/pi/Desktop/images/11072025/06/34/image_11072025_06_34_01_7320.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/06/43/image_11072025_06_43_01_8259.jpg
/home/pi/Desktop/images/11072025/06/39/image_11072025_06_39_01_4127.jpg
/home/pi/Desktop/images/11072025/06/38/image_11072025_06_38_02_0979.jpg
/home/pi/Desktop/images/11072025/06/37/image_11072025_06_37_02_2152.jpg
/home/pi/Desktop/images/11072025/06/36/image_11072025_06_36_01_9433.jpg
/home/pi/Desktop/images/11072025/06/34/image_11072025_06_34_01_7320.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 35.34075689315796 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 06:46:05.106724
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/06/44/image_11072025_06_44_02_0038.jpg', 2), ('/home/pi/Desktop/images/11072025/06/43/image_11072025_06_43_01_8259.jpg', 2), ('/home/pi/Desktop/images/11072025/06/39/image_11072025_06_39_01_4127.jpg', 2), ('/home/pi/Desktop/images/11072025/06/38/image_11072025_06_38_02_0979.jpg', 2), ('/home/pi/Desktop/images/11072025/06/37/image_11072025_06_37_02_2152.jpg', 2), ('/home/pi/Desktop/images/11072025/06/36/image_11072025_06_36_01_9433.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/06/44/image_11072025_06_44_02_0038.jpg', '/home/pi/Desktop/images/11072025/06/43/image_11072025_06_43_01_8259.jpg', '/home/pi/Desktop/images/11072025/06/39/image_11072025_06_39_01_4127.jpg', '/home/pi/Desktop/images/11072025/06/38/image_11072025_06_38_02_0979.jpg', '/home/pi/Desktop/images/11072025/06/37/image_11072025_06_37_02_2152.jpg', '/home/pi/Desktop/images/11072025/06/36/image_11072025_06_36_01_9433.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/06/44/image_11072025_06_44_02_0038.jpg
/home/pi/Desktop/images/11072025/06/43/image_11072025_06_43_01_8259.jpg
/home/pi/Desktop/images/11072025/06/39/image_11072025_06_39_01_4127.jpg
/home/pi/Desktop/images/11072025/06/38/image_11072025_06_38_02_0979.jpg
/home/pi/Desktop/images/11072025/06/37/image_11072025_06_37_02_2152.jpg
/home/pi/Desktop/images/11072025/06/36/image_11072025_06_36_01_9433.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.009361743927 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 06:47:05.848551
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/06/46/image_11072025_06_46_01_9005.jpg', 2), ('/home/pi/Desktop/images/11072025/06/44/image_11072025_06_44_02_0038.jpg', 2), ('/home/pi/Desktop/images/11072025/06/43/image_11072025_06_43_01_8259.jpg', 2), ('/home/pi/Desktop/images/11072025/06/39/image_11072025_06_39_01_4127.jpg', 2), ('/home/pi/Desktop/images/11072025/06/38/image_11072025_06_38_02_0979.jpg', 2), ('/home/pi/Desktop/images/11072025/06/37/image_11072025_06_37_02_2152.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/06/46/image_11072025_06_46_01_9005.jpg', '/home/pi/Desktop/images/11072025/06/44/image_11072025_06_44_02_0038.jpg', '/home/pi/Desktop/images/11072025/06/43/image_11072025_06_43_01_8259.jpg', '/home/pi/Desktop/images/11072025/06/39/image_11072025_06_39_01_4127.jpg', '/home/pi/Desktop/images/11072025/06/38/image_11072025_06_38_02_0979.jpg', '/home/pi/Desktop/images/11072025/06/37/image_11072025_06_37_02_2152.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/06/46/image_11072025_06_46_01_9005.jpg
/home/pi/Desktop/images/11072025/06/44/image_11072025_06_44_02_0038.jpg
/home/pi/Desktop/images/11072025/06/43/image_11072025_06_43_01_8259.jpg
/home/pi/Desktop/images/11072025/06/39/image_11072025_06_39_01_4127.jpg
/home/pi/Desktop/images/11072025/06/38/image_11072025_06_38_02_0979.jpg
/home/pi/Desktop/images/11072025/06/37/image_11072025_06_37_02_2152.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.43064761161804 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 06:48:05.791715
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/06/47/image_11072025_06_47_01_5629.jpg', 2), ('/home/pi/Desktop/images/11072025/06/46/image_11072025_06_46_01_9005.jpg', 2), ('/home/pi/Desktop/images/11072025/06/44/image_11072025_06_44_02_0038.jpg', 2), ('/home/pi/Desktop/images/11072025/06/43/image_11072025_06_43_01_8259.jpg', 2), ('/home/pi/Desktop/images/11072025/06/39/image_11072025_06_39_01_4127.jpg', 2), ('/home/pi/Desktop/images/11072025/06/38/image_11072025_06_38_02_0979.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/06/47/image_11072025_06_47_01_5629.jpg', '/home/pi/Desktop/images/11072025/06/46/image_11072025_06_46_01_9005.jpg', '/home/pi/Desktop/images/11072025/06/44/image_11072025_06_44_02_0038.jpg', '/home/pi/Desktop/images/11072025/06/43/image_11072025_06_43_01_8259.jpg', '/home/pi/Desktop/images/11072025/06/39/image_11072025_06_39_01_4127.jpg', '/home/pi/Desktop/images/11072025/06/38/image_11072025_06_38_02_0979.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/06/47/image_11072025_06_47_01_5629.jpg
/home/pi/Desktop/images/11072025/06/46/image_11072025_06_46_01_9005.jpg
/home/pi/Desktop/images/11072025/06/44/image_11072025_06_44_02_0038.jpg
/home/pi/Desktop/images/11072025/06/43/image_11072025_06_43_01_8259.jpg
/home/pi/Desktop/images/11072025/06/39/image_11072025_06_39_01_4127.jpg
/home/pi/Desktop/images/11072025/06/38/image_11072025_06_38_02_0979.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.74470925331116 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 06:49:05.431697
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/06/47/image_11072025_06_47_01_5629.jpg', 2), ('/home/pi/Desktop/images/11072025/06/46/image_11072025_06_46_01_9005.jpg', 2), ('/home/pi/Desktop/images/11072025/06/44/image_11072025_06_44_02_0038.jpg', 2), ('/home/pi/Desktop/images/11072025/06/43/image_11072025_06_43_01_8259.jpg', 2), ('/home/pi/Desktop/images/11072025/06/39/image_11072025_06_39_01_4127.jpg', 2), ('/home/pi/Desktop/images/11072025/06/38/image_11072025_06_38_02_0979.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/06/47/image_11072025_06_47_01_5629.jpg', '/home/pi/Desktop/images/11072025/06/46/image_11072025_06_46_01_9005.jpg', '/home/pi/Desktop/images/11072025/06/44/image_11072025_06_44_02_0038.jpg', '/home/pi/Desktop/images/11072025/06/43/image_11072025_06_43_01_8259.jpg', '/home/pi/Desktop/images/11072025/06/39/image_11072025_06_39_01_4127.jpg', '/home/pi/Desktop/images/11072025/06/38/image_11072025_06_38_02_0979.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/06/47/image_11072025_06_47_01_5629.jpg
/home/pi/Desktop/images/11072025/06/46/image_11072025_06_46_01_9005.jpg
/home/pi/Desktop/images/11072025/06/44/image_11072025_06_44_02_0038.jpg
/home/pi/Desktop/images/11072025/06/43/image_11072025_06_43_01_8259.jpg
/home/pi/Desktop/images/11072025/06/39/image_11072025_06_39_01_4127.jpg
/home/pi/Desktop/images/11072025/06/38/image_11072025_06_38_02_0979.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 34.197685956954956 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 06:50:03.176972
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/06/50/image_11072025_06_50_01_8221.jpg', 2), ('/home/pi/Desktop/images/11072025/06/47/image_11072025_06_47_01_5629.jpg', 2), ('/home/pi/Desktop/images/11072025/06/46/image_11072025_06_46_01_9005.jpg', 2), ('/home/pi/Desktop/images/11072025/06/44/image_11072025_06_44_02_0038.jpg', 2), ('/home/pi/Desktop/images/11072025/06/43/image_11072025_06_43_01_8259.jpg', 2), ('/home/pi/Desktop/images/11072025/06/39/image_11072025_06_39_01_4127.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/06/50/image_11072025_06_50_01_8221.jpg', '/home/pi/Desktop/images/11072025/06/47/image_11072025_06_47_01_5629.jpg', '/home/pi/Desktop/images/11072025/06/46/image_11072025_06_46_01_9005.jpg', '/home/pi/Desktop/images/11072025/06/44/image_11072025_06_44_02_0038.jpg', '/home/pi/Desktop/images/11072025/06/43/image_11072025_06_43_01_8259.jpg', '/home/pi/Desktop/images/11072025/06/39/image_11072025_06_39_01_4127.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/06/50/image_11072025_06_50_01_8221.jpg
/home/pi/Desktop/images/11072025/06/47/image_11072025_06_47_01_5629.jpg
/home/pi/Desktop/images/11072025/06/46/image_11072025_06_46_01_9005.jpg
/home/pi/Desktop/images/11072025/06/44/image_11072025_06_44_02_0038.jpg
/home/pi/Desktop/images/11072025/06/43/image_11072025_06_43_01_8259.jpg
/home/pi/Desktop/images/11072025/06/39/image_11072025_06_39_01_4127.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 31.583149194717407 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 06:51:05.139737
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/06/50/image_11072025_06_50_01_8221.jpg', 2), ('/home/pi/Desktop/images/11072025/06/47/image_11072025_06_47_01_5629.jpg', 2), ('/home/pi/Desktop/images/11072025/06/46/image_11072025_06_46_01_9005.jpg', 2), ('/home/pi/Desktop/images/11072025/06/44/image_11072025_06_44_02_0038.jpg', 2), ('/home/pi/Desktop/images/11072025/06/43/image_11072025_06_43_01_8259.jpg', 2), ('/home/pi/Desktop/images/11072025/06/39/image_11072025_06_39_01_4127.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/06/50/image_11072025_06_50_01_8221.jpg', '/home/pi/Desktop/images/11072025/06/47/image_11072025_06_47_01_5629.jpg', '/home/pi/Desktop/images/11072025/06/46/image_11072025_06_46_01_9005.jpg', '/home/pi/Desktop/images/11072025/06/44/image_11072025_06_44_02_0038.jpg', '/home/pi/Desktop/images/11072025/06/43/image_11072025_06_43_01_8259.jpg', '/home/pi/Desktop/images/11072025/06/39/image_11072025_06_39_01_4127.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/06/50/image_11072025_06_50_01_8221.jpg
/home/pi/Desktop/images/11072025/06/47/image_11072025_06_47_01_5629.jpg
/home/pi/Desktop/images/11072025/06/46/image_11072025_06_46_01_9005.jpg
/home/pi/Desktop/images/11072025/06/44/image_11072025_06_44_02_0038.jpg
/home/pi/Desktop/images/11072025/06/43/image_11072025_06_43_01_8259.jpg
/home/pi/Desktop/images/11072025/06/39/image_11072025_06_39_01_4127.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.859097480773926 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 06:52:06.030657
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/06/50/image_11072025_06_50_01_8221.jpg', 2), ('/home/pi/Desktop/images/11072025/06/48/image_11072025_06_48_02_1939.jpg', 2), ('/home/pi/Desktop/images/11072025/06/47/image_11072025_06_47_01_5629.jpg', 2), ('/home/pi/Desktop/images/11072025/06/46/image_11072025_06_46_01_9005.jpg', 2), ('/home/pi/Desktop/images/11072025/06/44/image_11072025_06_44_02_0038.jpg', 2), ('/home/pi/Desktop/images/11072025/06/43/image_11072025_06_43_01_8259.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/06/50/image_11072025_06_50_01_8221.jpg', '/home/pi/Desktop/images/11072025/06/48/image_11072025_06_48_02_1939.jpg', '/home/pi/Desktop/images/11072025/06/47/image_11072025_06_47_01_5629.jpg', '/home/pi/Desktop/images/11072025/06/46/image_11072025_06_46_01_9005.jpg', '/home/pi/Desktop/images/11072025/06/44/image_11072025_06_44_02_0038.jpg', '/home/pi/Desktop/images/11072025/06/43/image_11072025_06_43_01_8259.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/06/50/image_11072025_06_50_01_8221.jpg
/home/pi/Desktop/images/11072025/06/48/image_11072025_06_48_02_1939.jpg
/home/pi/Desktop/images/11072025/06/47/image_11072025_06_47_01_5629.jpg
/home/pi/Desktop/images/11072025/06/46/image_11072025_06_46_01_9005.jpg
/home/pi/Desktop/images/11072025/06/44/image_11072025_06_44_02_0038.jpg
/home/pi/Desktop/images/11072025/06/43/image_11072025_06_43_01_8259.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.157840967178345 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 06:53:05.613355
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/06/50/image_11072025_06_50_01_8221.jpg', 2), ('/home/pi/Desktop/images/11072025/06/48/image_11072025_06_48_02_1939.jpg', 2), ('/home/pi/Desktop/images/11072025/06/47/image_11072025_06_47_01_5629.jpg', 2), ('/home/pi/Desktop/images/11072025/06/46/image_11072025_06_46_01_9005.jpg', 2), ('/home/pi/Desktop/images/11072025/06/44/image_11072025_06_44_02_0038.jpg', 2), ('/home/pi/Desktop/images/11072025/06/43/image_11072025_06_43_01_8259.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/06/50/image_11072025_06_50_01_8221.jpg', '/home/pi/Desktop/images/11072025/06/48/image_11072025_06_48_02_1939.jpg', '/home/pi/Desktop/images/11072025/06/47/image_11072025_06_47_01_5629.jpg', '/home/pi/Desktop/images/11072025/06/46/image_11072025_06_46_01_9005.jpg', '/home/pi/Desktop/images/11072025/06/44/image_11072025_06_44_02_0038.jpg', '/home/pi/Desktop/images/11072025/06/43/image_11072025_06_43_01_8259.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/06/50/image_11072025_06_50_01_8221.jpg
/home/pi/Desktop/images/11072025/06/48/image_11072025_06_48_02_1939.jpg
/home/pi/Desktop/images/11072025/06/47/image_11072025_06_47_01_5629.jpg
/home/pi/Desktop/images/11072025/06/46/image_11072025_06_46_01_9005.jpg
/home/pi/Desktop/images/11072025/06/44/image_11072025_06_44_02_0038.jpg
/home/pi/Desktop/images/11072025/06/43/image_11072025_06_43_01_8259.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.714797019958496 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 06:54:05.970931
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/06/50/image_11072025_06_50_01_8221.jpg', 2), ('/home/pi/Desktop/images/11072025/06/48/image_11072025_06_48_02_1939.jpg', 2), ('/home/pi/Desktop/images/11072025/06/47/image_11072025_06_47_01_5629.jpg', 2), ('/home/pi/Desktop/images/11072025/06/46/image_11072025_06_46_01_9005.jpg', 2), ('/home/pi/Desktop/images/11072025/06/44/image_11072025_06_44_02_0038.jpg', 2), ('/home/pi/Desktop/images/11072025/06/43/image_11072025_06_43_01_8259.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/06/50/image_11072025_06_50_01_8221.jpg', '/home/pi/Desktop/images/11072025/06/48/image_11072025_06_48_02_1939.jpg', '/home/pi/Desktop/images/11072025/06/47/image_11072025_06_47_01_5629.jpg', '/home/pi/Desktop/images/11072025/06/46/image_11072025_06_46_01_9005.jpg', '/home/pi/Desktop/images/11072025/06/44/image_11072025_06_44_02_0038.jpg', '/home/pi/Desktop/images/11072025/06/43/image_11072025_06_43_01_8259.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/06/50/image_11072025_06_50_01_8221.jpg
/home/pi/Desktop/images/11072025/06/48/image_11072025_06_48_02_1939.jpg
/home/pi/Desktop/images/11072025/06/47/image_11072025_06_47_01_5629.jpg
/home/pi/Desktop/images/11072025/06/46/image_11072025_06_46_01_9005.jpg
/home/pi/Desktop/images/11072025/06/44/image_11072025_06_44_02_0038.jpg
/home/pi/Desktop/images/11072025/06/43/image_11072025_06_43_01_8259.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.65421915054321 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 06:55:05.298800
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/06/52/image_11072025_06_52_01_6976.jpg', 2), ('/home/pi/Desktop/images/11072025/06/50/image_11072025_06_50_01_8221.jpg', 2), ('/home/pi/Desktop/images/11072025/06/48/image_11072025_06_48_02_1939.jpg', 2), ('/home/pi/Desktop/images/11072025/06/47/image_11072025_06_47_01_5629.jpg', 2), ('/home/pi/Desktop/images/11072025/06/46/image_11072025_06_46_01_9005.jpg', 2), ('/home/pi/Desktop/images/11072025/06/44/image_11072025_06_44_02_0038.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/06/52/image_11072025_06_52_01_6976.jpg', '/home/pi/Desktop/images/11072025/06/50/image_11072025_06_50_01_8221.jpg', '/home/pi/Desktop/images/11072025/06/48/image_11072025_06_48_02_1939.jpg', '/home/pi/Desktop/images/11072025/06/47/image_11072025_06_47_01_5629.jpg', '/home/pi/Desktop/images/11072025/06/46/image_11072025_06_46_01_9005.jpg', '/home/pi/Desktop/images/11072025/06/44/image_11072025_06_44_02_0038.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/06/52/image_11072025_06_52_01_6976.jpg
/home/pi/Desktop/images/11072025/06/50/image_11072025_06_50_01_8221.jpg
/home/pi/Desktop/images/11072025/06/48/image_11072025_06_48_02_1939.jpg
/home/pi/Desktop/images/11072025/06/47/image_11072025_06_47_01_5629.jpg
/home/pi/Desktop/images/11072025/06/46/image_11072025_06_46_01_9005.jpg
/home/pi/Desktop/images/11072025/06/44/image_11072025_06_44_02_0038.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.398768186569214 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 06:56:05.846590
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/06/55/image_11072025_06_55_01_2467.jpg', 2), ('/home/pi/Desktop/images/11072025/06/52/image_11072025_06_52_01_6976.jpg', 2), ('/home/pi/Desktop/images/11072025/06/50/image_11072025_06_50_01_8221.jpg', 2), ('/home/pi/Desktop/images/11072025/06/48/image_11072025_06_48_02_1939.jpg', 2), ('/home/pi/Desktop/images/11072025/06/47/image_11072025_06_47_01_5629.jpg', 2), ('/home/pi/Desktop/images/11072025/06/46/image_11072025_06_46_01_9005.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/06/55/image_11072025_06_55_01_2467.jpg', '/home/pi/Desktop/images/11072025/06/52/image_11072025_06_52_01_6976.jpg', '/home/pi/Desktop/images/11072025/06/50/image_11072025_06_50_01_8221.jpg', '/home/pi/Desktop/images/11072025/06/48/image_11072025_06_48_02_1939.jpg', '/home/pi/Desktop/images/11072025/06/47/image_11072025_06_47_01_5629.jpg', '/home/pi/Desktop/images/11072025/06/46/image_11072025_06_46_01_9005.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/06/55/image_11072025_06_55_01_2467.jpg
/home/pi/Desktop/images/11072025/06/52/image_11072025_06_52_01_6976.jpg
/home/pi/Desktop/images/11072025/06/50/image_11072025_06_50_01_8221.jpg
/home/pi/Desktop/images/11072025/06/48/image_11072025_06_48_02_1939.jpg
/home/pi/Desktop/images/11072025/06/47/image_11072025_06_47_01_5629.jpg
/home/pi/Desktop/images/11072025/06/46/image_11072025_06_46_01_9005.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.02338171005249 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 06:57:05.048440
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/06/56/image_11072025_06_56_01_4917.jpg', 2), ('/home/pi/Desktop/images/11072025/06/55/image_11072025_06_55_01_2467.jpg', 2), ('/home/pi/Desktop/images/11072025/06/52/image_11072025_06_52_01_6976.jpg', 2), ('/home/pi/Desktop/images/11072025/06/50/image_11072025_06_50_01_8221.jpg', 2), ('/home/pi/Desktop/images/11072025/06/48/image_11072025_06_48_02_1939.jpg', 2), ('/home/pi/Desktop/images/11072025/06/47/image_11072025_06_47_01_5629.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/06/56/image_11072025_06_56_01_4917.jpg', '/home/pi/Desktop/images/11072025/06/55/image_11072025_06_55_01_2467.jpg', '/home/pi/Desktop/images/11072025/06/52/image_11072025_06_52_01_6976.jpg', '/home/pi/Desktop/images/11072025/06/50/image_11072025_06_50_01_8221.jpg', '/home/pi/Desktop/images/11072025/06/48/image_11072025_06_48_02_1939.jpg', '/home/pi/Desktop/images/11072025/06/47/image_11072025_06_47_01_5629.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/06/56/image_11072025_06_56_01_4917.jpg
/home/pi/Desktop/images/11072025/06/55/image_11072025_06_55_01_2467.jpg
/home/pi/Desktop/images/11072025/06/52/image_11072025_06_52_01_6976.jpg
/home/pi/Desktop/images/11072025/06/50/image_11072025_06_50_01_8221.jpg
/home/pi/Desktop/images/11072025/06/48/image_11072025_06_48_02_1939.jpg
/home/pi/Desktop/images/11072025/06/47/image_11072025_06_47_01_5629.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 34.087371826171875 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 06:59:04.106664
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/06/58/image_11072025_06_58_01_4489.jpg', 2), ('/home/pi/Desktop/images/11072025/06/57/image_11072025_06_57_02_2047.jpg', 2), ('/home/pi/Desktop/images/11072025/06/56/image_11072025_06_56_01_4917.jpg', 2), ('/home/pi/Desktop/images/11072025/06/55/image_11072025_06_55_01_2467.jpg', 2), ('/home/pi/Desktop/images/11072025/06/52/image_11072025_06_52_01_6976.jpg', 2), ('/home/pi/Desktop/images/11072025/06/50/image_11072025_06_50_01_8221.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/06/58/image_11072025_06_58_01_4489.jpg', '/home/pi/Desktop/images/11072025/06/57/image_11072025_06_57_02_2047.jpg', '/home/pi/Desktop/images/11072025/06/56/image_11072025_06_56_01_4917.jpg', '/home/pi/Desktop/images/11072025/06/55/image_11072025_06_55_01_2467.jpg', '/home/pi/Desktop/images/11072025/06/52/image_11072025_06_52_01_6976.jpg', '/home/pi/Desktop/images/11072025/06/50/image_11072025_06_50_01_8221.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/06/58/image_11072025_06_58_01_4489.jpg
/home/pi/Desktop/images/11072025/06/57/image_11072025_06_57_02_2047.jpg
/home/pi/Desktop/images/11072025/06/56/image_11072025_06_56_01_4917.jpg
/home/pi/Desktop/images/11072025/06/55/image_11072025_06_55_01_2467.jpg
/home/pi/Desktop/images/11072025/06/52/image_11072025_06_52_01_6976.jpg
/home/pi/Desktop/images/11072025/06/50/image_11072025_06_50_01_8221.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 32.26684617996216 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 07:00:05.068702
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/06/59/image_11072025_06_59_01_7459.jpg', 2), ('/home/pi/Desktop/images/11072025/06/58/image_11072025_06_58_01_4489.jpg', 2), ('/home/pi/Desktop/images/11072025/06/57/image_11072025_06_57_02_2047.jpg', 2), ('/home/pi/Desktop/images/11072025/06/56/image_11072025_06_56_01_4917.jpg', 2), ('/home/pi/Desktop/images/11072025/06/55/image_11072025_06_55_01_2467.jpg', 2), ('/home/pi/Desktop/images/11072025/06/52/image_11072025_06_52_01_6976.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/06/59/image_11072025_06_59_01_7459.jpg', '/home/pi/Desktop/images/11072025/06/58/image_11072025_06_58_01_4489.jpg', '/home/pi/Desktop/images/11072025/06/57/image_11072025_06_57_02_2047.jpg', '/home/pi/Desktop/images/11072025/06/56/image_11072025_06_56_01_4917.jpg', '/home/pi/Desktop/images/11072025/06/55/image_11072025_06_55_01_2467.jpg', '/home/pi/Desktop/images/11072025/06/52/image_11072025_06_52_01_6976.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/06/59/image_11072025_06_59_01_7459.jpg
/home/pi/Desktop/images/11072025/06/58/image_11072025_06_58_01_4489.jpg
/home/pi/Desktop/images/11072025/06/57/image_11072025_06_57_02_2047.jpg
/home/pi/Desktop/images/11072025/06/56/image_11072025_06_56_01_4917.jpg
/home/pi/Desktop/images/11072025/06/55/image_11072025_06_55_01_2467.jpg
/home/pi/Desktop/images/11072025/06/52/image_11072025_06_52_01_6976.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.50370979309082 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 07:01:05.132862
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/06/59/image_11072025_06_59_01_7459.jpg', 2), ('/home/pi/Desktop/images/11072025/06/58/image_11072025_06_58_01_4489.jpg', 2), ('/home/pi/Desktop/images/11072025/06/57/image_11072025_06_57_02_2047.jpg', 2), ('/home/pi/Desktop/images/11072025/06/56/image_11072025_06_56_01_4917.jpg', 2), ('/home/pi/Desktop/images/11072025/06/55/image_11072025_06_55_01_2467.jpg', 2), ('/home/pi/Desktop/images/11072025/06/52/image_11072025_06_52_01_6976.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/06/59/image_11072025_06_59_01_7459.jpg', '/home/pi/Desktop/images/11072025/06/58/image_11072025_06_58_01_4489.jpg', '/home/pi/Desktop/images/11072025/06/57/image_11072025_06_57_02_2047.jpg', '/home/pi/Desktop/images/11072025/06/56/image_11072025_06_56_01_4917.jpg', '/home/pi/Desktop/images/11072025/06/55/image_11072025_06_55_01_2467.jpg', '/home/pi/Desktop/images/11072025/06/52/image_11072025_06_52_01_6976.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/06/59/image_11072025_06_59_01_7459.jpg
/home/pi/Desktop/images/11072025/06/58/image_11072025_06_58_01_4489.jpg
/home/pi/Desktop/images/11072025/06/57/image_11072025_06_57_02_2047.jpg
/home/pi/Desktop/images/11072025/06/56/image_11072025_06_56_01_4917.jpg
/home/pi/Desktop/images/11072025/06/55/image_11072025_06_55_01_2467.jpg
/home/pi/Desktop/images/11072025/06/52/image_11072025_06_52_01_6976.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.604328632354736 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 07:02:05.417152
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/07/00/image_11072025_07_00_01_4504.jpg', 2), ('/home/pi/Desktop/images/11072025/06/59/image_11072025_06_59_01_7459.jpg', 2), ('/home/pi/Desktop/images/11072025/06/58/image_11072025_06_58_01_4489.jpg', 2), ('/home/pi/Desktop/images/11072025/06/57/image_11072025_06_57_02_2047.jpg', 2), ('/home/pi/Desktop/images/11072025/06/56/image_11072025_06_56_01_4917.jpg', 2), ('/home/pi/Desktop/images/11072025/06/55/image_11072025_06_55_01_2467.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/07/00/image_11072025_07_00_01_4504.jpg', '/home/pi/Desktop/images/11072025/06/59/image_11072025_06_59_01_7459.jpg', '/home/pi/Desktop/images/11072025/06/58/image_11072025_06_58_01_4489.jpg', '/home/pi/Desktop/images/11072025/06/57/image_11072025_06_57_02_2047.jpg', '/home/pi/Desktop/images/11072025/06/56/image_11072025_06_56_01_4917.jpg', '/home/pi/Desktop/images/11072025/06/55/image_11072025_06_55_01_2467.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/07/00/image_11072025_07_00_01_4504.jpg
/home/pi/Desktop/images/11072025/06/59/image_11072025_06_59_01_7459.jpg
/home/pi/Desktop/images/11072025/06/58/image_11072025_06_58_01_4489.jpg
/home/pi/Desktop/images/11072025/06/57/image_11072025_06_57_02_2047.jpg
/home/pi/Desktop/images/11072025/06/56/image_11072025_06_56_01_4917.jpg
/home/pi/Desktop/images/11072025/06/55/image_11072025_06_55_01_2467.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.617281913757324 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 07:03:05.915360
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/07/00/image_11072025_07_00_01_4504.jpg', 2), ('/home/pi/Desktop/images/11072025/06/59/image_11072025_06_59_01_7459.jpg', 2), ('/home/pi/Desktop/images/11072025/06/58/image_11072025_06_58_01_4489.jpg', 2), ('/home/pi/Desktop/images/11072025/06/57/image_11072025_06_57_02_2047.jpg', 2), ('/home/pi/Desktop/images/11072025/06/56/image_11072025_06_56_01_4917.jpg', 2), ('/home/pi/Desktop/images/11072025/06/55/image_11072025_06_55_01_2467.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/07/00/image_11072025_07_00_01_4504.jpg', '/home/pi/Desktop/images/11072025/06/59/image_11072025_06_59_01_7459.jpg', '/home/pi/Desktop/images/11072025/06/58/image_11072025_06_58_01_4489.jpg', '/home/pi/Desktop/images/11072025/06/57/image_11072025_06_57_02_2047.jpg', '/home/pi/Desktop/images/11072025/06/56/image_11072025_06_56_01_4917.jpg', '/home/pi/Desktop/images/11072025/06/55/image_11072025_06_55_01_2467.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/07/00/image_11072025_07_00_01_4504.jpg
/home/pi/Desktop/images/11072025/06/59/image_11072025_06_59_01_7459.jpg
/home/pi/Desktop/images/11072025/06/58/image_11072025_06_58_01_4489.jpg
/home/pi/Desktop/images/11072025/06/57/image_11072025_06_57_02_2047.jpg
/home/pi/Desktop/images/11072025/06/56/image_11072025_06_56_01_4917.jpg
/home/pi/Desktop/images/11072025/06/55/image_11072025_06_55_01_2467.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.2670795917511 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 07:04:05.282723
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/07/00/image_11072025_07_00_01_4504.jpg', 2), ('/home/pi/Desktop/images/11072025/06/59/image_11072025_06_59_01_7459.jpg', 2), ('/home/pi/Desktop/images/11072025/06/58/image_11072025_06_58_01_4489.jpg', 2), ('/home/pi/Desktop/images/11072025/06/57/image_11072025_06_57_02_2047.jpg', 2), ('/home/pi/Desktop/images/11072025/06/56/image_11072025_06_56_01_4917.jpg', 2), ('/home/pi/Desktop/images/11072025/06/55/image_11072025_06_55_01_2467.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/07/00/image_11072025_07_00_01_4504.jpg', '/home/pi/Desktop/images/11072025/06/59/image_11072025_06_59_01_7459.jpg', '/home/pi/Desktop/images/11072025/06/58/image_11072025_06_58_01_4489.jpg', '/home/pi/Desktop/images/11072025/06/57/image_11072025_06_57_02_2047.jpg', '/home/pi/Desktop/images/11072025/06/56/image_11072025_06_56_01_4917.jpg', '/home/pi/Desktop/images/11072025/06/55/image_11072025_06_55_01_2467.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/07/00/image_11072025_07_00_01_4504.jpg
/home/pi/Desktop/images/11072025/06/59/image_11072025_06_59_01_7459.jpg
/home/pi/Desktop/images/11072025/06/58/image_11072025_06_58_01_4489.jpg
/home/pi/Desktop/images/11072025/06/57/image_11072025_06_57_02_2047.jpg
/home/pi/Desktop/images/11072025/06/56/image_11072025_06_56_01_4917.jpg
/home/pi/Desktop/images/11072025/06/55/image_11072025_06_55_01_2467.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.023380756378174 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 07:05:05.386564
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/07/00/image_11072025_07_00_01_4504.jpg', 2), ('/home/pi/Desktop/images/11072025/06/59/image_11072025_06_59_01_7459.jpg', 2), ('/home/pi/Desktop/images/11072025/06/58/image_11072025_06_58_01_4489.jpg', 2), ('/home/pi/Desktop/images/11072025/06/57/image_11072025_06_57_02_2047.jpg', 2), ('/home/pi/Desktop/images/11072025/06/56/image_11072025_06_56_01_4917.jpg', 2), ('/home/pi/Desktop/images/11072025/06/55/image_11072025_06_55_01_2467.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/07/00/image_11072025_07_00_01_4504.jpg', '/home/pi/Desktop/images/11072025/06/59/image_11072025_06_59_01_7459.jpg', '/home/pi/Desktop/images/11072025/06/58/image_11072025_06_58_01_4489.jpg', '/home/pi/Desktop/images/11072025/06/57/image_11072025_06_57_02_2047.jpg', '/home/pi/Desktop/images/11072025/06/56/image_11072025_06_56_01_4917.jpg', '/home/pi/Desktop/images/11072025/06/55/image_11072025_06_55_01_2467.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/07/00/image_11072025_07_00_01_4504.jpg
/home/pi/Desktop/images/11072025/06/59/image_11072025_06_59_01_7459.jpg
/home/pi/Desktop/images/11072025/06/58/image_11072025_06_58_01_4489.jpg
/home/pi/Desktop/images/11072025/06/57/image_11072025_06_57_02_2047.jpg
/home/pi/Desktop/images/11072025/06/56/image_11072025_06_56_01_4917.jpg
/home/pi/Desktop/images/11072025/06/55/image_11072025_06_55_01_2467.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 34.027188777923584 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 07:06:04.916454
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/07/02/image_11072025_07_02_01_5085.jpg', 2), ('/home/pi/Desktop/images/11072025/07/00/image_11072025_07_00_01_4504.jpg', 2), ('/home/pi/Desktop/images/11072025/06/59/image_11072025_06_59_01_7459.jpg', 2), ('/home/pi/Desktop/images/11072025/06/58/image_11072025_06_58_01_4489.jpg', 2), ('/home/pi/Desktop/images/11072025/06/57/image_11072025_06_57_02_2047.jpg', 2), ('/home/pi/Desktop/images/11072025/06/56/image_11072025_06_56_01_4917.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/07/02/image_11072025_07_02_01_5085.jpg', '/home/pi/Desktop/images/11072025/07/00/image_11072025_07_00_01_4504.jpg', '/home/pi/Desktop/images/11072025/06/59/image_11072025_06_59_01_7459.jpg', '/home/pi/Desktop/images/11072025/06/58/image_11072025_06_58_01_4489.jpg', '/home/pi/Desktop/images/11072025/06/57/image_11072025_06_57_02_2047.jpg', '/home/pi/Desktop/images/11072025/06/56/image_11072025_06_56_01_4917.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/07/02/image_11072025_07_02_01_5085.jpg
/home/pi/Desktop/images/11072025/07/00/image_11072025_07_00_01_4504.jpg
/home/pi/Desktop/images/11072025/06/59/image_11072025_06_59_01_7459.jpg
/home/pi/Desktop/images/11072025/06/58/image_11072025_06_58_01_4489.jpg
/home/pi/Desktop/images/11072025/06/57/image_11072025_06_57_02_2047.jpg
/home/pi/Desktop/images/11072025/06/56/image_11072025_06_56_01_4917.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.696871757507324 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 07:07:05.978714
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/07/02/image_11072025_07_02_01_5085.jpg', 2), ('/home/pi/Desktop/images/11072025/07/00/image_11072025_07_00_01_4504.jpg', 2), ('/home/pi/Desktop/images/11072025/06/59/image_11072025_06_59_01_7459.jpg', 2), ('/home/pi/Desktop/images/11072025/06/58/image_11072025_06_58_01_4489.jpg', 2), ('/home/pi/Desktop/images/11072025/06/57/image_11072025_06_57_02_2047.jpg', 2), ('/home/pi/Desktop/images/11072025/06/56/image_11072025_06_56_01_4917.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/07/02/image_11072025_07_02_01_5085.jpg', '/home/pi/Desktop/images/11072025/07/00/image_11072025_07_00_01_4504.jpg', '/home/pi/Desktop/images/11072025/06/59/image_11072025_06_59_01_7459.jpg', '/home/pi/Desktop/images/11072025/06/58/image_11072025_06_58_01_4489.jpg', '/home/pi/Desktop/images/11072025/06/57/image_11072025_06_57_02_2047.jpg', '/home/pi/Desktop/images/11072025/06/56/image_11072025_06_56_01_4917.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/07/02/image_11072025_07_02_01_5085.jpg
/home/pi/Desktop/images/11072025/07/00/image_11072025_07_00_01_4504.jpg
/home/pi/Desktop/images/11072025/06/59/image_11072025_06_59_01_7459.jpg
/home/pi/Desktop/images/11072025/06/58/image_11072025_06_58_01_4489.jpg
/home/pi/Desktop/images/11072025/06/57/image_11072025_06_57_02_2047.jpg
/home/pi/Desktop/images/11072025/06/56/image_11072025_06_56_01_4917.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 34.742741107940674 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 07:08:05.440858
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/07/02/image_11072025_07_02_01_5085.jpg', 2), ('/home/pi/Desktop/images/11072025/07/00/image_11072025_07_00_01_4504.jpg', 2), ('/home/pi/Desktop/images/11072025/06/59/image_11072025_06_59_01_7459.jpg', 2), ('/home/pi/Desktop/images/11072025/06/58/image_11072025_06_58_01_4489.jpg', 2), ('/home/pi/Desktop/images/11072025/06/57/image_11072025_06_57_02_2047.jpg', 2), ('/home/pi/Desktop/images/11072025/06/56/image_11072025_06_56_01_4917.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/07/02/image_11072025_07_02_01_5085.jpg', '/home/pi/Desktop/images/11072025/07/00/image_11072025_07_00_01_4504.jpg', '/home/pi/Desktop/images/11072025/06/59/image_11072025_06_59_01_7459.jpg', '/home/pi/Desktop/images/11072025/06/58/image_11072025_06_58_01_4489.jpg', '/home/pi/Desktop/images/11072025/06/57/image_11072025_06_57_02_2047.jpg', '/home/pi/Desktop/images/11072025/06/56/image_11072025_06_56_01_4917.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/07/02/image_11072025_07_02_01_5085.jpg
/home/pi/Desktop/images/11072025/07/00/image_11072025_07_00_01_4504.jpg
/home/pi/Desktop/images/11072025/06/59/image_11072025_06_59_01_7459.jpg
/home/pi/Desktop/images/11072025/06/58/image_11072025_06_58_01_4489.jpg
/home/pi/Desktop/images/11072025/06/57/image_11072025_06_57_02_2047.jpg
/home/pi/Desktop/images/11072025/06/56/image_11072025_06_56_01_4917.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.3838267326355 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 07:09:05.786989
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/07/06/image_11072025_07_06_01_4932.jpg', 2), ('/home/pi/Desktop/images/11072025/07/02/image_11072025_07_02_01_5085.jpg', 2), ('/home/pi/Desktop/images/11072025/07/00/image_11072025_07_00_01_4504.jpg', 2), ('/home/pi/Desktop/images/11072025/06/59/image_11072025_06_59_01_7459.jpg', 2), ('/home/pi/Desktop/images/11072025/06/58/image_11072025_06_58_01_4489.jpg', 2), ('/home/pi/Desktop/images/11072025/06/57/image_11072025_06_57_02_2047.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/07/06/image_11072025_07_06_01_4932.jpg', '/home/pi/Desktop/images/11072025/07/02/image_11072025_07_02_01_5085.jpg', '/home/pi/Desktop/images/11072025/07/00/image_11072025_07_00_01_4504.jpg', '/home/pi/Desktop/images/11072025/06/59/image_11072025_06_59_01_7459.jpg', '/home/pi/Desktop/images/11072025/06/58/image_11072025_06_58_01_4489.jpg', '/home/pi/Desktop/images/11072025/06/57/image_11072025_06_57_02_2047.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/07/06/image_11072025_07_06_01_4932.jpg
/home/pi/Desktop/images/11072025/07/02/image_11072025_07_02_01_5085.jpg
/home/pi/Desktop/images/11072025/07/00/image_11072025_07_00_01_4504.jpg
/home/pi/Desktop/images/11072025/06/59/image_11072025_06_59_01_7459.jpg
/home/pi/Desktop/images/11072025/06/58/image_11072025_06_58_01_4489.jpg
/home/pi/Desktop/images/11072025/06/57/image_11072025_06_57_02_2047.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.30890464782715 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 07:10:03.481422
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/07/06/image_11072025_07_06_01_4932.jpg', 2), ('/home/pi/Desktop/images/11072025/07/02/image_11072025_07_02_01_5085.jpg', 2), ('/home/pi/Desktop/images/11072025/07/00/image_11072025_07_00_01_4504.jpg', 2), ('/home/pi/Desktop/images/11072025/06/59/image_11072025_06_59_01_7459.jpg', 2), ('/home/pi/Desktop/images/11072025/06/58/image_11072025_06_58_01_4489.jpg', 2), ('/home/pi/Desktop/images/11072025/06/57/image_11072025_06_57_02_2047.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/07/06/image_11072025_07_06_01_4932.jpg', '/home/pi/Desktop/images/11072025/07/02/image_11072025_07_02_01_5085.jpg', '/home/pi/Desktop/images/11072025/07/00/image_11072025_07_00_01_4504.jpg', '/home/pi/Desktop/images/11072025/06/59/image_11072025_06_59_01_7459.jpg', '/home/pi/Desktop/images/11072025/06/58/image_11072025_06_58_01_4489.jpg', '/home/pi/Desktop/images/11072025/06/57/image_11072025_06_57_02_2047.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/07/06/image_11072025_07_06_01_4932.jpg
/home/pi/Desktop/images/11072025/07/02/image_11072025_07_02_01_5085.jpg
/home/pi/Desktop/images/11072025/07/00/image_11072025_07_00_01_4504.jpg
/home/pi/Desktop/images/11072025/06/59/image_11072025_06_59_01_7459.jpg
/home/pi/Desktop/images/11072025/06/58/image_11072025_06_58_01_4489.jpg
/home/pi/Desktop/images/11072025/06/57/image_11072025_06_57_02_2047.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 31.82691240310669 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 07:11:05.665784
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/07/09/image_11072025_07_09_01_9069.jpg', 2), ('/home/pi/Desktop/images/11072025/07/06/image_11072025_07_06_01_4932.jpg', 2), ('/home/pi/Desktop/images/11072025/07/02/image_11072025_07_02_01_5085.jpg', 2), ('/home/pi/Desktop/images/11072025/07/00/image_11072025_07_00_01_4504.jpg', 2), ('/home/pi/Desktop/images/11072025/06/59/image_11072025_06_59_01_7459.jpg', 2), ('/home/pi/Desktop/images/11072025/06/58/image_11072025_06_58_01_4489.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/07/09/image_11072025_07_09_01_9069.jpg', '/home/pi/Desktop/images/11072025/07/06/image_11072025_07_06_01_4932.jpg', '/home/pi/Desktop/images/11072025/07/02/image_11072025_07_02_01_5085.jpg', '/home/pi/Desktop/images/11072025/07/00/image_11072025_07_00_01_4504.jpg', '/home/pi/Desktop/images/11072025/06/59/image_11072025_06_59_01_7459.jpg', '/home/pi/Desktop/images/11072025/06/58/image_11072025_06_58_01_4489.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/07/09/image_11072025_07_09_01_9069.jpg
/home/pi/Desktop/images/11072025/07/06/image_11072025_07_06_01_4932.jpg
/home/pi/Desktop/images/11072025/07/02/image_11072025_07_02_01_5085.jpg
/home/pi/Desktop/images/11072025/07/00/image_11072025_07_00_01_4504.jpg
/home/pi/Desktop/images/11072025/06/59/image_11072025_06_59_01_7459.jpg
/home/pi/Desktop/images/11072025/06/58/image_11072025_06_58_01_4489.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.702431201934814 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 07:12:05.258840
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/07/11/image_11072025_07_11_02_0295.jpg', 2), ('/home/pi/Desktop/images/11072025/07/09/image_11072025_07_09_01_9069.jpg', 2), ('/home/pi/Desktop/images/11072025/07/06/image_11072025_07_06_01_4932.jpg', 2), ('/home/pi/Desktop/images/11072025/07/02/image_11072025_07_02_01_5085.jpg', 2), ('/home/pi/Desktop/images/11072025/07/00/image_11072025_07_00_01_4504.jpg', 2), ('/home/pi/Desktop/images/11072025/06/59/image_11072025_06_59_01_7459.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/07/11/image_11072025_07_11_02_0295.jpg', '/home/pi/Desktop/images/11072025/07/09/image_11072025_07_09_01_9069.jpg', '/home/pi/Desktop/images/11072025/07/06/image_11072025_07_06_01_4932.jpg', '/home/pi/Desktop/images/11072025/07/02/image_11072025_07_02_01_5085.jpg', '/home/pi/Desktop/images/11072025/07/00/image_11072025_07_00_01_4504.jpg', '/home/pi/Desktop/images/11072025/06/59/image_11072025_06_59_01_7459.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/07/11/image_11072025_07_11_02_0295.jpg
/home/pi/Desktop/images/11072025/07/09/image_11072025_07_09_01_9069.jpg
/home/pi/Desktop/images/11072025/07/06/image_11072025_07_06_01_4932.jpg
/home/pi/Desktop/images/11072025/07/02/image_11072025_07_02_01_5085.jpg
/home/pi/Desktop/images/11072025/07/00/image_11072025_07_00_01_4504.jpg
/home/pi/Desktop/images/11072025/06/59/image_11072025_06_59_01_7459.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.32859969139099 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 07:13:05.424095
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/07/12/image_11072025_07_12_01_9366.jpg', 2), ('/home/pi/Desktop/images/11072025/07/11/image_11072025_07_11_02_0295.jpg', 2), ('/home/pi/Desktop/images/11072025/07/09/image_11072025_07_09_01_9069.jpg', 2), ('/home/pi/Desktop/images/11072025/07/06/image_11072025_07_06_01_4932.jpg', 2), ('/home/pi/Desktop/images/11072025/07/02/image_11072025_07_02_01_5085.jpg', 2), ('/home/pi/Desktop/images/11072025/07/00/image_11072025_07_00_01_4504.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/07/12/image_11072025_07_12_01_9366.jpg', '/home/pi/Desktop/images/11072025/07/11/image_11072025_07_11_02_0295.jpg', '/home/pi/Desktop/images/11072025/07/09/image_11072025_07_09_01_9069.jpg', '/home/pi/Desktop/images/11072025/07/06/image_11072025_07_06_01_4932.jpg', '/home/pi/Desktop/images/11072025/07/02/image_11072025_07_02_01_5085.jpg', '/home/pi/Desktop/images/11072025/07/00/image_11072025_07_00_01_4504.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/07/12/image_11072025_07_12_01_9366.jpg
/home/pi/Desktop/images/11072025/07/11/image_11072025_07_11_02_0295.jpg
/home/pi/Desktop/images/11072025/07/09/image_11072025_07_09_01_9069.jpg
/home/pi/Desktop/images/11072025/07/06/image_11072025_07_06_01_4932.jpg
/home/pi/Desktop/images/11072025/07/02/image_11072025_07_02_01_5085.jpg
/home/pi/Desktop/images/11072025/07/00/image_11072025_07_00_01_4504.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.28507995605469 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 07:14:05.158939
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/07/13/image_11072025_07_13_01_6127.jpg', 2), ('/home/pi/Desktop/images/11072025/07/12/image_11072025_07_12_01_9366.jpg', 2), ('/home/pi/Desktop/images/11072025/07/11/image_11072025_07_11_02_0295.jpg', 2), ('/home/pi/Desktop/images/11072025/07/09/image_11072025_07_09_01_9069.jpg', 2), ('/home/pi/Desktop/images/11072025/07/06/image_11072025_07_06_01_4932.jpg', 2), ('/home/pi/Desktop/images/11072025/07/02/image_11072025_07_02_01_5085.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/07/13/image_11072025_07_13_01_6127.jpg', '/home/pi/Desktop/images/11072025/07/12/image_11072025_07_12_01_9366.jpg', '/home/pi/Desktop/images/11072025/07/11/image_11072025_07_11_02_0295.jpg', '/home/pi/Desktop/images/11072025/07/09/image_11072025_07_09_01_9069.jpg', '/home/pi/Desktop/images/11072025/07/06/image_11072025_07_06_01_4932.jpg', '/home/pi/Desktop/images/11072025/07/02/image_11072025_07_02_01_5085.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/07/13/image_11072025_07_13_01_6127.jpg
/home/pi/Desktop/images/11072025/07/12/image_11072025_07_12_01_9366.jpg
/home/pi/Desktop/images/11072025/07/11/image_11072025_07_11_02_0295.jpg
/home/pi/Desktop/images/11072025/07/09/image_11072025_07_09_01_9069.jpg
/home/pi/Desktop/images/11072025/07/06/image_11072025_07_06_01_4932.jpg
/home/pi/Desktop/images/11072025/07/02/image_11072025_07_02_01_5085.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.669270277023315 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 07:15:05.940356
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/07/13/image_11072025_07_13_01_6127.jpg', 2), ('/home/pi/Desktop/images/11072025/07/12/image_11072025_07_12_01_9366.jpg', 2), ('/home/pi/Desktop/images/11072025/07/11/image_11072025_07_11_02_0295.jpg', 2), ('/home/pi/Desktop/images/11072025/07/09/image_11072025_07_09_01_9069.jpg', 2), ('/home/pi/Desktop/images/11072025/07/06/image_11072025_07_06_01_4932.jpg', 2), ('/home/pi/Desktop/images/11072025/07/02/image_11072025_07_02_01_5085.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/07/13/image_11072025_07_13_01_6127.jpg', '/home/pi/Desktop/images/11072025/07/12/image_11072025_07_12_01_9366.jpg', '/home/pi/Desktop/images/11072025/07/11/image_11072025_07_11_02_0295.jpg', '/home/pi/Desktop/images/11072025/07/09/image_11072025_07_09_01_9069.jpg', '/home/pi/Desktop/images/11072025/07/06/image_11072025_07_06_01_4932.jpg', '/home/pi/Desktop/images/11072025/07/02/image_11072025_07_02_01_5085.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/07/13/image_11072025_07_13_01_6127.jpg
/home/pi/Desktop/images/11072025/07/12/image_11072025_07_12_01_9366.jpg
/home/pi/Desktop/images/11072025/07/11/image_11072025_07_11_02_0295.jpg
/home/pi/Desktop/images/11072025/07/09/image_11072025_07_09_01_9069.jpg
/home/pi/Desktop/images/11072025/07/06/image_11072025_07_06_01_4932.jpg
/home/pi/Desktop/images/11072025/07/02/image_11072025_07_02_01_5085.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 34.01393008232117 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 07:16:05.728489
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/07/13/image_11072025_07_13_01_6127.jpg', 2), ('/home/pi/Desktop/images/11072025/07/12/image_11072025_07_12_01_9366.jpg', 2), ('/home/pi/Desktop/images/11072025/07/11/image_11072025_07_11_02_0295.jpg', 2), ('/home/pi/Desktop/images/11072025/07/09/image_11072025_07_09_01_9069.jpg', 2), ('/home/pi/Desktop/images/11072025/07/06/image_11072025_07_06_01_4932.jpg', 2), ('/home/pi/Desktop/images/11072025/07/02/image_11072025_07_02_01_5085.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/07/13/image_11072025_07_13_01_6127.jpg', '/home/pi/Desktop/images/11072025/07/12/image_11072025_07_12_01_9366.jpg', '/home/pi/Desktop/images/11072025/07/11/image_11072025_07_11_02_0295.jpg', '/home/pi/Desktop/images/11072025/07/09/image_11072025_07_09_01_9069.jpg', '/home/pi/Desktop/images/11072025/07/06/image_11072025_07_06_01_4932.jpg', '/home/pi/Desktop/images/11072025/07/02/image_11072025_07_02_01_5085.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/07/13/image_11072025_07_13_01_6127.jpg
/home/pi/Desktop/images/11072025/07/12/image_11072025_07_12_01_9366.jpg
/home/pi/Desktop/images/11072025/07/11/image_11072025_07_11_02_0295.jpg
/home/pi/Desktop/images/11072025/07/09/image_11072025_07_09_01_9069.jpg
/home/pi/Desktop/images/11072025/07/06/image_11072025_07_06_01_4932.jpg
/home/pi/Desktop/images/11072025/07/02/image_11072025_07_02_01_5085.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 34.48331809043884 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 07:17:06.132585
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/07/14/image_11072025_07_14_01_4722.jpg', 2), ('/home/pi/Desktop/images/11072025/07/13/image_11072025_07_13_01_6127.jpg', 2), ('/home/pi/Desktop/images/11072025/07/12/image_11072025_07_12_01_9366.jpg', 2), ('/home/pi/Desktop/images/11072025/07/11/image_11072025_07_11_02_0295.jpg', 2), ('/home/pi/Desktop/images/11072025/07/09/image_11072025_07_09_01_9069.jpg', 2), ('/home/pi/Desktop/images/11072025/07/06/image_11072025_07_06_01_4932.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/07/14/image_11072025_07_14_01_4722.jpg', '/home/pi/Desktop/images/11072025/07/13/image_11072025_07_13_01_6127.jpg', '/home/pi/Desktop/images/11072025/07/12/image_11072025_07_12_01_9366.jpg', '/home/pi/Desktop/images/11072025/07/11/image_11072025_07_11_02_0295.jpg', '/home/pi/Desktop/images/11072025/07/09/image_11072025_07_09_01_9069.jpg', '/home/pi/Desktop/images/11072025/07/06/image_11072025_07_06_01_4932.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/07/14/image_11072025_07_14_01_4722.jpg
/home/pi/Desktop/images/11072025/07/13/image_11072025_07_13_01_6127.jpg
/home/pi/Desktop/images/11072025/07/12/image_11072025_07_12_01_9366.jpg
/home/pi/Desktop/images/11072025/07/11/image_11072025_07_11_02_0295.jpg
/home/pi/Desktop/images/11072025/07/09/image_11072025_07_09_01_9069.jpg
/home/pi/Desktop/images/11072025/07/06/image_11072025_07_06_01_4932.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.17285490036011 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 07:18:05.488063
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/07/17/image_11072025_07_17_02_2894.jpg', 2), ('/home/pi/Desktop/images/11072025/07/14/image_11072025_07_14_01_4722.jpg', 2), ('/home/pi/Desktop/images/11072025/07/13/image_11072025_07_13_01_6127.jpg', 2), ('/home/pi/Desktop/images/11072025/07/12/image_11072025_07_12_01_9366.jpg', 2), ('/home/pi/Desktop/images/11072025/07/11/image_11072025_07_11_02_0295.jpg', 2), ('/home/pi/Desktop/images/11072025/07/09/image_11072025_07_09_01_9069.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/07/17/image_11072025_07_17_02_2894.jpg', '/home/pi/Desktop/images/11072025/07/14/image_11072025_07_14_01_4722.jpg', '/home/pi/Desktop/images/11072025/07/13/image_11072025_07_13_01_6127.jpg', '/home/pi/Desktop/images/11072025/07/12/image_11072025_07_12_01_9366.jpg', '/home/pi/Desktop/images/11072025/07/11/image_11072025_07_11_02_0295.jpg', '/home/pi/Desktop/images/11072025/07/09/image_11072025_07_09_01_9069.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/07/17/image_11072025_07_17_02_2894.jpg
/home/pi/Desktop/images/11072025/07/14/image_11072025_07_14_01_4722.jpg
/home/pi/Desktop/images/11072025/07/13/image_11072025_07_13_01_6127.jpg
/home/pi/Desktop/images/11072025/07/12/image_11072025_07_12_01_9366.jpg
/home/pi/Desktop/images/11072025/07/11/image_11072025_07_11_02_0295.jpg
/home/pi/Desktop/images/11072025/07/09/image_11072025_07_09_01_9069.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 32.96339130401611 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 07:19:05.114661
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/07/18/image_11072025_07_18_02_2252.jpg', 2), ('/home/pi/Desktop/images/11072025/07/17/image_11072025_07_17_02_2894.jpg', 2), ('/home/pi/Desktop/images/11072025/07/14/image_11072025_07_14_01_4722.jpg', 2), ('/home/pi/Desktop/images/11072025/07/13/image_11072025_07_13_01_6127.jpg', 2), ('/home/pi/Desktop/images/11072025/07/12/image_11072025_07_12_01_9366.jpg', 2), ('/home/pi/Desktop/images/11072025/07/11/image_11072025_07_11_02_0295.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/07/18/image_11072025_07_18_02_2252.jpg', '/home/pi/Desktop/images/11072025/07/17/image_11072025_07_17_02_2894.jpg', '/home/pi/Desktop/images/11072025/07/14/image_11072025_07_14_01_4722.jpg', '/home/pi/Desktop/images/11072025/07/13/image_11072025_07_13_01_6127.jpg', '/home/pi/Desktop/images/11072025/07/12/image_11072025_07_12_01_9366.jpg', '/home/pi/Desktop/images/11072025/07/11/image_11072025_07_11_02_0295.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/07/18/image_11072025_07_18_02_2252.jpg
/home/pi/Desktop/images/11072025/07/17/image_11072025_07_17_02_2894.jpg
/home/pi/Desktop/images/11072025/07/14/image_11072025_07_14_01_4722.jpg
/home/pi/Desktop/images/11072025/07/13/image_11072025_07_13_01_6127.jpg
/home/pi/Desktop/images/11072025/07/12/image_11072025_07_12_01_9366.jpg
/home/pi/Desktop/images/11072025/07/11/image_11072025_07_11_02_0295.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.60714912414551 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 07:20:05.153664
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/07/19/image_11072025_07_19_01_7120.jpg', 2), ('/home/pi/Desktop/images/11072025/07/18/image_11072025_07_18_02_2252.jpg', 2), ('/home/pi/Desktop/images/11072025/07/17/image_11072025_07_17_02_2894.jpg', 2), ('/home/pi/Desktop/images/11072025/07/14/image_11072025_07_14_01_4722.jpg', 2), ('/home/pi/Desktop/images/11072025/07/13/image_11072025_07_13_01_6127.jpg', 2), ('/home/pi/Desktop/images/11072025/07/12/image_11072025_07_12_01_9366.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/07/19/image_11072025_07_19_01_7120.jpg', '/home/pi/Desktop/images/11072025/07/18/image_11072025_07_18_02_2252.jpg', '/home/pi/Desktop/images/11072025/07/17/image_11072025_07_17_02_2894.jpg', '/home/pi/Desktop/images/11072025/07/14/image_11072025_07_14_01_4722.jpg', '/home/pi/Desktop/images/11072025/07/13/image_11072025_07_13_01_6127.jpg', '/home/pi/Desktop/images/11072025/07/12/image_11072025_07_12_01_9366.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/07/19/image_11072025_07_19_01_7120.jpg
/home/pi/Desktop/images/11072025/07/18/image_11072025_07_18_02_2252.jpg
/home/pi/Desktop/images/11072025/07/17/image_11072025_07_17_02_2894.jpg
/home/pi/Desktop/images/11072025/07/14/image_11072025_07_14_01_4722.jpg
/home/pi/Desktop/images/11072025/07/13/image_11072025_07_13_01_6127.jpg
/home/pi/Desktop/images/11072025/07/12/image_11072025_07_12_01_9366.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.69602870941162 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 07:21:05.663553
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/07/20/image_11072025_07_20_01_3789.jpg', 2), ('/home/pi/Desktop/images/11072025/07/19/image_11072025_07_19_01_7120.jpg', 2), ('/home/pi/Desktop/images/11072025/07/18/image_11072025_07_18_02_2252.jpg', 2), ('/home/pi/Desktop/images/11072025/07/17/image_11072025_07_17_02_2894.jpg', 2), ('/home/pi/Desktop/images/11072025/07/14/image_11072025_07_14_01_4722.jpg', 2), ('/home/pi/Desktop/images/11072025/07/13/image_11072025_07_13_01_6127.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/07/20/image_11072025_07_20_01_3789.jpg', '/home/pi/Desktop/images/11072025/07/19/image_11072025_07_19_01_7120.jpg', '/home/pi/Desktop/images/11072025/07/18/image_11072025_07_18_02_2252.jpg', '/home/pi/Desktop/images/11072025/07/17/image_11072025_07_17_02_2894.jpg', '/home/pi/Desktop/images/11072025/07/14/image_11072025_07_14_01_4722.jpg', '/home/pi/Desktop/images/11072025/07/13/image_11072025_07_13_01_6127.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/07/20/image_11072025_07_20_01_3789.jpg
/home/pi/Desktop/images/11072025/07/19/image_11072025_07_19_01_7120.jpg
/home/pi/Desktop/images/11072025/07/18/image_11072025_07_18_02_2252.jpg
/home/pi/Desktop/images/11072025/07/17/image_11072025_07_17_02_2894.jpg
/home/pi/Desktop/images/11072025/07/14/image_11072025_07_14_01_4722.jpg
/home/pi/Desktop/images/11072025/07/13/image_11072025_07_13_01_6127.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.30337071418762 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 07:22:05.214732
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/07/21/image_11072025_07_21_01_4572.jpg', 2), ('/home/pi/Desktop/images/11072025/07/20/image_11072025_07_20_01_3789.jpg', 2), ('/home/pi/Desktop/images/11072025/07/19/image_11072025_07_19_01_7120.jpg', 2), ('/home/pi/Desktop/images/11072025/07/18/image_11072025_07_18_02_2252.jpg', 2), ('/home/pi/Desktop/images/11072025/07/17/image_11072025_07_17_02_2894.jpg', 2), ('/home/pi/Desktop/images/11072025/07/14/image_11072025_07_14_01_4722.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/07/21/image_11072025_07_21_01_4572.jpg', '/home/pi/Desktop/images/11072025/07/20/image_11072025_07_20_01_3789.jpg', '/home/pi/Desktop/images/11072025/07/19/image_11072025_07_19_01_7120.jpg', '/home/pi/Desktop/images/11072025/07/18/image_11072025_07_18_02_2252.jpg', '/home/pi/Desktop/images/11072025/07/17/image_11072025_07_17_02_2894.jpg', '/home/pi/Desktop/images/11072025/07/14/image_11072025_07_14_01_4722.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/07/21/image_11072025_07_21_01_4572.jpg
/home/pi/Desktop/images/11072025/07/20/image_11072025_07_20_01_3789.jpg
/home/pi/Desktop/images/11072025/07/19/image_11072025_07_19_01_7120.jpg
/home/pi/Desktop/images/11072025/07/18/image_11072025_07_18_02_2252.jpg
/home/pi/Desktop/images/11072025/07/17/image_11072025_07_17_02_2894.jpg
/home/pi/Desktop/images/11072025/07/14/image_11072025_07_14_01_4722.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.84444546699524 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 07:23:05.943945
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/07/22/image_11072025_07_22_01_7213.jpg', 2), ('/home/pi/Desktop/images/11072025/07/21/image_11072025_07_21_01_4572.jpg', 2), ('/home/pi/Desktop/images/11072025/07/20/image_11072025_07_20_01_3789.jpg', 2), ('/home/pi/Desktop/images/11072025/07/19/image_11072025_07_19_01_7120.jpg', 2), ('/home/pi/Desktop/images/11072025/07/18/image_11072025_07_18_02_2252.jpg', 2), ('/home/pi/Desktop/images/11072025/07/17/image_11072025_07_17_02_2894.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/07/22/image_11072025_07_22_01_7213.jpg', '/home/pi/Desktop/images/11072025/07/21/image_11072025_07_21_01_4572.jpg', '/home/pi/Desktop/images/11072025/07/20/image_11072025_07_20_01_3789.jpg', '/home/pi/Desktop/images/11072025/07/19/image_11072025_07_19_01_7120.jpg', '/home/pi/Desktop/images/11072025/07/18/image_11072025_07_18_02_2252.jpg', '/home/pi/Desktop/images/11072025/07/17/image_11072025_07_17_02_2894.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/07/22/image_11072025_07_22_01_7213.jpg
/home/pi/Desktop/images/11072025/07/21/image_11072025_07_21_01_4572.jpg
/home/pi/Desktop/images/11072025/07/20/image_11072025_07_20_01_3789.jpg
/home/pi/Desktop/images/11072025/07/19/image_11072025_07_19_01_7120.jpg
/home/pi/Desktop/images/11072025/07/18/image_11072025_07_18_02_2252.jpg
/home/pi/Desktop/images/11072025/07/17/image_11072025_07_17_02_2894.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.356165409088135 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 07:24:06.385627
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/07/23/image_11072025_07_23_01_7857.jpg', 2), ('/home/pi/Desktop/images/11072025/07/22/image_11072025_07_22_01_7213.jpg', 2), ('/home/pi/Desktop/images/11072025/07/21/image_11072025_07_21_01_4572.jpg', 2), ('/home/pi/Desktop/images/11072025/07/20/image_11072025_07_20_01_3789.jpg', 2), ('/home/pi/Desktop/images/11072025/07/19/image_11072025_07_19_01_7120.jpg', 2), ('/home/pi/Desktop/images/11072025/07/18/image_11072025_07_18_02_2252.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/07/23/image_11072025_07_23_01_7857.jpg', '/home/pi/Desktop/images/11072025/07/22/image_11072025_07_22_01_7213.jpg', '/home/pi/Desktop/images/11072025/07/21/image_11072025_07_21_01_4572.jpg', '/home/pi/Desktop/images/11072025/07/20/image_11072025_07_20_01_3789.jpg', '/home/pi/Desktop/images/11072025/07/19/image_11072025_07_19_01_7120.jpg', '/home/pi/Desktop/images/11072025/07/18/image_11072025_07_18_02_2252.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/07/23/image_11072025_07_23_01_7857.jpg
/home/pi/Desktop/images/11072025/07/22/image_11072025_07_22_01_7213.jpg
/home/pi/Desktop/images/11072025/07/21/image_11072025_07_21_01_4572.jpg
/home/pi/Desktop/images/11072025/07/20/image_11072025_07_20_01_3789.jpg
/home/pi/Desktop/images/11072025/07/19/image_11072025_07_19_01_7120.jpg
/home/pi/Desktop/images/11072025/07/18/image_11072025_07_18_02_2252.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 35.032129764556885 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 07:25:05.451931
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/07/23/image_11072025_07_23_01_7857.jpg', 2), ('/home/pi/Desktop/images/11072025/07/22/image_11072025_07_22_01_7213.jpg', 2), ('/home/pi/Desktop/images/11072025/07/21/image_11072025_07_21_01_4572.jpg', 2), ('/home/pi/Desktop/images/11072025/07/20/image_11072025_07_20_01_3789.jpg', 2), ('/home/pi/Desktop/images/11072025/07/19/image_11072025_07_19_01_7120.jpg', 2), ('/home/pi/Desktop/images/11072025/07/18/image_11072025_07_18_02_2252.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/07/23/image_11072025_07_23_01_7857.jpg', '/home/pi/Desktop/images/11072025/07/22/image_11072025_07_22_01_7213.jpg', '/home/pi/Desktop/images/11072025/07/21/image_11072025_07_21_01_4572.jpg', '/home/pi/Desktop/images/11072025/07/20/image_11072025_07_20_01_3789.jpg', '/home/pi/Desktop/images/11072025/07/19/image_11072025_07_19_01_7120.jpg', '/home/pi/Desktop/images/11072025/07/18/image_11072025_07_18_02_2252.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/07/23/image_11072025_07_23_01_7857.jpg
/home/pi/Desktop/images/11072025/07/22/image_11072025_07_22_01_7213.jpg
/home/pi/Desktop/images/11072025/07/21/image_11072025_07_21_01_4572.jpg
/home/pi/Desktop/images/11072025/07/20/image_11072025_07_20_01_3789.jpg
/home/pi/Desktop/images/11072025/07/19/image_11072025_07_19_01_7120.jpg
/home/pi/Desktop/images/11072025/07/18/image_11072025_07_18_02_2252.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 34.091991662979126 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 07:26:05.588445
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/07/23/image_11072025_07_23_01_7857.jpg', 2), ('/home/pi/Desktop/images/11072025/07/22/image_11072025_07_22_01_7213.jpg', 2), ('/home/pi/Desktop/images/11072025/07/21/image_11072025_07_21_01_4572.jpg', 2), ('/home/pi/Desktop/images/11072025/07/20/image_11072025_07_20_01_3789.jpg', 2), ('/home/pi/Desktop/images/11072025/07/19/image_11072025_07_19_01_7120.jpg', 2), ('/home/pi/Desktop/images/11072025/07/18/image_11072025_07_18_02_2252.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/07/23/image_11072025_07_23_01_7857.jpg', '/home/pi/Desktop/images/11072025/07/22/image_11072025_07_22_01_7213.jpg', '/home/pi/Desktop/images/11072025/07/21/image_11072025_07_21_01_4572.jpg', '/home/pi/Desktop/images/11072025/07/20/image_11072025_07_20_01_3789.jpg', '/home/pi/Desktop/images/11072025/07/19/image_11072025_07_19_01_7120.jpg', '/home/pi/Desktop/images/11072025/07/18/image_11072025_07_18_02_2252.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/07/23/image_11072025_07_23_01_7857.jpg
/home/pi/Desktop/images/11072025/07/22/image_11072025_07_22_01_7213.jpg
/home/pi/Desktop/images/11072025/07/21/image_11072025_07_21_01_4572.jpg
/home/pi/Desktop/images/11072025/07/20/image_11072025_07_20_01_3789.jpg
/home/pi/Desktop/images/11072025/07/19/image_11072025_07_19_01_7120.jpg
/home/pi/Desktop/images/11072025/07/18/image_11072025_07_18_02_2252.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.074766635894775 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 07:27:05.460211
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/07/24/image_11072025_07_24_01_9154.jpg', 2), ('/home/pi/Desktop/images/11072025/07/23/image_11072025_07_23_01_7857.jpg', 2), ('/home/pi/Desktop/images/11072025/07/22/image_11072025_07_22_01_7213.jpg', 2), ('/home/pi/Desktop/images/11072025/07/21/image_11072025_07_21_01_4572.jpg', 2), ('/home/pi/Desktop/images/11072025/07/20/image_11072025_07_20_01_3789.jpg', 2), ('/home/pi/Desktop/images/11072025/07/19/image_11072025_07_19_01_7120.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/07/24/image_11072025_07_24_01_9154.jpg', '/home/pi/Desktop/images/11072025/07/23/image_11072025_07_23_01_7857.jpg', '/home/pi/Desktop/images/11072025/07/22/image_11072025_07_22_01_7213.jpg', '/home/pi/Desktop/images/11072025/07/21/image_11072025_07_21_01_4572.jpg', '/home/pi/Desktop/images/11072025/07/20/image_11072025_07_20_01_3789.jpg', '/home/pi/Desktop/images/11072025/07/19/image_11072025_07_19_01_7120.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/07/24/image_11072025_07_24_01_9154.jpg
/home/pi/Desktop/images/11072025/07/23/image_11072025_07_23_01_7857.jpg
/home/pi/Desktop/images/11072025/07/22/image_11072025_07_22_01_7213.jpg
/home/pi/Desktop/images/11072025/07/21/image_11072025_07_21_01_4572.jpg
/home/pi/Desktop/images/11072025/07/20/image_11072025_07_20_01_3789.jpg
/home/pi/Desktop/images/11072025/07/19/image_11072025_07_19_01_7120.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.42930555343628 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 07:28:05.141262
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/07/27/image_11072025_07_27_01_9695.jpg', 2), ('/home/pi/Desktop/images/11072025/07/24/image_11072025_07_24_01_9154.jpg', 2), ('/home/pi/Desktop/images/11072025/07/23/image_11072025_07_23_01_7857.jpg', 2), ('/home/pi/Desktop/images/11072025/07/22/image_11072025_07_22_01_7213.jpg', 2), ('/home/pi/Desktop/images/11072025/07/21/image_11072025_07_21_01_4572.jpg', 2), ('/home/pi/Desktop/images/11072025/07/20/image_11072025_07_20_01_3789.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/07/27/image_11072025_07_27_01_9695.jpg', '/home/pi/Desktop/images/11072025/07/24/image_11072025_07_24_01_9154.jpg', '/home/pi/Desktop/images/11072025/07/23/image_11072025_07_23_01_7857.jpg', '/home/pi/Desktop/images/11072025/07/22/image_11072025_07_22_01_7213.jpg', '/home/pi/Desktop/images/11072025/07/21/image_11072025_07_21_01_4572.jpg', '/home/pi/Desktop/images/11072025/07/20/image_11072025_07_20_01_3789.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/07/27/image_11072025_07_27_01_9695.jpg
/home/pi/Desktop/images/11072025/07/24/image_11072025_07_24_01_9154.jpg
/home/pi/Desktop/images/11072025/07/23/image_11072025_07_23_01_7857.jpg
/home/pi/Desktop/images/11072025/07/22/image_11072025_07_22_01_7213.jpg
/home/pi/Desktop/images/11072025/07/21/image_11072025_07_21_01_4572.jpg
/home/pi/Desktop/images/11072025/07/20/image_11072025_07_20_01_3789.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 32.93331480026245 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 07:29:05.520477
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/07/28/image_11072025_07_28_01_4322.jpg', 2), ('/home/pi/Desktop/images/11072025/07/27/image_11072025_07_27_01_9695.jpg', 2), ('/home/pi/Desktop/images/11072025/07/24/image_11072025_07_24_01_9154.jpg', 2), ('/home/pi/Desktop/images/11072025/07/23/image_11072025_07_23_01_7857.jpg', 2), ('/home/pi/Desktop/images/11072025/07/22/image_11072025_07_22_01_7213.jpg', 2), ('/home/pi/Desktop/images/11072025/07/21/image_11072025_07_21_01_4572.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/07/28/image_11072025_07_28_01_4322.jpg', '/home/pi/Desktop/images/11072025/07/27/image_11072025_07_27_01_9695.jpg', '/home/pi/Desktop/images/11072025/07/24/image_11072025_07_24_01_9154.jpg', '/home/pi/Desktop/images/11072025/07/23/image_11072025_07_23_01_7857.jpg', '/home/pi/Desktop/images/11072025/07/22/image_11072025_07_22_01_7213.jpg', '/home/pi/Desktop/images/11072025/07/21/image_11072025_07_21_01_4572.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/07/28/image_11072025_07_28_01_4322.jpg
/home/pi/Desktop/images/11072025/07/27/image_11072025_07_27_01_9695.jpg
/home/pi/Desktop/images/11072025/07/24/image_11072025_07_24_01_9154.jpg
/home/pi/Desktop/images/11072025/07/23/image_11072025_07_23_01_7857.jpg
/home/pi/Desktop/images/11072025/07/22/image_11072025_07_22_01_7213.jpg
/home/pi/Desktop/images/11072025/07/21/image_11072025_07_21_01_4572.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.64585065841675 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 07:30:05.445631
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/07/29/image_11072025_07_29_01_8456.jpg', 2), ('/home/pi/Desktop/images/11072025/07/28/image_11072025_07_28_01_4322.jpg', 2), ('/home/pi/Desktop/images/11072025/07/27/image_11072025_07_27_01_9695.jpg', 2), ('/home/pi/Desktop/images/11072025/07/24/image_11072025_07_24_01_9154.jpg', 2), ('/home/pi/Desktop/images/11072025/07/23/image_11072025_07_23_01_7857.jpg', 2), ('/home/pi/Desktop/images/11072025/07/22/image_11072025_07_22_01_7213.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/07/29/image_11072025_07_29_01_8456.jpg', '/home/pi/Desktop/images/11072025/07/28/image_11072025_07_28_01_4322.jpg', '/home/pi/Desktop/images/11072025/07/27/image_11072025_07_27_01_9695.jpg', '/home/pi/Desktop/images/11072025/07/24/image_11072025_07_24_01_9154.jpg', '/home/pi/Desktop/images/11072025/07/23/image_11072025_07_23_01_7857.jpg', '/home/pi/Desktop/images/11072025/07/22/image_11072025_07_22_01_7213.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/07/29/image_11072025_07_29_01_8456.jpg
/home/pi/Desktop/images/11072025/07/28/image_11072025_07_28_01_4322.jpg
/home/pi/Desktop/images/11072025/07/27/image_11072025_07_27_01_9695.jpg
/home/pi/Desktop/images/11072025/07/24/image_11072025_07_24_01_9154.jpg
/home/pi/Desktop/images/11072025/07/23/image_11072025_07_23_01_7857.jpg
/home/pi/Desktop/images/11072025/07/22/image_11072025_07_22_01_7213.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 32.941601276397705 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 07:31:05.523142
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/07/29/image_11072025_07_29_01_8456.jpg', 2), ('/home/pi/Desktop/images/11072025/07/28/image_11072025_07_28_01_4322.jpg', 2), ('/home/pi/Desktop/images/11072025/07/27/image_11072025_07_27_01_9695.jpg', 2), ('/home/pi/Desktop/images/11072025/07/24/image_11072025_07_24_01_9154.jpg', 2), ('/home/pi/Desktop/images/11072025/07/23/image_11072025_07_23_01_7857.jpg', 2), ('/home/pi/Desktop/images/11072025/07/22/image_11072025_07_22_01_7213.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/07/29/image_11072025_07_29_01_8456.jpg', '/home/pi/Desktop/images/11072025/07/28/image_11072025_07_28_01_4322.jpg', '/home/pi/Desktop/images/11072025/07/27/image_11072025_07_27_01_9695.jpg', '/home/pi/Desktop/images/11072025/07/24/image_11072025_07_24_01_9154.jpg', '/home/pi/Desktop/images/11072025/07/23/image_11072025_07_23_01_7857.jpg', '/home/pi/Desktop/images/11072025/07/22/image_11072025_07_22_01_7213.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/07/29/image_11072025_07_29_01_8456.jpg
/home/pi/Desktop/images/11072025/07/28/image_11072025_07_28_01_4322.jpg
/home/pi/Desktop/images/11072025/07/27/image_11072025_07_27_01_9695.jpg
/home/pi/Desktop/images/11072025/07/24/image_11072025_07_24_01_9154.jpg
/home/pi/Desktop/images/11072025/07/23/image_11072025_07_23_01_7857.jpg
/home/pi/Desktop/images/11072025/07/22/image_11072025_07_22_01_7213.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 34.02981376647949 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 07:32:05.275568
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/07/29/image_11072025_07_29_01_8456.jpg', 2), ('/home/pi/Desktop/images/11072025/07/28/image_11072025_07_28_01_4322.jpg', 2), ('/home/pi/Desktop/images/11072025/07/27/image_11072025_07_27_01_9695.jpg', 2), ('/home/pi/Desktop/images/11072025/07/24/image_11072025_07_24_01_9154.jpg', 2), ('/home/pi/Desktop/images/11072025/07/23/image_11072025_07_23_01_7857.jpg', 2), ('/home/pi/Desktop/images/11072025/07/22/image_11072025_07_22_01_7213.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/07/29/image_11072025_07_29_01_8456.jpg', '/home/pi/Desktop/images/11072025/07/28/image_11072025_07_28_01_4322.jpg', '/home/pi/Desktop/images/11072025/07/27/image_11072025_07_27_01_9695.jpg', '/home/pi/Desktop/images/11072025/07/24/image_11072025_07_24_01_9154.jpg', '/home/pi/Desktop/images/11072025/07/23/image_11072025_07_23_01_7857.jpg', '/home/pi/Desktop/images/11072025/07/22/image_11072025_07_22_01_7213.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/07/29/image_11072025_07_29_01_8456.jpg
/home/pi/Desktop/images/11072025/07/28/image_11072025_07_28_01_4322.jpg
/home/pi/Desktop/images/11072025/07/27/image_11072025_07_27_01_9695.jpg
/home/pi/Desktop/images/11072025/07/24/image_11072025_07_24_01_9154.jpg
/home/pi/Desktop/images/11072025/07/23/image_11072025_07_23_01_7857.jpg
/home/pi/Desktop/images/11072025/07/22/image_11072025_07_22_01_7213.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.40490770339966 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 07:33:05.943559
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/07/29/image_11072025_07_29_01_8456.jpg', 2), ('/home/pi/Desktop/images/11072025/07/28/image_11072025_07_28_01_4322.jpg', 2), ('/home/pi/Desktop/images/11072025/07/27/image_11072025_07_27_01_9695.jpg', 2), ('/home/pi/Desktop/images/11072025/07/24/image_11072025_07_24_01_9154.jpg', 2), ('/home/pi/Desktop/images/11072025/07/23/image_11072025_07_23_01_7857.jpg', 2), ('/home/pi/Desktop/images/11072025/07/22/image_11072025_07_22_01_7213.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/07/29/image_11072025_07_29_01_8456.jpg', '/home/pi/Desktop/images/11072025/07/28/image_11072025_07_28_01_4322.jpg', '/home/pi/Desktop/images/11072025/07/27/image_11072025_07_27_01_9695.jpg', '/home/pi/Desktop/images/11072025/07/24/image_11072025_07_24_01_9154.jpg', '/home/pi/Desktop/images/11072025/07/23/image_11072025_07_23_01_7857.jpg', '/home/pi/Desktop/images/11072025/07/22/image_11072025_07_22_01_7213.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/07/29/image_11072025_07_29_01_8456.jpg
/home/pi/Desktop/images/11072025/07/28/image_11072025_07_28_01_4322.jpg
/home/pi/Desktop/images/11072025/07/27/image_11072025_07_27_01_9695.jpg
/home/pi/Desktop/images/11072025/07/24/image_11072025_07_24_01_9154.jpg
/home/pi/Desktop/images/11072025/07/23/image_11072025_07_23_01_7857.jpg
/home/pi/Desktop/images/11072025/07/22/image_11072025_07_22_01_7213.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 34.04356837272644 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 07:34:05.124990
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/07/29/image_11072025_07_29_01_8456.jpg', 2), ('/home/pi/Desktop/images/11072025/07/28/image_11072025_07_28_01_4322.jpg', 2), ('/home/pi/Desktop/images/11072025/07/27/image_11072025_07_27_01_9695.jpg', 2), ('/home/pi/Desktop/images/11072025/07/24/image_11072025_07_24_01_9154.jpg', 2), ('/home/pi/Desktop/images/11072025/07/23/image_11072025_07_23_01_7857.jpg', 2), ('/home/pi/Desktop/images/11072025/07/22/image_11072025_07_22_01_7213.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/07/29/image_11072025_07_29_01_8456.jpg', '/home/pi/Desktop/images/11072025/07/28/image_11072025_07_28_01_4322.jpg', '/home/pi/Desktop/images/11072025/07/27/image_11072025_07_27_01_9695.jpg', '/home/pi/Desktop/images/11072025/07/24/image_11072025_07_24_01_9154.jpg', '/home/pi/Desktop/images/11072025/07/23/image_11072025_07_23_01_7857.jpg', '/home/pi/Desktop/images/11072025/07/22/image_11072025_07_22_01_7213.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/07/29/image_11072025_07_29_01_8456.jpg
/home/pi/Desktop/images/11072025/07/28/image_11072025_07_28_01_4322.jpg
/home/pi/Desktop/images/11072025/07/27/image_11072025_07_27_01_9695.jpg
/home/pi/Desktop/images/11072025/07/24/image_11072025_07_24_01_9154.jpg
/home/pi/Desktop/images/11072025/07/23/image_11072025_07_23_01_7857.jpg
/home/pi/Desktop/images/11072025/07/22/image_11072025_07_22_01_7213.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 32.967642307281494 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 07:35:04.822181
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/07/30/image_11072025_07_30_01_8596.jpg', 2), ('/home/pi/Desktop/images/11072025/07/29/image_11072025_07_29_01_8456.jpg', 2), ('/home/pi/Desktop/images/11072025/07/28/image_11072025_07_28_01_4322.jpg', 2), ('/home/pi/Desktop/images/11072025/07/27/image_11072025_07_27_01_9695.jpg', 2), ('/home/pi/Desktop/images/11072025/07/24/image_11072025_07_24_01_9154.jpg', 2), ('/home/pi/Desktop/images/11072025/07/23/image_11072025_07_23_01_7857.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/07/30/image_11072025_07_30_01_8596.jpg', '/home/pi/Desktop/images/11072025/07/29/image_11072025_07_29_01_8456.jpg', '/home/pi/Desktop/images/11072025/07/28/image_11072025_07_28_01_4322.jpg', '/home/pi/Desktop/images/11072025/07/27/image_11072025_07_27_01_9695.jpg', '/home/pi/Desktop/images/11072025/07/24/image_11072025_07_24_01_9154.jpg', '/home/pi/Desktop/images/11072025/07/23/image_11072025_07_23_01_7857.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/07/30/image_11072025_07_30_01_8596.jpg
/home/pi/Desktop/images/11072025/07/29/image_11072025_07_29_01_8456.jpg
/home/pi/Desktop/images/11072025/07/28/image_11072025_07_28_01_4322.jpg
/home/pi/Desktop/images/11072025/07/27/image_11072025_07_27_01_9695.jpg
/home/pi/Desktop/images/11072025/07/24/image_11072025_07_24_01_9154.jpg
/home/pi/Desktop/images/11072025/07/23/image_11072025_07_23_01_7857.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.42992973327637 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 07:36:06.300478
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/07/30/image_11072025_07_30_01_8596.jpg', 2), ('/home/pi/Desktop/images/11072025/07/29/image_11072025_07_29_01_8456.jpg', 2), ('/home/pi/Desktop/images/11072025/07/28/image_11072025_07_28_01_4322.jpg', 2), ('/home/pi/Desktop/images/11072025/07/27/image_11072025_07_27_01_9695.jpg', 2), ('/home/pi/Desktop/images/11072025/07/24/image_11072025_07_24_01_9154.jpg', 2), ('/home/pi/Desktop/images/11072025/07/23/image_11072025_07_23_01_7857.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/07/30/image_11072025_07_30_01_8596.jpg', '/home/pi/Desktop/images/11072025/07/29/image_11072025_07_29_01_8456.jpg', '/home/pi/Desktop/images/11072025/07/28/image_11072025_07_28_01_4322.jpg', '/home/pi/Desktop/images/11072025/07/27/image_11072025_07_27_01_9695.jpg', '/home/pi/Desktop/images/11072025/07/24/image_11072025_07_24_01_9154.jpg', '/home/pi/Desktop/images/11072025/07/23/image_11072025_07_23_01_7857.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/07/30/image_11072025_07_30_01_8596.jpg
/home/pi/Desktop/images/11072025/07/29/image_11072025_07_29_01_8456.jpg
/home/pi/Desktop/images/11072025/07/28/image_11072025_07_28_01_4322.jpg
/home/pi/Desktop/images/11072025/07/27/image_11072025_07_27_01_9695.jpg
/home/pi/Desktop/images/11072025/07/24/image_11072025_07_24_01_9154.jpg
/home/pi/Desktop/images/11072025/07/23/image_11072025_07_23_01_7857.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 34.06397247314453 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 07:37:05.987181
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/07/30/image_11072025_07_30_01_8596.jpg', 2), ('/home/pi/Desktop/images/11072025/07/29/image_11072025_07_29_01_8456.jpg', 2), ('/home/pi/Desktop/images/11072025/07/28/image_11072025_07_28_01_4322.jpg', 2), ('/home/pi/Desktop/images/11072025/07/27/image_11072025_07_27_01_9695.jpg', 2), ('/home/pi/Desktop/images/11072025/07/24/image_11072025_07_24_01_9154.jpg', 2), ('/home/pi/Desktop/images/11072025/07/23/image_11072025_07_23_01_7857.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/07/30/image_11072025_07_30_01_8596.jpg', '/home/pi/Desktop/images/11072025/07/29/image_11072025_07_29_01_8456.jpg', '/home/pi/Desktop/images/11072025/07/28/image_11072025_07_28_01_4322.jpg', '/home/pi/Desktop/images/11072025/07/27/image_11072025_07_27_01_9695.jpg', '/home/pi/Desktop/images/11072025/07/24/image_11072025_07_24_01_9154.jpg', '/home/pi/Desktop/images/11072025/07/23/image_11072025_07_23_01_7857.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/07/30/image_11072025_07_30_01_8596.jpg
/home/pi/Desktop/images/11072025/07/29/image_11072025_07_29_01_8456.jpg
/home/pi/Desktop/images/11072025/07/28/image_11072025_07_28_01_4322.jpg
/home/pi/Desktop/images/11072025/07/27/image_11072025_07_27_01_9695.jpg
/home/pi/Desktop/images/11072025/07/24/image_11072025_07_24_01_9154.jpg
/home/pi/Desktop/images/11072025/07/23/image_11072025_07_23_01_7857.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.54012370109558 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 07:38:05.351287
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/07/30/image_11072025_07_30_01_8596.jpg', 2), ('/home/pi/Desktop/images/11072025/07/29/image_11072025_07_29_01_8456.jpg', 2), ('/home/pi/Desktop/images/11072025/07/28/image_11072025_07_28_01_4322.jpg', 2), ('/home/pi/Desktop/images/11072025/07/27/image_11072025_07_27_01_9695.jpg', 2), ('/home/pi/Desktop/images/11072025/07/24/image_11072025_07_24_01_9154.jpg', 2), ('/home/pi/Desktop/images/11072025/07/23/image_11072025_07_23_01_7857.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/07/30/image_11072025_07_30_01_8596.jpg', '/home/pi/Desktop/images/11072025/07/29/image_11072025_07_29_01_8456.jpg', '/home/pi/Desktop/images/11072025/07/28/image_11072025_07_28_01_4322.jpg', '/home/pi/Desktop/images/11072025/07/27/image_11072025_07_27_01_9695.jpg', '/home/pi/Desktop/images/11072025/07/24/image_11072025_07_24_01_9154.jpg', '/home/pi/Desktop/images/11072025/07/23/image_11072025_07_23_01_7857.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/07/30/image_11072025_07_30_01_8596.jpg
/home/pi/Desktop/images/11072025/07/29/image_11072025_07_29_01_8456.jpg
/home/pi/Desktop/images/11072025/07/28/image_11072025_07_28_01_4322.jpg
/home/pi/Desktop/images/11072025/07/27/image_11072025_07_27_01_9695.jpg
/home/pi/Desktop/images/11072025/07/24/image_11072025_07_24_01_9154.jpg
/home/pi/Desktop/images/11072025/07/23/image_11072025_07_23_01_7857.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.3599591255188 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 07:39:05.050189
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/07/35/image_11072025_07_35_01_7002.jpg', 2), ('/home/pi/Desktop/images/11072025/07/30/image_11072025_07_30_01_8596.jpg', 2), ('/home/pi/Desktop/images/11072025/07/29/image_11072025_07_29_01_8456.jpg', 2), ('/home/pi/Desktop/images/11072025/07/28/image_11072025_07_28_01_4322.jpg', 2), ('/home/pi/Desktop/images/11072025/07/27/image_11072025_07_27_01_9695.jpg', 2), ('/home/pi/Desktop/images/11072025/07/24/image_11072025_07_24_01_9154.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/07/35/image_11072025_07_35_01_7002.jpg', '/home/pi/Desktop/images/11072025/07/30/image_11072025_07_30_01_8596.jpg', '/home/pi/Desktop/images/11072025/07/29/image_11072025_07_29_01_8456.jpg', '/home/pi/Desktop/images/11072025/07/28/image_11072025_07_28_01_4322.jpg', '/home/pi/Desktop/images/11072025/07/27/image_11072025_07_27_01_9695.jpg', '/home/pi/Desktop/images/11072025/07/24/image_11072025_07_24_01_9154.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/07/35/image_11072025_07_35_01_7002.jpg
/home/pi/Desktop/images/11072025/07/30/image_11072025_07_30_01_8596.jpg
/home/pi/Desktop/images/11072025/07/29/image_11072025_07_29_01_8456.jpg
/home/pi/Desktop/images/11072025/07/28/image_11072025_07_28_01_4322.jpg
/home/pi/Desktop/images/11072025/07/27/image_11072025_07_27_01_9695.jpg
/home/pi/Desktop/images/11072025/07/24/image_11072025_07_24_01_9154.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.72533941268921 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 07:40:03.121159
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/07/40/image_11072025_07_40_01_4144.jpg', 2), ('/home/pi/Desktop/images/11072025/07/35/image_11072025_07_35_01_7002.jpg', 2), ('/home/pi/Desktop/images/11072025/07/30/image_11072025_07_30_01_8596.jpg', 2), ('/home/pi/Desktop/images/11072025/07/29/image_11072025_07_29_01_8456.jpg', 2), ('/home/pi/Desktop/images/11072025/07/28/image_11072025_07_28_01_4322.jpg', 2), ('/home/pi/Desktop/images/11072025/07/27/image_11072025_07_27_01_9695.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/07/40/image_11072025_07_40_01_4144.jpg', '/home/pi/Desktop/images/11072025/07/35/image_11072025_07_35_01_7002.jpg', '/home/pi/Desktop/images/11072025/07/30/image_11072025_07_30_01_8596.jpg', '/home/pi/Desktop/images/11072025/07/29/image_11072025_07_29_01_8456.jpg', '/home/pi/Desktop/images/11072025/07/28/image_11072025_07_28_01_4322.jpg', '/home/pi/Desktop/images/11072025/07/27/image_11072025_07_27_01_9695.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/07/40/image_11072025_07_40_01_4144.jpg
/home/pi/Desktop/images/11072025/07/35/image_11072025_07_35_01_7002.jpg
/home/pi/Desktop/images/11072025/07/30/image_11072025_07_30_01_8596.jpg
/home/pi/Desktop/images/11072025/07/29/image_11072025_07_29_01_8456.jpg
/home/pi/Desktop/images/11072025/07/28/image_11072025_07_28_01_4322.jpg
/home/pi/Desktop/images/11072025/07/27/image_11072025_07_27_01_9695.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 31.798659324645996 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 07:41:05.805403
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/07/40/image_11072025_07_40_01_4144.jpg', 2), ('/home/pi/Desktop/images/11072025/07/39/image_11072025_07_39_01_8671.jpg', 2), ('/home/pi/Desktop/images/11072025/07/35/image_11072025_07_35_01_7002.jpg', 2), ('/home/pi/Desktop/images/11072025/07/30/image_11072025_07_30_01_8596.jpg', 2), ('/home/pi/Desktop/images/11072025/07/29/image_11072025_07_29_01_8456.jpg', 2), ('/home/pi/Desktop/images/11072025/07/28/image_11072025_07_28_01_4322.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/07/40/image_11072025_07_40_01_4144.jpg', '/home/pi/Desktop/images/11072025/07/39/image_11072025_07_39_01_8671.jpg', '/home/pi/Desktop/images/11072025/07/35/image_11072025_07_35_01_7002.jpg', '/home/pi/Desktop/images/11072025/07/30/image_11072025_07_30_01_8596.jpg', '/home/pi/Desktop/images/11072025/07/29/image_11072025_07_29_01_8456.jpg', '/home/pi/Desktop/images/11072025/07/28/image_11072025_07_28_01_4322.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/07/40/image_11072025_07_40_01_4144.jpg
/home/pi/Desktop/images/11072025/07/39/image_11072025_07_39_01_8671.jpg
/home/pi/Desktop/images/11072025/07/35/image_11072025_07_35_01_7002.jpg
/home/pi/Desktop/images/11072025/07/30/image_11072025_07_30_01_8596.jpg
/home/pi/Desktop/images/11072025/07/29/image_11072025_07_29_01_8456.jpg
/home/pi/Desktop/images/11072025/07/28/image_11072025_07_28_01_4322.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.25982046127319 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 07:42:05.108677
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/07/40/image_11072025_07_40_01_4144.jpg', 2), ('/home/pi/Desktop/images/11072025/07/39/image_11072025_07_39_01_8671.jpg', 2), ('/home/pi/Desktop/images/11072025/07/35/image_11072025_07_35_01_7002.jpg', 2), ('/home/pi/Desktop/images/11072025/07/30/image_11072025_07_30_01_8596.jpg', 2), ('/home/pi/Desktop/images/11072025/07/29/image_11072025_07_29_01_8456.jpg', 2), ('/home/pi/Desktop/images/11072025/07/28/image_11072025_07_28_01_4322.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/07/40/image_11072025_07_40_01_4144.jpg', '/home/pi/Desktop/images/11072025/07/39/image_11072025_07_39_01_8671.jpg', '/home/pi/Desktop/images/11072025/07/35/image_11072025_07_35_01_7002.jpg', '/home/pi/Desktop/images/11072025/07/30/image_11072025_07_30_01_8596.jpg', '/home/pi/Desktop/images/11072025/07/29/image_11072025_07_29_01_8456.jpg', '/home/pi/Desktop/images/11072025/07/28/image_11072025_07_28_01_4322.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/07/40/image_11072025_07_40_01_4144.jpg
/home/pi/Desktop/images/11072025/07/39/image_11072025_07_39_01_8671.jpg
/home/pi/Desktop/images/11072025/07/35/image_11072025_07_35_01_7002.jpg
/home/pi/Desktop/images/11072025/07/30/image_11072025_07_30_01_8596.jpg
/home/pi/Desktop/images/11072025/07/29/image_11072025_07_29_01_8456.jpg
/home/pi/Desktop/images/11072025/07/28/image_11072025_07_28_01_4322.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.09718132019043 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 07:43:04.813840
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/07/41/image_11072025_07_41_01_6196.jpg', 2), ('/home/pi/Desktop/images/11072025/07/40/image_11072025_07_40_01_4144.jpg', 2), ('/home/pi/Desktop/images/11072025/07/39/image_11072025_07_39_01_8671.jpg', 2), ('/home/pi/Desktop/images/11072025/07/35/image_11072025_07_35_01_7002.jpg', 2), ('/home/pi/Desktop/images/11072025/07/30/image_11072025_07_30_01_8596.jpg', 2), ('/home/pi/Desktop/images/11072025/07/29/image_11072025_07_29_01_8456.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/07/41/image_11072025_07_41_01_6196.jpg', '/home/pi/Desktop/images/11072025/07/40/image_11072025_07_40_01_4144.jpg', '/home/pi/Desktop/images/11072025/07/39/image_11072025_07_39_01_8671.jpg', '/home/pi/Desktop/images/11072025/07/35/image_11072025_07_35_01_7002.jpg', '/home/pi/Desktop/images/11072025/07/30/image_11072025_07_30_01_8596.jpg', '/home/pi/Desktop/images/11072025/07/29/image_11072025_07_29_01_8456.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/07/41/image_11072025_07_41_01_6196.jpg
/home/pi/Desktop/images/11072025/07/40/image_11072025_07_40_01_4144.jpg
/home/pi/Desktop/images/11072025/07/39/image_11072025_07_39_01_8671.jpg
/home/pi/Desktop/images/11072025/07/35/image_11072025_07_35_01_7002.jpg
/home/pi/Desktop/images/11072025/07/30/image_11072025_07_30_01_8596.jpg
/home/pi/Desktop/images/11072025/07/29/image_11072025_07_29_01_8456.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.508052110672 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 07:44:05.621016
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/07/43/image_11072025_07_43_01_4419.jpg', 2), ('/home/pi/Desktop/images/11072025/07/41/image_11072025_07_41_01_6196.jpg', 2), ('/home/pi/Desktop/images/11072025/07/40/image_11072025_07_40_01_4144.jpg', 2), ('/home/pi/Desktop/images/11072025/07/39/image_11072025_07_39_01_8671.jpg', 2), ('/home/pi/Desktop/images/11072025/07/35/image_11072025_07_35_01_7002.jpg', 2), ('/home/pi/Desktop/images/11072025/07/30/image_11072025_07_30_01_8596.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/07/43/image_11072025_07_43_01_4419.jpg', '/home/pi/Desktop/images/11072025/07/41/image_11072025_07_41_01_6196.jpg', '/home/pi/Desktop/images/11072025/07/40/image_11072025_07_40_01_4144.jpg', '/home/pi/Desktop/images/11072025/07/39/image_11072025_07_39_01_8671.jpg', '/home/pi/Desktop/images/11072025/07/35/image_11072025_07_35_01_7002.jpg', '/home/pi/Desktop/images/11072025/07/30/image_11072025_07_30_01_8596.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/07/43/image_11072025_07_43_01_4419.jpg
/home/pi/Desktop/images/11072025/07/41/image_11072025_07_41_01_6196.jpg
/home/pi/Desktop/images/11072025/07/40/image_11072025_07_40_01_4144.jpg
/home/pi/Desktop/images/11072025/07/39/image_11072025_07_39_01_8671.jpg
/home/pi/Desktop/images/11072025/07/35/image_11072025_07_35_01_7002.jpg
/home/pi/Desktop/images/11072025/07/30/image_11072025_07_30_01_8596.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 32.79935812950134 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 07:45:05.606794
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/07/44/image_11072025_07_44_01_3004.jpg', 2), ('/home/pi/Desktop/images/11072025/07/43/image_11072025_07_43_01_4419.jpg', 2), ('/home/pi/Desktop/images/11072025/07/41/image_11072025_07_41_01_6196.jpg', 2), ('/home/pi/Desktop/images/11072025/07/40/image_11072025_07_40_01_4144.jpg', 2), ('/home/pi/Desktop/images/11072025/07/39/image_11072025_07_39_01_8671.jpg', 2), ('/home/pi/Desktop/images/11072025/07/35/image_11072025_07_35_01_7002.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/07/44/image_11072025_07_44_01_3004.jpg', '/home/pi/Desktop/images/11072025/07/43/image_11072025_07_43_01_4419.jpg', '/home/pi/Desktop/images/11072025/07/41/image_11072025_07_41_01_6196.jpg', '/home/pi/Desktop/images/11072025/07/40/image_11072025_07_40_01_4144.jpg', '/home/pi/Desktop/images/11072025/07/39/image_11072025_07_39_01_8671.jpg', '/home/pi/Desktop/images/11072025/07/35/image_11072025_07_35_01_7002.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/07/44/image_11072025_07_44_01_3004.jpg
/home/pi/Desktop/images/11072025/07/43/image_11072025_07_43_01_4419.jpg
/home/pi/Desktop/images/11072025/07/41/image_11072025_07_41_01_6196.jpg
/home/pi/Desktop/images/11072025/07/40/image_11072025_07_40_01_4144.jpg
/home/pi/Desktop/images/11072025/07/39/image_11072025_07_39_01_8671.jpg
/home/pi/Desktop/images/11072025/07/35/image_11072025_07_35_01_7002.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.06696057319641 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 07:46:04.883210
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/07/45/image_11072025_07_45_02_1865.jpg', 2), ('/home/pi/Desktop/images/11072025/07/44/image_11072025_07_44_01_3004.jpg', 2), ('/home/pi/Desktop/images/11072025/07/43/image_11072025_07_43_01_4419.jpg', 2), ('/home/pi/Desktop/images/11072025/07/41/image_11072025_07_41_01_6196.jpg', 2), ('/home/pi/Desktop/images/11072025/07/40/image_11072025_07_40_01_4144.jpg', 2), ('/home/pi/Desktop/images/11072025/07/39/image_11072025_07_39_01_8671.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/07/45/image_11072025_07_45_02_1865.jpg', '/home/pi/Desktop/images/11072025/07/44/image_11072025_07_44_01_3004.jpg', '/home/pi/Desktop/images/11072025/07/43/image_11072025_07_43_01_4419.jpg', '/home/pi/Desktop/images/11072025/07/41/image_11072025_07_41_01_6196.jpg', '/home/pi/Desktop/images/11072025/07/40/image_11072025_07_40_01_4144.jpg', '/home/pi/Desktop/images/11072025/07/39/image_11072025_07_39_01_8671.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/07/45/image_11072025_07_45_02_1865.jpg
/home/pi/Desktop/images/11072025/07/44/image_11072025_07_44_01_3004.jpg
/home/pi/Desktop/images/11072025/07/43/image_11072025_07_43_01_4419.jpg
/home/pi/Desktop/images/11072025/07/41/image_11072025_07_41_01_6196.jpg
/home/pi/Desktop/images/11072025/07/40/image_11072025_07_40_01_4144.jpg
/home/pi/Desktop/images/11072025/07/39/image_11072025_07_39_01_8671.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 32.884422063827515 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 07:47:06.225698
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/07/46/image_11072025_07_46_01_8570.jpg', 2), ('/home/pi/Desktop/images/11072025/07/45/image_11072025_07_45_02_1865.jpg', 2), ('/home/pi/Desktop/images/11072025/07/44/image_11072025_07_44_01_3004.jpg', 2), ('/home/pi/Desktop/images/11072025/07/43/image_11072025_07_43_01_4419.jpg', 2), ('/home/pi/Desktop/images/11072025/07/41/image_11072025_07_41_01_6196.jpg', 2), ('/home/pi/Desktop/images/11072025/07/40/image_11072025_07_40_01_4144.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/07/46/image_11072025_07_46_01_8570.jpg', '/home/pi/Desktop/images/11072025/07/45/image_11072025_07_45_02_1865.jpg', '/home/pi/Desktop/images/11072025/07/44/image_11072025_07_44_01_3004.jpg', '/home/pi/Desktop/images/11072025/07/43/image_11072025_07_43_01_4419.jpg', '/home/pi/Desktop/images/11072025/07/41/image_11072025_07_41_01_6196.jpg', '/home/pi/Desktop/images/11072025/07/40/image_11072025_07_40_01_4144.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/07/46/image_11072025_07_46_01_8570.jpg
/home/pi/Desktop/images/11072025/07/45/image_11072025_07_45_02_1865.jpg
/home/pi/Desktop/images/11072025/07/44/image_11072025_07_44_01_3004.jpg
/home/pi/Desktop/images/11072025/07/43/image_11072025_07_43_01_4419.jpg
/home/pi/Desktop/images/11072025/07/41/image_11072025_07_41_01_6196.jpg
/home/pi/Desktop/images/11072025/07/40/image_11072025_07_40_01_4144.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.71880793571472 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 07:48:05.721045
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/07/47/image_11072025_07_47_01_4032.jpg', 2), ('/home/pi/Desktop/images/11072025/07/46/image_11072025_07_46_01_8570.jpg', 2), ('/home/pi/Desktop/images/11072025/07/45/image_11072025_07_45_02_1865.jpg', 2), ('/home/pi/Desktop/images/11072025/07/44/image_11072025_07_44_01_3004.jpg', 2), ('/home/pi/Desktop/images/11072025/07/43/image_11072025_07_43_01_4419.jpg', 2), ('/home/pi/Desktop/images/11072025/07/41/image_11072025_07_41_01_6196.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/07/47/image_11072025_07_47_01_4032.jpg', '/home/pi/Desktop/images/11072025/07/46/image_11072025_07_46_01_8570.jpg', '/home/pi/Desktop/images/11072025/07/45/image_11072025_07_45_02_1865.jpg', '/home/pi/Desktop/images/11072025/07/44/image_11072025_07_44_01_3004.jpg', '/home/pi/Desktop/images/11072025/07/43/image_11072025_07_43_01_4419.jpg', '/home/pi/Desktop/images/11072025/07/41/image_11072025_07_41_01_6196.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/07/47/image_11072025_07_47_01_4032.jpg
/home/pi/Desktop/images/11072025/07/46/image_11072025_07_46_01_8570.jpg
/home/pi/Desktop/images/11072025/07/45/image_11072025_07_45_02_1865.jpg
/home/pi/Desktop/images/11072025/07/44/image_11072025_07_44_01_3004.jpg
/home/pi/Desktop/images/11072025/07/43/image_11072025_07_43_01_4419.jpg
/home/pi/Desktop/images/11072025/07/41/image_11072025_07_41_01_6196.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.35540843009949 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 07:49:05.772795
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/07/48/image_11072025_07_48_02_3236.jpg', 2), ('/home/pi/Desktop/images/11072025/07/47/image_11072025_07_47_01_4032.jpg', 2), ('/home/pi/Desktop/images/11072025/07/46/image_11072025_07_46_01_8570.jpg', 2), ('/home/pi/Desktop/images/11072025/07/45/image_11072025_07_45_02_1865.jpg', 2), ('/home/pi/Desktop/images/11072025/07/44/image_11072025_07_44_01_3004.jpg', 2), ('/home/pi/Desktop/images/11072025/07/43/image_11072025_07_43_01_4419.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/07/48/image_11072025_07_48_02_3236.jpg', '/home/pi/Desktop/images/11072025/07/47/image_11072025_07_47_01_4032.jpg', '/home/pi/Desktop/images/11072025/07/46/image_11072025_07_46_01_8570.jpg', '/home/pi/Desktop/images/11072025/07/45/image_11072025_07_45_02_1865.jpg', '/home/pi/Desktop/images/11072025/07/44/image_11072025_07_44_01_3004.jpg', '/home/pi/Desktop/images/11072025/07/43/image_11072025_07_43_01_4419.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/07/48/image_11072025_07_48_02_3236.jpg
/home/pi/Desktop/images/11072025/07/47/image_11072025_07_47_01_4032.jpg
/home/pi/Desktop/images/11072025/07/46/image_11072025_07_46_01_8570.jpg
/home/pi/Desktop/images/11072025/07/45/image_11072025_07_45_02_1865.jpg
/home/pi/Desktop/images/11072025/07/44/image_11072025_07_44_01_3004.jpg
/home/pi/Desktop/images/11072025/07/43/image_11072025_07_43_01_4419.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.59204435348511 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 07:50:05.054368
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/07/49/image_11072025_07_49_02_2077.jpg', 2), ('/home/pi/Desktop/images/11072025/07/48/image_11072025_07_48_02_3236.jpg', 2), ('/home/pi/Desktop/images/11072025/07/47/image_11072025_07_47_01_4032.jpg', 2), ('/home/pi/Desktop/images/11072025/07/46/image_11072025_07_46_01_8570.jpg', 2), ('/home/pi/Desktop/images/11072025/07/45/image_11072025_07_45_02_1865.jpg', 2), ('/home/pi/Desktop/images/11072025/07/44/image_11072025_07_44_01_3004.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/07/49/image_11072025_07_49_02_2077.jpg', '/home/pi/Desktop/images/11072025/07/48/image_11072025_07_48_02_3236.jpg', '/home/pi/Desktop/images/11072025/07/47/image_11072025_07_47_01_4032.jpg', '/home/pi/Desktop/images/11072025/07/46/image_11072025_07_46_01_8570.jpg', '/home/pi/Desktop/images/11072025/07/45/image_11072025_07_45_02_1865.jpg', '/home/pi/Desktop/images/11072025/07/44/image_11072025_07_44_01_3004.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/07/49/image_11072025_07_49_02_2077.jpg
/home/pi/Desktop/images/11072025/07/48/image_11072025_07_48_02_3236.jpg
/home/pi/Desktop/images/11072025/07/47/image_11072025_07_47_01_4032.jpg
/home/pi/Desktop/images/11072025/07/46/image_11072025_07_46_01_8570.jpg
/home/pi/Desktop/images/11072025/07/45/image_11072025_07_45_02_1865.jpg
/home/pi/Desktop/images/11072025/07/44/image_11072025_07_44_01_3004.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.47071146965027 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 07:51:05.033035
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/07/50/image_11072025_07_50_02_1436.jpg', 2), ('/home/pi/Desktop/images/11072025/07/49/image_11072025_07_49_02_2077.jpg', 2), ('/home/pi/Desktop/images/11072025/07/48/image_11072025_07_48_02_3236.jpg', 2), ('/home/pi/Desktop/images/11072025/07/47/image_11072025_07_47_01_4032.jpg', 2), ('/home/pi/Desktop/images/11072025/07/46/image_11072025_07_46_01_8570.jpg', 2), ('/home/pi/Desktop/images/11072025/07/45/image_11072025_07_45_02_1865.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/07/50/image_11072025_07_50_02_1436.jpg', '/home/pi/Desktop/images/11072025/07/49/image_11072025_07_49_02_2077.jpg', '/home/pi/Desktop/images/11072025/07/48/image_11072025_07_48_02_3236.jpg', '/home/pi/Desktop/images/11072025/07/47/image_11072025_07_47_01_4032.jpg', '/home/pi/Desktop/images/11072025/07/46/image_11072025_07_46_01_8570.jpg', '/home/pi/Desktop/images/11072025/07/45/image_11072025_07_45_02_1865.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/07/50/image_11072025_07_50_02_1436.jpg
/home/pi/Desktop/images/11072025/07/49/image_11072025_07_49_02_2077.jpg
/home/pi/Desktop/images/11072025/07/48/image_11072025_07_48_02_3236.jpg
/home/pi/Desktop/images/11072025/07/47/image_11072025_07_47_01_4032.jpg
/home/pi/Desktop/images/11072025/07/46/image_11072025_07_46_01_8570.jpg
/home/pi/Desktop/images/11072025/07/45/image_11072025_07_45_02_1865.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.66442847251892 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 07:52:05.549517
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/07/51/image_11072025_07_51_01_4701.jpg', 2), ('/home/pi/Desktop/images/11072025/07/50/image_11072025_07_50_02_1436.jpg', 2), ('/home/pi/Desktop/images/11072025/07/49/image_11072025_07_49_02_2077.jpg', 2), ('/home/pi/Desktop/images/11072025/07/48/image_11072025_07_48_02_3236.jpg', 2), ('/home/pi/Desktop/images/11072025/07/47/image_11072025_07_47_01_4032.jpg', 2), ('/home/pi/Desktop/images/11072025/07/46/image_11072025_07_46_01_8570.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/07/51/image_11072025_07_51_01_4701.jpg', '/home/pi/Desktop/images/11072025/07/50/image_11072025_07_50_02_1436.jpg', '/home/pi/Desktop/images/11072025/07/49/image_11072025_07_49_02_2077.jpg', '/home/pi/Desktop/images/11072025/07/48/image_11072025_07_48_02_3236.jpg', '/home/pi/Desktop/images/11072025/07/47/image_11072025_07_47_01_4032.jpg', '/home/pi/Desktop/images/11072025/07/46/image_11072025_07_46_01_8570.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/07/51/image_11072025_07_51_01_4701.jpg
/home/pi/Desktop/images/11072025/07/50/image_11072025_07_50_02_1436.jpg
/home/pi/Desktop/images/11072025/07/49/image_11072025_07_49_02_2077.jpg
/home/pi/Desktop/images/11072025/07/48/image_11072025_07_48_02_3236.jpg
/home/pi/Desktop/images/11072025/07/47/image_11072025_07_47_01_4032.jpg
/home/pi/Desktop/images/11072025/07/46/image_11072025_07_46_01_8570.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 34.1876266002655 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 07:53:05.613425
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/07/52/image_11072025_07_52_01_3497.jpg', 2), ('/home/pi/Desktop/images/11072025/07/51/image_11072025_07_51_01_4701.jpg', 2), ('/home/pi/Desktop/images/11072025/07/50/image_11072025_07_50_02_1436.jpg', 2), ('/home/pi/Desktop/images/11072025/07/49/image_11072025_07_49_02_2077.jpg', 2), ('/home/pi/Desktop/images/11072025/07/48/image_11072025_07_48_02_3236.jpg', 2), ('/home/pi/Desktop/images/11072025/07/47/image_11072025_07_47_01_4032.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/07/52/image_11072025_07_52_01_3497.jpg', '/home/pi/Desktop/images/11072025/07/51/image_11072025_07_51_01_4701.jpg', '/home/pi/Desktop/images/11072025/07/50/image_11072025_07_50_02_1436.jpg', '/home/pi/Desktop/images/11072025/07/49/image_11072025_07_49_02_2077.jpg', '/home/pi/Desktop/images/11072025/07/48/image_11072025_07_48_02_3236.jpg', '/home/pi/Desktop/images/11072025/07/47/image_11072025_07_47_01_4032.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/07/52/image_11072025_07_52_01_3497.jpg
/home/pi/Desktop/images/11072025/07/51/image_11072025_07_51_01_4701.jpg
/home/pi/Desktop/images/11072025/07/50/image_11072025_07_50_02_1436.jpg
/home/pi/Desktop/images/11072025/07/49/image_11072025_07_49_02_2077.jpg
/home/pi/Desktop/images/11072025/07/48/image_11072025_07_48_02_3236.jpg
/home/pi/Desktop/images/11072025/07/47/image_11072025_07_47_01_4032.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.39427852630615 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 07:54:05.506760
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/07/53/image_11072025_07_53_01_7683.jpg', 2), ('/home/pi/Desktop/images/11072025/07/52/image_11072025_07_52_01_3497.jpg', 2), ('/home/pi/Desktop/images/11072025/07/51/image_11072025_07_51_01_4701.jpg', 2), ('/home/pi/Desktop/images/11072025/07/50/image_11072025_07_50_02_1436.jpg', 2), ('/home/pi/Desktop/images/11072025/07/49/image_11072025_07_49_02_2077.jpg', 2), ('/home/pi/Desktop/images/11072025/07/48/image_11072025_07_48_02_3236.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/07/53/image_11072025_07_53_01_7683.jpg', '/home/pi/Desktop/images/11072025/07/52/image_11072025_07_52_01_3497.jpg', '/home/pi/Desktop/images/11072025/07/51/image_11072025_07_51_01_4701.jpg', '/home/pi/Desktop/images/11072025/07/50/image_11072025_07_50_02_1436.jpg', '/home/pi/Desktop/images/11072025/07/49/image_11072025_07_49_02_2077.jpg', '/home/pi/Desktop/images/11072025/07/48/image_11072025_07_48_02_3236.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/07/53/image_11072025_07_53_01_7683.jpg
/home/pi/Desktop/images/11072025/07/52/image_11072025_07_52_01_3497.jpg
/home/pi/Desktop/images/11072025/07/51/image_11072025_07_51_01_4701.jpg
/home/pi/Desktop/images/11072025/07/50/image_11072025_07_50_02_1436.jpg
/home/pi/Desktop/images/11072025/07/49/image_11072025_07_49_02_2077.jpg
/home/pi/Desktop/images/11072025/07/48/image_11072025_07_48_02_3236.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 32.60851502418518 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 07:55:05.386696
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/07/54/image_11072025_07_54_01_8476.jpg', 2), ('/home/pi/Desktop/images/11072025/07/53/image_11072025_07_53_01_7683.jpg', 2), ('/home/pi/Desktop/images/11072025/07/52/image_11072025_07_52_01_3497.jpg', 2), ('/home/pi/Desktop/images/11072025/07/51/image_11072025_07_51_01_4701.jpg', 2), ('/home/pi/Desktop/images/11072025/07/50/image_11072025_07_50_02_1436.jpg', 2), ('/home/pi/Desktop/images/11072025/07/49/image_11072025_07_49_02_2077.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/07/54/image_11072025_07_54_01_8476.jpg', '/home/pi/Desktop/images/11072025/07/53/image_11072025_07_53_01_7683.jpg', '/home/pi/Desktop/images/11072025/07/52/image_11072025_07_52_01_3497.jpg', '/home/pi/Desktop/images/11072025/07/51/image_11072025_07_51_01_4701.jpg', '/home/pi/Desktop/images/11072025/07/50/image_11072025_07_50_02_1436.jpg', '/home/pi/Desktop/images/11072025/07/49/image_11072025_07_49_02_2077.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/07/54/image_11072025_07_54_01_8476.jpg
/home/pi/Desktop/images/11072025/07/53/image_11072025_07_53_01_7683.jpg
/home/pi/Desktop/images/11072025/07/52/image_11072025_07_52_01_3497.jpg
/home/pi/Desktop/images/11072025/07/51/image_11072025_07_51_01_4701.jpg
/home/pi/Desktop/images/11072025/07/50/image_11072025_07_50_02_1436.jpg
/home/pi/Desktop/images/11072025/07/49/image_11072025_07_49_02_2077.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 32.8387975692749 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 07:56:05.730821
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/07/55/image_11072025_07_55_01_9667.jpg', 2), ('/home/pi/Desktop/images/11072025/07/54/image_11072025_07_54_01_8476.jpg', 2), ('/home/pi/Desktop/images/11072025/07/53/image_11072025_07_53_01_7683.jpg', 2), ('/home/pi/Desktop/images/11072025/07/52/image_11072025_07_52_01_3497.jpg', 2), ('/home/pi/Desktop/images/11072025/07/51/image_11072025_07_51_01_4701.jpg', 2), ('/home/pi/Desktop/images/11072025/07/50/image_11072025_07_50_02_1436.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/07/55/image_11072025_07_55_01_9667.jpg', '/home/pi/Desktop/images/11072025/07/54/image_11072025_07_54_01_8476.jpg', '/home/pi/Desktop/images/11072025/07/53/image_11072025_07_53_01_7683.jpg', '/home/pi/Desktop/images/11072025/07/52/image_11072025_07_52_01_3497.jpg', '/home/pi/Desktop/images/11072025/07/51/image_11072025_07_51_01_4701.jpg', '/home/pi/Desktop/images/11072025/07/50/image_11072025_07_50_02_1436.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/07/55/image_11072025_07_55_01_9667.jpg
/home/pi/Desktop/images/11072025/07/54/image_11072025_07_54_01_8476.jpg
/home/pi/Desktop/images/11072025/07/53/image_11072025_07_53_01_7683.jpg
/home/pi/Desktop/images/11072025/07/52/image_11072025_07_52_01_3497.jpg
/home/pi/Desktop/images/11072025/07/51/image_11072025_07_51_01_4701.jpg
/home/pi/Desktop/images/11072025/07/50/image_11072025_07_50_02_1436.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 32.71195077896118 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 07:57:05.591813
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/07/56/image_11072025_07_56_01_8685.jpg', 2), ('/home/pi/Desktop/images/11072025/07/55/image_11072025_07_55_01_9667.jpg', 2), ('/home/pi/Desktop/images/11072025/07/54/image_11072025_07_54_01_8476.jpg', 2), ('/home/pi/Desktop/images/11072025/07/53/image_11072025_07_53_01_7683.jpg', 2), ('/home/pi/Desktop/images/11072025/07/52/image_11072025_07_52_01_3497.jpg', 2), ('/home/pi/Desktop/images/11072025/07/51/image_11072025_07_51_01_4701.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/07/56/image_11072025_07_56_01_8685.jpg', '/home/pi/Desktop/images/11072025/07/55/image_11072025_07_55_01_9667.jpg', '/home/pi/Desktop/images/11072025/07/54/image_11072025_07_54_01_8476.jpg', '/home/pi/Desktop/images/11072025/07/53/image_11072025_07_53_01_7683.jpg', '/home/pi/Desktop/images/11072025/07/52/image_11072025_07_52_01_3497.jpg', '/home/pi/Desktop/images/11072025/07/51/image_11072025_07_51_01_4701.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/07/56/image_11072025_07_56_01_8685.jpg
/home/pi/Desktop/images/11072025/07/55/image_11072025_07_55_01_9667.jpg
/home/pi/Desktop/images/11072025/07/54/image_11072025_07_54_01_8476.jpg
/home/pi/Desktop/images/11072025/07/53/image_11072025_07_53_01_7683.jpg
/home/pi/Desktop/images/11072025/07/52/image_11072025_07_52_01_3497.jpg
/home/pi/Desktop/images/11072025/07/51/image_11072025_07_51_01_4701.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 32.975557804107666 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 07:59:04.926323
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/07/58/image_11072025_07_58_01_9087.jpg', 2), ('/home/pi/Desktop/images/11072025/07/57/image_11072025_07_57_02_1660.jpg', 2), ('/home/pi/Desktop/images/11072025/07/56/image_11072025_07_56_01_8685.jpg', 2), ('/home/pi/Desktop/images/11072025/07/55/image_11072025_07_55_01_9667.jpg', 2), ('/home/pi/Desktop/images/11072025/07/54/image_11072025_07_54_01_8476.jpg', 2), ('/home/pi/Desktop/images/11072025/07/53/image_11072025_07_53_01_7683.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/07/58/image_11072025_07_58_01_9087.jpg', '/home/pi/Desktop/images/11072025/07/57/image_11072025_07_57_02_1660.jpg', '/home/pi/Desktop/images/11072025/07/56/image_11072025_07_56_01_8685.jpg', '/home/pi/Desktop/images/11072025/07/55/image_11072025_07_55_01_9667.jpg', '/home/pi/Desktop/images/11072025/07/54/image_11072025_07_54_01_8476.jpg', '/home/pi/Desktop/images/11072025/07/53/image_11072025_07_53_01_7683.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/07/58/image_11072025_07_58_01_9087.jpg
/home/pi/Desktop/images/11072025/07/57/image_11072025_07_57_02_1660.jpg
/home/pi/Desktop/images/11072025/07/56/image_11072025_07_56_01_8685.jpg
/home/pi/Desktop/images/11072025/07/55/image_11072025_07_55_01_9667.jpg
/home/pi/Desktop/images/11072025/07/54/image_11072025_07_54_01_8476.jpg
/home/pi/Desktop/images/11072025/07/53/image_11072025_07_53_01_7683.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 32.87532830238342 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 08:00:05.464069
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/07/59/image_11072025_07_59_01_6993.jpg', 2), ('/home/pi/Desktop/images/11072025/07/58/image_11072025_07_58_01_9087.jpg', 2), ('/home/pi/Desktop/images/11072025/07/57/image_11072025_07_57_02_1660.jpg', 2), ('/home/pi/Desktop/images/11072025/07/56/image_11072025_07_56_01_8685.jpg', 2), ('/home/pi/Desktop/images/11072025/07/55/image_11072025_07_55_01_9667.jpg', 2), ('/home/pi/Desktop/images/11072025/07/54/image_11072025_07_54_01_8476.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/07/59/image_11072025_07_59_01_6993.jpg', '/home/pi/Desktop/images/11072025/07/58/image_11072025_07_58_01_9087.jpg', '/home/pi/Desktop/images/11072025/07/57/image_11072025_07_57_02_1660.jpg', '/home/pi/Desktop/images/11072025/07/56/image_11072025_07_56_01_8685.jpg', '/home/pi/Desktop/images/11072025/07/55/image_11072025_07_55_01_9667.jpg', '/home/pi/Desktop/images/11072025/07/54/image_11072025_07_54_01_8476.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/07/59/image_11072025_07_59_01_6993.jpg
/home/pi/Desktop/images/11072025/07/58/image_11072025_07_58_01_9087.jpg
/home/pi/Desktop/images/11072025/07/57/image_11072025_07_57_02_1660.jpg
/home/pi/Desktop/images/11072025/07/56/image_11072025_07_56_01_8685.jpg
/home/pi/Desktop/images/11072025/07/55/image_11072025_07_55_01_9667.jpg
/home/pi/Desktop/images/11072025/07/54/image_11072025_07_54_01_8476.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 32.63653635978699 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 08:01:05.290625
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/08/00/image_11072025_08_00_02_2839.jpg', 2), ('/home/pi/Desktop/images/11072025/07/59/image_11072025_07_59_01_6993.jpg', 2), ('/home/pi/Desktop/images/11072025/07/58/image_11072025_07_58_01_9087.jpg', 2), ('/home/pi/Desktop/images/11072025/07/57/image_11072025_07_57_02_1660.jpg', 2), ('/home/pi/Desktop/images/11072025/07/56/image_11072025_07_56_01_8685.jpg', 2), ('/home/pi/Desktop/images/11072025/07/55/image_11072025_07_55_01_9667.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/08/00/image_11072025_08_00_02_2839.jpg', '/home/pi/Desktop/images/11072025/07/59/image_11072025_07_59_01_6993.jpg', '/home/pi/Desktop/images/11072025/07/58/image_11072025_07_58_01_9087.jpg', '/home/pi/Desktop/images/11072025/07/57/image_11072025_07_57_02_1660.jpg', '/home/pi/Desktop/images/11072025/07/56/image_11072025_07_56_01_8685.jpg', '/home/pi/Desktop/images/11072025/07/55/image_11072025_07_55_01_9667.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/08/00/image_11072025_08_00_02_2839.jpg
/home/pi/Desktop/images/11072025/07/59/image_11072025_07_59_01_6993.jpg
/home/pi/Desktop/images/11072025/07/58/image_11072025_07_58_01_9087.jpg
/home/pi/Desktop/images/11072025/07/57/image_11072025_07_57_02_1660.jpg
/home/pi/Desktop/images/11072025/07/56/image_11072025_07_56_01_8685.jpg
/home/pi/Desktop/images/11072025/07/55/image_11072025_07_55_01_9667.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 32.89817547798157 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 08:02:05.399049
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/08/01/image_11072025_08_01_02_1458.jpg', 2), ('/home/pi/Desktop/images/11072025/08/00/image_11072025_08_00_02_2839.jpg', 2), ('/home/pi/Desktop/images/11072025/07/59/image_11072025_07_59_01_6993.jpg', 2), ('/home/pi/Desktop/images/11072025/07/58/image_11072025_07_58_01_9087.jpg', 2), ('/home/pi/Desktop/images/11072025/07/57/image_11072025_07_57_02_1660.jpg', 2), ('/home/pi/Desktop/images/11072025/07/56/image_11072025_07_56_01_8685.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/08/01/image_11072025_08_01_02_1458.jpg', '/home/pi/Desktop/images/11072025/08/00/image_11072025_08_00_02_2839.jpg', '/home/pi/Desktop/images/11072025/07/59/image_11072025_07_59_01_6993.jpg', '/home/pi/Desktop/images/11072025/07/58/image_11072025_07_58_01_9087.jpg', '/home/pi/Desktop/images/11072025/07/57/image_11072025_07_57_02_1660.jpg', '/home/pi/Desktop/images/11072025/07/56/image_11072025_07_56_01_8685.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/08/01/image_11072025_08_01_02_1458.jpg
/home/pi/Desktop/images/11072025/08/00/image_11072025_08_00_02_2839.jpg
/home/pi/Desktop/images/11072025/07/59/image_11072025_07_59_01_6993.jpg
/home/pi/Desktop/images/11072025/07/58/image_11072025_07_58_01_9087.jpg
/home/pi/Desktop/images/11072025/07/57/image_11072025_07_57_02_1660.jpg
/home/pi/Desktop/images/11072025/07/56/image_11072025_07_56_01_8685.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 32.93813109397888 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 08:03:05.314818
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/08/02/image_11072025_08_02_02_1718.jpg', 2), ('/home/pi/Desktop/images/11072025/08/01/image_11072025_08_01_02_1458.jpg', 2), ('/home/pi/Desktop/images/11072025/08/00/image_11072025_08_00_02_2839.jpg', 2), ('/home/pi/Desktop/images/11072025/07/59/image_11072025_07_59_01_6993.jpg', 2), ('/home/pi/Desktop/images/11072025/07/58/image_11072025_07_58_01_9087.jpg', 2), ('/home/pi/Desktop/images/11072025/07/57/image_11072025_07_57_02_1660.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/08/02/image_11072025_08_02_02_1718.jpg', '/home/pi/Desktop/images/11072025/08/01/image_11072025_08_01_02_1458.jpg', '/home/pi/Desktop/images/11072025/08/00/image_11072025_08_00_02_2839.jpg', '/home/pi/Desktop/images/11072025/07/59/image_11072025_07_59_01_6993.jpg', '/home/pi/Desktop/images/11072025/07/58/image_11072025_07_58_01_9087.jpg', '/home/pi/Desktop/images/11072025/07/57/image_11072025_07_57_02_1660.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/08/02/image_11072025_08_02_02_1718.jpg
/home/pi/Desktop/images/11072025/08/01/image_11072025_08_01_02_1458.jpg
/home/pi/Desktop/images/11072025/08/00/image_11072025_08_00_02_2839.jpg
/home/pi/Desktop/images/11072025/07/59/image_11072025_07_59_01_6993.jpg
/home/pi/Desktop/images/11072025/07/58/image_11072025_07_58_01_9087.jpg
/home/pi/Desktop/images/11072025/07/57/image_11072025_07_57_02_1660.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 32.36516880989075 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 08:04:04.878476
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/08/03/image_11072025_08_03_01_8900.jpg', 2), ('/home/pi/Desktop/images/11072025/08/02/image_11072025_08_02_02_1718.jpg', 2), ('/home/pi/Desktop/images/11072025/08/01/image_11072025_08_01_02_1458.jpg', 2), ('/home/pi/Desktop/images/11072025/08/00/image_11072025_08_00_02_2839.jpg', 2), ('/home/pi/Desktop/images/11072025/07/59/image_11072025_07_59_01_6993.jpg', 2), ('/home/pi/Desktop/images/11072025/07/58/image_11072025_07_58_01_9087.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/08/03/image_11072025_08_03_01_8900.jpg', '/home/pi/Desktop/images/11072025/08/02/image_11072025_08_02_02_1718.jpg', '/home/pi/Desktop/images/11072025/08/01/image_11072025_08_01_02_1458.jpg', '/home/pi/Desktop/images/11072025/08/00/image_11072025_08_00_02_2839.jpg', '/home/pi/Desktop/images/11072025/07/59/image_11072025_07_59_01_6993.jpg', '/home/pi/Desktop/images/11072025/07/58/image_11072025_07_58_01_9087.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/08/03/image_11072025_08_03_01_8900.jpg
/home/pi/Desktop/images/11072025/08/02/image_11072025_08_02_02_1718.jpg
/home/pi/Desktop/images/11072025/08/01/image_11072025_08_01_02_1458.jpg
/home/pi/Desktop/images/11072025/08/00/image_11072025_08_00_02_2839.jpg
/home/pi/Desktop/images/11072025/07/59/image_11072025_07_59_01_6993.jpg
/home/pi/Desktop/images/11072025/07/58/image_11072025_07_58_01_9087.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 32.95724272727966 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 08:05:05.888098
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/08/04/image_11072025_08_04_01_9359.jpg', 2), ('/home/pi/Desktop/images/11072025/08/03/image_11072025_08_03_01_8900.jpg', 2), ('/home/pi/Desktop/images/11072025/08/02/image_11072025_08_02_02_1718.jpg', 2), ('/home/pi/Desktop/images/11072025/08/01/image_11072025_08_01_02_1458.jpg', 2), ('/home/pi/Desktop/images/11072025/08/00/image_11072025_08_00_02_2839.jpg', 2), ('/home/pi/Desktop/images/11072025/07/59/image_11072025_07_59_01_6993.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/08/04/image_11072025_08_04_01_9359.jpg', '/home/pi/Desktop/images/11072025/08/03/image_11072025_08_03_01_8900.jpg', '/home/pi/Desktop/images/11072025/08/02/image_11072025_08_02_02_1718.jpg', '/home/pi/Desktop/images/11072025/08/01/image_11072025_08_01_02_1458.jpg', '/home/pi/Desktop/images/11072025/08/00/image_11072025_08_00_02_2839.jpg', '/home/pi/Desktop/images/11072025/07/59/image_11072025_07_59_01_6993.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/08/04/image_11072025_08_04_01_9359.jpg
/home/pi/Desktop/images/11072025/08/03/image_11072025_08_03_01_8900.jpg
/home/pi/Desktop/images/11072025/08/02/image_11072025_08_02_02_1718.jpg
/home/pi/Desktop/images/11072025/08/01/image_11072025_08_01_02_1458.jpg
/home/pi/Desktop/images/11072025/08/00/image_11072025_08_00_02_2839.jpg
/home/pi/Desktop/images/11072025/07/59/image_11072025_07_59_01_6993.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.10666513442993 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 08:06:05.015987
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/08/05/image_11072025_08_05_01_5218.jpg', 2), ('/home/pi/Desktop/images/11072025/08/04/image_11072025_08_04_01_9359.jpg', 2), ('/home/pi/Desktop/images/11072025/08/03/image_11072025_08_03_01_8900.jpg', 2), ('/home/pi/Desktop/images/11072025/08/02/image_11072025_08_02_02_1718.jpg', 2), ('/home/pi/Desktop/images/11072025/08/01/image_11072025_08_01_02_1458.jpg', 2), ('/home/pi/Desktop/images/11072025/08/00/image_11072025_08_00_02_2839.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/08/05/image_11072025_08_05_01_5218.jpg', '/home/pi/Desktop/images/11072025/08/04/image_11072025_08_04_01_9359.jpg', '/home/pi/Desktop/images/11072025/08/03/image_11072025_08_03_01_8900.jpg', '/home/pi/Desktop/images/11072025/08/02/image_11072025_08_02_02_1718.jpg', '/home/pi/Desktop/images/11072025/08/01/image_11072025_08_01_02_1458.jpg', '/home/pi/Desktop/images/11072025/08/00/image_11072025_08_00_02_2839.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/08/05/image_11072025_08_05_01_5218.jpg
/home/pi/Desktop/images/11072025/08/04/image_11072025_08_04_01_9359.jpg
/home/pi/Desktop/images/11072025/08/03/image_11072025_08_03_01_8900.jpg
/home/pi/Desktop/images/11072025/08/02/image_11072025_08_02_02_1718.jpg
/home/pi/Desktop/images/11072025/08/01/image_11072025_08_01_02_1458.jpg
/home/pi/Desktop/images/11072025/08/00/image_11072025_08_00_02_2839.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.07995676994324 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 08:07:05.937218
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/08/06/image_11072025_08_06_02_1792.jpg', 2), ('/home/pi/Desktop/images/11072025/08/05/image_11072025_08_05_01_5218.jpg', 2), ('/home/pi/Desktop/images/11072025/08/04/image_11072025_08_04_01_9359.jpg', 2), ('/home/pi/Desktop/images/11072025/08/03/image_11072025_08_03_01_8900.jpg', 2), ('/home/pi/Desktop/images/11072025/08/02/image_11072025_08_02_02_1718.jpg', 2), ('/home/pi/Desktop/images/11072025/08/01/image_11072025_08_01_02_1458.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/08/06/image_11072025_08_06_02_1792.jpg', '/home/pi/Desktop/images/11072025/08/05/image_11072025_08_05_01_5218.jpg', '/home/pi/Desktop/images/11072025/08/04/image_11072025_08_04_01_9359.jpg', '/home/pi/Desktop/images/11072025/08/03/image_11072025_08_03_01_8900.jpg', '/home/pi/Desktop/images/11072025/08/02/image_11072025_08_02_02_1718.jpg', '/home/pi/Desktop/images/11072025/08/01/image_11072025_08_01_02_1458.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/08/06/image_11072025_08_06_02_1792.jpg
/home/pi/Desktop/images/11072025/08/05/image_11072025_08_05_01_5218.jpg
/home/pi/Desktop/images/11072025/08/04/image_11072025_08_04_01_9359.jpg
/home/pi/Desktop/images/11072025/08/03/image_11072025_08_03_01_8900.jpg
/home/pi/Desktop/images/11072025/08/02/image_11072025_08_02_02_1718.jpg
/home/pi/Desktop/images/11072025/08/01/image_11072025_08_01_02_1458.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.464966773986816 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 08:08:04.981602
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/08/07/image_11072025_08_07_01_6277.jpg', 2), ('/home/pi/Desktop/images/11072025/08/06/image_11072025_08_06_02_1792.jpg', 2), ('/home/pi/Desktop/images/11072025/08/05/image_11072025_08_05_01_5218.jpg', 2), ('/home/pi/Desktop/images/11072025/08/04/image_11072025_08_04_01_9359.jpg', 2), ('/home/pi/Desktop/images/11072025/08/03/image_11072025_08_03_01_8900.jpg', 2), ('/home/pi/Desktop/images/11072025/08/02/image_11072025_08_02_02_1718.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/08/07/image_11072025_08_07_01_6277.jpg', '/home/pi/Desktop/images/11072025/08/06/image_11072025_08_06_02_1792.jpg', '/home/pi/Desktop/images/11072025/08/05/image_11072025_08_05_01_5218.jpg', '/home/pi/Desktop/images/11072025/08/04/image_11072025_08_04_01_9359.jpg', '/home/pi/Desktop/images/11072025/08/03/image_11072025_08_03_01_8900.jpg', '/home/pi/Desktop/images/11072025/08/02/image_11072025_08_02_02_1718.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/08/07/image_11072025_08_07_01_6277.jpg
/home/pi/Desktop/images/11072025/08/06/image_11072025_08_06_02_1792.jpg
/home/pi/Desktop/images/11072025/08/05/image_11072025_08_05_01_5218.jpg
/home/pi/Desktop/images/11072025/08/04/image_11072025_08_04_01_9359.jpg
/home/pi/Desktop/images/11072025/08/03/image_11072025_08_03_01_8900.jpg
/home/pi/Desktop/images/11072025/08/02/image_11072025_08_02_02_1718.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.53600788116455 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 08:09:05.442194
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/08/08/image_11072025_08_08_02_0022.jpg', 2), ('/home/pi/Desktop/images/11072025/08/07/image_11072025_08_07_01_6277.jpg', 2), ('/home/pi/Desktop/images/11072025/08/06/image_11072025_08_06_02_1792.jpg', 2), ('/home/pi/Desktop/images/11072025/08/05/image_11072025_08_05_01_5218.jpg', 2), ('/home/pi/Desktop/images/11072025/08/04/image_11072025_08_04_01_9359.jpg', 2), ('/home/pi/Desktop/images/11072025/08/03/image_11072025_08_03_01_8900.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/08/08/image_11072025_08_08_02_0022.jpg', '/home/pi/Desktop/images/11072025/08/07/image_11072025_08_07_01_6277.jpg', '/home/pi/Desktop/images/11072025/08/06/image_11072025_08_06_02_1792.jpg', '/home/pi/Desktop/images/11072025/08/05/image_11072025_08_05_01_5218.jpg', '/home/pi/Desktop/images/11072025/08/04/image_11072025_08_04_01_9359.jpg', '/home/pi/Desktop/images/11072025/08/03/image_11072025_08_03_01_8900.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/08/08/image_11072025_08_08_02_0022.jpg
/home/pi/Desktop/images/11072025/08/07/image_11072025_08_07_01_6277.jpg
/home/pi/Desktop/images/11072025/08/06/image_11072025_08_06_02_1792.jpg
/home/pi/Desktop/images/11072025/08/05/image_11072025_08_05_01_5218.jpg
/home/pi/Desktop/images/11072025/08/04/image_11072025_08_04_01_9359.jpg
/home/pi/Desktop/images/11072025/08/03/image_11072025_08_03_01_8900.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.1503267288208 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 08:10:03.314675
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/08/08/image_11072025_08_08_02_0022.jpg', 2), ('/home/pi/Desktop/images/11072025/08/07/image_11072025_08_07_01_6277.jpg', 2), ('/home/pi/Desktop/images/11072025/08/06/image_11072025_08_06_02_1792.jpg', 2), ('/home/pi/Desktop/images/11072025/08/05/image_11072025_08_05_01_5218.jpg', 2), ('/home/pi/Desktop/images/11072025/08/04/image_11072025_08_04_01_9359.jpg', 2), ('/home/pi/Desktop/images/11072025/08/03/image_11072025_08_03_01_8900.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/08/08/image_11072025_08_08_02_0022.jpg', '/home/pi/Desktop/images/11072025/08/07/image_11072025_08_07_01_6277.jpg', '/home/pi/Desktop/images/11072025/08/06/image_11072025_08_06_02_1792.jpg', '/home/pi/Desktop/images/11072025/08/05/image_11072025_08_05_01_5218.jpg', '/home/pi/Desktop/images/11072025/08/04/image_11072025_08_04_01_9359.jpg', '/home/pi/Desktop/images/11072025/08/03/image_11072025_08_03_01_8900.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/08/08/image_11072025_08_08_02_0022.jpg
/home/pi/Desktop/images/11072025/08/07/image_11072025_08_07_01_6277.jpg
/home/pi/Desktop/images/11072025/08/06/image_11072025_08_06_02_1792.jpg
/home/pi/Desktop/images/11072025/08/05/image_11072025_08_05_01_5218.jpg
/home/pi/Desktop/images/11072025/08/04/image_11072025_08_04_01_9359.jpg
/home/pi/Desktop/images/11072025/08/03/image_11072025_08_03_01_8900.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 31.46402597427368 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 08:11:05.951592
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/08/09/image_11072025_08_09_01_4071.jpg', 2), ('/home/pi/Desktop/images/11072025/08/08/image_11072025_08_08_02_0022.jpg', 2), ('/home/pi/Desktop/images/11072025/08/07/image_11072025_08_07_01_6277.jpg', 2), ('/home/pi/Desktop/images/11072025/08/06/image_11072025_08_06_02_1792.jpg', 2), ('/home/pi/Desktop/images/11072025/08/05/image_11072025_08_05_01_5218.jpg', 2), ('/home/pi/Desktop/images/11072025/08/04/image_11072025_08_04_01_9359.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/08/09/image_11072025_08_09_01_4071.jpg', '/home/pi/Desktop/images/11072025/08/08/image_11072025_08_08_02_0022.jpg', '/home/pi/Desktop/images/11072025/08/07/image_11072025_08_07_01_6277.jpg', '/home/pi/Desktop/images/11072025/08/06/image_11072025_08_06_02_1792.jpg', '/home/pi/Desktop/images/11072025/08/05/image_11072025_08_05_01_5218.jpg', '/home/pi/Desktop/images/11072025/08/04/image_11072025_08_04_01_9359.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/08/09/image_11072025_08_09_01_4071.jpg
/home/pi/Desktop/images/11072025/08/08/image_11072025_08_08_02_0022.jpg
/home/pi/Desktop/images/11072025/08/07/image_11072025_08_07_01_6277.jpg
/home/pi/Desktop/images/11072025/08/06/image_11072025_08_06_02_1792.jpg
/home/pi/Desktop/images/11072025/08/05/image_11072025_08_05_01_5218.jpg
/home/pi/Desktop/images/11072025/08/04/image_11072025_08_04_01_9359.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 32.99189877510071 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 08:12:08.664726
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/08/11/image_11072025_08_11_01_8545.jpg', 2), ('/home/pi/Desktop/images/11072025/08/09/image_11072025_08_09_01_4071.jpg', 2), ('/home/pi/Desktop/images/11072025/08/08/image_11072025_08_08_02_0022.jpg', 2), ('/home/pi/Desktop/images/11072025/08/07/image_11072025_08_07_01_6277.jpg', 2), ('/home/pi/Desktop/images/11072025/08/06/image_11072025_08_06_02_1792.jpg', 2), ('/home/pi/Desktop/images/11072025/08/05/image_11072025_08_05_01_5218.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/08/11/image_11072025_08_11_01_8545.jpg', '/home/pi/Desktop/images/11072025/08/09/image_11072025_08_09_01_4071.jpg', '/home/pi/Desktop/images/11072025/08/08/image_11072025_08_08_02_0022.jpg', '/home/pi/Desktop/images/11072025/08/07/image_11072025_08_07_01_6277.jpg', '/home/pi/Desktop/images/11072025/08/06/image_11072025_08_06_02_1792.jpg', '/home/pi/Desktop/images/11072025/08/05/image_11072025_08_05_01_5218.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/08/11/image_11072025_08_11_01_8545.jpg
/home/pi/Desktop/images/11072025/08/09/image_11072025_08_09_01_4071.jpg
/home/pi/Desktop/images/11072025/08/08/image_11072025_08_08_02_0022.jpg
/home/pi/Desktop/images/11072025/08/07/image_11072025_08_07_01_6277.jpg
/home/pi/Desktop/images/11072025/08/06/image_11072025_08_06_02_1792.jpg
/home/pi/Desktop/images/11072025/08/05/image_11072025_08_05_01_5218.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.49642324447632 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 08:13:05.905271
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/08/12/image_11072025_08_12_02_1445.jpg', 2), ('/home/pi/Desktop/images/11072025/08/11/image_11072025_08_11_01_8545.jpg', 2), ('/home/pi/Desktop/images/11072025/08/09/image_11072025_08_09_01_4071.jpg', 2), ('/home/pi/Desktop/images/11072025/08/08/image_11072025_08_08_02_0022.jpg', 2), ('/home/pi/Desktop/images/11072025/08/07/image_11072025_08_07_01_6277.jpg', 2), ('/home/pi/Desktop/images/11072025/08/06/image_11072025_08_06_02_1792.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/08/12/image_11072025_08_12_02_1445.jpg', '/home/pi/Desktop/images/11072025/08/11/image_11072025_08_11_01_8545.jpg', '/home/pi/Desktop/images/11072025/08/09/image_11072025_08_09_01_4071.jpg', '/home/pi/Desktop/images/11072025/08/08/image_11072025_08_08_02_0022.jpg', '/home/pi/Desktop/images/11072025/08/07/image_11072025_08_07_01_6277.jpg', '/home/pi/Desktop/images/11072025/08/06/image_11072025_08_06_02_1792.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/08/12/image_11072025_08_12_02_1445.jpg
/home/pi/Desktop/images/11072025/08/11/image_11072025_08_11_01_8545.jpg
/home/pi/Desktop/images/11072025/08/09/image_11072025_08_09_01_4071.jpg
/home/pi/Desktop/images/11072025/08/08/image_11072025_08_08_02_0022.jpg
/home/pi/Desktop/images/11072025/08/07/image_11072025_08_07_01_6277.jpg
/home/pi/Desktop/images/11072025/08/06/image_11072025_08_06_02_1792.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.39035701751709 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 08:14:05.447164
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/08/13/image_11072025_08_13_02_0120.jpg', 2), ('/home/pi/Desktop/images/11072025/08/12/image_11072025_08_12_02_1445.jpg', 2), ('/home/pi/Desktop/images/11072025/08/11/image_11072025_08_11_01_8545.jpg', 2), ('/home/pi/Desktop/images/11072025/08/09/image_11072025_08_09_01_4071.jpg', 2), ('/home/pi/Desktop/images/11072025/08/08/image_11072025_08_08_02_0022.jpg', 2), ('/home/pi/Desktop/images/11072025/08/07/image_11072025_08_07_01_6277.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/08/13/image_11072025_08_13_02_0120.jpg', '/home/pi/Desktop/images/11072025/08/12/image_11072025_08_12_02_1445.jpg', '/home/pi/Desktop/images/11072025/08/11/image_11072025_08_11_01_8545.jpg', '/home/pi/Desktop/images/11072025/08/09/image_11072025_08_09_01_4071.jpg', '/home/pi/Desktop/images/11072025/08/08/image_11072025_08_08_02_0022.jpg', '/home/pi/Desktop/images/11072025/08/07/image_11072025_08_07_01_6277.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/08/13/image_11072025_08_13_02_0120.jpg
/home/pi/Desktop/images/11072025/08/12/image_11072025_08_12_02_1445.jpg
/home/pi/Desktop/images/11072025/08/11/image_11072025_08_11_01_8545.jpg
/home/pi/Desktop/images/11072025/08/09/image_11072025_08_09_01_4071.jpg
/home/pi/Desktop/images/11072025/08/08/image_11072025_08_08_02_0022.jpg
/home/pi/Desktop/images/11072025/08/07/image_11072025_08_07_01_6277.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 32.92646527290344 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 08:15:04.858355
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/08/14/image_11072025_08_14_02_1139.jpg', 2), ('/home/pi/Desktop/images/11072025/08/13/image_11072025_08_13_02_0120.jpg', 2), ('/home/pi/Desktop/images/11072025/08/12/image_11072025_08_12_02_1445.jpg', 2), ('/home/pi/Desktop/images/11072025/08/11/image_11072025_08_11_01_8545.jpg', 2), ('/home/pi/Desktop/images/11072025/08/09/image_11072025_08_09_01_4071.jpg', 2), ('/home/pi/Desktop/images/11072025/08/08/image_11072025_08_08_02_0022.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/08/14/image_11072025_08_14_02_1139.jpg', '/home/pi/Desktop/images/11072025/08/13/image_11072025_08_13_02_0120.jpg', '/home/pi/Desktop/images/11072025/08/12/image_11072025_08_12_02_1445.jpg', '/home/pi/Desktop/images/11072025/08/11/image_11072025_08_11_01_8545.jpg', '/home/pi/Desktop/images/11072025/08/09/image_11072025_08_09_01_4071.jpg', '/home/pi/Desktop/images/11072025/08/08/image_11072025_08_08_02_0022.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/08/14/image_11072025_08_14_02_1139.jpg
/home/pi/Desktop/images/11072025/08/13/image_11072025_08_13_02_0120.jpg
/home/pi/Desktop/images/11072025/08/12/image_11072025_08_12_02_1445.jpg
/home/pi/Desktop/images/11072025/08/11/image_11072025_08_11_01_8545.jpg
/home/pi/Desktop/images/11072025/08/09/image_11072025_08_09_01_4071.jpg
/home/pi/Desktop/images/11072025/08/08/image_11072025_08_08_02_0022.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.265368938446045 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 08:16:05.593476
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/08/15/image_11072025_08_15_01_7448.jpg', 2), ('/home/pi/Desktop/images/11072025/08/14/image_11072025_08_14_02_1139.jpg', 2), ('/home/pi/Desktop/images/11072025/08/13/image_11072025_08_13_02_0120.jpg', 2), ('/home/pi/Desktop/images/11072025/08/12/image_11072025_08_12_02_1445.jpg', 2), ('/home/pi/Desktop/images/11072025/08/11/image_11072025_08_11_01_8545.jpg', 2), ('/home/pi/Desktop/images/11072025/08/09/image_11072025_08_09_01_4071.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/08/15/image_11072025_08_15_01_7448.jpg', '/home/pi/Desktop/images/11072025/08/14/image_11072025_08_14_02_1139.jpg', '/home/pi/Desktop/images/11072025/08/13/image_11072025_08_13_02_0120.jpg', '/home/pi/Desktop/images/11072025/08/12/image_11072025_08_12_02_1445.jpg', '/home/pi/Desktop/images/11072025/08/11/image_11072025_08_11_01_8545.jpg', '/home/pi/Desktop/images/11072025/08/09/image_11072025_08_09_01_4071.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/08/15/image_11072025_08_15_01_7448.jpg
/home/pi/Desktop/images/11072025/08/14/image_11072025_08_14_02_1139.jpg
/home/pi/Desktop/images/11072025/08/13/image_11072025_08_13_02_0120.jpg
/home/pi/Desktop/images/11072025/08/12/image_11072025_08_12_02_1445.jpg
/home/pi/Desktop/images/11072025/08/11/image_11072025_08_11_01_8545.jpg
/home/pi/Desktop/images/11072025/08/09/image_11072025_08_09_01_4071.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 32.726423501968384 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 08:17:05.318426
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/08/16/image_11072025_08_16_01_3262.jpg', 2), ('/home/pi/Desktop/images/11072025/08/15/image_11072025_08_15_01_7448.jpg', 2), ('/home/pi/Desktop/images/11072025/08/14/image_11072025_08_14_02_1139.jpg', 2), ('/home/pi/Desktop/images/11072025/08/13/image_11072025_08_13_02_0120.jpg', 2), ('/home/pi/Desktop/images/11072025/08/12/image_11072025_08_12_02_1445.jpg', 2), ('/home/pi/Desktop/images/11072025/08/11/image_11072025_08_11_01_8545.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/08/16/image_11072025_08_16_01_3262.jpg', '/home/pi/Desktop/images/11072025/08/15/image_11072025_08_15_01_7448.jpg', '/home/pi/Desktop/images/11072025/08/14/image_11072025_08_14_02_1139.jpg', '/home/pi/Desktop/images/11072025/08/13/image_11072025_08_13_02_0120.jpg', '/home/pi/Desktop/images/11072025/08/12/image_11072025_08_12_02_1445.jpg', '/home/pi/Desktop/images/11072025/08/11/image_11072025_08_11_01_8545.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/08/16/image_11072025_08_16_01_3262.jpg
/home/pi/Desktop/images/11072025/08/15/image_11072025_08_15_01_7448.jpg
/home/pi/Desktop/images/11072025/08/14/image_11072025_08_14_02_1139.jpg
/home/pi/Desktop/images/11072025/08/13/image_11072025_08_13_02_0120.jpg
/home/pi/Desktop/images/11072025/08/12/image_11072025_08_12_02_1445.jpg
/home/pi/Desktop/images/11072025/08/11/image_11072025_08_11_01_8545.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.107383012771606 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 08:18:05.468982
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/08/17/image_11072025_08_17_01_8727.jpg', 2), ('/home/pi/Desktop/images/11072025/08/16/image_11072025_08_16_01_3262.jpg', 2), ('/home/pi/Desktop/images/11072025/08/15/image_11072025_08_15_01_7448.jpg', 2), ('/home/pi/Desktop/images/11072025/08/14/image_11072025_08_14_02_1139.jpg', 2), ('/home/pi/Desktop/images/11072025/08/13/image_11072025_08_13_02_0120.jpg', 2), ('/home/pi/Desktop/images/11072025/08/12/image_11072025_08_12_02_1445.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/08/17/image_11072025_08_17_01_8727.jpg', '/home/pi/Desktop/images/11072025/08/16/image_11072025_08_16_01_3262.jpg', '/home/pi/Desktop/images/11072025/08/15/image_11072025_08_15_01_7448.jpg', '/home/pi/Desktop/images/11072025/08/14/image_11072025_08_14_02_1139.jpg', '/home/pi/Desktop/images/11072025/08/13/image_11072025_08_13_02_0120.jpg', '/home/pi/Desktop/images/11072025/08/12/image_11072025_08_12_02_1445.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/08/17/image_11072025_08_17_01_8727.jpg
/home/pi/Desktop/images/11072025/08/16/image_11072025_08_16_01_3262.jpg
/home/pi/Desktop/images/11072025/08/15/image_11072025_08_15_01_7448.jpg
/home/pi/Desktop/images/11072025/08/14/image_11072025_08_14_02_1139.jpg
/home/pi/Desktop/images/11072025/08/13/image_11072025_08_13_02_0120.jpg
/home/pi/Desktop/images/11072025/08/12/image_11072025_08_12_02_1445.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.05865812301636 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 08:19:05.138134
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/08/17/image_11072025_08_17_01_8727.jpg', 2), ('/home/pi/Desktop/images/11072025/08/16/image_11072025_08_16_01_3262.jpg', 2), ('/home/pi/Desktop/images/11072025/08/15/image_11072025_08_15_01_7448.jpg', 2), ('/home/pi/Desktop/images/11072025/08/14/image_11072025_08_14_02_1139.jpg', 2), ('/home/pi/Desktop/images/11072025/08/13/image_11072025_08_13_02_0120.jpg', 2), ('/home/pi/Desktop/images/11072025/08/12/image_11072025_08_12_02_1445.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/08/17/image_11072025_08_17_01_8727.jpg', '/home/pi/Desktop/images/11072025/08/16/image_11072025_08_16_01_3262.jpg', '/home/pi/Desktop/images/11072025/08/15/image_11072025_08_15_01_7448.jpg', '/home/pi/Desktop/images/11072025/08/14/image_11072025_08_14_02_1139.jpg', '/home/pi/Desktop/images/11072025/08/13/image_11072025_08_13_02_0120.jpg', '/home/pi/Desktop/images/11072025/08/12/image_11072025_08_12_02_1445.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/08/17/image_11072025_08_17_01_8727.jpg
/home/pi/Desktop/images/11072025/08/16/image_11072025_08_16_01_3262.jpg
/home/pi/Desktop/images/11072025/08/15/image_11072025_08_15_01_7448.jpg
/home/pi/Desktop/images/11072025/08/14/image_11072025_08_14_02_1139.jpg
/home/pi/Desktop/images/11072025/08/13/image_11072025_08_13_02_0120.jpg
/home/pi/Desktop/images/11072025/08/12/image_11072025_08_12_02_1445.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.62151575088501 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 08:20:04.888001
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/08/17/image_11072025_08_17_01_8727.jpg', 2), ('/home/pi/Desktop/images/11072025/08/16/image_11072025_08_16_01_3262.jpg', 2), ('/home/pi/Desktop/images/11072025/08/15/image_11072025_08_15_01_7448.jpg', 2), ('/home/pi/Desktop/images/11072025/08/14/image_11072025_08_14_02_1139.jpg', 2), ('/home/pi/Desktop/images/11072025/08/13/image_11072025_08_13_02_0120.jpg', 2), ('/home/pi/Desktop/images/11072025/08/12/image_11072025_08_12_02_1445.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/08/17/image_11072025_08_17_01_8727.jpg', '/home/pi/Desktop/images/11072025/08/16/image_11072025_08_16_01_3262.jpg', '/home/pi/Desktop/images/11072025/08/15/image_11072025_08_15_01_7448.jpg', '/home/pi/Desktop/images/11072025/08/14/image_11072025_08_14_02_1139.jpg', '/home/pi/Desktop/images/11072025/08/13/image_11072025_08_13_02_0120.jpg', '/home/pi/Desktop/images/11072025/08/12/image_11072025_08_12_02_1445.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/08/17/image_11072025_08_17_01_8727.jpg
/home/pi/Desktop/images/11072025/08/16/image_11072025_08_16_01_3262.jpg
/home/pi/Desktop/images/11072025/08/15/image_11072025_08_15_01_7448.jpg
/home/pi/Desktop/images/11072025/08/14/image_11072025_08_14_02_1139.jpg
/home/pi/Desktop/images/11072025/08/13/image_11072025_08_13_02_0120.jpg
/home/pi/Desktop/images/11072025/08/12/image_11072025_08_12_02_1445.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 32.98688054084778 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 08:21:05.892582
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/08/18/image_11072025_08_18_01_3994.jpg', 2), ('/home/pi/Desktop/images/11072025/08/17/image_11072025_08_17_01_8727.jpg', 2), ('/home/pi/Desktop/images/11072025/08/16/image_11072025_08_16_01_3262.jpg', 2), ('/home/pi/Desktop/images/11072025/08/15/image_11072025_08_15_01_7448.jpg', 2), ('/home/pi/Desktop/images/11072025/08/14/image_11072025_08_14_02_1139.jpg', 2), ('/home/pi/Desktop/images/11072025/08/13/image_11072025_08_13_02_0120.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/08/18/image_11072025_08_18_01_3994.jpg', '/home/pi/Desktop/images/11072025/08/17/image_11072025_08_17_01_8727.jpg', '/home/pi/Desktop/images/11072025/08/16/image_11072025_08_16_01_3262.jpg', '/home/pi/Desktop/images/11072025/08/15/image_11072025_08_15_01_7448.jpg', '/home/pi/Desktop/images/11072025/08/14/image_11072025_08_14_02_1139.jpg', '/home/pi/Desktop/images/11072025/08/13/image_11072025_08_13_02_0120.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/08/18/image_11072025_08_18_01_3994.jpg
/home/pi/Desktop/images/11072025/08/17/image_11072025_08_17_01_8727.jpg
/home/pi/Desktop/images/11072025/08/16/image_11072025_08_16_01_3262.jpg
/home/pi/Desktop/images/11072025/08/15/image_11072025_08_15_01_7448.jpg
/home/pi/Desktop/images/11072025/08/14/image_11072025_08_14_02_1139.jpg
/home/pi/Desktop/images/11072025/08/13/image_11072025_08_13_02_0120.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.08378291130066 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 08:22:04.940819
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/08/18/image_11072025_08_18_01_3994.jpg', 2), ('/home/pi/Desktop/images/11072025/08/17/image_11072025_08_17_01_8727.jpg', 2), ('/home/pi/Desktop/images/11072025/08/16/image_11072025_08_16_01_3262.jpg', 2), ('/home/pi/Desktop/images/11072025/08/15/image_11072025_08_15_01_7448.jpg', 2), ('/home/pi/Desktop/images/11072025/08/14/image_11072025_08_14_02_1139.jpg', 2), ('/home/pi/Desktop/images/11072025/08/13/image_11072025_08_13_02_0120.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/08/18/image_11072025_08_18_01_3994.jpg', '/home/pi/Desktop/images/11072025/08/17/image_11072025_08_17_01_8727.jpg', '/home/pi/Desktop/images/11072025/08/16/image_11072025_08_16_01_3262.jpg', '/home/pi/Desktop/images/11072025/08/15/image_11072025_08_15_01_7448.jpg', '/home/pi/Desktop/images/11072025/08/14/image_11072025_08_14_02_1139.jpg', '/home/pi/Desktop/images/11072025/08/13/image_11072025_08_13_02_0120.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/08/18/image_11072025_08_18_01_3994.jpg
/home/pi/Desktop/images/11072025/08/17/image_11072025_08_17_01_8727.jpg
/home/pi/Desktop/images/11072025/08/16/image_11072025_08_16_01_3262.jpg
/home/pi/Desktop/images/11072025/08/15/image_11072025_08_15_01_7448.jpg
/home/pi/Desktop/images/11072025/08/14/image_11072025_08_14_02_1139.jpg
/home/pi/Desktop/images/11072025/08/13/image_11072025_08_13_02_0120.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.18298816680908 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 08:23:04.927375
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/08/18/image_11072025_08_18_01_3994.jpg', 2), ('/home/pi/Desktop/images/11072025/08/17/image_11072025_08_17_01_8727.jpg', 2), ('/home/pi/Desktop/images/11072025/08/16/image_11072025_08_16_01_3262.jpg', 2), ('/home/pi/Desktop/images/11072025/08/15/image_11072025_08_15_01_7448.jpg', 2), ('/home/pi/Desktop/images/11072025/08/14/image_11072025_08_14_02_1139.jpg', 2), ('/home/pi/Desktop/images/11072025/08/13/image_11072025_08_13_02_0120.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/08/18/image_11072025_08_18_01_3994.jpg', '/home/pi/Desktop/images/11072025/08/17/image_11072025_08_17_01_8727.jpg', '/home/pi/Desktop/images/11072025/08/16/image_11072025_08_16_01_3262.jpg', '/home/pi/Desktop/images/11072025/08/15/image_11072025_08_15_01_7448.jpg', '/home/pi/Desktop/images/11072025/08/14/image_11072025_08_14_02_1139.jpg', '/home/pi/Desktop/images/11072025/08/13/image_11072025_08_13_02_0120.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/08/18/image_11072025_08_18_01_3994.jpg
/home/pi/Desktop/images/11072025/08/17/image_11072025_08_17_01_8727.jpg
/home/pi/Desktop/images/11072025/08/16/image_11072025_08_16_01_3262.jpg
/home/pi/Desktop/images/11072025/08/15/image_11072025_08_15_01_7448.jpg
/home/pi/Desktop/images/11072025/08/14/image_11072025_08_14_02_1139.jpg
/home/pi/Desktop/images/11072025/08/13/image_11072025_08_13_02_0120.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 32.31372308731079 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 08:24:05.450417
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/08/21/image_11072025_08_21_01_4322.jpg', 2), ('/home/pi/Desktop/images/11072025/08/18/image_11072025_08_18_01_3994.jpg', 2), ('/home/pi/Desktop/images/11072025/08/17/image_11072025_08_17_01_8727.jpg', 2), ('/home/pi/Desktop/images/11072025/08/16/image_11072025_08_16_01_3262.jpg', 2), ('/home/pi/Desktop/images/11072025/08/15/image_11072025_08_15_01_7448.jpg', 2), ('/home/pi/Desktop/images/11072025/08/14/image_11072025_08_14_02_1139.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/08/21/image_11072025_08_21_01_4322.jpg', '/home/pi/Desktop/images/11072025/08/18/image_11072025_08_18_01_3994.jpg', '/home/pi/Desktop/images/11072025/08/17/image_11072025_08_17_01_8727.jpg', '/home/pi/Desktop/images/11072025/08/16/image_11072025_08_16_01_3262.jpg', '/home/pi/Desktop/images/11072025/08/15/image_11072025_08_15_01_7448.jpg', '/home/pi/Desktop/images/11072025/08/14/image_11072025_08_14_02_1139.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/08/21/image_11072025_08_21_01_4322.jpg
/home/pi/Desktop/images/11072025/08/18/image_11072025_08_18_01_3994.jpg
/home/pi/Desktop/images/11072025/08/17/image_11072025_08_17_01_8727.jpg
/home/pi/Desktop/images/11072025/08/16/image_11072025_08_16_01_3262.jpg
/home/pi/Desktop/images/11072025/08/15/image_11072025_08_15_01_7448.jpg
/home/pi/Desktop/images/11072025/08/14/image_11072025_08_14_02_1139.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 32.95609164237976 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 08:25:05.861837
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/08/24/image_11072025_08_24_01_6155.jpg', 2), ('/home/pi/Desktop/images/11072025/08/21/image_11072025_08_21_01_4322.jpg', 2), ('/home/pi/Desktop/images/11072025/08/18/image_11072025_08_18_01_3994.jpg', 2), ('/home/pi/Desktop/images/11072025/08/17/image_11072025_08_17_01_8727.jpg', 2), ('/home/pi/Desktop/images/11072025/08/16/image_11072025_08_16_01_3262.jpg', 2), ('/home/pi/Desktop/images/11072025/08/15/image_11072025_08_15_01_7448.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/08/24/image_11072025_08_24_01_6155.jpg', '/home/pi/Desktop/images/11072025/08/21/image_11072025_08_21_01_4322.jpg', '/home/pi/Desktop/images/11072025/08/18/image_11072025_08_18_01_3994.jpg', '/home/pi/Desktop/images/11072025/08/17/image_11072025_08_17_01_8727.jpg', '/home/pi/Desktop/images/11072025/08/16/image_11072025_08_16_01_3262.jpg', '/home/pi/Desktop/images/11072025/08/15/image_11072025_08_15_01_7448.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/08/24/image_11072025_08_24_01_6155.jpg
/home/pi/Desktop/images/11072025/08/21/image_11072025_08_21_01_4322.jpg
/home/pi/Desktop/images/11072025/08/18/image_11072025_08_18_01_3994.jpg
/home/pi/Desktop/images/11072025/08/17/image_11072025_08_17_01_8727.jpg
/home/pi/Desktop/images/11072025/08/16/image_11072025_08_16_01_3262.jpg
/home/pi/Desktop/images/11072025/08/15/image_11072025_08_15_01_7448.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.64620852470398 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 08:26:06.019930
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/08/25/image_11072025_08_25_01_5065.jpg', 2), ('/home/pi/Desktop/images/11072025/08/24/image_11072025_08_24_01_6155.jpg', 2), ('/home/pi/Desktop/images/11072025/08/21/image_11072025_08_21_01_4322.jpg', 2), ('/home/pi/Desktop/images/11072025/08/18/image_11072025_08_18_01_3994.jpg', 2), ('/home/pi/Desktop/images/11072025/08/17/image_11072025_08_17_01_8727.jpg', 2), ('/home/pi/Desktop/images/11072025/08/16/image_11072025_08_16_01_3262.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/08/25/image_11072025_08_25_01_5065.jpg', '/home/pi/Desktop/images/11072025/08/24/image_11072025_08_24_01_6155.jpg', '/home/pi/Desktop/images/11072025/08/21/image_11072025_08_21_01_4322.jpg', '/home/pi/Desktop/images/11072025/08/18/image_11072025_08_18_01_3994.jpg', '/home/pi/Desktop/images/11072025/08/17/image_11072025_08_17_01_8727.jpg', '/home/pi/Desktop/images/11072025/08/16/image_11072025_08_16_01_3262.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/08/25/image_11072025_08_25_01_5065.jpg
/home/pi/Desktop/images/11072025/08/24/image_11072025_08_24_01_6155.jpg
/home/pi/Desktop/images/11072025/08/21/image_11072025_08_21_01_4322.jpg
/home/pi/Desktop/images/11072025/08/18/image_11072025_08_18_01_3994.jpg
/home/pi/Desktop/images/11072025/08/17/image_11072025_08_17_01_8727.jpg
/home/pi/Desktop/images/11072025/08/16/image_11072025_08_16_01_3262.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 32.59136629104614 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 08:27:05.993879
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/08/26/image_11072025_08_26_01_6827.jpg', 2), ('/home/pi/Desktop/images/11072025/08/25/image_11072025_08_25_01_5065.jpg', 2), ('/home/pi/Desktop/images/11072025/08/24/image_11072025_08_24_01_6155.jpg', 2), ('/home/pi/Desktop/images/11072025/08/21/image_11072025_08_21_01_4322.jpg', 2), ('/home/pi/Desktop/images/11072025/08/18/image_11072025_08_18_01_3994.jpg', 2), ('/home/pi/Desktop/images/11072025/08/17/image_11072025_08_17_01_8727.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/08/26/image_11072025_08_26_01_6827.jpg', '/home/pi/Desktop/images/11072025/08/25/image_11072025_08_25_01_5065.jpg', '/home/pi/Desktop/images/11072025/08/24/image_11072025_08_24_01_6155.jpg', '/home/pi/Desktop/images/11072025/08/21/image_11072025_08_21_01_4322.jpg', '/home/pi/Desktop/images/11072025/08/18/image_11072025_08_18_01_3994.jpg', '/home/pi/Desktop/images/11072025/08/17/image_11072025_08_17_01_8727.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/08/26/image_11072025_08_26_01_6827.jpg
/home/pi/Desktop/images/11072025/08/25/image_11072025_08_25_01_5065.jpg
/home/pi/Desktop/images/11072025/08/24/image_11072025_08_24_01_6155.jpg
/home/pi/Desktop/images/11072025/08/21/image_11072025_08_21_01_4322.jpg
/home/pi/Desktop/images/11072025/08/18/image_11072025_08_18_01_3994.jpg
/home/pi/Desktop/images/11072025/08/17/image_11072025_08_17_01_8727.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.77636694908142 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 08:28:05.350083
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/08/26/image_11072025_08_26_01_6827.jpg', 2), ('/home/pi/Desktop/images/11072025/08/25/image_11072025_08_25_01_5065.jpg', 2), ('/home/pi/Desktop/images/11072025/08/24/image_11072025_08_24_01_6155.jpg', 2), ('/home/pi/Desktop/images/11072025/08/21/image_11072025_08_21_01_4322.jpg', 2), ('/home/pi/Desktop/images/11072025/08/18/image_11072025_08_18_01_3994.jpg', 2), ('/home/pi/Desktop/images/11072025/08/17/image_11072025_08_17_01_8727.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/08/26/image_11072025_08_26_01_6827.jpg', '/home/pi/Desktop/images/11072025/08/25/image_11072025_08_25_01_5065.jpg', '/home/pi/Desktop/images/11072025/08/24/image_11072025_08_24_01_6155.jpg', '/home/pi/Desktop/images/11072025/08/21/image_11072025_08_21_01_4322.jpg', '/home/pi/Desktop/images/11072025/08/18/image_11072025_08_18_01_3994.jpg', '/home/pi/Desktop/images/11072025/08/17/image_11072025_08_17_01_8727.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/08/26/image_11072025_08_26_01_6827.jpg
/home/pi/Desktop/images/11072025/08/25/image_11072025_08_25_01_5065.jpg
/home/pi/Desktop/images/11072025/08/24/image_11072025_08_24_01_6155.jpg
/home/pi/Desktop/images/11072025/08/21/image_11072025_08_21_01_4322.jpg
/home/pi/Desktop/images/11072025/08/18/image_11072025_08_18_01_3994.jpg
/home/pi/Desktop/images/11072025/08/17/image_11072025_08_17_01_8727.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 32.54295897483826 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 08:29:05.661134
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/08/27/image_11072025_08_27_01_5780.jpg', 2), ('/home/pi/Desktop/images/11072025/08/26/image_11072025_08_26_01_6827.jpg', 2), ('/home/pi/Desktop/images/11072025/08/25/image_11072025_08_25_01_5065.jpg', 2), ('/home/pi/Desktop/images/11072025/08/24/image_11072025_08_24_01_6155.jpg', 2), ('/home/pi/Desktop/images/11072025/08/21/image_11072025_08_21_01_4322.jpg', 2), ('/home/pi/Desktop/images/11072025/08/18/image_11072025_08_18_01_3994.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/08/27/image_11072025_08_27_01_5780.jpg', '/home/pi/Desktop/images/11072025/08/26/image_11072025_08_26_01_6827.jpg', '/home/pi/Desktop/images/11072025/08/25/image_11072025_08_25_01_5065.jpg', '/home/pi/Desktop/images/11072025/08/24/image_11072025_08_24_01_6155.jpg', '/home/pi/Desktop/images/11072025/08/21/image_11072025_08_21_01_4322.jpg', '/home/pi/Desktop/images/11072025/08/18/image_11072025_08_18_01_3994.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/08/27/image_11072025_08_27_01_5780.jpg
/home/pi/Desktop/images/11072025/08/26/image_11072025_08_26_01_6827.jpg
/home/pi/Desktop/images/11072025/08/25/image_11072025_08_25_01_5065.jpg
/home/pi/Desktop/images/11072025/08/24/image_11072025_08_24_01_6155.jpg
/home/pi/Desktop/images/11072025/08/21/image_11072025_08_21_01_4322.jpg
/home/pi/Desktop/images/11072025/08/18/image_11072025_08_18_01_3994.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.31633806228638 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 08:30:03.180404
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/08/30/image_11072025_08_30_01_9442.jpg', 2), ('/home/pi/Desktop/images/11072025/08/27/image_11072025_08_27_01_5780.jpg', 2), ('/home/pi/Desktop/images/11072025/08/26/image_11072025_08_26_01_6827.jpg', 2), ('/home/pi/Desktop/images/11072025/08/25/image_11072025_08_25_01_5065.jpg', 2), ('/home/pi/Desktop/images/11072025/08/24/image_11072025_08_24_01_6155.jpg', 2), ('/home/pi/Desktop/images/11072025/08/21/image_11072025_08_21_01_4322.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/08/30/image_11072025_08_30_01_9442.jpg', '/home/pi/Desktop/images/11072025/08/27/image_11072025_08_27_01_5780.jpg', '/home/pi/Desktop/images/11072025/08/26/image_11072025_08_26_01_6827.jpg', '/home/pi/Desktop/images/11072025/08/25/image_11072025_08_25_01_5065.jpg', '/home/pi/Desktop/images/11072025/08/24/image_11072025_08_24_01_6155.jpg', '/home/pi/Desktop/images/11072025/08/21/image_11072025_08_21_01_4322.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/08/30/image_11072025_08_30_01_9442.jpg
/home/pi/Desktop/images/11072025/08/27/image_11072025_08_27_01_5780.jpg
/home/pi/Desktop/images/11072025/08/26/image_11072025_08_26_01_6827.jpg
/home/pi/Desktop/images/11072025/08/25/image_11072025_08_25_01_5065.jpg
/home/pi/Desktop/images/11072025/08/24/image_11072025_08_24_01_6155.jpg
/home/pi/Desktop/images/11072025/08/21/image_11072025_08_21_01_4322.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 31.99013042449951 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 08:31:05.506694
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/08/30/image_11072025_08_30_01_9442.jpg', 2), ('/home/pi/Desktop/images/11072025/08/27/image_11072025_08_27_01_5780.jpg', 2), ('/home/pi/Desktop/images/11072025/08/26/image_11072025_08_26_01_6827.jpg', 2), ('/home/pi/Desktop/images/11072025/08/25/image_11072025_08_25_01_5065.jpg', 2), ('/home/pi/Desktop/images/11072025/08/24/image_11072025_08_24_01_6155.jpg', 2), ('/home/pi/Desktop/images/11072025/08/21/image_11072025_08_21_01_4322.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/08/30/image_11072025_08_30_01_9442.jpg', '/home/pi/Desktop/images/11072025/08/27/image_11072025_08_27_01_5780.jpg', '/home/pi/Desktop/images/11072025/08/26/image_11072025_08_26_01_6827.jpg', '/home/pi/Desktop/images/11072025/08/25/image_11072025_08_25_01_5065.jpg', '/home/pi/Desktop/images/11072025/08/24/image_11072025_08_24_01_6155.jpg', '/home/pi/Desktop/images/11072025/08/21/image_11072025_08_21_01_4322.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/08/30/image_11072025_08_30_01_9442.jpg
/home/pi/Desktop/images/11072025/08/27/image_11072025_08_27_01_5780.jpg
/home/pi/Desktop/images/11072025/08/26/image_11072025_08_26_01_6827.jpg
/home/pi/Desktop/images/11072025/08/25/image_11072025_08_25_01_5065.jpg
/home/pi/Desktop/images/11072025/08/24/image_11072025_08_24_01_6155.jpg
/home/pi/Desktop/images/11072025/08/21/image_11072025_08_21_01_4322.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.80201005935669 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 08:32:05.290490
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/08/30/image_11072025_08_30_01_9442.jpg', 2), ('/home/pi/Desktop/images/11072025/08/27/image_11072025_08_27_01_5780.jpg', 2), ('/home/pi/Desktop/images/11072025/08/26/image_11072025_08_26_01_6827.jpg', 2), ('/home/pi/Desktop/images/11072025/08/25/image_11072025_08_25_01_5065.jpg', 2), ('/home/pi/Desktop/images/11072025/08/24/image_11072025_08_24_01_6155.jpg', 2), ('/home/pi/Desktop/images/11072025/08/21/image_11072025_08_21_01_4322.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/08/30/image_11072025_08_30_01_9442.jpg', '/home/pi/Desktop/images/11072025/08/27/image_11072025_08_27_01_5780.jpg', '/home/pi/Desktop/images/11072025/08/26/image_11072025_08_26_01_6827.jpg', '/home/pi/Desktop/images/11072025/08/25/image_11072025_08_25_01_5065.jpg', '/home/pi/Desktop/images/11072025/08/24/image_11072025_08_24_01_6155.jpg', '/home/pi/Desktop/images/11072025/08/21/image_11072025_08_21_01_4322.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/08/30/image_11072025_08_30_01_9442.jpg
/home/pi/Desktop/images/11072025/08/27/image_11072025_08_27_01_5780.jpg
/home/pi/Desktop/images/11072025/08/26/image_11072025_08_26_01_6827.jpg
/home/pi/Desktop/images/11072025/08/25/image_11072025_08_25_01_5065.jpg
/home/pi/Desktop/images/11072025/08/24/image_11072025_08_24_01_6155.jpg
/home/pi/Desktop/images/11072025/08/21/image_11072025_08_21_01_4322.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.14550828933716 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 08:33:05.431017
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/08/30/image_11072025_08_30_01_9442.jpg', 2), ('/home/pi/Desktop/images/11072025/08/27/image_11072025_08_27_01_5780.jpg', 2), ('/home/pi/Desktop/images/11072025/08/26/image_11072025_08_26_01_6827.jpg', 2), ('/home/pi/Desktop/images/11072025/08/25/image_11072025_08_25_01_5065.jpg', 2), ('/home/pi/Desktop/images/11072025/08/24/image_11072025_08_24_01_6155.jpg', 2), ('/home/pi/Desktop/images/11072025/08/21/image_11072025_08_21_01_4322.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/08/30/image_11072025_08_30_01_9442.jpg', '/home/pi/Desktop/images/11072025/08/27/image_11072025_08_27_01_5780.jpg', '/home/pi/Desktop/images/11072025/08/26/image_11072025_08_26_01_6827.jpg', '/home/pi/Desktop/images/11072025/08/25/image_11072025_08_25_01_5065.jpg', '/home/pi/Desktop/images/11072025/08/24/image_11072025_08_24_01_6155.jpg', '/home/pi/Desktop/images/11072025/08/21/image_11072025_08_21_01_4322.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/08/30/image_11072025_08_30_01_9442.jpg
/home/pi/Desktop/images/11072025/08/27/image_11072025_08_27_01_5780.jpg
/home/pi/Desktop/images/11072025/08/26/image_11072025_08_26_01_6827.jpg
/home/pi/Desktop/images/11072025/08/25/image_11072025_08_25_01_5065.jpg
/home/pi/Desktop/images/11072025/08/24/image_11072025_08_24_01_6155.jpg
/home/pi/Desktop/images/11072025/08/21/image_11072025_08_21_01_4322.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.155099868774414 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 08:34:04.859377
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/08/30/image_11072025_08_30_01_9442.jpg', 2), ('/home/pi/Desktop/images/11072025/08/29/image_11072025_08_29_01_8054.jpg', 2), ('/home/pi/Desktop/images/11072025/08/27/image_11072025_08_27_01_5780.jpg', 2), ('/home/pi/Desktop/images/11072025/08/26/image_11072025_08_26_01_6827.jpg', 2), ('/home/pi/Desktop/images/11072025/08/25/image_11072025_08_25_01_5065.jpg', 2), ('/home/pi/Desktop/images/11072025/08/24/image_11072025_08_24_01_6155.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/08/30/image_11072025_08_30_01_9442.jpg', '/home/pi/Desktop/images/11072025/08/29/image_11072025_08_29_01_8054.jpg', '/home/pi/Desktop/images/11072025/08/27/image_11072025_08_27_01_5780.jpg', '/home/pi/Desktop/images/11072025/08/26/image_11072025_08_26_01_6827.jpg', '/home/pi/Desktop/images/11072025/08/25/image_11072025_08_25_01_5065.jpg', '/home/pi/Desktop/images/11072025/08/24/image_11072025_08_24_01_6155.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/08/30/image_11072025_08_30_01_9442.jpg
/home/pi/Desktop/images/11072025/08/29/image_11072025_08_29_01_8054.jpg
/home/pi/Desktop/images/11072025/08/27/image_11072025_08_27_01_5780.jpg
/home/pi/Desktop/images/11072025/08/26/image_11072025_08_26_01_6827.jpg
/home/pi/Desktop/images/11072025/08/25/image_11072025_08_25_01_5065.jpg
/home/pi/Desktop/images/11072025/08/24/image_11072025_08_24_01_6155.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 32.841957092285156 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 08:35:05.181923
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/08/34/image_11072025_08_34_01_5753.jpg', 2), ('/home/pi/Desktop/images/11072025/08/30/image_11072025_08_30_01_9442.jpg', 2), ('/home/pi/Desktop/images/11072025/08/29/image_11072025_08_29_01_8054.jpg', 2), ('/home/pi/Desktop/images/11072025/08/27/image_11072025_08_27_01_5780.jpg', 2), ('/home/pi/Desktop/images/11072025/08/26/image_11072025_08_26_01_6827.jpg', 2), ('/home/pi/Desktop/images/11072025/08/25/image_11072025_08_25_01_5065.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/08/34/image_11072025_08_34_01_5753.jpg', '/home/pi/Desktop/images/11072025/08/30/image_11072025_08_30_01_9442.jpg', '/home/pi/Desktop/images/11072025/08/29/image_11072025_08_29_01_8054.jpg', '/home/pi/Desktop/images/11072025/08/27/image_11072025_08_27_01_5780.jpg', '/home/pi/Desktop/images/11072025/08/26/image_11072025_08_26_01_6827.jpg', '/home/pi/Desktop/images/11072025/08/25/image_11072025_08_25_01_5065.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/08/34/image_11072025_08_34_01_5753.jpg
/home/pi/Desktop/images/11072025/08/30/image_11072025_08_30_01_9442.jpg
/home/pi/Desktop/images/11072025/08/29/image_11072025_08_29_01_8054.jpg
/home/pi/Desktop/images/11072025/08/27/image_11072025_08_27_01_5780.jpg
/home/pi/Desktop/images/11072025/08/26/image_11072025_08_26_01_6827.jpg
/home/pi/Desktop/images/11072025/08/25/image_11072025_08_25_01_5065.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.6458375453949 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 08:36:05.792418
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/08/34/image_11072025_08_34_01_5753.jpg', 2), ('/home/pi/Desktop/images/11072025/08/30/image_11072025_08_30_01_9442.jpg', 2), ('/home/pi/Desktop/images/11072025/08/29/image_11072025_08_29_01_8054.jpg', 2), ('/home/pi/Desktop/images/11072025/08/27/image_11072025_08_27_01_5780.jpg', 2), ('/home/pi/Desktop/images/11072025/08/26/image_11072025_08_26_01_6827.jpg', 2), ('/home/pi/Desktop/images/11072025/08/25/image_11072025_08_25_01_5065.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/08/34/image_11072025_08_34_01_5753.jpg', '/home/pi/Desktop/images/11072025/08/30/image_11072025_08_30_01_9442.jpg', '/home/pi/Desktop/images/11072025/08/29/image_11072025_08_29_01_8054.jpg', '/home/pi/Desktop/images/11072025/08/27/image_11072025_08_27_01_5780.jpg', '/home/pi/Desktop/images/11072025/08/26/image_11072025_08_26_01_6827.jpg', '/home/pi/Desktop/images/11072025/08/25/image_11072025_08_25_01_5065.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/08/34/image_11072025_08_34_01_5753.jpg
/home/pi/Desktop/images/11072025/08/30/image_11072025_08_30_01_9442.jpg
/home/pi/Desktop/images/11072025/08/29/image_11072025_08_29_01_8054.jpg
/home/pi/Desktop/images/11072025/08/27/image_11072025_08_27_01_5780.jpg
/home/pi/Desktop/images/11072025/08/26/image_11072025_08_26_01_6827.jpg
/home/pi/Desktop/images/11072025/08/25/image_11072025_08_25_01_5065.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.22861886024475 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 08:37:05.582913
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/08/35/image_11072025_08_35_01_4134.jpg', 2), ('/home/pi/Desktop/images/11072025/08/34/image_11072025_08_34_01_5753.jpg', 2), ('/home/pi/Desktop/images/11072025/08/30/image_11072025_08_30_01_9442.jpg', 2), ('/home/pi/Desktop/images/11072025/08/29/image_11072025_08_29_01_8054.jpg', 2), ('/home/pi/Desktop/images/11072025/08/27/image_11072025_08_27_01_5780.jpg', 2), ('/home/pi/Desktop/images/11072025/08/26/image_11072025_08_26_01_6827.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/08/35/image_11072025_08_35_01_4134.jpg', '/home/pi/Desktop/images/11072025/08/34/image_11072025_08_34_01_5753.jpg', '/home/pi/Desktop/images/11072025/08/30/image_11072025_08_30_01_9442.jpg', '/home/pi/Desktop/images/11072025/08/29/image_11072025_08_29_01_8054.jpg', '/home/pi/Desktop/images/11072025/08/27/image_11072025_08_27_01_5780.jpg', '/home/pi/Desktop/images/11072025/08/26/image_11072025_08_26_01_6827.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/08/35/image_11072025_08_35_01_4134.jpg
/home/pi/Desktop/images/11072025/08/34/image_11072025_08_34_01_5753.jpg
/home/pi/Desktop/images/11072025/08/30/image_11072025_08_30_01_9442.jpg
/home/pi/Desktop/images/11072025/08/29/image_11072025_08_29_01_8054.jpg
/home/pi/Desktop/images/11072025/08/27/image_11072025_08_27_01_5780.jpg
/home/pi/Desktop/images/11072025/08/26/image_11072025_08_26_01_6827.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.606669425964355 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 08:38:05.365975
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/08/37/image_11072025_08_37_02_1987.jpg', 2), ('/home/pi/Desktop/images/11072025/08/35/image_11072025_08_35_01_4134.jpg', 2), ('/home/pi/Desktop/images/11072025/08/34/image_11072025_08_34_01_5753.jpg', 2), ('/home/pi/Desktop/images/11072025/08/30/image_11072025_08_30_01_9442.jpg', 2), ('/home/pi/Desktop/images/11072025/08/29/image_11072025_08_29_01_8054.jpg', 2), ('/home/pi/Desktop/images/11072025/08/27/image_11072025_08_27_01_5780.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/08/37/image_11072025_08_37_02_1987.jpg', '/home/pi/Desktop/images/11072025/08/35/image_11072025_08_35_01_4134.jpg', '/home/pi/Desktop/images/11072025/08/34/image_11072025_08_34_01_5753.jpg', '/home/pi/Desktop/images/11072025/08/30/image_11072025_08_30_01_9442.jpg', '/home/pi/Desktop/images/11072025/08/29/image_11072025_08_29_01_8054.jpg', '/home/pi/Desktop/images/11072025/08/27/image_11072025_08_27_01_5780.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/08/37/image_11072025_08_37_02_1987.jpg
/home/pi/Desktop/images/11072025/08/35/image_11072025_08_35_01_4134.jpg
/home/pi/Desktop/images/11072025/08/34/image_11072025_08_34_01_5753.jpg
/home/pi/Desktop/images/11072025/08/30/image_11072025_08_30_01_9442.jpg
/home/pi/Desktop/images/11072025/08/29/image_11072025_08_29_01_8054.jpg
/home/pi/Desktop/images/11072025/08/27/image_11072025_08_27_01_5780.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 32.9537513256073 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 08:39:05.901935
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/08/37/image_11072025_08_37_02_1987.jpg', 2), ('/home/pi/Desktop/images/11072025/08/35/image_11072025_08_35_01_4134.jpg', 2), ('/home/pi/Desktop/images/11072025/08/34/image_11072025_08_34_01_5753.jpg', 2), ('/home/pi/Desktop/images/11072025/08/30/image_11072025_08_30_01_9442.jpg', 2), ('/home/pi/Desktop/images/11072025/08/29/image_11072025_08_29_01_8054.jpg', 2), ('/home/pi/Desktop/images/11072025/08/27/image_11072025_08_27_01_5780.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/08/37/image_11072025_08_37_02_1987.jpg', '/home/pi/Desktop/images/11072025/08/35/image_11072025_08_35_01_4134.jpg', '/home/pi/Desktop/images/11072025/08/34/image_11072025_08_34_01_5753.jpg', '/home/pi/Desktop/images/11072025/08/30/image_11072025_08_30_01_9442.jpg', '/home/pi/Desktop/images/11072025/08/29/image_11072025_08_29_01_8054.jpg', '/home/pi/Desktop/images/11072025/08/27/image_11072025_08_27_01_5780.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/08/37/image_11072025_08_37_02_1987.jpg
/home/pi/Desktop/images/11072025/08/35/image_11072025_08_35_01_4134.jpg
/home/pi/Desktop/images/11072025/08/34/image_11072025_08_34_01_5753.jpg
/home/pi/Desktop/images/11072025/08/30/image_11072025_08_30_01_9442.jpg
/home/pi/Desktop/images/11072025/08/29/image_11072025_08_29_01_8054.jpg
/home/pi/Desktop/images/11072025/08/27/image_11072025_08_27_01_5780.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.56453275680542 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 08:40:05.256387
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/08/38/image_11072025_08_38_01_7893.jpg', 2), ('/home/pi/Desktop/images/11072025/08/37/image_11072025_08_37_02_1987.jpg', 2), ('/home/pi/Desktop/images/11072025/08/35/image_11072025_08_35_01_4134.jpg', 2), ('/home/pi/Desktop/images/11072025/08/34/image_11072025_08_34_01_5753.jpg', 2), ('/home/pi/Desktop/images/11072025/08/30/image_11072025_08_30_01_9442.jpg', 2), ('/home/pi/Desktop/images/11072025/08/29/image_11072025_08_29_01_8054.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/08/38/image_11072025_08_38_01_7893.jpg', '/home/pi/Desktop/images/11072025/08/37/image_11072025_08_37_02_1987.jpg', '/home/pi/Desktop/images/11072025/08/35/image_11072025_08_35_01_4134.jpg', '/home/pi/Desktop/images/11072025/08/34/image_11072025_08_34_01_5753.jpg', '/home/pi/Desktop/images/11072025/08/30/image_11072025_08_30_01_9442.jpg', '/home/pi/Desktop/images/11072025/08/29/image_11072025_08_29_01_8054.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/08/38/image_11072025_08_38_01_7893.jpg
/home/pi/Desktop/images/11072025/08/37/image_11072025_08_37_02_1987.jpg
/home/pi/Desktop/images/11072025/08/35/image_11072025_08_35_01_4134.jpg
/home/pi/Desktop/images/11072025/08/34/image_11072025_08_34_01_5753.jpg
/home/pi/Desktop/images/11072025/08/30/image_11072025_08_30_01_9442.jpg
/home/pi/Desktop/images/11072025/08/29/image_11072025_08_29_01_8054.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.3490104675293 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 08:41:05.387473
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/08/40/image_11072025_08_40_01_8101.jpg', 2), ('/home/pi/Desktop/images/11072025/08/38/image_11072025_08_38_01_7893.jpg', 2), ('/home/pi/Desktop/images/11072025/08/37/image_11072025_08_37_02_1987.jpg', 2), ('/home/pi/Desktop/images/11072025/08/35/image_11072025_08_35_01_4134.jpg', 2), ('/home/pi/Desktop/images/11072025/08/34/image_11072025_08_34_01_5753.jpg', 2), ('/home/pi/Desktop/images/11072025/08/30/image_11072025_08_30_01_9442.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/08/40/image_11072025_08_40_01_8101.jpg', '/home/pi/Desktop/images/11072025/08/38/image_11072025_08_38_01_7893.jpg', '/home/pi/Desktop/images/11072025/08/37/image_11072025_08_37_02_1987.jpg', '/home/pi/Desktop/images/11072025/08/35/image_11072025_08_35_01_4134.jpg', '/home/pi/Desktop/images/11072025/08/34/image_11072025_08_34_01_5753.jpg', '/home/pi/Desktop/images/11072025/08/30/image_11072025_08_30_01_9442.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/08/40/image_11072025_08_40_01_8101.jpg
/home/pi/Desktop/images/11072025/08/38/image_11072025_08_38_01_7893.jpg
/home/pi/Desktop/images/11072025/08/37/image_11072025_08_37_02_1987.jpg
/home/pi/Desktop/images/11072025/08/35/image_11072025_08_35_01_4134.jpg
/home/pi/Desktop/images/11072025/08/34/image_11072025_08_34_01_5753.jpg
/home/pi/Desktop/images/11072025/08/30/image_11072025_08_30_01_9442.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.40023422241211 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 08:42:05.046982
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/08/40/image_11072025_08_40_01_8101.jpg', 2), ('/home/pi/Desktop/images/11072025/08/38/image_11072025_08_38_01_7893.jpg', 2), ('/home/pi/Desktop/images/11072025/08/37/image_11072025_08_37_02_1987.jpg', 2), ('/home/pi/Desktop/images/11072025/08/35/image_11072025_08_35_01_4134.jpg', 2), ('/home/pi/Desktop/images/11072025/08/34/image_11072025_08_34_01_5753.jpg', 2), ('/home/pi/Desktop/images/11072025/08/30/image_11072025_08_30_01_9442.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/08/40/image_11072025_08_40_01_8101.jpg', '/home/pi/Desktop/images/11072025/08/38/image_11072025_08_38_01_7893.jpg', '/home/pi/Desktop/images/11072025/08/37/image_11072025_08_37_02_1987.jpg', '/home/pi/Desktop/images/11072025/08/35/image_11072025_08_35_01_4134.jpg', '/home/pi/Desktop/images/11072025/08/34/image_11072025_08_34_01_5753.jpg', '/home/pi/Desktop/images/11072025/08/30/image_11072025_08_30_01_9442.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/08/40/image_11072025_08_40_01_8101.jpg
/home/pi/Desktop/images/11072025/08/38/image_11072025_08_38_01_7893.jpg
/home/pi/Desktop/images/11072025/08/37/image_11072025_08_37_02_1987.jpg
/home/pi/Desktop/images/11072025/08/35/image_11072025_08_35_01_4134.jpg
/home/pi/Desktop/images/11072025/08/34/image_11072025_08_34_01_5753.jpg
/home/pi/Desktop/images/11072025/08/30/image_11072025_08_30_01_9442.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 32.8230357170105 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 08:43:05.472441
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/08/40/image_11072025_08_40_01_8101.jpg', 2), ('/home/pi/Desktop/images/11072025/08/38/image_11072025_08_38_01_7893.jpg', 2), ('/home/pi/Desktop/images/11072025/08/37/image_11072025_08_37_02_1987.jpg', 2), ('/home/pi/Desktop/images/11072025/08/35/image_11072025_08_35_01_4134.jpg', 2), ('/home/pi/Desktop/images/11072025/08/34/image_11072025_08_34_01_5753.jpg', 2), ('/home/pi/Desktop/images/11072025/08/30/image_11072025_08_30_01_9442.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/08/40/image_11072025_08_40_01_8101.jpg', '/home/pi/Desktop/images/11072025/08/38/image_11072025_08_38_01_7893.jpg', '/home/pi/Desktop/images/11072025/08/37/image_11072025_08_37_02_1987.jpg', '/home/pi/Desktop/images/11072025/08/35/image_11072025_08_35_01_4134.jpg', '/home/pi/Desktop/images/11072025/08/34/image_11072025_08_34_01_5753.jpg', '/home/pi/Desktop/images/11072025/08/30/image_11072025_08_30_01_9442.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/08/40/image_11072025_08_40_01_8101.jpg
/home/pi/Desktop/images/11072025/08/38/image_11072025_08_38_01_7893.jpg
/home/pi/Desktop/images/11072025/08/37/image_11072025_08_37_02_1987.jpg
/home/pi/Desktop/images/11072025/08/35/image_11072025_08_35_01_4134.jpg
/home/pi/Desktop/images/11072025/08/34/image_11072025_08_34_01_5753.jpg
/home/pi/Desktop/images/11072025/08/30/image_11072025_08_30_01_9442.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.56069540977478 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 08:44:05.132902
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/08/40/image_11072025_08_40_01_8101.jpg', 2), ('/home/pi/Desktop/images/11072025/08/38/image_11072025_08_38_01_7893.jpg', 2), ('/home/pi/Desktop/images/11072025/08/37/image_11072025_08_37_02_1987.jpg', 2), ('/home/pi/Desktop/images/11072025/08/35/image_11072025_08_35_01_4134.jpg', 2), ('/home/pi/Desktop/images/11072025/08/34/image_11072025_08_34_01_5753.jpg', 2), ('/home/pi/Desktop/images/11072025/08/30/image_11072025_08_30_01_9442.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/08/40/image_11072025_08_40_01_8101.jpg', '/home/pi/Desktop/images/11072025/08/38/image_11072025_08_38_01_7893.jpg', '/home/pi/Desktop/images/11072025/08/37/image_11072025_08_37_02_1987.jpg', '/home/pi/Desktop/images/11072025/08/35/image_11072025_08_35_01_4134.jpg', '/home/pi/Desktop/images/11072025/08/34/image_11072025_08_34_01_5753.jpg', '/home/pi/Desktop/images/11072025/08/30/image_11072025_08_30_01_9442.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/08/40/image_11072025_08_40_01_8101.jpg
/home/pi/Desktop/images/11072025/08/38/image_11072025_08_38_01_7893.jpg
/home/pi/Desktop/images/11072025/08/37/image_11072025_08_37_02_1987.jpg
/home/pi/Desktop/images/11072025/08/35/image_11072025_08_35_01_4134.jpg
/home/pi/Desktop/images/11072025/08/34/image_11072025_08_34_01_5753.jpg
/home/pi/Desktop/images/11072025/08/30/image_11072025_08_30_01_9442.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.04936099052429 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 08:45:05.733890
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/08/40/image_11072025_08_40_01_8101.jpg', 2), ('/home/pi/Desktop/images/11072025/08/38/image_11072025_08_38_01_7893.jpg', 2), ('/home/pi/Desktop/images/11072025/08/37/image_11072025_08_37_02_1987.jpg', 2), ('/home/pi/Desktop/images/11072025/08/35/image_11072025_08_35_01_4134.jpg', 2), ('/home/pi/Desktop/images/11072025/08/34/image_11072025_08_34_01_5753.jpg', 2), ('/home/pi/Desktop/images/11072025/08/30/image_11072025_08_30_01_9442.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/08/40/image_11072025_08_40_01_8101.jpg', '/home/pi/Desktop/images/11072025/08/38/image_11072025_08_38_01_7893.jpg', '/home/pi/Desktop/images/11072025/08/37/image_11072025_08_37_02_1987.jpg', '/home/pi/Desktop/images/11072025/08/35/image_11072025_08_35_01_4134.jpg', '/home/pi/Desktop/images/11072025/08/34/image_11072025_08_34_01_5753.jpg', '/home/pi/Desktop/images/11072025/08/30/image_11072025_08_30_01_9442.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/08/40/image_11072025_08_40_01_8101.jpg
/home/pi/Desktop/images/11072025/08/38/image_11072025_08_38_01_7893.jpg
/home/pi/Desktop/images/11072025/08/37/image_11072025_08_37_02_1987.jpg
/home/pi/Desktop/images/11072025/08/35/image_11072025_08_35_01_4134.jpg
/home/pi/Desktop/images/11072025/08/34/image_11072025_08_34_01_5753.jpg
/home/pi/Desktop/images/11072025/08/30/image_11072025_08_30_01_9442.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.59995365142822 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 08:46:05.077181
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/08/41/image_11072025_08_41_01_8049.jpg', 2), ('/home/pi/Desktop/images/11072025/08/40/image_11072025_08_40_01_8101.jpg', 2), ('/home/pi/Desktop/images/11072025/08/38/image_11072025_08_38_01_7893.jpg', 2), ('/home/pi/Desktop/images/11072025/08/37/image_11072025_08_37_02_1987.jpg', 2), ('/home/pi/Desktop/images/11072025/08/35/image_11072025_08_35_01_4134.jpg', 2), ('/home/pi/Desktop/images/11072025/08/34/image_11072025_08_34_01_5753.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/08/41/image_11072025_08_41_01_8049.jpg', '/home/pi/Desktop/images/11072025/08/40/image_11072025_08_40_01_8101.jpg', '/home/pi/Desktop/images/11072025/08/38/image_11072025_08_38_01_7893.jpg', '/home/pi/Desktop/images/11072025/08/37/image_11072025_08_37_02_1987.jpg', '/home/pi/Desktop/images/11072025/08/35/image_11072025_08_35_01_4134.jpg', '/home/pi/Desktop/images/11072025/08/34/image_11072025_08_34_01_5753.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/08/41/image_11072025_08_41_01_8049.jpg
/home/pi/Desktop/images/11072025/08/40/image_11072025_08_40_01_8101.jpg
/home/pi/Desktop/images/11072025/08/38/image_11072025_08_38_01_7893.jpg
/home/pi/Desktop/images/11072025/08/37/image_11072025_08_37_02_1987.jpg
/home/pi/Desktop/images/11072025/08/35/image_11072025_08_35_01_4134.jpg
/home/pi/Desktop/images/11072025/08/34/image_11072025_08_34_01_5753.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.41712212562561 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 08:47:05.824826
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/08/41/image_11072025_08_41_01_8049.jpg', 2), ('/home/pi/Desktop/images/11072025/08/40/image_11072025_08_40_01_8101.jpg', 2), ('/home/pi/Desktop/images/11072025/08/38/image_11072025_08_38_01_7893.jpg', 2), ('/home/pi/Desktop/images/11072025/08/37/image_11072025_08_37_02_1987.jpg', 2), ('/home/pi/Desktop/images/11072025/08/35/image_11072025_08_35_01_4134.jpg', 2), ('/home/pi/Desktop/images/11072025/08/34/image_11072025_08_34_01_5753.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/08/41/image_11072025_08_41_01_8049.jpg', '/home/pi/Desktop/images/11072025/08/40/image_11072025_08_40_01_8101.jpg', '/home/pi/Desktop/images/11072025/08/38/image_11072025_08_38_01_7893.jpg', '/home/pi/Desktop/images/11072025/08/37/image_11072025_08_37_02_1987.jpg', '/home/pi/Desktop/images/11072025/08/35/image_11072025_08_35_01_4134.jpg', '/home/pi/Desktop/images/11072025/08/34/image_11072025_08_34_01_5753.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/08/41/image_11072025_08_41_01_8049.jpg
/home/pi/Desktop/images/11072025/08/40/image_11072025_08_40_01_8101.jpg
/home/pi/Desktop/images/11072025/08/38/image_11072025_08_38_01_7893.jpg
/home/pi/Desktop/images/11072025/08/37/image_11072025_08_37_02_1987.jpg
/home/pi/Desktop/images/11072025/08/35/image_11072025_08_35_01_4134.jpg
/home/pi/Desktop/images/11072025/08/34/image_11072025_08_34_01_5753.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.83605670928955 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 08:48:05.339264
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/08/41/image_11072025_08_41_01_8049.jpg', 2), ('/home/pi/Desktop/images/11072025/08/40/image_11072025_08_40_01_8101.jpg', 2), ('/home/pi/Desktop/images/11072025/08/38/image_11072025_08_38_01_7893.jpg', 2), ('/home/pi/Desktop/images/11072025/08/37/image_11072025_08_37_02_1987.jpg', 2), ('/home/pi/Desktop/images/11072025/08/35/image_11072025_08_35_01_4134.jpg', 2), ('/home/pi/Desktop/images/11072025/08/34/image_11072025_08_34_01_5753.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/08/41/image_11072025_08_41_01_8049.jpg', '/home/pi/Desktop/images/11072025/08/40/image_11072025_08_40_01_8101.jpg', '/home/pi/Desktop/images/11072025/08/38/image_11072025_08_38_01_7893.jpg', '/home/pi/Desktop/images/11072025/08/37/image_11072025_08_37_02_1987.jpg', '/home/pi/Desktop/images/11072025/08/35/image_11072025_08_35_01_4134.jpg', '/home/pi/Desktop/images/11072025/08/34/image_11072025_08_34_01_5753.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/08/41/image_11072025_08_41_01_8049.jpg
/home/pi/Desktop/images/11072025/08/40/image_11072025_08_40_01_8101.jpg
/home/pi/Desktop/images/11072025/08/38/image_11072025_08_38_01_7893.jpg
/home/pi/Desktop/images/11072025/08/37/image_11072025_08_37_02_1987.jpg
/home/pi/Desktop/images/11072025/08/35/image_11072025_08_35_01_4134.jpg
/home/pi/Desktop/images/11072025/08/34/image_11072025_08_34_01_5753.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 34.42968440055847 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 08:49:06.027576
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/08/41/image_11072025_08_41_01_8049.jpg', 2), ('/home/pi/Desktop/images/11072025/08/40/image_11072025_08_40_01_8101.jpg', 2), ('/home/pi/Desktop/images/11072025/08/38/image_11072025_08_38_01_7893.jpg', 2), ('/home/pi/Desktop/images/11072025/08/37/image_11072025_08_37_02_1987.jpg', 2), ('/home/pi/Desktop/images/11072025/08/35/image_11072025_08_35_01_4134.jpg', 2), ('/home/pi/Desktop/images/11072025/08/34/image_11072025_08_34_01_5753.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/08/41/image_11072025_08_41_01_8049.jpg', '/home/pi/Desktop/images/11072025/08/40/image_11072025_08_40_01_8101.jpg', '/home/pi/Desktop/images/11072025/08/38/image_11072025_08_38_01_7893.jpg', '/home/pi/Desktop/images/11072025/08/37/image_11072025_08_37_02_1987.jpg', '/home/pi/Desktop/images/11072025/08/35/image_11072025_08_35_01_4134.jpg', '/home/pi/Desktop/images/11072025/08/34/image_11072025_08_34_01_5753.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/08/41/image_11072025_08_41_01_8049.jpg
/home/pi/Desktop/images/11072025/08/40/image_11072025_08_40_01_8101.jpg
/home/pi/Desktop/images/11072025/08/38/image_11072025_08_38_01_7893.jpg
/home/pi/Desktop/images/11072025/08/37/image_11072025_08_37_02_1987.jpg
/home/pi/Desktop/images/11072025/08/35/image_11072025_08_35_01_4134.jpg
/home/pi/Desktop/images/11072025/08/34/image_11072025_08_34_01_5753.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.837016582489014 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 08:50:04.704248
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/08/41/image_11072025_08_41_01_8049.jpg', 2), ('/home/pi/Desktop/images/11072025/08/40/image_11072025_08_40_01_8101.jpg', 2), ('/home/pi/Desktop/images/11072025/08/38/image_11072025_08_38_01_7893.jpg', 2), ('/home/pi/Desktop/images/11072025/08/37/image_11072025_08_37_02_1987.jpg', 2), ('/home/pi/Desktop/images/11072025/08/35/image_11072025_08_35_01_4134.jpg', 2), ('/home/pi/Desktop/images/11072025/08/34/image_11072025_08_34_01_5753.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/08/41/image_11072025_08_41_01_8049.jpg', '/home/pi/Desktop/images/11072025/08/40/image_11072025_08_40_01_8101.jpg', '/home/pi/Desktop/images/11072025/08/38/image_11072025_08_38_01_7893.jpg', '/home/pi/Desktop/images/11072025/08/37/image_11072025_08_37_02_1987.jpg', '/home/pi/Desktop/images/11072025/08/35/image_11072025_08_35_01_4134.jpg', '/home/pi/Desktop/images/11072025/08/34/image_11072025_08_34_01_5753.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/08/41/image_11072025_08_41_01_8049.jpg
/home/pi/Desktop/images/11072025/08/40/image_11072025_08_40_01_8101.jpg
/home/pi/Desktop/images/11072025/08/38/image_11072025_08_38_01_7893.jpg
/home/pi/Desktop/images/11072025/08/37/image_11072025_08_37_02_1987.jpg
/home/pi/Desktop/images/11072025/08/35/image_11072025_08_35_01_4134.jpg
/home/pi/Desktop/images/11072025/08/34/image_11072025_08_34_01_5753.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.31405782699585 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 08:51:06.093006
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/08/41/image_11072025_08_41_01_8049.jpg', 2), ('/home/pi/Desktop/images/11072025/08/40/image_11072025_08_40_01_8101.jpg', 2), ('/home/pi/Desktop/images/11072025/08/38/image_11072025_08_38_01_7893.jpg', 2), ('/home/pi/Desktop/images/11072025/08/37/image_11072025_08_37_02_1987.jpg', 2), ('/home/pi/Desktop/images/11072025/08/35/image_11072025_08_35_01_4134.jpg', 2), ('/home/pi/Desktop/images/11072025/08/34/image_11072025_08_34_01_5753.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/08/41/image_11072025_08_41_01_8049.jpg', '/home/pi/Desktop/images/11072025/08/40/image_11072025_08_40_01_8101.jpg', '/home/pi/Desktop/images/11072025/08/38/image_11072025_08_38_01_7893.jpg', '/home/pi/Desktop/images/11072025/08/37/image_11072025_08_37_02_1987.jpg', '/home/pi/Desktop/images/11072025/08/35/image_11072025_08_35_01_4134.jpg', '/home/pi/Desktop/images/11072025/08/34/image_11072025_08_34_01_5753.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/08/41/image_11072025_08_41_01_8049.jpg
/home/pi/Desktop/images/11072025/08/40/image_11072025_08_40_01_8101.jpg
/home/pi/Desktop/images/11072025/08/38/image_11072025_08_38_01_7893.jpg
/home/pi/Desktop/images/11072025/08/37/image_11072025_08_37_02_1987.jpg
/home/pi/Desktop/images/11072025/08/35/image_11072025_08_35_01_4134.jpg
/home/pi/Desktop/images/11072025/08/34/image_11072025_08_34_01_5753.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.06170630455017 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 08:52:05.121689
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/08/41/image_11072025_08_41_01_8049.jpg', 2), ('/home/pi/Desktop/images/11072025/08/40/image_11072025_08_40_01_8101.jpg', 2), ('/home/pi/Desktop/images/11072025/08/38/image_11072025_08_38_01_7893.jpg', 2), ('/home/pi/Desktop/images/11072025/08/37/image_11072025_08_37_02_1987.jpg', 2), ('/home/pi/Desktop/images/11072025/08/35/image_11072025_08_35_01_4134.jpg', 2), ('/home/pi/Desktop/images/11072025/08/34/image_11072025_08_34_01_5753.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/08/41/image_11072025_08_41_01_8049.jpg', '/home/pi/Desktop/images/11072025/08/40/image_11072025_08_40_01_8101.jpg', '/home/pi/Desktop/images/11072025/08/38/image_11072025_08_38_01_7893.jpg', '/home/pi/Desktop/images/11072025/08/37/image_11072025_08_37_02_1987.jpg', '/home/pi/Desktop/images/11072025/08/35/image_11072025_08_35_01_4134.jpg', '/home/pi/Desktop/images/11072025/08/34/image_11072025_08_34_01_5753.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/08/41/image_11072025_08_41_01_8049.jpg
/home/pi/Desktop/images/11072025/08/40/image_11072025_08_40_01_8101.jpg
/home/pi/Desktop/images/11072025/08/38/image_11072025_08_38_01_7893.jpg
/home/pi/Desktop/images/11072025/08/37/image_11072025_08_37_02_1987.jpg
/home/pi/Desktop/images/11072025/08/35/image_11072025_08_35_01_4134.jpg
/home/pi/Desktop/images/11072025/08/34/image_11072025_08_34_01_5753.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.18590712547302 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 08:53:05.907114
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/08/41/image_11072025_08_41_01_8049.jpg', 2), ('/home/pi/Desktop/images/11072025/08/40/image_11072025_08_40_01_8101.jpg', 2), ('/home/pi/Desktop/images/11072025/08/38/image_11072025_08_38_01_7893.jpg', 2), ('/home/pi/Desktop/images/11072025/08/37/image_11072025_08_37_02_1987.jpg', 2), ('/home/pi/Desktop/images/11072025/08/35/image_11072025_08_35_01_4134.jpg', 2), ('/home/pi/Desktop/images/11072025/08/34/image_11072025_08_34_01_5753.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/08/41/image_11072025_08_41_01_8049.jpg', '/home/pi/Desktop/images/11072025/08/40/image_11072025_08_40_01_8101.jpg', '/home/pi/Desktop/images/11072025/08/38/image_11072025_08_38_01_7893.jpg', '/home/pi/Desktop/images/11072025/08/37/image_11072025_08_37_02_1987.jpg', '/home/pi/Desktop/images/11072025/08/35/image_11072025_08_35_01_4134.jpg', '/home/pi/Desktop/images/11072025/08/34/image_11072025_08_34_01_5753.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/08/41/image_11072025_08_41_01_8049.jpg
/home/pi/Desktop/images/11072025/08/40/image_11072025_08_40_01_8101.jpg
/home/pi/Desktop/images/11072025/08/38/image_11072025_08_38_01_7893.jpg
/home/pi/Desktop/images/11072025/08/37/image_11072025_08_37_02_1987.jpg
/home/pi/Desktop/images/11072025/08/35/image_11072025_08_35_01_4134.jpg
/home/pi/Desktop/images/11072025/08/34/image_11072025_08_34_01_5753.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.566490173339844 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 08:54:05.452531
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/08/41/image_11072025_08_41_01_8049.jpg', 2), ('/home/pi/Desktop/images/11072025/08/40/image_11072025_08_40_01_8101.jpg', 2), ('/home/pi/Desktop/images/11072025/08/38/image_11072025_08_38_01_7893.jpg', 2), ('/home/pi/Desktop/images/11072025/08/37/image_11072025_08_37_02_1987.jpg', 2), ('/home/pi/Desktop/images/11072025/08/35/image_11072025_08_35_01_4134.jpg', 2), ('/home/pi/Desktop/images/11072025/08/34/image_11072025_08_34_01_5753.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/08/41/image_11072025_08_41_01_8049.jpg', '/home/pi/Desktop/images/11072025/08/40/image_11072025_08_40_01_8101.jpg', '/home/pi/Desktop/images/11072025/08/38/image_11072025_08_38_01_7893.jpg', '/home/pi/Desktop/images/11072025/08/37/image_11072025_08_37_02_1987.jpg', '/home/pi/Desktop/images/11072025/08/35/image_11072025_08_35_01_4134.jpg', '/home/pi/Desktop/images/11072025/08/34/image_11072025_08_34_01_5753.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/08/41/image_11072025_08_41_01_8049.jpg
/home/pi/Desktop/images/11072025/08/40/image_11072025_08_40_01_8101.jpg
/home/pi/Desktop/images/11072025/08/38/image_11072025_08_38_01_7893.jpg
/home/pi/Desktop/images/11072025/08/37/image_11072025_08_37_02_1987.jpg
/home/pi/Desktop/images/11072025/08/35/image_11072025_08_35_01_4134.jpg
/home/pi/Desktop/images/11072025/08/34/image_11072025_08_34_01_5753.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 34.160240173339844 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 08:55:05.904133
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/08/41/image_11072025_08_41_01_8049.jpg', 2), ('/home/pi/Desktop/images/11072025/08/40/image_11072025_08_40_01_8101.jpg', 2), ('/home/pi/Desktop/images/11072025/08/38/image_11072025_08_38_01_7893.jpg', 2), ('/home/pi/Desktop/images/11072025/08/37/image_11072025_08_37_02_1987.jpg', 2), ('/home/pi/Desktop/images/11072025/08/35/image_11072025_08_35_01_4134.jpg', 2), ('/home/pi/Desktop/images/11072025/08/34/image_11072025_08_34_01_5753.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/08/41/image_11072025_08_41_01_8049.jpg', '/home/pi/Desktop/images/11072025/08/40/image_11072025_08_40_01_8101.jpg', '/home/pi/Desktop/images/11072025/08/38/image_11072025_08_38_01_7893.jpg', '/home/pi/Desktop/images/11072025/08/37/image_11072025_08_37_02_1987.jpg', '/home/pi/Desktop/images/11072025/08/35/image_11072025_08_35_01_4134.jpg', '/home/pi/Desktop/images/11072025/08/34/image_11072025_08_34_01_5753.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/08/41/image_11072025_08_41_01_8049.jpg
/home/pi/Desktop/images/11072025/08/40/image_11072025_08_40_01_8101.jpg
/home/pi/Desktop/images/11072025/08/38/image_11072025_08_38_01_7893.jpg
/home/pi/Desktop/images/11072025/08/37/image_11072025_08_37_02_1987.jpg
/home/pi/Desktop/images/11072025/08/35/image_11072025_08_35_01_4134.jpg
/home/pi/Desktop/images/11072025/08/34/image_11072025_08_34_01_5753.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 34.946929693222046 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 08:56:04.742745
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/08/41/image_11072025_08_41_01_8049.jpg', 2), ('/home/pi/Desktop/images/11072025/08/40/image_11072025_08_40_01_8101.jpg', 2), ('/home/pi/Desktop/images/11072025/08/38/image_11072025_08_38_01_7893.jpg', 2), ('/home/pi/Desktop/images/11072025/08/37/image_11072025_08_37_02_1987.jpg', 2), ('/home/pi/Desktop/images/11072025/08/35/image_11072025_08_35_01_4134.jpg', 2), ('/home/pi/Desktop/images/11072025/08/34/image_11072025_08_34_01_5753.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/08/41/image_11072025_08_41_01_8049.jpg', '/home/pi/Desktop/images/11072025/08/40/image_11072025_08_40_01_8101.jpg', '/home/pi/Desktop/images/11072025/08/38/image_11072025_08_38_01_7893.jpg', '/home/pi/Desktop/images/11072025/08/37/image_11072025_08_37_02_1987.jpg', '/home/pi/Desktop/images/11072025/08/35/image_11072025_08_35_01_4134.jpg', '/home/pi/Desktop/images/11072025/08/34/image_11072025_08_34_01_5753.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/08/41/image_11072025_08_41_01_8049.jpg
/home/pi/Desktop/images/11072025/08/40/image_11072025_08_40_01_8101.jpg
/home/pi/Desktop/images/11072025/08/38/image_11072025_08_38_01_7893.jpg
/home/pi/Desktop/images/11072025/08/37/image_11072025_08_37_02_1987.jpg
/home/pi/Desktop/images/11072025/08/35/image_11072025_08_35_01_4134.jpg
/home/pi/Desktop/images/11072025/08/34/image_11072025_08_34_01_5753.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 34.138919830322266 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 08:57:05.567331
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/08/46/image_11072025_08_46_01_6800.jpg', 2), ('/home/pi/Desktop/images/11072025/08/41/image_11072025_08_41_01_8049.jpg', 2), ('/home/pi/Desktop/images/11072025/08/40/image_11072025_08_40_01_8101.jpg', 2), ('/home/pi/Desktop/images/11072025/08/38/image_11072025_08_38_01_7893.jpg', 2), ('/home/pi/Desktop/images/11072025/08/37/image_11072025_08_37_02_1987.jpg', 2), ('/home/pi/Desktop/images/11072025/08/35/image_11072025_08_35_01_4134.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/08/46/image_11072025_08_46_01_6800.jpg', '/home/pi/Desktop/images/11072025/08/41/image_11072025_08_41_01_8049.jpg', '/home/pi/Desktop/images/11072025/08/40/image_11072025_08_40_01_8101.jpg', '/home/pi/Desktop/images/11072025/08/38/image_11072025_08_38_01_7893.jpg', '/home/pi/Desktop/images/11072025/08/37/image_11072025_08_37_02_1987.jpg', '/home/pi/Desktop/images/11072025/08/35/image_11072025_08_35_01_4134.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/08/46/image_11072025_08_46_01_6800.jpg
/home/pi/Desktop/images/11072025/08/41/image_11072025_08_41_01_8049.jpg
/home/pi/Desktop/images/11072025/08/40/image_11072025_08_40_01_8101.jpg
/home/pi/Desktop/images/11072025/08/38/image_11072025_08_38_01_7893.jpg
/home/pi/Desktop/images/11072025/08/37/image_11072025_08_37_02_1987.jpg
/home/pi/Desktop/images/11072025/08/35/image_11072025_08_35_01_4134.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.49378442764282 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 08:59:04.305472
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/08/46/image_11072025_08_46_01_6800.jpg', 2), ('/home/pi/Desktop/images/11072025/08/41/image_11072025_08_41_01_8049.jpg', 2), ('/home/pi/Desktop/images/11072025/08/40/image_11072025_08_40_01_8101.jpg', 2), ('/home/pi/Desktop/images/11072025/08/38/image_11072025_08_38_01_7893.jpg', 2), ('/home/pi/Desktop/images/11072025/08/37/image_11072025_08_37_02_1987.jpg', 2), ('/home/pi/Desktop/images/11072025/08/35/image_11072025_08_35_01_4134.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/08/46/image_11072025_08_46_01_6800.jpg', '/home/pi/Desktop/images/11072025/08/41/image_11072025_08_41_01_8049.jpg', '/home/pi/Desktop/images/11072025/08/40/image_11072025_08_40_01_8101.jpg', '/home/pi/Desktop/images/11072025/08/38/image_11072025_08_38_01_7893.jpg', '/home/pi/Desktop/images/11072025/08/37/image_11072025_08_37_02_1987.jpg', '/home/pi/Desktop/images/11072025/08/35/image_11072025_08_35_01_4134.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/08/46/image_11072025_08_46_01_6800.jpg
/home/pi/Desktop/images/11072025/08/41/image_11072025_08_41_01_8049.jpg
/home/pi/Desktop/images/11072025/08/40/image_11072025_08_40_01_8101.jpg
/home/pi/Desktop/images/11072025/08/38/image_11072025_08_38_01_7893.jpg
/home/pi/Desktop/images/11072025/08/37/image_11072025_08_37_02_1987.jpg
/home/pi/Desktop/images/11072025/08/35/image_11072025_08_35_01_4134.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 32.90587544441223 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 09:00:05.323512
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/08/46/image_11072025_08_46_01_6800.jpg', 2), ('/home/pi/Desktop/images/11072025/08/41/image_11072025_08_41_01_8049.jpg', 2), ('/home/pi/Desktop/images/11072025/08/40/image_11072025_08_40_01_8101.jpg', 2), ('/home/pi/Desktop/images/11072025/08/38/image_11072025_08_38_01_7893.jpg', 2), ('/home/pi/Desktop/images/11072025/08/37/image_11072025_08_37_02_1987.jpg', 2), ('/home/pi/Desktop/images/11072025/08/35/image_11072025_08_35_01_4134.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/08/46/image_11072025_08_46_01_6800.jpg', '/home/pi/Desktop/images/11072025/08/41/image_11072025_08_41_01_8049.jpg', '/home/pi/Desktop/images/11072025/08/40/image_11072025_08_40_01_8101.jpg', '/home/pi/Desktop/images/11072025/08/38/image_11072025_08_38_01_7893.jpg', '/home/pi/Desktop/images/11072025/08/37/image_11072025_08_37_02_1987.jpg', '/home/pi/Desktop/images/11072025/08/35/image_11072025_08_35_01_4134.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/08/46/image_11072025_08_46_01_6800.jpg
/home/pi/Desktop/images/11072025/08/41/image_11072025_08_41_01_8049.jpg
/home/pi/Desktop/images/11072025/08/40/image_11072025_08_40_01_8101.jpg
/home/pi/Desktop/images/11072025/08/38/image_11072025_08_38_01_7893.jpg
/home/pi/Desktop/images/11072025/08/37/image_11072025_08_37_02_1987.jpg
/home/pi/Desktop/images/11072025/08/35/image_11072025_08_35_01_4134.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 32.99747037887573 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 09:01:05.884698
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/08/57/image_11072025_08_57_01_3617.jpg', 2), ('/home/pi/Desktop/images/11072025/08/46/image_11072025_08_46_01_6800.jpg', 2), ('/home/pi/Desktop/images/11072025/08/41/image_11072025_08_41_01_8049.jpg', 2), ('/home/pi/Desktop/images/11072025/08/40/image_11072025_08_40_01_8101.jpg', 2), ('/home/pi/Desktop/images/11072025/08/38/image_11072025_08_38_01_7893.jpg', 2), ('/home/pi/Desktop/images/11072025/08/37/image_11072025_08_37_02_1987.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/08/57/image_11072025_08_57_01_3617.jpg', '/home/pi/Desktop/images/11072025/08/46/image_11072025_08_46_01_6800.jpg', '/home/pi/Desktop/images/11072025/08/41/image_11072025_08_41_01_8049.jpg', '/home/pi/Desktop/images/11072025/08/40/image_11072025_08_40_01_8101.jpg', '/home/pi/Desktop/images/11072025/08/38/image_11072025_08_38_01_7893.jpg', '/home/pi/Desktop/images/11072025/08/37/image_11072025_08_37_02_1987.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/08/57/image_11072025_08_57_01_3617.jpg
/home/pi/Desktop/images/11072025/08/46/image_11072025_08_46_01_6800.jpg
/home/pi/Desktop/images/11072025/08/41/image_11072025_08_41_01_8049.jpg
/home/pi/Desktop/images/11072025/08/40/image_11072025_08_40_01_8101.jpg
/home/pi/Desktop/images/11072025/08/38/image_11072025_08_38_01_7893.jpg
/home/pi/Desktop/images/11072025/08/37/image_11072025_08_37_02_1987.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.533541202545166 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 09:02:05.342152
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/09/01/image_11072025_09_01_01_8133.jpg', 2), ('/home/pi/Desktop/images/11072025/08/57/image_11072025_08_57_01_3617.jpg', 2), ('/home/pi/Desktop/images/11072025/08/46/image_11072025_08_46_01_6800.jpg', 2), ('/home/pi/Desktop/images/11072025/08/41/image_11072025_08_41_01_8049.jpg', 2), ('/home/pi/Desktop/images/11072025/08/40/image_11072025_08_40_01_8101.jpg', 2), ('/home/pi/Desktop/images/11072025/08/38/image_11072025_08_38_01_7893.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/09/01/image_11072025_09_01_01_8133.jpg', '/home/pi/Desktop/images/11072025/08/57/image_11072025_08_57_01_3617.jpg', '/home/pi/Desktop/images/11072025/08/46/image_11072025_08_46_01_6800.jpg', '/home/pi/Desktop/images/11072025/08/41/image_11072025_08_41_01_8049.jpg', '/home/pi/Desktop/images/11072025/08/40/image_11072025_08_40_01_8101.jpg', '/home/pi/Desktop/images/11072025/08/38/image_11072025_08_38_01_7893.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/09/01/image_11072025_09_01_01_8133.jpg
/home/pi/Desktop/images/11072025/08/57/image_11072025_08_57_01_3617.jpg
/home/pi/Desktop/images/11072025/08/46/image_11072025_08_46_01_6800.jpg
/home/pi/Desktop/images/11072025/08/41/image_11072025_08_41_01_8049.jpg
/home/pi/Desktop/images/11072025/08/40/image_11072025_08_40_01_8101.jpg
/home/pi/Desktop/images/11072025/08/38/image_11072025_08_38_01_7893.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.18659281730652 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 09:03:06.169294
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/09/01/image_11072025_09_01_01_8133.jpg', 2), ('/home/pi/Desktop/images/11072025/08/57/image_11072025_08_57_01_3617.jpg', 2), ('/home/pi/Desktop/images/11072025/08/46/image_11072025_08_46_01_6800.jpg', 2), ('/home/pi/Desktop/images/11072025/08/41/image_11072025_08_41_01_8049.jpg', 2), ('/home/pi/Desktop/images/11072025/08/40/image_11072025_08_40_01_8101.jpg', 2), ('/home/pi/Desktop/images/11072025/08/38/image_11072025_08_38_01_7893.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/09/01/image_11072025_09_01_01_8133.jpg', '/home/pi/Desktop/images/11072025/08/57/image_11072025_08_57_01_3617.jpg', '/home/pi/Desktop/images/11072025/08/46/image_11072025_08_46_01_6800.jpg', '/home/pi/Desktop/images/11072025/08/41/image_11072025_08_41_01_8049.jpg', '/home/pi/Desktop/images/11072025/08/40/image_11072025_08_40_01_8101.jpg', '/home/pi/Desktop/images/11072025/08/38/image_11072025_08_38_01_7893.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/09/01/image_11072025_09_01_01_8133.jpg
/home/pi/Desktop/images/11072025/08/57/image_11072025_08_57_01_3617.jpg
/home/pi/Desktop/images/11072025/08/46/image_11072025_08_46_01_6800.jpg
/home/pi/Desktop/images/11072025/08/41/image_11072025_08_41_01_8049.jpg
/home/pi/Desktop/images/11072025/08/40/image_11072025_08_40_01_8101.jpg
/home/pi/Desktop/images/11072025/08/38/image_11072025_08_38_01_7893.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.45709180831909 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 09:04:05.196843
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/09/02/image_11072025_09_02_01_9436.jpg', 2), ('/home/pi/Desktop/images/11072025/09/01/image_11072025_09_01_01_8133.jpg', 2), ('/home/pi/Desktop/images/11072025/08/57/image_11072025_08_57_01_3617.jpg', 2), ('/home/pi/Desktop/images/11072025/08/46/image_11072025_08_46_01_6800.jpg', 2), ('/home/pi/Desktop/images/11072025/08/41/image_11072025_08_41_01_8049.jpg', 2), ('/home/pi/Desktop/images/11072025/08/40/image_11072025_08_40_01_8101.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/09/02/image_11072025_09_02_01_9436.jpg', '/home/pi/Desktop/images/11072025/09/01/image_11072025_09_01_01_8133.jpg', '/home/pi/Desktop/images/11072025/08/57/image_11072025_08_57_01_3617.jpg', '/home/pi/Desktop/images/11072025/08/46/image_11072025_08_46_01_6800.jpg', '/home/pi/Desktop/images/11072025/08/41/image_11072025_08_41_01_8049.jpg', '/home/pi/Desktop/images/11072025/08/40/image_11072025_08_40_01_8101.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/09/02/image_11072025_09_02_01_9436.jpg
/home/pi/Desktop/images/11072025/09/01/image_11072025_09_01_01_8133.jpg
/home/pi/Desktop/images/11072025/08/57/image_11072025_08_57_01_3617.jpg
/home/pi/Desktop/images/11072025/08/46/image_11072025_08_46_01_6800.jpg
/home/pi/Desktop/images/11072025/08/41/image_11072025_08_41_01_8049.jpg
/home/pi/Desktop/images/11072025/08/40/image_11072025_08_40_01_8101.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.54256319999695 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 09:05:05.396135
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/09/02/image_11072025_09_02_01_9436.jpg', 2), ('/home/pi/Desktop/images/11072025/09/01/image_11072025_09_01_01_8133.jpg', 2), ('/home/pi/Desktop/images/11072025/08/57/image_11072025_08_57_01_3617.jpg', 2), ('/home/pi/Desktop/images/11072025/08/46/image_11072025_08_46_01_6800.jpg', 2), ('/home/pi/Desktop/images/11072025/08/41/image_11072025_08_41_01_8049.jpg', 2), ('/home/pi/Desktop/images/11072025/08/40/image_11072025_08_40_01_8101.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/09/02/image_11072025_09_02_01_9436.jpg', '/home/pi/Desktop/images/11072025/09/01/image_11072025_09_01_01_8133.jpg', '/home/pi/Desktop/images/11072025/08/57/image_11072025_08_57_01_3617.jpg', '/home/pi/Desktop/images/11072025/08/46/image_11072025_08_46_01_6800.jpg', '/home/pi/Desktop/images/11072025/08/41/image_11072025_08_41_01_8049.jpg', '/home/pi/Desktop/images/11072025/08/40/image_11072025_08_40_01_8101.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/09/02/image_11072025_09_02_01_9436.jpg
/home/pi/Desktop/images/11072025/09/01/image_11072025_09_01_01_8133.jpg
/home/pi/Desktop/images/11072025/08/57/image_11072025_08_57_01_3617.jpg
/home/pi/Desktop/images/11072025/08/46/image_11072025_08_46_01_6800.jpg
/home/pi/Desktop/images/11072025/08/41/image_11072025_08_41_01_8049.jpg
/home/pi/Desktop/images/11072025/08/40/image_11072025_08_40_01_8101.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.460530042648315 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 09:06:05.577084
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/09/02/image_11072025_09_02_01_9436.jpg', 2), ('/home/pi/Desktop/images/11072025/09/01/image_11072025_09_01_01_8133.jpg', 2), ('/home/pi/Desktop/images/11072025/08/57/image_11072025_08_57_01_3617.jpg', 2), ('/home/pi/Desktop/images/11072025/08/46/image_11072025_08_46_01_6800.jpg', 2), ('/home/pi/Desktop/images/11072025/08/41/image_11072025_08_41_01_8049.jpg', 2), ('/home/pi/Desktop/images/11072025/08/40/image_11072025_08_40_01_8101.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/09/02/image_11072025_09_02_01_9436.jpg', '/home/pi/Desktop/images/11072025/09/01/image_11072025_09_01_01_8133.jpg', '/home/pi/Desktop/images/11072025/08/57/image_11072025_08_57_01_3617.jpg', '/home/pi/Desktop/images/11072025/08/46/image_11072025_08_46_01_6800.jpg', '/home/pi/Desktop/images/11072025/08/41/image_11072025_08_41_01_8049.jpg', '/home/pi/Desktop/images/11072025/08/40/image_11072025_08_40_01_8101.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/09/02/image_11072025_09_02_01_9436.jpg
/home/pi/Desktop/images/11072025/09/01/image_11072025_09_01_01_8133.jpg
/home/pi/Desktop/images/11072025/08/57/image_11072025_08_57_01_3617.jpg
/home/pi/Desktop/images/11072025/08/46/image_11072025_08_46_01_6800.jpg
/home/pi/Desktop/images/11072025/08/41/image_11072025_08_41_01_8049.jpg
/home/pi/Desktop/images/11072025/08/40/image_11072025_08_40_01_8101.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.38399887084961 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 09:07:06.112982
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/09/04/image_11072025_09_04_02_0548.jpg', 2), ('/home/pi/Desktop/images/11072025/09/02/image_11072025_09_02_01_9436.jpg', 2), ('/home/pi/Desktop/images/11072025/09/01/image_11072025_09_01_01_8133.jpg', 2), ('/home/pi/Desktop/images/11072025/08/57/image_11072025_08_57_01_3617.jpg', 2), ('/home/pi/Desktop/images/11072025/08/46/image_11072025_08_46_01_6800.jpg', 2), ('/home/pi/Desktop/images/11072025/08/41/image_11072025_08_41_01_8049.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/09/04/image_11072025_09_04_02_0548.jpg', '/home/pi/Desktop/images/11072025/09/02/image_11072025_09_02_01_9436.jpg', '/home/pi/Desktop/images/11072025/09/01/image_11072025_09_01_01_8133.jpg', '/home/pi/Desktop/images/11072025/08/57/image_11072025_08_57_01_3617.jpg', '/home/pi/Desktop/images/11072025/08/46/image_11072025_08_46_01_6800.jpg', '/home/pi/Desktop/images/11072025/08/41/image_11072025_08_41_01_8049.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/09/04/image_11072025_09_04_02_0548.jpg
/home/pi/Desktop/images/11072025/09/02/image_11072025_09_02_01_9436.jpg
/home/pi/Desktop/images/11072025/09/01/image_11072025_09_01_01_8133.jpg
/home/pi/Desktop/images/11072025/08/57/image_11072025_08_57_01_3617.jpg
/home/pi/Desktop/images/11072025/08/46/image_11072025_08_46_01_6800.jpg
/home/pi/Desktop/images/11072025/08/41/image_11072025_08_41_01_8049.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.01595139503479 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 09:08:05.606328
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/09/07/image_11072025_09_07_02_1980.jpg', 2), ('/home/pi/Desktop/images/11072025/09/04/image_11072025_09_04_02_0548.jpg', 2), ('/home/pi/Desktop/images/11072025/09/02/image_11072025_09_02_01_9436.jpg', 2), ('/home/pi/Desktop/images/11072025/09/01/image_11072025_09_01_01_8133.jpg', 2), ('/home/pi/Desktop/images/11072025/08/57/image_11072025_08_57_01_3617.jpg', 2), ('/home/pi/Desktop/images/11072025/08/46/image_11072025_08_46_01_6800.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/09/07/image_11072025_09_07_02_1980.jpg', '/home/pi/Desktop/images/11072025/09/04/image_11072025_09_04_02_0548.jpg', '/home/pi/Desktop/images/11072025/09/02/image_11072025_09_02_01_9436.jpg', '/home/pi/Desktop/images/11072025/09/01/image_11072025_09_01_01_8133.jpg', '/home/pi/Desktop/images/11072025/08/57/image_11072025_08_57_01_3617.jpg', '/home/pi/Desktop/images/11072025/08/46/image_11072025_08_46_01_6800.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/09/07/image_11072025_09_07_02_1980.jpg
/home/pi/Desktop/images/11072025/09/04/image_11072025_09_04_02_0548.jpg
/home/pi/Desktop/images/11072025/09/02/image_11072025_09_02_01_9436.jpg
/home/pi/Desktop/images/11072025/09/01/image_11072025_09_01_01_8133.jpg
/home/pi/Desktop/images/11072025/08/57/image_11072025_08_57_01_3617.jpg
/home/pi/Desktop/images/11072025/08/46/image_11072025_08_46_01_6800.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 32.60583972930908 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 09:09:05.228316
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/09/08/image_11072025_09_08_02_0545.jpg', 2), ('/home/pi/Desktop/images/11072025/09/07/image_11072025_09_07_02_1980.jpg', 2), ('/home/pi/Desktop/images/11072025/09/04/image_11072025_09_04_02_0548.jpg', 2), ('/home/pi/Desktop/images/11072025/09/02/image_11072025_09_02_01_9436.jpg', 2), ('/home/pi/Desktop/images/11072025/09/01/image_11072025_09_01_01_8133.jpg', 2), ('/home/pi/Desktop/images/11072025/08/57/image_11072025_08_57_01_3617.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/09/08/image_11072025_09_08_02_0545.jpg', '/home/pi/Desktop/images/11072025/09/07/image_11072025_09_07_02_1980.jpg', '/home/pi/Desktop/images/11072025/09/04/image_11072025_09_04_02_0548.jpg', '/home/pi/Desktop/images/11072025/09/02/image_11072025_09_02_01_9436.jpg', '/home/pi/Desktop/images/11072025/09/01/image_11072025_09_01_01_8133.jpg', '/home/pi/Desktop/images/11072025/08/57/image_11072025_08_57_01_3617.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/09/08/image_11072025_09_08_02_0545.jpg
/home/pi/Desktop/images/11072025/09/07/image_11072025_09_07_02_1980.jpg
/home/pi/Desktop/images/11072025/09/04/image_11072025_09_04_02_0548.jpg
/home/pi/Desktop/images/11072025/09/02/image_11072025_09_02_01_9436.jpg
/home/pi/Desktop/images/11072025/09/01/image_11072025_09_01_01_8133.jpg
/home/pi/Desktop/images/11072025/08/57/image_11072025_08_57_01_3617.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 34.14261245727539 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 09:10:05.488712
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/09/09/image_11072025_09_09_02_2383.jpg', 2), ('/home/pi/Desktop/images/11072025/09/08/image_11072025_09_08_02_0545.jpg', 2), ('/home/pi/Desktop/images/11072025/09/07/image_11072025_09_07_02_1980.jpg', 2), ('/home/pi/Desktop/images/11072025/09/04/image_11072025_09_04_02_0548.jpg', 2), ('/home/pi/Desktop/images/11072025/09/02/image_11072025_09_02_01_9436.jpg', 2), ('/home/pi/Desktop/images/11072025/09/01/image_11072025_09_01_01_8133.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/09/09/image_11072025_09_09_02_2383.jpg', '/home/pi/Desktop/images/11072025/09/08/image_11072025_09_08_02_0545.jpg', '/home/pi/Desktop/images/11072025/09/07/image_11072025_09_07_02_1980.jpg', '/home/pi/Desktop/images/11072025/09/04/image_11072025_09_04_02_0548.jpg', '/home/pi/Desktop/images/11072025/09/02/image_11072025_09_02_01_9436.jpg', '/home/pi/Desktop/images/11072025/09/01/image_11072025_09_01_01_8133.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/09/09/image_11072025_09_09_02_2383.jpg
/home/pi/Desktop/images/11072025/09/08/image_11072025_09_08_02_0545.jpg
/home/pi/Desktop/images/11072025/09/07/image_11072025_09_07_02_1980.jpg
/home/pi/Desktop/images/11072025/09/04/image_11072025_09_04_02_0548.jpg
/home/pi/Desktop/images/11072025/09/02/image_11072025_09_02_01_9436.jpg
/home/pi/Desktop/images/11072025/09/01/image_11072025_09_01_01_8133.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 32.95994234085083 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 09:11:05.884555
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/09/09/image_11072025_09_09_02_2383.jpg', 2), ('/home/pi/Desktop/images/11072025/09/08/image_11072025_09_08_02_0545.jpg', 2), ('/home/pi/Desktop/images/11072025/09/07/image_11072025_09_07_02_1980.jpg', 2), ('/home/pi/Desktop/images/11072025/09/04/image_11072025_09_04_02_0548.jpg', 2), ('/home/pi/Desktop/images/11072025/09/02/image_11072025_09_02_01_9436.jpg', 2), ('/home/pi/Desktop/images/11072025/09/01/image_11072025_09_01_01_8133.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/09/09/image_11072025_09_09_02_2383.jpg', '/home/pi/Desktop/images/11072025/09/08/image_11072025_09_08_02_0545.jpg', '/home/pi/Desktop/images/11072025/09/07/image_11072025_09_07_02_1980.jpg', '/home/pi/Desktop/images/11072025/09/04/image_11072025_09_04_02_0548.jpg', '/home/pi/Desktop/images/11072025/09/02/image_11072025_09_02_01_9436.jpg', '/home/pi/Desktop/images/11072025/09/01/image_11072025_09_01_01_8133.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/09/09/image_11072025_09_09_02_2383.jpg
/home/pi/Desktop/images/11072025/09/08/image_11072025_09_08_02_0545.jpg
/home/pi/Desktop/images/11072025/09/07/image_11072025_09_07_02_1980.jpg
/home/pi/Desktop/images/11072025/09/04/image_11072025_09_04_02_0548.jpg
/home/pi/Desktop/images/11072025/09/02/image_11072025_09_02_01_9436.jpg
/home/pi/Desktop/images/11072025/09/01/image_11072025_09_01_01_8133.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.66892671585083 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 09:12:05.334718
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/09/10/image_11072025_09_10_01_5896.jpg', 2), ('/home/pi/Desktop/images/11072025/09/09/image_11072025_09_09_02_2383.jpg', 2), ('/home/pi/Desktop/images/11072025/09/08/image_11072025_09_08_02_0545.jpg', 2), ('/home/pi/Desktop/images/11072025/09/07/image_11072025_09_07_02_1980.jpg', 2), ('/home/pi/Desktop/images/11072025/09/04/image_11072025_09_04_02_0548.jpg', 2), ('/home/pi/Desktop/images/11072025/09/02/image_11072025_09_02_01_9436.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/09/10/image_11072025_09_10_01_5896.jpg', '/home/pi/Desktop/images/11072025/09/09/image_11072025_09_09_02_2383.jpg', '/home/pi/Desktop/images/11072025/09/08/image_11072025_09_08_02_0545.jpg', '/home/pi/Desktop/images/11072025/09/07/image_11072025_09_07_02_1980.jpg', '/home/pi/Desktop/images/11072025/09/04/image_11072025_09_04_02_0548.jpg', '/home/pi/Desktop/images/11072025/09/02/image_11072025_09_02_01_9436.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/09/10/image_11072025_09_10_01_5896.jpg
/home/pi/Desktop/images/11072025/09/09/image_11072025_09_09_02_2383.jpg
/home/pi/Desktop/images/11072025/09/08/image_11072025_09_08_02_0545.jpg
/home/pi/Desktop/images/11072025/09/07/image_11072025_09_07_02_1980.jpg
/home/pi/Desktop/images/11072025/09/04/image_11072025_09_04_02_0548.jpg
/home/pi/Desktop/images/11072025/09/02/image_11072025_09_02_01_9436.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.37388229370117 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 09:13:05.359836
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/09/10/image_11072025_09_10_01_5896.jpg', 2), ('/home/pi/Desktop/images/11072025/09/09/image_11072025_09_09_02_2383.jpg', 2), ('/home/pi/Desktop/images/11072025/09/08/image_11072025_09_08_02_0545.jpg', 2), ('/home/pi/Desktop/images/11072025/09/07/image_11072025_09_07_02_1980.jpg', 2), ('/home/pi/Desktop/images/11072025/09/04/image_11072025_09_04_02_0548.jpg', 2), ('/home/pi/Desktop/images/11072025/09/02/image_11072025_09_02_01_9436.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/09/10/image_11072025_09_10_01_5896.jpg', '/home/pi/Desktop/images/11072025/09/09/image_11072025_09_09_02_2383.jpg', '/home/pi/Desktop/images/11072025/09/08/image_11072025_09_08_02_0545.jpg', '/home/pi/Desktop/images/11072025/09/07/image_11072025_09_07_02_1980.jpg', '/home/pi/Desktop/images/11072025/09/04/image_11072025_09_04_02_0548.jpg', '/home/pi/Desktop/images/11072025/09/02/image_11072025_09_02_01_9436.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/09/10/image_11072025_09_10_01_5896.jpg
/home/pi/Desktop/images/11072025/09/09/image_11072025_09_09_02_2383.jpg
/home/pi/Desktop/images/11072025/09/08/image_11072025_09_08_02_0545.jpg
/home/pi/Desktop/images/11072025/09/07/image_11072025_09_07_02_1980.jpg
/home/pi/Desktop/images/11072025/09/04/image_11072025_09_04_02_0548.jpg
/home/pi/Desktop/images/11072025/09/02/image_11072025_09_02_01_9436.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.45450568199158 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 09:14:05.715647
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/09/10/image_11072025_09_10_01_5896.jpg', 2), ('/home/pi/Desktop/images/11072025/09/09/image_11072025_09_09_02_2383.jpg', 2), ('/home/pi/Desktop/images/11072025/09/08/image_11072025_09_08_02_0545.jpg', 2), ('/home/pi/Desktop/images/11072025/09/07/image_11072025_09_07_02_1980.jpg', 2), ('/home/pi/Desktop/images/11072025/09/04/image_11072025_09_04_02_0548.jpg', 2), ('/home/pi/Desktop/images/11072025/09/02/image_11072025_09_02_01_9436.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/09/10/image_11072025_09_10_01_5896.jpg', '/home/pi/Desktop/images/11072025/09/09/image_11072025_09_09_02_2383.jpg', '/home/pi/Desktop/images/11072025/09/08/image_11072025_09_08_02_0545.jpg', '/home/pi/Desktop/images/11072025/09/07/image_11072025_09_07_02_1980.jpg', '/home/pi/Desktop/images/11072025/09/04/image_11072025_09_04_02_0548.jpg', '/home/pi/Desktop/images/11072025/09/02/image_11072025_09_02_01_9436.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/09/10/image_11072025_09_10_01_5896.jpg
/home/pi/Desktop/images/11072025/09/09/image_11072025_09_09_02_2383.jpg
/home/pi/Desktop/images/11072025/09/08/image_11072025_09_08_02_0545.jpg
/home/pi/Desktop/images/11072025/09/07/image_11072025_09_07_02_1980.jpg
/home/pi/Desktop/images/11072025/09/04/image_11072025_09_04_02_0548.jpg
/home/pi/Desktop/images/11072025/09/02/image_11072025_09_02_01_9436.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.26601529121399 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 09:15:05.870961
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/09/10/image_11072025_09_10_01_5896.jpg', 2), ('/home/pi/Desktop/images/11072025/09/09/image_11072025_09_09_02_2383.jpg', 2), ('/home/pi/Desktop/images/11072025/09/08/image_11072025_09_08_02_0545.jpg', 2), ('/home/pi/Desktop/images/11072025/09/07/image_11072025_09_07_02_1980.jpg', 2), ('/home/pi/Desktop/images/11072025/09/04/image_11072025_09_04_02_0548.jpg', 2), ('/home/pi/Desktop/images/11072025/09/02/image_11072025_09_02_01_9436.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/09/10/image_11072025_09_10_01_5896.jpg', '/home/pi/Desktop/images/11072025/09/09/image_11072025_09_09_02_2383.jpg', '/home/pi/Desktop/images/11072025/09/08/image_11072025_09_08_02_0545.jpg', '/home/pi/Desktop/images/11072025/09/07/image_11072025_09_07_02_1980.jpg', '/home/pi/Desktop/images/11072025/09/04/image_11072025_09_04_02_0548.jpg', '/home/pi/Desktop/images/11072025/09/02/image_11072025_09_02_01_9436.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/09/10/image_11072025_09_10_01_5896.jpg
/home/pi/Desktop/images/11072025/09/09/image_11072025_09_09_02_2383.jpg
/home/pi/Desktop/images/11072025/09/08/image_11072025_09_08_02_0545.jpg
/home/pi/Desktop/images/11072025/09/07/image_11072025_09_07_02_1980.jpg
/home/pi/Desktop/images/11072025/09/04/image_11072025_09_04_02_0548.jpg
/home/pi/Desktop/images/11072025/09/02/image_11072025_09_02_01_9436.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.21461606025696 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 09:16:05.888249
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/09/12/image_11072025_09_12_01_9539.jpg', 2), ('/home/pi/Desktop/images/11072025/09/10/image_11072025_09_10_01_5896.jpg', 2), ('/home/pi/Desktop/images/11072025/09/09/image_11072025_09_09_02_2383.jpg', 2), ('/home/pi/Desktop/images/11072025/09/08/image_11072025_09_08_02_0545.jpg', 2), ('/home/pi/Desktop/images/11072025/09/07/image_11072025_09_07_02_1980.jpg', 2), ('/home/pi/Desktop/images/11072025/09/04/image_11072025_09_04_02_0548.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/09/12/image_11072025_09_12_01_9539.jpg', '/home/pi/Desktop/images/11072025/09/10/image_11072025_09_10_01_5896.jpg', '/home/pi/Desktop/images/11072025/09/09/image_11072025_09_09_02_2383.jpg', '/home/pi/Desktop/images/11072025/09/08/image_11072025_09_08_02_0545.jpg', '/home/pi/Desktop/images/11072025/09/07/image_11072025_09_07_02_1980.jpg', '/home/pi/Desktop/images/11072025/09/04/image_11072025_09_04_02_0548.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/09/12/image_11072025_09_12_01_9539.jpg
/home/pi/Desktop/images/11072025/09/10/image_11072025_09_10_01_5896.jpg
/home/pi/Desktop/images/11072025/09/09/image_11072025_09_09_02_2383.jpg
/home/pi/Desktop/images/11072025/09/08/image_11072025_09_08_02_0545.jpg
/home/pi/Desktop/images/11072025/09/07/image_11072025_09_07_02_1980.jpg
/home/pi/Desktop/images/11072025/09/04/image_11072025_09_04_02_0548.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.36020302772522 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 09:17:05.351538
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/09/12/image_11072025_09_12_01_9539.jpg', 2), ('/home/pi/Desktop/images/11072025/09/10/image_11072025_09_10_01_5896.jpg', 2), ('/home/pi/Desktop/images/11072025/09/09/image_11072025_09_09_02_2383.jpg', 2), ('/home/pi/Desktop/images/11072025/09/08/image_11072025_09_08_02_0545.jpg', 2), ('/home/pi/Desktop/images/11072025/09/07/image_11072025_09_07_02_1980.jpg', 2), ('/home/pi/Desktop/images/11072025/09/04/image_11072025_09_04_02_0548.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/09/12/image_11072025_09_12_01_9539.jpg', '/home/pi/Desktop/images/11072025/09/10/image_11072025_09_10_01_5896.jpg', '/home/pi/Desktop/images/11072025/09/09/image_11072025_09_09_02_2383.jpg', '/home/pi/Desktop/images/11072025/09/08/image_11072025_09_08_02_0545.jpg', '/home/pi/Desktop/images/11072025/09/07/image_11072025_09_07_02_1980.jpg', '/home/pi/Desktop/images/11072025/09/04/image_11072025_09_04_02_0548.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/09/12/image_11072025_09_12_01_9539.jpg
/home/pi/Desktop/images/11072025/09/10/image_11072025_09_10_01_5896.jpg
/home/pi/Desktop/images/11072025/09/09/image_11072025_09_09_02_2383.jpg
/home/pi/Desktop/images/11072025/09/08/image_11072025_09_08_02_0545.jpg
/home/pi/Desktop/images/11072025/09/07/image_11072025_09_07_02_1980.jpg
/home/pi/Desktop/images/11072025/09/04/image_11072025_09_04_02_0548.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.06837868690491 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 09:18:05.555693
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/09/16/image_11072025_09_16_02_0052.jpg', 2), ('/home/pi/Desktop/images/11072025/09/12/image_11072025_09_12_01_9539.jpg', 2), ('/home/pi/Desktop/images/11072025/09/10/image_11072025_09_10_01_5896.jpg', 2), ('/home/pi/Desktop/images/11072025/09/09/image_11072025_09_09_02_2383.jpg', 2), ('/home/pi/Desktop/images/11072025/09/08/image_11072025_09_08_02_0545.jpg', 2), ('/home/pi/Desktop/images/11072025/09/07/image_11072025_09_07_02_1980.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/09/16/image_11072025_09_16_02_0052.jpg', '/home/pi/Desktop/images/11072025/09/12/image_11072025_09_12_01_9539.jpg', '/home/pi/Desktop/images/11072025/09/10/image_11072025_09_10_01_5896.jpg', '/home/pi/Desktop/images/11072025/09/09/image_11072025_09_09_02_2383.jpg', '/home/pi/Desktop/images/11072025/09/08/image_11072025_09_08_02_0545.jpg', '/home/pi/Desktop/images/11072025/09/07/image_11072025_09_07_02_1980.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/09/16/image_11072025_09_16_02_0052.jpg
/home/pi/Desktop/images/11072025/09/12/image_11072025_09_12_01_9539.jpg
/home/pi/Desktop/images/11072025/09/10/image_11072025_09_10_01_5896.jpg
/home/pi/Desktop/images/11072025/09/09/image_11072025_09_09_02_2383.jpg
/home/pi/Desktop/images/11072025/09/08/image_11072025_09_08_02_0545.jpg
/home/pi/Desktop/images/11072025/09/07/image_11072025_09_07_02_1980.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.019707679748535 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 09:19:05.791603
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/09/16/image_11072025_09_16_02_0052.jpg', 2), ('/home/pi/Desktop/images/11072025/09/12/image_11072025_09_12_01_9539.jpg', 2), ('/home/pi/Desktop/images/11072025/09/10/image_11072025_09_10_01_5896.jpg', 2), ('/home/pi/Desktop/images/11072025/09/09/image_11072025_09_09_02_2383.jpg', 2), ('/home/pi/Desktop/images/11072025/09/08/image_11072025_09_08_02_0545.jpg', 2), ('/home/pi/Desktop/images/11072025/09/07/image_11072025_09_07_02_1980.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/09/16/image_11072025_09_16_02_0052.jpg', '/home/pi/Desktop/images/11072025/09/12/image_11072025_09_12_01_9539.jpg', '/home/pi/Desktop/images/11072025/09/10/image_11072025_09_10_01_5896.jpg', '/home/pi/Desktop/images/11072025/09/09/image_11072025_09_09_02_2383.jpg', '/home/pi/Desktop/images/11072025/09/08/image_11072025_09_08_02_0545.jpg', '/home/pi/Desktop/images/11072025/09/07/image_11072025_09_07_02_1980.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/09/16/image_11072025_09_16_02_0052.jpg
/home/pi/Desktop/images/11072025/09/12/image_11072025_09_12_01_9539.jpg
/home/pi/Desktop/images/11072025/09/10/image_11072025_09_10_01_5896.jpg
/home/pi/Desktop/images/11072025/09/09/image_11072025_09_09_02_2383.jpg
/home/pi/Desktop/images/11072025/09/08/image_11072025_09_08_02_0545.jpg
/home/pi/Desktop/images/11072025/09/07/image_11072025_09_07_02_1980.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.883624792099 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 09:20:03.457221
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/09/20/image_11072025_09_20_01_7303.jpg', 2), ('/home/pi/Desktop/images/11072025/09/16/image_11072025_09_16_02_0052.jpg', 2), ('/home/pi/Desktop/images/11072025/09/12/image_11072025_09_12_01_9539.jpg', 2), ('/home/pi/Desktop/images/11072025/09/10/image_11072025_09_10_01_5896.jpg', 2), ('/home/pi/Desktop/images/11072025/09/09/image_11072025_09_09_02_2383.jpg', 2), ('/home/pi/Desktop/images/11072025/09/08/image_11072025_09_08_02_0545.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/09/20/image_11072025_09_20_01_7303.jpg', '/home/pi/Desktop/images/11072025/09/16/image_11072025_09_16_02_0052.jpg', '/home/pi/Desktop/images/11072025/09/12/image_11072025_09_12_01_9539.jpg', '/home/pi/Desktop/images/11072025/09/10/image_11072025_09_10_01_5896.jpg', '/home/pi/Desktop/images/11072025/09/09/image_11072025_09_09_02_2383.jpg', '/home/pi/Desktop/images/11072025/09/08/image_11072025_09_08_02_0545.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/09/20/image_11072025_09_20_01_7303.jpg
/home/pi/Desktop/images/11072025/09/16/image_11072025_09_16_02_0052.jpg
/home/pi/Desktop/images/11072025/09/12/image_11072025_09_12_01_9539.jpg
/home/pi/Desktop/images/11072025/09/10/image_11072025_09_10_01_5896.jpg
/home/pi/Desktop/images/11072025/09/09/image_11072025_09_09_02_2383.jpg
/home/pi/Desktop/images/11072025/09/08/image_11072025_09_08_02_0545.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 32.367552280426025 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 09:21:05.366071
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/09/20/image_11072025_09_20_01_7303.jpg', 2), ('/home/pi/Desktop/images/11072025/09/18/image_11072025_09_18_01_4072.jpg', 2), ('/home/pi/Desktop/images/11072025/09/16/image_11072025_09_16_02_0052.jpg', 2), ('/home/pi/Desktop/images/11072025/09/12/image_11072025_09_12_01_9539.jpg', 2), ('/home/pi/Desktop/images/11072025/09/10/image_11072025_09_10_01_5896.jpg', 2), ('/home/pi/Desktop/images/11072025/09/09/image_11072025_09_09_02_2383.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/09/20/image_11072025_09_20_01_7303.jpg', '/home/pi/Desktop/images/11072025/09/18/image_11072025_09_18_01_4072.jpg', '/home/pi/Desktop/images/11072025/09/16/image_11072025_09_16_02_0052.jpg', '/home/pi/Desktop/images/11072025/09/12/image_11072025_09_12_01_9539.jpg', '/home/pi/Desktop/images/11072025/09/10/image_11072025_09_10_01_5896.jpg', '/home/pi/Desktop/images/11072025/09/09/image_11072025_09_09_02_2383.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/09/20/image_11072025_09_20_01_7303.jpg
/home/pi/Desktop/images/11072025/09/18/image_11072025_09_18_01_4072.jpg
/home/pi/Desktop/images/11072025/09/16/image_11072025_09_16_02_0052.jpg
/home/pi/Desktop/images/11072025/09/12/image_11072025_09_12_01_9539.jpg
/home/pi/Desktop/images/11072025/09/10/image_11072025_09_10_01_5896.jpg
/home/pi/Desktop/images/11072025/09/09/image_11072025_09_09_02_2383.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.61187243461609 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 09:22:05.732880
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/09/20/image_11072025_09_20_01_7303.jpg', 2), ('/home/pi/Desktop/images/11072025/09/18/image_11072025_09_18_01_4072.jpg', 2), ('/home/pi/Desktop/images/11072025/09/16/image_11072025_09_16_02_0052.jpg', 2), ('/home/pi/Desktop/images/11072025/09/12/image_11072025_09_12_01_9539.jpg', 2), ('/home/pi/Desktop/images/11072025/09/10/image_11072025_09_10_01_5896.jpg', 2), ('/home/pi/Desktop/images/11072025/09/09/image_11072025_09_09_02_2383.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/09/20/image_11072025_09_20_01_7303.jpg', '/home/pi/Desktop/images/11072025/09/18/image_11072025_09_18_01_4072.jpg', '/home/pi/Desktop/images/11072025/09/16/image_11072025_09_16_02_0052.jpg', '/home/pi/Desktop/images/11072025/09/12/image_11072025_09_12_01_9539.jpg', '/home/pi/Desktop/images/11072025/09/10/image_11072025_09_10_01_5896.jpg', '/home/pi/Desktop/images/11072025/09/09/image_11072025_09_09_02_2383.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/09/20/image_11072025_09_20_01_7303.jpg
/home/pi/Desktop/images/11072025/09/18/image_11072025_09_18_01_4072.jpg
/home/pi/Desktop/images/11072025/09/16/image_11072025_09_16_02_0052.jpg
/home/pi/Desktop/images/11072025/09/12/image_11072025_09_12_01_9539.jpg
/home/pi/Desktop/images/11072025/09/10/image_11072025_09_10_01_5896.jpg
/home/pi/Desktop/images/11072025/09/09/image_11072025_09_09_02_2383.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.39958381652832 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 09:23:05.909417
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/09/21/image_11072025_09_21_01_9572.jpg', 2), ('/home/pi/Desktop/images/11072025/09/20/image_11072025_09_20_01_7303.jpg', 2), ('/home/pi/Desktop/images/11072025/09/18/image_11072025_09_18_01_4072.jpg', 2), ('/home/pi/Desktop/images/11072025/09/16/image_11072025_09_16_02_0052.jpg', 2), ('/home/pi/Desktop/images/11072025/09/12/image_11072025_09_12_01_9539.jpg', 2), ('/home/pi/Desktop/images/11072025/09/10/image_11072025_09_10_01_5896.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/09/21/image_11072025_09_21_01_9572.jpg', '/home/pi/Desktop/images/11072025/09/20/image_11072025_09_20_01_7303.jpg', '/home/pi/Desktop/images/11072025/09/18/image_11072025_09_18_01_4072.jpg', '/home/pi/Desktop/images/11072025/09/16/image_11072025_09_16_02_0052.jpg', '/home/pi/Desktop/images/11072025/09/12/image_11072025_09_12_01_9539.jpg', '/home/pi/Desktop/images/11072025/09/10/image_11072025_09_10_01_5896.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/09/21/image_11072025_09_21_01_9572.jpg
/home/pi/Desktop/images/11072025/09/20/image_11072025_09_20_01_7303.jpg
/home/pi/Desktop/images/11072025/09/18/image_11072025_09_18_01_4072.jpg
/home/pi/Desktop/images/11072025/09/16/image_11072025_09_16_02_0052.jpg
/home/pi/Desktop/images/11072025/09/12/image_11072025_09_12_01_9539.jpg
/home/pi/Desktop/images/11072025/09/10/image_11072025_09_10_01_5896.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.382450342178345 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 09:24:05.708109
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/09/23/image_11072025_09_23_02_2055.jpg', 2), ('/home/pi/Desktop/images/11072025/09/21/image_11072025_09_21_01_9572.jpg', 2), ('/home/pi/Desktop/images/11072025/09/20/image_11072025_09_20_01_7303.jpg', 2), ('/home/pi/Desktop/images/11072025/09/18/image_11072025_09_18_01_4072.jpg', 2), ('/home/pi/Desktop/images/11072025/09/16/image_11072025_09_16_02_0052.jpg', 2), ('/home/pi/Desktop/images/11072025/09/12/image_11072025_09_12_01_9539.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/09/23/image_11072025_09_23_02_2055.jpg', '/home/pi/Desktop/images/11072025/09/21/image_11072025_09_21_01_9572.jpg', '/home/pi/Desktop/images/11072025/09/20/image_11072025_09_20_01_7303.jpg', '/home/pi/Desktop/images/11072025/09/18/image_11072025_09_18_01_4072.jpg', '/home/pi/Desktop/images/11072025/09/16/image_11072025_09_16_02_0052.jpg', '/home/pi/Desktop/images/11072025/09/12/image_11072025_09_12_01_9539.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/09/23/image_11072025_09_23_02_2055.jpg
/home/pi/Desktop/images/11072025/09/21/image_11072025_09_21_01_9572.jpg
/home/pi/Desktop/images/11072025/09/20/image_11072025_09_20_01_7303.jpg
/home/pi/Desktop/images/11072025/09/18/image_11072025_09_18_01_4072.jpg
/home/pi/Desktop/images/11072025/09/16/image_11072025_09_16_02_0052.jpg
/home/pi/Desktop/images/11072025/09/12/image_11072025_09_12_01_9539.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 32.81087827682495 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 09:25:06.517786
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/09/23/image_11072025_09_23_02_2055.jpg', 2), ('/home/pi/Desktop/images/11072025/09/21/image_11072025_09_21_01_9572.jpg', 2), ('/home/pi/Desktop/images/11072025/09/20/image_11072025_09_20_01_7303.jpg', 2), ('/home/pi/Desktop/images/11072025/09/18/image_11072025_09_18_01_4072.jpg', 2), ('/home/pi/Desktop/images/11072025/09/16/image_11072025_09_16_02_0052.jpg', 2), ('/home/pi/Desktop/images/11072025/09/12/image_11072025_09_12_01_9539.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/09/23/image_11072025_09_23_02_2055.jpg', '/home/pi/Desktop/images/11072025/09/21/image_11072025_09_21_01_9572.jpg', '/home/pi/Desktop/images/11072025/09/20/image_11072025_09_20_01_7303.jpg', '/home/pi/Desktop/images/11072025/09/18/image_11072025_09_18_01_4072.jpg', '/home/pi/Desktop/images/11072025/09/16/image_11072025_09_16_02_0052.jpg', '/home/pi/Desktop/images/11072025/09/12/image_11072025_09_12_01_9539.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/09/23/image_11072025_09_23_02_2055.jpg
/home/pi/Desktop/images/11072025/09/21/image_11072025_09_21_01_9572.jpg
/home/pi/Desktop/images/11072025/09/20/image_11072025_09_20_01_7303.jpg
/home/pi/Desktop/images/11072025/09/18/image_11072025_09_18_01_4072.jpg
/home/pi/Desktop/images/11072025/09/16/image_11072025_09_16_02_0052.jpg
/home/pi/Desktop/images/11072025/09/12/image_11072025_09_12_01_9539.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.06979465484619 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 09:26:05.228453
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/09/23/image_11072025_09_23_02_2055.jpg', 2), ('/home/pi/Desktop/images/11072025/09/21/image_11072025_09_21_01_9572.jpg', 2), ('/home/pi/Desktop/images/11072025/09/20/image_11072025_09_20_01_7303.jpg', 2), ('/home/pi/Desktop/images/11072025/09/18/image_11072025_09_18_01_4072.jpg', 2), ('/home/pi/Desktop/images/11072025/09/16/image_11072025_09_16_02_0052.jpg', 2), ('/home/pi/Desktop/images/11072025/09/12/image_11072025_09_12_01_9539.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/09/23/image_11072025_09_23_02_2055.jpg', '/home/pi/Desktop/images/11072025/09/21/image_11072025_09_21_01_9572.jpg', '/home/pi/Desktop/images/11072025/09/20/image_11072025_09_20_01_7303.jpg', '/home/pi/Desktop/images/11072025/09/18/image_11072025_09_18_01_4072.jpg', '/home/pi/Desktop/images/11072025/09/16/image_11072025_09_16_02_0052.jpg', '/home/pi/Desktop/images/11072025/09/12/image_11072025_09_12_01_9539.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/09/23/image_11072025_09_23_02_2055.jpg
/home/pi/Desktop/images/11072025/09/21/image_11072025_09_21_01_9572.jpg
/home/pi/Desktop/images/11072025/09/20/image_11072025_09_20_01_7303.jpg
/home/pi/Desktop/images/11072025/09/18/image_11072025_09_18_01_4072.jpg
/home/pi/Desktop/images/11072025/09/16/image_11072025_09_16_02_0052.jpg
/home/pi/Desktop/images/11072025/09/12/image_11072025_09_12_01_9539.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.46309757232666 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 09:27:04.632203
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/09/24/image_11072025_09_24_01_9195.jpg', 2), ('/home/pi/Desktop/images/11072025/09/23/image_11072025_09_23_02_2055.jpg', 2), ('/home/pi/Desktop/images/11072025/09/21/image_11072025_09_21_01_9572.jpg', 2), ('/home/pi/Desktop/images/11072025/09/20/image_11072025_09_20_01_7303.jpg', 2), ('/home/pi/Desktop/images/11072025/09/18/image_11072025_09_18_01_4072.jpg', 2), ('/home/pi/Desktop/images/11072025/09/16/image_11072025_09_16_02_0052.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/09/24/image_11072025_09_24_01_9195.jpg', '/home/pi/Desktop/images/11072025/09/23/image_11072025_09_23_02_2055.jpg', '/home/pi/Desktop/images/11072025/09/21/image_11072025_09_21_01_9572.jpg', '/home/pi/Desktop/images/11072025/09/20/image_11072025_09_20_01_7303.jpg', '/home/pi/Desktop/images/11072025/09/18/image_11072025_09_18_01_4072.jpg', '/home/pi/Desktop/images/11072025/09/16/image_11072025_09_16_02_0052.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/09/24/image_11072025_09_24_01_9195.jpg
/home/pi/Desktop/images/11072025/09/23/image_11072025_09_23_02_2055.jpg
/home/pi/Desktop/images/11072025/09/21/image_11072025_09_21_01_9572.jpg
/home/pi/Desktop/images/11072025/09/20/image_11072025_09_20_01_7303.jpg
/home/pi/Desktop/images/11072025/09/18/image_11072025_09_18_01_4072.jpg
/home/pi/Desktop/images/11072025/09/16/image_11072025_09_16_02_0052.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.18260884284973 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 09:28:05.156176
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/09/27/image_11072025_09_27_01_8251.jpg', 2), ('/home/pi/Desktop/images/11072025/09/24/image_11072025_09_24_01_9195.jpg', 2), ('/home/pi/Desktop/images/11072025/09/23/image_11072025_09_23_02_2055.jpg', 2), ('/home/pi/Desktop/images/11072025/09/21/image_11072025_09_21_01_9572.jpg', 2), ('/home/pi/Desktop/images/11072025/09/20/image_11072025_09_20_01_7303.jpg', 2), ('/home/pi/Desktop/images/11072025/09/18/image_11072025_09_18_01_4072.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/09/27/image_11072025_09_27_01_8251.jpg', '/home/pi/Desktop/images/11072025/09/24/image_11072025_09_24_01_9195.jpg', '/home/pi/Desktop/images/11072025/09/23/image_11072025_09_23_02_2055.jpg', '/home/pi/Desktop/images/11072025/09/21/image_11072025_09_21_01_9572.jpg', '/home/pi/Desktop/images/11072025/09/20/image_11072025_09_20_01_7303.jpg', '/home/pi/Desktop/images/11072025/09/18/image_11072025_09_18_01_4072.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/09/27/image_11072025_09_27_01_8251.jpg
/home/pi/Desktop/images/11072025/09/24/image_11072025_09_24_01_9195.jpg
/home/pi/Desktop/images/11072025/09/23/image_11072025_09_23_02_2055.jpg
/home/pi/Desktop/images/11072025/09/21/image_11072025_09_21_01_9572.jpg
/home/pi/Desktop/images/11072025/09/20/image_11072025_09_20_01_7303.jpg
/home/pi/Desktop/images/11072025/09/18/image_11072025_09_18_01_4072.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 32.78931450843811 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 09:29:05.869319
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/09/28/image_11072025_09_28_01_5123.jpg', 2), ('/home/pi/Desktop/images/11072025/09/27/image_11072025_09_27_01_8251.jpg', 2), ('/home/pi/Desktop/images/11072025/09/24/image_11072025_09_24_01_9195.jpg', 2), ('/home/pi/Desktop/images/11072025/09/23/image_11072025_09_23_02_2055.jpg', 2), ('/home/pi/Desktop/images/11072025/09/21/image_11072025_09_21_01_9572.jpg', 2), ('/home/pi/Desktop/images/11072025/09/20/image_11072025_09_20_01_7303.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/09/28/image_11072025_09_28_01_5123.jpg', '/home/pi/Desktop/images/11072025/09/27/image_11072025_09_27_01_8251.jpg', '/home/pi/Desktop/images/11072025/09/24/image_11072025_09_24_01_9195.jpg', '/home/pi/Desktop/images/11072025/09/23/image_11072025_09_23_02_2055.jpg', '/home/pi/Desktop/images/11072025/09/21/image_11072025_09_21_01_9572.jpg', '/home/pi/Desktop/images/11072025/09/20/image_11072025_09_20_01_7303.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/09/28/image_11072025_09_28_01_5123.jpg
/home/pi/Desktop/images/11072025/09/27/image_11072025_09_27_01_8251.jpg
/home/pi/Desktop/images/11072025/09/24/image_11072025_09_24_01_9195.jpg
/home/pi/Desktop/images/11072025/09/23/image_11072025_09_23_02_2055.jpg
/home/pi/Desktop/images/11072025/09/21/image_11072025_09_21_01_9572.jpg
/home/pi/Desktop/images/11072025/09/20/image_11072025_09_20_01_7303.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.21174931526184 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 09:30:03.479418
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/09/28/image_11072025_09_28_01_5123.jpg', 2), ('/home/pi/Desktop/images/11072025/09/27/image_11072025_09_27_01_8251.jpg', 2), ('/home/pi/Desktop/images/11072025/09/24/image_11072025_09_24_01_9195.jpg', 2), ('/home/pi/Desktop/images/11072025/09/23/image_11072025_09_23_02_2055.jpg', 2), ('/home/pi/Desktop/images/11072025/09/21/image_11072025_09_21_01_9572.jpg', 2), ('/home/pi/Desktop/images/11072025/09/20/image_11072025_09_20_01_7303.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/09/28/image_11072025_09_28_01_5123.jpg', '/home/pi/Desktop/images/11072025/09/27/image_11072025_09_27_01_8251.jpg', '/home/pi/Desktop/images/11072025/09/24/image_11072025_09_24_01_9195.jpg', '/home/pi/Desktop/images/11072025/09/23/image_11072025_09_23_02_2055.jpg', '/home/pi/Desktop/images/11072025/09/21/image_11072025_09_21_01_9572.jpg', '/home/pi/Desktop/images/11072025/09/20/image_11072025_09_20_01_7303.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/09/28/image_11072025_09_28_01_5123.jpg
/home/pi/Desktop/images/11072025/09/27/image_11072025_09_27_01_8251.jpg
/home/pi/Desktop/images/11072025/09/24/image_11072025_09_24_01_9195.jpg
/home/pi/Desktop/images/11072025/09/23/image_11072025_09_23_02_2055.jpg
/home/pi/Desktop/images/11072025/09/21/image_11072025_09_21_01_9572.jpg
/home/pi/Desktop/images/11072025/09/20/image_11072025_09_20_01_7303.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 31.707947731018066 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 09:31:05.659344
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/09/29/image_11072025_09_29_01_5780.jpg', 2), ('/home/pi/Desktop/images/11072025/09/28/image_11072025_09_28_01_5123.jpg', 2), ('/home/pi/Desktop/images/11072025/09/27/image_11072025_09_27_01_8251.jpg', 2), ('/home/pi/Desktop/images/11072025/09/24/image_11072025_09_24_01_9195.jpg', 2), ('/home/pi/Desktop/images/11072025/09/23/image_11072025_09_23_02_2055.jpg', 2), ('/home/pi/Desktop/images/11072025/09/21/image_11072025_09_21_01_9572.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/09/29/image_11072025_09_29_01_5780.jpg', '/home/pi/Desktop/images/11072025/09/28/image_11072025_09_28_01_5123.jpg', '/home/pi/Desktop/images/11072025/09/27/image_11072025_09_27_01_8251.jpg', '/home/pi/Desktop/images/11072025/09/24/image_11072025_09_24_01_9195.jpg', '/home/pi/Desktop/images/11072025/09/23/image_11072025_09_23_02_2055.jpg', '/home/pi/Desktop/images/11072025/09/21/image_11072025_09_21_01_9572.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/09/29/image_11072025_09_29_01_5780.jpg
/home/pi/Desktop/images/11072025/09/28/image_11072025_09_28_01_5123.jpg
/home/pi/Desktop/images/11072025/09/27/image_11072025_09_27_01_8251.jpg
/home/pi/Desktop/images/11072025/09/24/image_11072025_09_24_01_9195.jpg
/home/pi/Desktop/images/11072025/09/23/image_11072025_09_23_02_2055.jpg
/home/pi/Desktop/images/11072025/09/21/image_11072025_09_21_01_9572.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.69572353363037 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 09:32:05.234115
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/09/31/image_11072025_09_31_02_0327.jpg', 2), ('/home/pi/Desktop/images/11072025/09/29/image_11072025_09_29_01_5780.jpg', 2), ('/home/pi/Desktop/images/11072025/09/28/image_11072025_09_28_01_5123.jpg', 2), ('/home/pi/Desktop/images/11072025/09/27/image_11072025_09_27_01_8251.jpg', 2), ('/home/pi/Desktop/images/11072025/09/24/image_11072025_09_24_01_9195.jpg', 2), ('/home/pi/Desktop/images/11072025/09/23/image_11072025_09_23_02_2055.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/09/31/image_11072025_09_31_02_0327.jpg', '/home/pi/Desktop/images/11072025/09/29/image_11072025_09_29_01_5780.jpg', '/home/pi/Desktop/images/11072025/09/28/image_11072025_09_28_01_5123.jpg', '/home/pi/Desktop/images/11072025/09/27/image_11072025_09_27_01_8251.jpg', '/home/pi/Desktop/images/11072025/09/24/image_11072025_09_24_01_9195.jpg', '/home/pi/Desktop/images/11072025/09/23/image_11072025_09_23_02_2055.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/09/31/image_11072025_09_31_02_0327.jpg
/home/pi/Desktop/images/11072025/09/29/image_11072025_09_29_01_5780.jpg
/home/pi/Desktop/images/11072025/09/28/image_11072025_09_28_01_5123.jpg
/home/pi/Desktop/images/11072025/09/27/image_11072025_09_27_01_8251.jpg
/home/pi/Desktop/images/11072025/09/24/image_11072025_09_24_01_9195.jpg
/home/pi/Desktop/images/11072025/09/23/image_11072025_09_23_02_2055.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 32.44541025161743 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 09:33:05.649940
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/09/32/image_11072025_09_32_01_8133.jpg', 2), ('/home/pi/Desktop/images/11072025/09/31/image_11072025_09_31_02_0327.jpg', 2), ('/home/pi/Desktop/images/11072025/09/29/image_11072025_09_29_01_5780.jpg', 2), ('/home/pi/Desktop/images/11072025/09/28/image_11072025_09_28_01_5123.jpg', 2), ('/home/pi/Desktop/images/11072025/09/27/image_11072025_09_27_01_8251.jpg', 2), ('/home/pi/Desktop/images/11072025/09/24/image_11072025_09_24_01_9195.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/09/32/image_11072025_09_32_01_8133.jpg', '/home/pi/Desktop/images/11072025/09/31/image_11072025_09_31_02_0327.jpg', '/home/pi/Desktop/images/11072025/09/29/image_11072025_09_29_01_5780.jpg', '/home/pi/Desktop/images/11072025/09/28/image_11072025_09_28_01_5123.jpg', '/home/pi/Desktop/images/11072025/09/27/image_11072025_09_27_01_8251.jpg', '/home/pi/Desktop/images/11072025/09/24/image_11072025_09_24_01_9195.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/09/32/image_11072025_09_32_01_8133.jpg
/home/pi/Desktop/images/11072025/09/31/image_11072025_09_31_02_0327.jpg
/home/pi/Desktop/images/11072025/09/29/image_11072025_09_29_01_5780.jpg
/home/pi/Desktop/images/11072025/09/28/image_11072025_09_28_01_5123.jpg
/home/pi/Desktop/images/11072025/09/27/image_11072025_09_27_01_8251.jpg
/home/pi/Desktop/images/11072025/09/24/image_11072025_09_24_01_9195.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.31268763542175 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 09:34:05.398540
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/09/33/image_11072025_09_33_01_5884.jpg', 2), ('/home/pi/Desktop/images/11072025/09/32/image_11072025_09_32_01_8133.jpg', 2), ('/home/pi/Desktop/images/11072025/09/31/image_11072025_09_31_02_0327.jpg', 2), ('/home/pi/Desktop/images/11072025/09/29/image_11072025_09_29_01_5780.jpg', 2), ('/home/pi/Desktop/images/11072025/09/28/image_11072025_09_28_01_5123.jpg', 2), ('/home/pi/Desktop/images/11072025/09/27/image_11072025_09_27_01_8251.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/09/33/image_11072025_09_33_01_5884.jpg', '/home/pi/Desktop/images/11072025/09/32/image_11072025_09_32_01_8133.jpg', '/home/pi/Desktop/images/11072025/09/31/image_11072025_09_31_02_0327.jpg', '/home/pi/Desktop/images/11072025/09/29/image_11072025_09_29_01_5780.jpg', '/home/pi/Desktop/images/11072025/09/28/image_11072025_09_28_01_5123.jpg', '/home/pi/Desktop/images/11072025/09/27/image_11072025_09_27_01_8251.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/09/33/image_11072025_09_33_01_5884.jpg
/home/pi/Desktop/images/11072025/09/32/image_11072025_09_32_01_8133.jpg
/home/pi/Desktop/images/11072025/09/31/image_11072025_09_31_02_0327.jpg
/home/pi/Desktop/images/11072025/09/29/image_11072025_09_29_01_5780.jpg
/home/pi/Desktop/images/11072025/09/28/image_11072025_09_28_01_5123.jpg
/home/pi/Desktop/images/11072025/09/27/image_11072025_09_27_01_8251.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 32.66639518737793 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 09:35:05.954516
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/09/34/image_11072025_09_34_01_9341.jpg', 2), ('/home/pi/Desktop/images/11072025/09/33/image_11072025_09_33_01_5884.jpg', 2), ('/home/pi/Desktop/images/11072025/09/32/image_11072025_09_32_01_8133.jpg', 2), ('/home/pi/Desktop/images/11072025/09/31/image_11072025_09_31_02_0327.jpg', 2), ('/home/pi/Desktop/images/11072025/09/29/image_11072025_09_29_01_5780.jpg', 2), ('/home/pi/Desktop/images/11072025/09/28/image_11072025_09_28_01_5123.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/09/34/image_11072025_09_34_01_9341.jpg', '/home/pi/Desktop/images/11072025/09/33/image_11072025_09_33_01_5884.jpg', '/home/pi/Desktop/images/11072025/09/32/image_11072025_09_32_01_8133.jpg', '/home/pi/Desktop/images/11072025/09/31/image_11072025_09_31_02_0327.jpg', '/home/pi/Desktop/images/11072025/09/29/image_11072025_09_29_01_5780.jpg', '/home/pi/Desktop/images/11072025/09/28/image_11072025_09_28_01_5123.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/09/34/image_11072025_09_34_01_9341.jpg
/home/pi/Desktop/images/11072025/09/33/image_11072025_09_33_01_5884.jpg
/home/pi/Desktop/images/11072025/09/32/image_11072025_09_32_01_8133.jpg
/home/pi/Desktop/images/11072025/09/31/image_11072025_09_31_02_0327.jpg
/home/pi/Desktop/images/11072025/09/29/image_11072025_09_29_01_5780.jpg
/home/pi/Desktop/images/11072025/09/28/image_11072025_09_28_01_5123.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.21978545188904 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 09:36:06.982514
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/09/35/image_11072025_09_35_01_8351.jpg', 2), ('/home/pi/Desktop/images/11072025/09/34/image_11072025_09_34_01_9341.jpg', 2), ('/home/pi/Desktop/images/11072025/09/33/image_11072025_09_33_01_5884.jpg', 2), ('/home/pi/Desktop/images/11072025/09/32/image_11072025_09_32_01_8133.jpg', 2), ('/home/pi/Desktop/images/11072025/09/31/image_11072025_09_31_02_0327.jpg', 2), ('/home/pi/Desktop/images/11072025/09/29/image_11072025_09_29_01_5780.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/09/35/image_11072025_09_35_01_8351.jpg', '/home/pi/Desktop/images/11072025/09/34/image_11072025_09_34_01_9341.jpg', '/home/pi/Desktop/images/11072025/09/33/image_11072025_09_33_01_5884.jpg', '/home/pi/Desktop/images/11072025/09/32/image_11072025_09_32_01_8133.jpg', '/home/pi/Desktop/images/11072025/09/31/image_11072025_09_31_02_0327.jpg', '/home/pi/Desktop/images/11072025/09/29/image_11072025_09_29_01_5780.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/09/35/image_11072025_09_35_01_8351.jpg
/home/pi/Desktop/images/11072025/09/34/image_11072025_09_34_01_9341.jpg
/home/pi/Desktop/images/11072025/09/33/image_11072025_09_33_01_5884.jpg
/home/pi/Desktop/images/11072025/09/32/image_11072025_09_32_01_8133.jpg
/home/pi/Desktop/images/11072025/09/31/image_11072025_09_31_02_0327.jpg
/home/pi/Desktop/images/11072025/09/29/image_11072025_09_29_01_5780.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.35338854789734 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 09:37:05.902541
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/09/36/image_11072025_09_36_02_0621.jpg', 2), ('/home/pi/Desktop/images/11072025/09/35/image_11072025_09_35_01_8351.jpg', 2), ('/home/pi/Desktop/images/11072025/09/34/image_11072025_09_34_01_9341.jpg', 2), ('/home/pi/Desktop/images/11072025/09/33/image_11072025_09_33_01_5884.jpg', 2), ('/home/pi/Desktop/images/11072025/09/32/image_11072025_09_32_01_8133.jpg', 2), ('/home/pi/Desktop/images/11072025/09/31/image_11072025_09_31_02_0327.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/09/36/image_11072025_09_36_02_0621.jpg', '/home/pi/Desktop/images/11072025/09/35/image_11072025_09_35_01_8351.jpg', '/home/pi/Desktop/images/11072025/09/34/image_11072025_09_34_01_9341.jpg', '/home/pi/Desktop/images/11072025/09/33/image_11072025_09_33_01_5884.jpg', '/home/pi/Desktop/images/11072025/09/32/image_11072025_09_32_01_8133.jpg', '/home/pi/Desktop/images/11072025/09/31/image_11072025_09_31_02_0327.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/09/36/image_11072025_09_36_02_0621.jpg
/home/pi/Desktop/images/11072025/09/35/image_11072025_09_35_01_8351.jpg
/home/pi/Desktop/images/11072025/09/34/image_11072025_09_34_01_9341.jpg
/home/pi/Desktop/images/11072025/09/33/image_11072025_09_33_01_5884.jpg
/home/pi/Desktop/images/11072025/09/32/image_11072025_09_32_01_8133.jpg
/home/pi/Desktop/images/11072025/09/31/image_11072025_09_31_02_0327.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.52544021606445 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 09:38:05.092691
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/09/37/image_11072025_09_37_01_3789.jpg', 2), ('/home/pi/Desktop/images/11072025/09/36/image_11072025_09_36_02_0621.jpg', 2), ('/home/pi/Desktop/images/11072025/09/35/image_11072025_09_35_01_8351.jpg', 2), ('/home/pi/Desktop/images/11072025/09/34/image_11072025_09_34_01_9341.jpg', 2), ('/home/pi/Desktop/images/11072025/09/33/image_11072025_09_33_01_5884.jpg', 2), ('/home/pi/Desktop/images/11072025/09/32/image_11072025_09_32_01_8133.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/09/37/image_11072025_09_37_01_3789.jpg', '/home/pi/Desktop/images/11072025/09/36/image_11072025_09_36_02_0621.jpg', '/home/pi/Desktop/images/11072025/09/35/image_11072025_09_35_01_8351.jpg', '/home/pi/Desktop/images/11072025/09/34/image_11072025_09_34_01_9341.jpg', '/home/pi/Desktop/images/11072025/09/33/image_11072025_09_33_01_5884.jpg', '/home/pi/Desktop/images/11072025/09/32/image_11072025_09_32_01_8133.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/09/37/image_11072025_09_37_01_3789.jpg
/home/pi/Desktop/images/11072025/09/36/image_11072025_09_36_02_0621.jpg
/home/pi/Desktop/images/11072025/09/35/image_11072025_09_35_01_8351.jpg
/home/pi/Desktop/images/11072025/09/34/image_11072025_09_34_01_9341.jpg
/home/pi/Desktop/images/11072025/09/33/image_11072025_09_33_01_5884.jpg
/home/pi/Desktop/images/11072025/09/32/image_11072025_09_32_01_8133.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 31.477559328079224 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 09:39:05.553735
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/09/38/image_11072025_09_38_02_1518.jpg', 2), ('/home/pi/Desktop/images/11072025/09/37/image_11072025_09_37_01_3789.jpg', 2), ('/home/pi/Desktop/images/11072025/09/36/image_11072025_09_36_02_0621.jpg', 2), ('/home/pi/Desktop/images/11072025/09/35/image_11072025_09_35_01_8351.jpg', 2), ('/home/pi/Desktop/images/11072025/09/34/image_11072025_09_34_01_9341.jpg', 2), ('/home/pi/Desktop/images/11072025/09/33/image_11072025_09_33_01_5884.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/09/38/image_11072025_09_38_02_1518.jpg', '/home/pi/Desktop/images/11072025/09/37/image_11072025_09_37_01_3789.jpg', '/home/pi/Desktop/images/11072025/09/36/image_11072025_09_36_02_0621.jpg', '/home/pi/Desktop/images/11072025/09/35/image_11072025_09_35_01_8351.jpg', '/home/pi/Desktop/images/11072025/09/34/image_11072025_09_34_01_9341.jpg', '/home/pi/Desktop/images/11072025/09/33/image_11072025_09_33_01_5884.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/09/38/image_11072025_09_38_02_1518.jpg
/home/pi/Desktop/images/11072025/09/37/image_11072025_09_37_01_3789.jpg
/home/pi/Desktop/images/11072025/09/36/image_11072025_09_36_02_0621.jpg
/home/pi/Desktop/images/11072025/09/35/image_11072025_09_35_01_8351.jpg
/home/pi/Desktop/images/11072025/09/34/image_11072025_09_34_01_9341.jpg
/home/pi/Desktop/images/11072025/09/33/image_11072025_09_33_01_5884.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.29061412811279 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 09:40:05.696153
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/09/39/image_11072025_09_39_01_5657.jpg', 2), ('/home/pi/Desktop/images/11072025/09/38/image_11072025_09_38_02_1518.jpg', 2), ('/home/pi/Desktop/images/11072025/09/37/image_11072025_09_37_01_3789.jpg', 2), ('/home/pi/Desktop/images/11072025/09/36/image_11072025_09_36_02_0621.jpg', 2), ('/home/pi/Desktop/images/11072025/09/35/image_11072025_09_35_01_8351.jpg', 2), ('/home/pi/Desktop/images/11072025/09/34/image_11072025_09_34_01_9341.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/09/39/image_11072025_09_39_01_5657.jpg', '/home/pi/Desktop/images/11072025/09/38/image_11072025_09_38_02_1518.jpg', '/home/pi/Desktop/images/11072025/09/37/image_11072025_09_37_01_3789.jpg', '/home/pi/Desktop/images/11072025/09/36/image_11072025_09_36_02_0621.jpg', '/home/pi/Desktop/images/11072025/09/35/image_11072025_09_35_01_8351.jpg', '/home/pi/Desktop/images/11072025/09/34/image_11072025_09_34_01_9341.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/09/39/image_11072025_09_39_01_5657.jpg
/home/pi/Desktop/images/11072025/09/38/image_11072025_09_38_02_1518.jpg
/home/pi/Desktop/images/11072025/09/37/image_11072025_09_37_01_3789.jpg
/home/pi/Desktop/images/11072025/09/36/image_11072025_09_36_02_0621.jpg
/home/pi/Desktop/images/11072025/09/35/image_11072025_09_35_01_8351.jpg
/home/pi/Desktop/images/11072025/09/34/image_11072025_09_34_01_9341.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.29798483848572 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 09:41:05.258865
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/09/40/image_11072025_09_40_01_6086.jpg', 2), ('/home/pi/Desktop/images/11072025/09/39/image_11072025_09_39_01_5657.jpg', 2), ('/home/pi/Desktop/images/11072025/09/38/image_11072025_09_38_02_1518.jpg', 2), ('/home/pi/Desktop/images/11072025/09/37/image_11072025_09_37_01_3789.jpg', 2), ('/home/pi/Desktop/images/11072025/09/36/image_11072025_09_36_02_0621.jpg', 2), ('/home/pi/Desktop/images/11072025/09/35/image_11072025_09_35_01_8351.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/09/40/image_11072025_09_40_01_6086.jpg', '/home/pi/Desktop/images/11072025/09/39/image_11072025_09_39_01_5657.jpg', '/home/pi/Desktop/images/11072025/09/38/image_11072025_09_38_02_1518.jpg', '/home/pi/Desktop/images/11072025/09/37/image_11072025_09_37_01_3789.jpg', '/home/pi/Desktop/images/11072025/09/36/image_11072025_09_36_02_0621.jpg', '/home/pi/Desktop/images/11072025/09/35/image_11072025_09_35_01_8351.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/09/40/image_11072025_09_40_01_6086.jpg
/home/pi/Desktop/images/11072025/09/39/image_11072025_09_39_01_5657.jpg
/home/pi/Desktop/images/11072025/09/38/image_11072025_09_38_02_1518.jpg
/home/pi/Desktop/images/11072025/09/37/image_11072025_09_37_01_3789.jpg
/home/pi/Desktop/images/11072025/09/36/image_11072025_09_36_02_0621.jpg
/home/pi/Desktop/images/11072025/09/35/image_11072025_09_35_01_8351.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.88644599914551 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 09:42:04.853982
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/09/41/image_11072025_09_41_02_0030.jpg', 2), ('/home/pi/Desktop/images/11072025/09/40/image_11072025_09_40_01_6086.jpg', 2), ('/home/pi/Desktop/images/11072025/09/39/image_11072025_09_39_01_5657.jpg', 2), ('/home/pi/Desktop/images/11072025/09/38/image_11072025_09_38_02_1518.jpg', 2), ('/home/pi/Desktop/images/11072025/09/37/image_11072025_09_37_01_3789.jpg', 2), ('/home/pi/Desktop/images/11072025/09/36/image_11072025_09_36_02_0621.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/09/41/image_11072025_09_41_02_0030.jpg', '/home/pi/Desktop/images/11072025/09/40/image_11072025_09_40_01_6086.jpg', '/home/pi/Desktop/images/11072025/09/39/image_11072025_09_39_01_5657.jpg', '/home/pi/Desktop/images/11072025/09/38/image_11072025_09_38_02_1518.jpg', '/home/pi/Desktop/images/11072025/09/37/image_11072025_09_37_01_3789.jpg', '/home/pi/Desktop/images/11072025/09/36/image_11072025_09_36_02_0621.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/09/41/image_11072025_09_41_02_0030.jpg
/home/pi/Desktop/images/11072025/09/40/image_11072025_09_40_01_6086.jpg
/home/pi/Desktop/images/11072025/09/39/image_11072025_09_39_01_5657.jpg
/home/pi/Desktop/images/11072025/09/38/image_11072025_09_38_02_1518.jpg
/home/pi/Desktop/images/11072025/09/37/image_11072025_09_37_01_3789.jpg
/home/pi/Desktop/images/11072025/09/36/image_11072025_09_36_02_0621.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.43685245513916 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 09:43:05.789048
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/09/42/image_11072025_09_42_01_6189.jpg', 2), ('/home/pi/Desktop/images/11072025/09/41/image_11072025_09_41_02_0030.jpg', 2), ('/home/pi/Desktop/images/11072025/09/40/image_11072025_09_40_01_6086.jpg', 2), ('/home/pi/Desktop/images/11072025/09/39/image_11072025_09_39_01_5657.jpg', 2), ('/home/pi/Desktop/images/11072025/09/38/image_11072025_09_38_02_1518.jpg', 2), ('/home/pi/Desktop/images/11072025/09/37/image_11072025_09_37_01_3789.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/09/42/image_11072025_09_42_01_6189.jpg', '/home/pi/Desktop/images/11072025/09/41/image_11072025_09_41_02_0030.jpg', '/home/pi/Desktop/images/11072025/09/40/image_11072025_09_40_01_6086.jpg', '/home/pi/Desktop/images/11072025/09/39/image_11072025_09_39_01_5657.jpg', '/home/pi/Desktop/images/11072025/09/38/image_11072025_09_38_02_1518.jpg', '/home/pi/Desktop/images/11072025/09/37/image_11072025_09_37_01_3789.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/09/42/image_11072025_09_42_01_6189.jpg
/home/pi/Desktop/images/11072025/09/41/image_11072025_09_41_02_0030.jpg
/home/pi/Desktop/images/11072025/09/40/image_11072025_09_40_01_6086.jpg
/home/pi/Desktop/images/11072025/09/39/image_11072025_09_39_01_5657.jpg
/home/pi/Desktop/images/11072025/09/38/image_11072025_09_38_02_1518.jpg
/home/pi/Desktop/images/11072025/09/37/image_11072025_09_37_01_3789.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.63768696784973 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 09:44:05.426539
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/09/43/image_11072025_09_43_01_4418.jpg', 2), ('/home/pi/Desktop/images/11072025/09/42/image_11072025_09_42_01_6189.jpg', 2), ('/home/pi/Desktop/images/11072025/09/41/image_11072025_09_41_02_0030.jpg', 2), ('/home/pi/Desktop/images/11072025/09/40/image_11072025_09_40_01_6086.jpg', 2), ('/home/pi/Desktop/images/11072025/09/39/image_11072025_09_39_01_5657.jpg', 2), ('/home/pi/Desktop/images/11072025/09/38/image_11072025_09_38_02_1518.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/09/43/image_11072025_09_43_01_4418.jpg', '/home/pi/Desktop/images/11072025/09/42/image_11072025_09_42_01_6189.jpg', '/home/pi/Desktop/images/11072025/09/41/image_11072025_09_41_02_0030.jpg', '/home/pi/Desktop/images/11072025/09/40/image_11072025_09_40_01_6086.jpg', '/home/pi/Desktop/images/11072025/09/39/image_11072025_09_39_01_5657.jpg', '/home/pi/Desktop/images/11072025/09/38/image_11072025_09_38_02_1518.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/09/43/image_11072025_09_43_01_4418.jpg
/home/pi/Desktop/images/11072025/09/42/image_11072025_09_42_01_6189.jpg
/home/pi/Desktop/images/11072025/09/41/image_11072025_09_41_02_0030.jpg
/home/pi/Desktop/images/11072025/09/40/image_11072025_09_40_01_6086.jpg
/home/pi/Desktop/images/11072025/09/39/image_11072025_09_39_01_5657.jpg
/home/pi/Desktop/images/11072025/09/38/image_11072025_09_38_02_1518.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.1403534412384 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 09:45:05.412900
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/09/44/image_11072025_09_44_01_8266.jpg', 2), ('/home/pi/Desktop/images/11072025/09/43/image_11072025_09_43_01_4418.jpg', 2), ('/home/pi/Desktop/images/11072025/09/42/image_11072025_09_42_01_6189.jpg', 2), ('/home/pi/Desktop/images/11072025/09/41/image_11072025_09_41_02_0030.jpg', 2), ('/home/pi/Desktop/images/11072025/09/40/image_11072025_09_40_01_6086.jpg', 2), ('/home/pi/Desktop/images/11072025/09/39/image_11072025_09_39_01_5657.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/09/44/image_11072025_09_44_01_8266.jpg', '/home/pi/Desktop/images/11072025/09/43/image_11072025_09_43_01_4418.jpg', '/home/pi/Desktop/images/11072025/09/42/image_11072025_09_42_01_6189.jpg', '/home/pi/Desktop/images/11072025/09/41/image_11072025_09_41_02_0030.jpg', '/home/pi/Desktop/images/11072025/09/40/image_11072025_09_40_01_6086.jpg', '/home/pi/Desktop/images/11072025/09/39/image_11072025_09_39_01_5657.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/09/44/image_11072025_09_44_01_8266.jpg
/home/pi/Desktop/images/11072025/09/43/image_11072025_09_43_01_4418.jpg
/home/pi/Desktop/images/11072025/09/42/image_11072025_09_42_01_6189.jpg
/home/pi/Desktop/images/11072025/09/41/image_11072025_09_41_02_0030.jpg
/home/pi/Desktop/images/11072025/09/40/image_11072025_09_40_01_6086.jpg
/home/pi/Desktop/images/11072025/09/39/image_11072025_09_39_01_5657.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.26744723320007 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 09:46:05.169065
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/09/45/image_11072025_09_45_01_9340.jpg', 2), ('/home/pi/Desktop/images/11072025/09/44/image_11072025_09_44_01_8266.jpg', 2), ('/home/pi/Desktop/images/11072025/09/43/image_11072025_09_43_01_4418.jpg', 2), ('/home/pi/Desktop/images/11072025/09/42/image_11072025_09_42_01_6189.jpg', 2), ('/home/pi/Desktop/images/11072025/09/41/image_11072025_09_41_02_0030.jpg', 2), ('/home/pi/Desktop/images/11072025/09/40/image_11072025_09_40_01_6086.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/09/45/image_11072025_09_45_01_9340.jpg', '/home/pi/Desktop/images/11072025/09/44/image_11072025_09_44_01_8266.jpg', '/home/pi/Desktop/images/11072025/09/43/image_11072025_09_43_01_4418.jpg', '/home/pi/Desktop/images/11072025/09/42/image_11072025_09_42_01_6189.jpg', '/home/pi/Desktop/images/11072025/09/41/image_11072025_09_41_02_0030.jpg', '/home/pi/Desktop/images/11072025/09/40/image_11072025_09_40_01_6086.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/09/45/image_11072025_09_45_01_9340.jpg
/home/pi/Desktop/images/11072025/09/44/image_11072025_09_44_01_8266.jpg
/home/pi/Desktop/images/11072025/09/43/image_11072025_09_43_01_4418.jpg
/home/pi/Desktop/images/11072025/09/42/image_11072025_09_42_01_6189.jpg
/home/pi/Desktop/images/11072025/09/41/image_11072025_09_41_02_0030.jpg
/home/pi/Desktop/images/11072025/09/40/image_11072025_09_40_01_6086.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 32.698243856430054 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 09:47:05.411767
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/09/46/image_11072025_09_46_01_7236.jpg', 2), ('/home/pi/Desktop/images/11072025/09/45/image_11072025_09_45_01_9340.jpg', 2), ('/home/pi/Desktop/images/11072025/09/44/image_11072025_09_44_01_8266.jpg', 2), ('/home/pi/Desktop/images/11072025/09/43/image_11072025_09_43_01_4418.jpg', 2), ('/home/pi/Desktop/images/11072025/09/42/image_11072025_09_42_01_6189.jpg', 2), ('/home/pi/Desktop/images/11072025/09/41/image_11072025_09_41_02_0030.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/09/46/image_11072025_09_46_01_7236.jpg', '/home/pi/Desktop/images/11072025/09/45/image_11072025_09_45_01_9340.jpg', '/home/pi/Desktop/images/11072025/09/44/image_11072025_09_44_01_8266.jpg', '/home/pi/Desktop/images/11072025/09/43/image_11072025_09_43_01_4418.jpg', '/home/pi/Desktop/images/11072025/09/42/image_11072025_09_42_01_6189.jpg', '/home/pi/Desktop/images/11072025/09/41/image_11072025_09_41_02_0030.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/09/46/image_11072025_09_46_01_7236.jpg
/home/pi/Desktop/images/11072025/09/45/image_11072025_09_45_01_9340.jpg
/home/pi/Desktop/images/11072025/09/44/image_11072025_09_44_01_8266.jpg
/home/pi/Desktop/images/11072025/09/43/image_11072025_09_43_01_4418.jpg
/home/pi/Desktop/images/11072025/09/42/image_11072025_09_42_01_6189.jpg
/home/pi/Desktop/images/11072025/09/41/image_11072025_09_41_02_0030.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.53692007064819 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 09:48:04.747646
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/09/47/image_11072025_09_47_01_8482.jpg', 2), ('/home/pi/Desktop/images/11072025/09/46/image_11072025_09_46_01_7236.jpg', 2), ('/home/pi/Desktop/images/11072025/09/45/image_11072025_09_45_01_9340.jpg', 2), ('/home/pi/Desktop/images/11072025/09/44/image_11072025_09_44_01_8266.jpg', 2), ('/home/pi/Desktop/images/11072025/09/43/image_11072025_09_43_01_4418.jpg', 2), ('/home/pi/Desktop/images/11072025/09/42/image_11072025_09_42_01_6189.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/09/47/image_11072025_09_47_01_8482.jpg', '/home/pi/Desktop/images/11072025/09/46/image_11072025_09_46_01_7236.jpg', '/home/pi/Desktop/images/11072025/09/45/image_11072025_09_45_01_9340.jpg', '/home/pi/Desktop/images/11072025/09/44/image_11072025_09_44_01_8266.jpg', '/home/pi/Desktop/images/11072025/09/43/image_11072025_09_43_01_4418.jpg', '/home/pi/Desktop/images/11072025/09/42/image_11072025_09_42_01_6189.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/09/47/image_11072025_09_47_01_8482.jpg
/home/pi/Desktop/images/11072025/09/46/image_11072025_09_46_01_7236.jpg
/home/pi/Desktop/images/11072025/09/45/image_11072025_09_45_01_9340.jpg
/home/pi/Desktop/images/11072025/09/44/image_11072025_09_44_01_8266.jpg
/home/pi/Desktop/images/11072025/09/43/image_11072025_09_43_01_4418.jpg
/home/pi/Desktop/images/11072025/09/42/image_11072025_09_42_01_6189.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.271416902542114 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 09:49:05.961224
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/09/48/image_11072025_09_48_01_4158.jpg', 2), ('/home/pi/Desktop/images/11072025/09/47/image_11072025_09_47_01_8482.jpg', 2), ('/home/pi/Desktop/images/11072025/09/46/image_11072025_09_46_01_7236.jpg', 2), ('/home/pi/Desktop/images/11072025/09/45/image_11072025_09_45_01_9340.jpg', 2), ('/home/pi/Desktop/images/11072025/09/44/image_11072025_09_44_01_8266.jpg', 2), ('/home/pi/Desktop/images/11072025/09/43/image_11072025_09_43_01_4418.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/09/48/image_11072025_09_48_01_4158.jpg', '/home/pi/Desktop/images/11072025/09/47/image_11072025_09_47_01_8482.jpg', '/home/pi/Desktop/images/11072025/09/46/image_11072025_09_46_01_7236.jpg', '/home/pi/Desktop/images/11072025/09/45/image_11072025_09_45_01_9340.jpg', '/home/pi/Desktop/images/11072025/09/44/image_11072025_09_44_01_8266.jpg', '/home/pi/Desktop/images/11072025/09/43/image_11072025_09_43_01_4418.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/09/48/image_11072025_09_48_01_4158.jpg
/home/pi/Desktop/images/11072025/09/47/image_11072025_09_47_01_8482.jpg
/home/pi/Desktop/images/11072025/09/46/image_11072025_09_46_01_7236.jpg
/home/pi/Desktop/images/11072025/09/45/image_11072025_09_45_01_9340.jpg
/home/pi/Desktop/images/11072025/09/44/image_11072025_09_44_01_8266.jpg
/home/pi/Desktop/images/11072025/09/43/image_11072025_09_43_01_4418.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.13929319381714 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 09:50:06.204418
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/09/49/image_11072025_09_49_01_4029.jpg', 2), ('/home/pi/Desktop/images/11072025/09/48/image_11072025_09_48_01_4158.jpg', 2), ('/home/pi/Desktop/images/11072025/09/47/image_11072025_09_47_01_8482.jpg', 2), ('/home/pi/Desktop/images/11072025/09/46/image_11072025_09_46_01_7236.jpg', 2), ('/home/pi/Desktop/images/11072025/09/45/image_11072025_09_45_01_9340.jpg', 2), ('/home/pi/Desktop/images/11072025/09/44/image_11072025_09_44_01_8266.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/09/49/image_11072025_09_49_01_4029.jpg', '/home/pi/Desktop/images/11072025/09/48/image_11072025_09_48_01_4158.jpg', '/home/pi/Desktop/images/11072025/09/47/image_11072025_09_47_01_8482.jpg', '/home/pi/Desktop/images/11072025/09/46/image_11072025_09_46_01_7236.jpg', '/home/pi/Desktop/images/11072025/09/45/image_11072025_09_45_01_9340.jpg', '/home/pi/Desktop/images/11072025/09/44/image_11072025_09_44_01_8266.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/09/49/image_11072025_09_49_01_4029.jpg
/home/pi/Desktop/images/11072025/09/48/image_11072025_09_48_01_4158.jpg
/home/pi/Desktop/images/11072025/09/47/image_11072025_09_47_01_8482.jpg
/home/pi/Desktop/images/11072025/09/46/image_11072025_09_46_01_7236.jpg
/home/pi/Desktop/images/11072025/09/45/image_11072025_09_45_01_9340.jpg
/home/pi/Desktop/images/11072025/09/44/image_11072025_09_44_01_8266.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.061835527420044 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 09:51:05.381272
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/09/50/image_11072025_09_50_01_9643.jpg', 2), ('/home/pi/Desktop/images/11072025/09/49/image_11072025_09_49_01_4029.jpg', 2), ('/home/pi/Desktop/images/11072025/09/48/image_11072025_09_48_01_4158.jpg', 2), ('/home/pi/Desktop/images/11072025/09/47/image_11072025_09_47_01_8482.jpg', 2), ('/home/pi/Desktop/images/11072025/09/46/image_11072025_09_46_01_7236.jpg', 2), ('/home/pi/Desktop/images/11072025/09/45/image_11072025_09_45_01_9340.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/09/50/image_11072025_09_50_01_9643.jpg', '/home/pi/Desktop/images/11072025/09/49/image_11072025_09_49_01_4029.jpg', '/home/pi/Desktop/images/11072025/09/48/image_11072025_09_48_01_4158.jpg', '/home/pi/Desktop/images/11072025/09/47/image_11072025_09_47_01_8482.jpg', '/home/pi/Desktop/images/11072025/09/46/image_11072025_09_46_01_7236.jpg', '/home/pi/Desktop/images/11072025/09/45/image_11072025_09_45_01_9340.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/09/50/image_11072025_09_50_01_9643.jpg
/home/pi/Desktop/images/11072025/09/49/image_11072025_09_49_01_4029.jpg
/home/pi/Desktop/images/11072025/09/48/image_11072025_09_48_01_4158.jpg
/home/pi/Desktop/images/11072025/09/47/image_11072025_09_47_01_8482.jpg
/home/pi/Desktop/images/11072025/09/46/image_11072025_09_46_01_7236.jpg
/home/pi/Desktop/images/11072025/09/45/image_11072025_09_45_01_9340.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.04690980911255 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 09:52:04.723096
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/09/51/image_11072025_09_51_01_4296.jpg', 2), ('/home/pi/Desktop/images/11072025/09/50/image_11072025_09_50_01_9643.jpg', 2), ('/home/pi/Desktop/images/11072025/09/49/image_11072025_09_49_01_4029.jpg', 2), ('/home/pi/Desktop/images/11072025/09/48/image_11072025_09_48_01_4158.jpg', 2), ('/home/pi/Desktop/images/11072025/09/47/image_11072025_09_47_01_8482.jpg', 2), ('/home/pi/Desktop/images/11072025/09/46/image_11072025_09_46_01_7236.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/09/51/image_11072025_09_51_01_4296.jpg', '/home/pi/Desktop/images/11072025/09/50/image_11072025_09_50_01_9643.jpg', '/home/pi/Desktop/images/11072025/09/49/image_11072025_09_49_01_4029.jpg', '/home/pi/Desktop/images/11072025/09/48/image_11072025_09_48_01_4158.jpg', '/home/pi/Desktop/images/11072025/09/47/image_11072025_09_47_01_8482.jpg', '/home/pi/Desktop/images/11072025/09/46/image_11072025_09_46_01_7236.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/09/51/image_11072025_09_51_01_4296.jpg
/home/pi/Desktop/images/11072025/09/50/image_11072025_09_50_01_9643.jpg
/home/pi/Desktop/images/11072025/09/49/image_11072025_09_49_01_4029.jpg
/home/pi/Desktop/images/11072025/09/48/image_11072025_09_48_01_4158.jpg
/home/pi/Desktop/images/11072025/09/47/image_11072025_09_47_01_8482.jpg
/home/pi/Desktop/images/11072025/09/46/image_11072025_09_46_01_7236.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 32.85420799255371 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 09:53:05.315387
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/09/51/image_11072025_09_51_01_4296.jpg', 2), ('/home/pi/Desktop/images/11072025/09/50/image_11072025_09_50_01_9643.jpg', 2), ('/home/pi/Desktop/images/11072025/09/49/image_11072025_09_49_01_4029.jpg', 2), ('/home/pi/Desktop/images/11072025/09/48/image_11072025_09_48_01_4158.jpg', 2), ('/home/pi/Desktop/images/11072025/09/47/image_11072025_09_47_01_8482.jpg', 2), ('/home/pi/Desktop/images/11072025/09/46/image_11072025_09_46_01_7236.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/09/51/image_11072025_09_51_01_4296.jpg', '/home/pi/Desktop/images/11072025/09/50/image_11072025_09_50_01_9643.jpg', '/home/pi/Desktop/images/11072025/09/49/image_11072025_09_49_01_4029.jpg', '/home/pi/Desktop/images/11072025/09/48/image_11072025_09_48_01_4158.jpg', '/home/pi/Desktop/images/11072025/09/47/image_11072025_09_47_01_8482.jpg', '/home/pi/Desktop/images/11072025/09/46/image_11072025_09_46_01_7236.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/09/51/image_11072025_09_51_01_4296.jpg
/home/pi/Desktop/images/11072025/09/50/image_11072025_09_50_01_9643.jpg
/home/pi/Desktop/images/11072025/09/49/image_11072025_09_49_01_4029.jpg
/home/pi/Desktop/images/11072025/09/48/image_11072025_09_48_01_4158.jpg
/home/pi/Desktop/images/11072025/09/47/image_11072025_09_47_01_8482.jpg
/home/pi/Desktop/images/11072025/09/46/image_11072025_09_46_01_7236.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.40490484237671 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 09:54:04.909535
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/09/52/image_11072025_09_52_01_6650.jpg', 2), ('/home/pi/Desktop/images/11072025/09/51/image_11072025_09_51_01_4296.jpg', 2), ('/home/pi/Desktop/images/11072025/09/50/image_11072025_09_50_01_9643.jpg', 2), ('/home/pi/Desktop/images/11072025/09/49/image_11072025_09_49_01_4029.jpg', 2), ('/home/pi/Desktop/images/11072025/09/48/image_11072025_09_48_01_4158.jpg', 2), ('/home/pi/Desktop/images/11072025/09/47/image_11072025_09_47_01_8482.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/09/52/image_11072025_09_52_01_6650.jpg', '/home/pi/Desktop/images/11072025/09/51/image_11072025_09_51_01_4296.jpg', '/home/pi/Desktop/images/11072025/09/50/image_11072025_09_50_01_9643.jpg', '/home/pi/Desktop/images/11072025/09/49/image_11072025_09_49_01_4029.jpg', '/home/pi/Desktop/images/11072025/09/48/image_11072025_09_48_01_4158.jpg', '/home/pi/Desktop/images/11072025/09/47/image_11072025_09_47_01_8482.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/09/52/image_11072025_09_52_01_6650.jpg
/home/pi/Desktop/images/11072025/09/51/image_11072025_09_51_01_4296.jpg
/home/pi/Desktop/images/11072025/09/50/image_11072025_09_50_01_9643.jpg
/home/pi/Desktop/images/11072025/09/49/image_11072025_09_49_01_4029.jpg
/home/pi/Desktop/images/11072025/09/48/image_11072025_09_48_01_4158.jpg
/home/pi/Desktop/images/11072025/09/47/image_11072025_09_47_01_8482.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 32.91691613197327 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 09:55:05.718358
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/09/54/image_11072025_09_54_01_7467.jpg', 2), ('/home/pi/Desktop/images/11072025/09/52/image_11072025_09_52_01_6650.jpg', 2), ('/home/pi/Desktop/images/11072025/09/51/image_11072025_09_51_01_4296.jpg', 2), ('/home/pi/Desktop/images/11072025/09/50/image_11072025_09_50_01_9643.jpg', 2), ('/home/pi/Desktop/images/11072025/09/49/image_11072025_09_49_01_4029.jpg', 2), ('/home/pi/Desktop/images/11072025/09/48/image_11072025_09_48_01_4158.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/09/54/image_11072025_09_54_01_7467.jpg', '/home/pi/Desktop/images/11072025/09/52/image_11072025_09_52_01_6650.jpg', '/home/pi/Desktop/images/11072025/09/51/image_11072025_09_51_01_4296.jpg', '/home/pi/Desktop/images/11072025/09/50/image_11072025_09_50_01_9643.jpg', '/home/pi/Desktop/images/11072025/09/49/image_11072025_09_49_01_4029.jpg', '/home/pi/Desktop/images/11072025/09/48/image_11072025_09_48_01_4158.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/09/54/image_11072025_09_54_01_7467.jpg
/home/pi/Desktop/images/11072025/09/52/image_11072025_09_52_01_6650.jpg
/home/pi/Desktop/images/11072025/09/51/image_11072025_09_51_01_4296.jpg
/home/pi/Desktop/images/11072025/09/50/image_11072025_09_50_01_9643.jpg
/home/pi/Desktop/images/11072025/09/49/image_11072025_09_49_01_4029.jpg
/home/pi/Desktop/images/11072025/09/48/image_11072025_09_48_01_4158.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.30771803855896 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 09:56:05.460449
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/09/55/image_11072025_09_55_01_4092.jpg', 2), ('/home/pi/Desktop/images/11072025/09/54/image_11072025_09_54_01_7467.jpg', 2), ('/home/pi/Desktop/images/11072025/09/52/image_11072025_09_52_01_6650.jpg', 2), ('/home/pi/Desktop/images/11072025/09/51/image_11072025_09_51_01_4296.jpg', 2), ('/home/pi/Desktop/images/11072025/09/50/image_11072025_09_50_01_9643.jpg', 2), ('/home/pi/Desktop/images/11072025/09/49/image_11072025_09_49_01_4029.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/09/55/image_11072025_09_55_01_4092.jpg', '/home/pi/Desktop/images/11072025/09/54/image_11072025_09_54_01_7467.jpg', '/home/pi/Desktop/images/11072025/09/52/image_11072025_09_52_01_6650.jpg', '/home/pi/Desktop/images/11072025/09/51/image_11072025_09_51_01_4296.jpg', '/home/pi/Desktop/images/11072025/09/50/image_11072025_09_50_01_9643.jpg', '/home/pi/Desktop/images/11072025/09/49/image_11072025_09_49_01_4029.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/09/55/image_11072025_09_55_01_4092.jpg
/home/pi/Desktop/images/11072025/09/54/image_11072025_09_54_01_7467.jpg
/home/pi/Desktop/images/11072025/09/52/image_11072025_09_52_01_6650.jpg
/home/pi/Desktop/images/11072025/09/51/image_11072025_09_51_01_4296.jpg
/home/pi/Desktop/images/11072025/09/50/image_11072025_09_50_01_9643.jpg
/home/pi/Desktop/images/11072025/09/49/image_11072025_09_49_01_4029.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 32.723790407180786 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 09:57:04.899116
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/09/56/image_11072025_09_56_02_1933.jpg', 2), ('/home/pi/Desktop/images/11072025/09/55/image_11072025_09_55_01_4092.jpg', 2), ('/home/pi/Desktop/images/11072025/09/54/image_11072025_09_54_01_7467.jpg', 2), ('/home/pi/Desktop/images/11072025/09/52/image_11072025_09_52_01_6650.jpg', 2), ('/home/pi/Desktop/images/11072025/09/51/image_11072025_09_51_01_4296.jpg', 2), ('/home/pi/Desktop/images/11072025/09/50/image_11072025_09_50_01_9643.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/09/56/image_11072025_09_56_02_1933.jpg', '/home/pi/Desktop/images/11072025/09/55/image_11072025_09_55_01_4092.jpg', '/home/pi/Desktop/images/11072025/09/54/image_11072025_09_54_01_7467.jpg', '/home/pi/Desktop/images/11072025/09/52/image_11072025_09_52_01_6650.jpg', '/home/pi/Desktop/images/11072025/09/51/image_11072025_09_51_01_4296.jpg', '/home/pi/Desktop/images/11072025/09/50/image_11072025_09_50_01_9643.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/09/56/image_11072025_09_56_02_1933.jpg
/home/pi/Desktop/images/11072025/09/55/image_11072025_09_55_01_4092.jpg
/home/pi/Desktop/images/11072025/09/54/image_11072025_09_54_01_7467.jpg
/home/pi/Desktop/images/11072025/09/52/image_11072025_09_52_01_6650.jpg
/home/pi/Desktop/images/11072025/09/51/image_11072025_09_51_01_4296.jpg
/home/pi/Desktop/images/11072025/09/50/image_11072025_09_50_01_9643.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.395304679870605 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 09:59:04.002954
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/09/58/image_11072025_09_58_01_5782.jpg', 2), ('/home/pi/Desktop/images/11072025/09/57/image_11072025_09_57_01_9500.jpg', 2), ('/home/pi/Desktop/images/11072025/09/56/image_11072025_09_56_02_1933.jpg', 2), ('/home/pi/Desktop/images/11072025/09/55/image_11072025_09_55_01_4092.jpg', 2), ('/home/pi/Desktop/images/11072025/09/54/image_11072025_09_54_01_7467.jpg', 2), ('/home/pi/Desktop/images/11072025/09/52/image_11072025_09_52_01_6650.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/09/58/image_11072025_09_58_01_5782.jpg', '/home/pi/Desktop/images/11072025/09/57/image_11072025_09_57_01_9500.jpg', '/home/pi/Desktop/images/11072025/09/56/image_11072025_09_56_02_1933.jpg', '/home/pi/Desktop/images/11072025/09/55/image_11072025_09_55_01_4092.jpg', '/home/pi/Desktop/images/11072025/09/54/image_11072025_09_54_01_7467.jpg', '/home/pi/Desktop/images/11072025/09/52/image_11072025_09_52_01_6650.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/09/58/image_11072025_09_58_01_5782.jpg
/home/pi/Desktop/images/11072025/09/57/image_11072025_09_57_01_9500.jpg
/home/pi/Desktop/images/11072025/09/56/image_11072025_09_56_02_1933.jpg
/home/pi/Desktop/images/11072025/09/55/image_11072025_09_55_01_4092.jpg
/home/pi/Desktop/images/11072025/09/54/image_11072025_09_54_01_7467.jpg
/home/pi/Desktop/images/11072025/09/52/image_11072025_09_52_01_6650.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.458386182785034 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 10:00:04.853607
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/09/59/image_11072025_09_59_02_0043.jpg', 2), ('/home/pi/Desktop/images/11072025/09/58/image_11072025_09_58_01_5782.jpg', 2), ('/home/pi/Desktop/images/11072025/09/57/image_11072025_09_57_01_9500.jpg', 2), ('/home/pi/Desktop/images/11072025/09/56/image_11072025_09_56_02_1933.jpg', 2), ('/home/pi/Desktop/images/11072025/09/55/image_11072025_09_55_01_4092.jpg', 2), ('/home/pi/Desktop/images/11072025/09/54/image_11072025_09_54_01_7467.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/09/59/image_11072025_09_59_02_0043.jpg', '/home/pi/Desktop/images/11072025/09/58/image_11072025_09_58_01_5782.jpg', '/home/pi/Desktop/images/11072025/09/57/image_11072025_09_57_01_9500.jpg', '/home/pi/Desktop/images/11072025/09/56/image_11072025_09_56_02_1933.jpg', '/home/pi/Desktop/images/11072025/09/55/image_11072025_09_55_01_4092.jpg', '/home/pi/Desktop/images/11072025/09/54/image_11072025_09_54_01_7467.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/09/59/image_11072025_09_59_02_0043.jpg
/home/pi/Desktop/images/11072025/09/58/image_11072025_09_58_01_5782.jpg
/home/pi/Desktop/images/11072025/09/57/image_11072025_09_57_01_9500.jpg
/home/pi/Desktop/images/11072025/09/56/image_11072025_09_56_02_1933.jpg
/home/pi/Desktop/images/11072025/09/55/image_11072025_09_55_01_4092.jpg
/home/pi/Desktop/images/11072025/09/54/image_11072025_09_54_01_7467.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 32.77069282531738 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 10:01:05.297244
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/10/00/image_11072025_10_00_01_4122.jpg', 2), ('/home/pi/Desktop/images/11072025/09/59/image_11072025_09_59_02_0043.jpg', 2), ('/home/pi/Desktop/images/11072025/09/58/image_11072025_09_58_01_5782.jpg', 2), ('/home/pi/Desktop/images/11072025/09/57/image_11072025_09_57_01_9500.jpg', 2), ('/home/pi/Desktop/images/11072025/09/56/image_11072025_09_56_02_1933.jpg', 2), ('/home/pi/Desktop/images/11072025/09/55/image_11072025_09_55_01_4092.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/10/00/image_11072025_10_00_01_4122.jpg', '/home/pi/Desktop/images/11072025/09/59/image_11072025_09_59_02_0043.jpg', '/home/pi/Desktop/images/11072025/09/58/image_11072025_09_58_01_5782.jpg', '/home/pi/Desktop/images/11072025/09/57/image_11072025_09_57_01_9500.jpg', '/home/pi/Desktop/images/11072025/09/56/image_11072025_09_56_02_1933.jpg', '/home/pi/Desktop/images/11072025/09/55/image_11072025_09_55_01_4092.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/10/00/image_11072025_10_00_01_4122.jpg
/home/pi/Desktop/images/11072025/09/59/image_11072025_09_59_02_0043.jpg
/home/pi/Desktop/images/11072025/09/58/image_11072025_09_58_01_5782.jpg
/home/pi/Desktop/images/11072025/09/57/image_11072025_09_57_01_9500.jpg
/home/pi/Desktop/images/11072025/09/56/image_11072025_09_56_02_1933.jpg
/home/pi/Desktop/images/11072025/09/55/image_11072025_09_55_01_4092.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.504780292510986 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 10:02:05.693194
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/10/01/image_11072025_10_01_01_4480.jpg', 2), ('/home/pi/Desktop/images/11072025/10/00/image_11072025_10_00_01_4122.jpg', 2), ('/home/pi/Desktop/images/11072025/09/59/image_11072025_09_59_02_0043.jpg', 2), ('/home/pi/Desktop/images/11072025/09/58/image_11072025_09_58_01_5782.jpg', 2), ('/home/pi/Desktop/images/11072025/09/57/image_11072025_09_57_01_9500.jpg', 2), ('/home/pi/Desktop/images/11072025/09/56/image_11072025_09_56_02_1933.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/10/01/image_11072025_10_01_01_4480.jpg', '/home/pi/Desktop/images/11072025/10/00/image_11072025_10_00_01_4122.jpg', '/home/pi/Desktop/images/11072025/09/59/image_11072025_09_59_02_0043.jpg', '/home/pi/Desktop/images/11072025/09/58/image_11072025_09_58_01_5782.jpg', '/home/pi/Desktop/images/11072025/09/57/image_11072025_09_57_01_9500.jpg', '/home/pi/Desktop/images/11072025/09/56/image_11072025_09_56_02_1933.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/10/01/image_11072025_10_01_01_4480.jpg
/home/pi/Desktop/images/11072025/10/00/image_11072025_10_00_01_4122.jpg
/home/pi/Desktop/images/11072025/09/59/image_11072025_09_59_02_0043.jpg
/home/pi/Desktop/images/11072025/09/58/image_11072025_09_58_01_5782.jpg
/home/pi/Desktop/images/11072025/09/57/image_11072025_09_57_01_9500.jpg
/home/pi/Desktop/images/11072025/09/56/image_11072025_09_56_02_1933.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.19519567489624 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 10:03:04.992111
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/10/02/image_11072025_10_02_01_7206.jpg', 2), ('/home/pi/Desktop/images/11072025/10/01/image_11072025_10_01_01_4480.jpg', 2), ('/home/pi/Desktop/images/11072025/10/00/image_11072025_10_00_01_4122.jpg', 2), ('/home/pi/Desktop/images/11072025/09/59/image_11072025_09_59_02_0043.jpg', 2), ('/home/pi/Desktop/images/11072025/09/58/image_11072025_09_58_01_5782.jpg', 2), ('/home/pi/Desktop/images/11072025/09/57/image_11072025_09_57_01_9500.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/10/02/image_11072025_10_02_01_7206.jpg', '/home/pi/Desktop/images/11072025/10/01/image_11072025_10_01_01_4480.jpg', '/home/pi/Desktop/images/11072025/10/00/image_11072025_10_00_01_4122.jpg', '/home/pi/Desktop/images/11072025/09/59/image_11072025_09_59_02_0043.jpg', '/home/pi/Desktop/images/11072025/09/58/image_11072025_09_58_01_5782.jpg', '/home/pi/Desktop/images/11072025/09/57/image_11072025_09_57_01_9500.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/10/02/image_11072025_10_02_01_7206.jpg
/home/pi/Desktop/images/11072025/10/01/image_11072025_10_01_01_4480.jpg
/home/pi/Desktop/images/11072025/10/00/image_11072025_10_00_01_4122.jpg
/home/pi/Desktop/images/11072025/09/59/image_11072025_09_59_02_0043.jpg
/home/pi/Desktop/images/11072025/09/58/image_11072025_09_58_01_5782.jpg
/home/pi/Desktop/images/11072025/09/57/image_11072025_09_57_01_9500.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 34.03108072280884 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 10:04:04.892038
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/10/03/image_11072025_10_03_02_1494.jpg', 2), ('/home/pi/Desktop/images/11072025/10/02/image_11072025_10_02_01_7206.jpg', 2), ('/home/pi/Desktop/images/11072025/10/01/image_11072025_10_01_01_4480.jpg', 2), ('/home/pi/Desktop/images/11072025/10/00/image_11072025_10_00_01_4122.jpg', 2), ('/home/pi/Desktop/images/11072025/09/59/image_11072025_09_59_02_0043.jpg', 2), ('/home/pi/Desktop/images/11072025/09/58/image_11072025_09_58_01_5782.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/10/03/image_11072025_10_03_02_1494.jpg', '/home/pi/Desktop/images/11072025/10/02/image_11072025_10_02_01_7206.jpg', '/home/pi/Desktop/images/11072025/10/01/image_11072025_10_01_01_4480.jpg', '/home/pi/Desktop/images/11072025/10/00/image_11072025_10_00_01_4122.jpg', '/home/pi/Desktop/images/11072025/09/59/image_11072025_09_59_02_0043.jpg', '/home/pi/Desktop/images/11072025/09/58/image_11072025_09_58_01_5782.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/10/03/image_11072025_10_03_02_1494.jpg
/home/pi/Desktop/images/11072025/10/02/image_11072025_10_02_01_7206.jpg
/home/pi/Desktop/images/11072025/10/01/image_11072025_10_01_01_4480.jpg
/home/pi/Desktop/images/11072025/10/00/image_11072025_10_00_01_4122.jpg
/home/pi/Desktop/images/11072025/09/59/image_11072025_09_59_02_0043.jpg
/home/pi/Desktop/images/11072025/09/58/image_11072025_09_58_01_5782.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.229880809783936 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 10:05:05.732112
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/10/04/image_11072025_10_04_01_5121.jpg', 2), ('/home/pi/Desktop/images/11072025/10/03/image_11072025_10_03_02_1494.jpg', 2), ('/home/pi/Desktop/images/11072025/10/02/image_11072025_10_02_01_7206.jpg', 2), ('/home/pi/Desktop/images/11072025/10/01/image_11072025_10_01_01_4480.jpg', 2), ('/home/pi/Desktop/images/11072025/10/00/image_11072025_10_00_01_4122.jpg', 2), ('/home/pi/Desktop/images/11072025/09/59/image_11072025_09_59_02_0043.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/10/04/image_11072025_10_04_01_5121.jpg', '/home/pi/Desktop/images/11072025/10/03/image_11072025_10_03_02_1494.jpg', '/home/pi/Desktop/images/11072025/10/02/image_11072025_10_02_01_7206.jpg', '/home/pi/Desktop/images/11072025/10/01/image_11072025_10_01_01_4480.jpg', '/home/pi/Desktop/images/11072025/10/00/image_11072025_10_00_01_4122.jpg', '/home/pi/Desktop/images/11072025/09/59/image_11072025_09_59_02_0043.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/10/04/image_11072025_10_04_01_5121.jpg
/home/pi/Desktop/images/11072025/10/03/image_11072025_10_03_02_1494.jpg
/home/pi/Desktop/images/11072025/10/02/image_11072025_10_02_01_7206.jpg
/home/pi/Desktop/images/11072025/10/01/image_11072025_10_01_01_4480.jpg
/home/pi/Desktop/images/11072025/10/00/image_11072025_10_00_01_4122.jpg
/home/pi/Desktop/images/11072025/09/59/image_11072025_09_59_02_0043.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.566959619522095 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 10:06:05.247325
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/10/05/image_11072025_10_05_01_3939.jpg', 2), ('/home/pi/Desktop/images/11072025/10/04/image_11072025_10_04_01_5121.jpg', 2), ('/home/pi/Desktop/images/11072025/10/03/image_11072025_10_03_02_1494.jpg', 2), ('/home/pi/Desktop/images/11072025/10/02/image_11072025_10_02_01_7206.jpg', 2), ('/home/pi/Desktop/images/11072025/10/01/image_11072025_10_01_01_4480.jpg', 2), ('/home/pi/Desktop/images/11072025/10/00/image_11072025_10_00_01_4122.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/10/05/image_11072025_10_05_01_3939.jpg', '/home/pi/Desktop/images/11072025/10/04/image_11072025_10_04_01_5121.jpg', '/home/pi/Desktop/images/11072025/10/03/image_11072025_10_03_02_1494.jpg', '/home/pi/Desktop/images/11072025/10/02/image_11072025_10_02_01_7206.jpg', '/home/pi/Desktop/images/11072025/10/01/image_11072025_10_01_01_4480.jpg', '/home/pi/Desktop/images/11072025/10/00/image_11072025_10_00_01_4122.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/10/05/image_11072025_10_05_01_3939.jpg
/home/pi/Desktop/images/11072025/10/04/image_11072025_10_04_01_5121.jpg
/home/pi/Desktop/images/11072025/10/03/image_11072025_10_03_02_1494.jpg
/home/pi/Desktop/images/11072025/10/02/image_11072025_10_02_01_7206.jpg
/home/pi/Desktop/images/11072025/10/01/image_11072025_10_01_01_4480.jpg
/home/pi/Desktop/images/11072025/10/00/image_11072025_10_00_01_4122.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.14732789993286 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 10:07:06.434872
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/10/06/image_11072025_10_06_02_1043.jpg', 2), ('/home/pi/Desktop/images/11072025/10/05/image_11072025_10_05_01_3939.jpg', 2), ('/home/pi/Desktop/images/11072025/10/04/image_11072025_10_04_01_5121.jpg', 2), ('/home/pi/Desktop/images/11072025/10/03/image_11072025_10_03_02_1494.jpg', 2), ('/home/pi/Desktop/images/11072025/10/02/image_11072025_10_02_01_7206.jpg', 2), ('/home/pi/Desktop/images/11072025/10/01/image_11072025_10_01_01_4480.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/10/06/image_11072025_10_06_02_1043.jpg', '/home/pi/Desktop/images/11072025/10/05/image_11072025_10_05_01_3939.jpg', '/home/pi/Desktop/images/11072025/10/04/image_11072025_10_04_01_5121.jpg', '/home/pi/Desktop/images/11072025/10/03/image_11072025_10_03_02_1494.jpg', '/home/pi/Desktop/images/11072025/10/02/image_11072025_10_02_01_7206.jpg', '/home/pi/Desktop/images/11072025/10/01/image_11072025_10_01_01_4480.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/10/06/image_11072025_10_06_02_1043.jpg
/home/pi/Desktop/images/11072025/10/05/image_11072025_10_05_01_3939.jpg
/home/pi/Desktop/images/11072025/10/04/image_11072025_10_04_01_5121.jpg
/home/pi/Desktop/images/11072025/10/03/image_11072025_10_03_02_1494.jpg
/home/pi/Desktop/images/11072025/10/02/image_11072025_10_02_01_7206.jpg
/home/pi/Desktop/images/11072025/10/01/image_11072025_10_01_01_4480.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.80862545967102 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 10:08:05.731997
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/10/07/image_11072025_10_07_01_6822.jpg', 2), ('/home/pi/Desktop/images/11072025/10/06/image_11072025_10_06_02_1043.jpg', 2), ('/home/pi/Desktop/images/11072025/10/05/image_11072025_10_05_01_3939.jpg', 2), ('/home/pi/Desktop/images/11072025/10/04/image_11072025_10_04_01_5121.jpg', 2), ('/home/pi/Desktop/images/11072025/10/03/image_11072025_10_03_02_1494.jpg', 2), ('/home/pi/Desktop/images/11072025/10/02/image_11072025_10_02_01_7206.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/10/07/image_11072025_10_07_01_6822.jpg', '/home/pi/Desktop/images/11072025/10/06/image_11072025_10_06_02_1043.jpg', '/home/pi/Desktop/images/11072025/10/05/image_11072025_10_05_01_3939.jpg', '/home/pi/Desktop/images/11072025/10/04/image_11072025_10_04_01_5121.jpg', '/home/pi/Desktop/images/11072025/10/03/image_11072025_10_03_02_1494.jpg', '/home/pi/Desktop/images/11072025/10/02/image_11072025_10_02_01_7206.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/10/07/image_11072025_10_07_01_6822.jpg
/home/pi/Desktop/images/11072025/10/06/image_11072025_10_06_02_1043.jpg
/home/pi/Desktop/images/11072025/10/05/image_11072025_10_05_01_3939.jpg
/home/pi/Desktop/images/11072025/10/04/image_11072025_10_04_01_5121.jpg
/home/pi/Desktop/images/11072025/10/03/image_11072025_10_03_02_1494.jpg
/home/pi/Desktop/images/11072025/10/02/image_11072025_10_02_01_7206.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 32.721951961517334 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 10:09:05.145977
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/10/08/image_11072025_10_08_02_2778.jpg', 2), ('/home/pi/Desktop/images/11072025/10/07/image_11072025_10_07_01_6822.jpg', 2), ('/home/pi/Desktop/images/11072025/10/06/image_11072025_10_06_02_1043.jpg', 2), ('/home/pi/Desktop/images/11072025/10/05/image_11072025_10_05_01_3939.jpg', 2), ('/home/pi/Desktop/images/11072025/10/04/image_11072025_10_04_01_5121.jpg', 2), ('/home/pi/Desktop/images/11072025/10/03/image_11072025_10_03_02_1494.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/10/08/image_11072025_10_08_02_2778.jpg', '/home/pi/Desktop/images/11072025/10/07/image_11072025_10_07_01_6822.jpg', '/home/pi/Desktop/images/11072025/10/06/image_11072025_10_06_02_1043.jpg', '/home/pi/Desktop/images/11072025/10/05/image_11072025_10_05_01_3939.jpg', '/home/pi/Desktop/images/11072025/10/04/image_11072025_10_04_01_5121.jpg', '/home/pi/Desktop/images/11072025/10/03/image_11072025_10_03_02_1494.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/10/08/image_11072025_10_08_02_2778.jpg
/home/pi/Desktop/images/11072025/10/07/image_11072025_10_07_01_6822.jpg
/home/pi/Desktop/images/11072025/10/06/image_11072025_10_06_02_1043.jpg
/home/pi/Desktop/images/11072025/10/05/image_11072025_10_05_01_3939.jpg
/home/pi/Desktop/images/11072025/10/04/image_11072025_10_04_01_5121.jpg
/home/pi/Desktop/images/11072025/10/03/image_11072025_10_03_02_1494.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.42029857635498 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 10:10:03.142076
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/10/10/image_11072025_10_10_01_9743.jpg', 2), ('/home/pi/Desktop/images/11072025/10/08/image_11072025_10_08_02_2778.jpg', 2), ('/home/pi/Desktop/images/11072025/10/07/image_11072025_10_07_01_6822.jpg', 2), ('/home/pi/Desktop/images/11072025/10/06/image_11072025_10_06_02_1043.jpg', 2), ('/home/pi/Desktop/images/11072025/10/05/image_11072025_10_05_01_3939.jpg', 2), ('/home/pi/Desktop/images/11072025/10/04/image_11072025_10_04_01_5121.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/10/10/image_11072025_10_10_01_9743.jpg', '/home/pi/Desktop/images/11072025/10/08/image_11072025_10_08_02_2778.jpg', '/home/pi/Desktop/images/11072025/10/07/image_11072025_10_07_01_6822.jpg', '/home/pi/Desktop/images/11072025/10/06/image_11072025_10_06_02_1043.jpg', '/home/pi/Desktop/images/11072025/10/05/image_11072025_10_05_01_3939.jpg', '/home/pi/Desktop/images/11072025/10/04/image_11072025_10_04_01_5121.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/10/10/image_11072025_10_10_01_9743.jpg
/home/pi/Desktop/images/11072025/10/08/image_11072025_10_08_02_2778.jpg
/home/pi/Desktop/images/11072025/10/07/image_11072025_10_07_01_6822.jpg
/home/pi/Desktop/images/11072025/10/06/image_11072025_10_06_02_1043.jpg
/home/pi/Desktop/images/11072025/10/05/image_11072025_10_05_01_3939.jpg
/home/pi/Desktop/images/11072025/10/04/image_11072025_10_04_01_5121.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 31.600484132766724 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 10:11:05.099721
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/10/10/image_11072025_10_10_01_9743.jpg', 2), ('/home/pi/Desktop/images/11072025/10/09/image_11072025_10_09_02_2067.jpg', 2), ('/home/pi/Desktop/images/11072025/10/08/image_11072025_10_08_02_2778.jpg', 2), ('/home/pi/Desktop/images/11072025/10/07/image_11072025_10_07_01_6822.jpg', 2), ('/home/pi/Desktop/images/11072025/10/06/image_11072025_10_06_02_1043.jpg', 2), ('/home/pi/Desktop/images/11072025/10/05/image_11072025_10_05_01_3939.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/10/10/image_11072025_10_10_01_9743.jpg', '/home/pi/Desktop/images/11072025/10/09/image_11072025_10_09_02_2067.jpg', '/home/pi/Desktop/images/11072025/10/08/image_11072025_10_08_02_2778.jpg', '/home/pi/Desktop/images/11072025/10/07/image_11072025_10_07_01_6822.jpg', '/home/pi/Desktop/images/11072025/10/06/image_11072025_10_06_02_1043.jpg', '/home/pi/Desktop/images/11072025/10/05/image_11072025_10_05_01_3939.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/10/10/image_11072025_10_10_01_9743.jpg
/home/pi/Desktop/images/11072025/10/09/image_11072025_10_09_02_2067.jpg
/home/pi/Desktop/images/11072025/10/08/image_11072025_10_08_02_2778.jpg
/home/pi/Desktop/images/11072025/10/07/image_11072025_10_07_01_6822.jpg
/home/pi/Desktop/images/11072025/10/06/image_11072025_10_06_02_1043.jpg
/home/pi/Desktop/images/11072025/10/05/image_11072025_10_05_01_3939.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 34.78387188911438 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 10:12:05.052956
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/10/11/image_11072025_10_11_01_6251.jpg', 2), ('/home/pi/Desktop/images/11072025/10/10/image_11072025_10_10_01_9743.jpg', 2), ('/home/pi/Desktop/images/11072025/10/09/image_11072025_10_09_02_2067.jpg', 2), ('/home/pi/Desktop/images/11072025/10/08/image_11072025_10_08_02_2778.jpg', 2), ('/home/pi/Desktop/images/11072025/10/07/image_11072025_10_07_01_6822.jpg', 2), ('/home/pi/Desktop/images/11072025/10/06/image_11072025_10_06_02_1043.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/10/11/image_11072025_10_11_01_6251.jpg', '/home/pi/Desktop/images/11072025/10/10/image_11072025_10_10_01_9743.jpg', '/home/pi/Desktop/images/11072025/10/09/image_11072025_10_09_02_2067.jpg', '/home/pi/Desktop/images/11072025/10/08/image_11072025_10_08_02_2778.jpg', '/home/pi/Desktop/images/11072025/10/07/image_11072025_10_07_01_6822.jpg', '/home/pi/Desktop/images/11072025/10/06/image_11072025_10_06_02_1043.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/10/11/image_11072025_10_11_01_6251.jpg
/home/pi/Desktop/images/11072025/10/10/image_11072025_10_10_01_9743.jpg
/home/pi/Desktop/images/11072025/10/09/image_11072025_10_09_02_2067.jpg
/home/pi/Desktop/images/11072025/10/08/image_11072025_10_08_02_2778.jpg
/home/pi/Desktop/images/11072025/10/07/image_11072025_10_07_01_6822.jpg
/home/pi/Desktop/images/11072025/10/06/image_11072025_10_06_02_1043.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.000033140182495 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 10:13:05.509944
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/10/12/image_11072025_10_12_01_4687.jpg', 2), ('/home/pi/Desktop/images/11072025/10/11/image_11072025_10_11_01_6251.jpg', 2), ('/home/pi/Desktop/images/11072025/10/10/image_11072025_10_10_01_9743.jpg', 2), ('/home/pi/Desktop/images/11072025/10/09/image_11072025_10_09_02_2067.jpg', 2), ('/home/pi/Desktop/images/11072025/10/08/image_11072025_10_08_02_2778.jpg', 2), ('/home/pi/Desktop/images/11072025/10/07/image_11072025_10_07_01_6822.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/10/12/image_11072025_10_12_01_4687.jpg', '/home/pi/Desktop/images/11072025/10/11/image_11072025_10_11_01_6251.jpg', '/home/pi/Desktop/images/11072025/10/10/image_11072025_10_10_01_9743.jpg', '/home/pi/Desktop/images/11072025/10/09/image_11072025_10_09_02_2067.jpg', '/home/pi/Desktop/images/11072025/10/08/image_11072025_10_08_02_2778.jpg', '/home/pi/Desktop/images/11072025/10/07/image_11072025_10_07_01_6822.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/10/12/image_11072025_10_12_01_4687.jpg
/home/pi/Desktop/images/11072025/10/11/image_11072025_10_11_01_6251.jpg
/home/pi/Desktop/images/11072025/10/10/image_11072025_10_10_01_9743.jpg
/home/pi/Desktop/images/11072025/10/09/image_11072025_10_09_02_2067.jpg
/home/pi/Desktop/images/11072025/10/08/image_11072025_10_08_02_2778.jpg
/home/pi/Desktop/images/11072025/10/07/image_11072025_10_07_01_6822.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 32.63741087913513 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 10:14:05.553604
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/10/13/image_11072025_10_13_01_6222.jpg', 2), ('/home/pi/Desktop/images/11072025/10/12/image_11072025_10_12_01_4687.jpg', 2), ('/home/pi/Desktop/images/11072025/10/11/image_11072025_10_11_01_6251.jpg', 2), ('/home/pi/Desktop/images/11072025/10/10/image_11072025_10_10_01_9743.jpg', 2), ('/home/pi/Desktop/images/11072025/10/09/image_11072025_10_09_02_2067.jpg', 2), ('/home/pi/Desktop/images/11072025/10/08/image_11072025_10_08_02_2778.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/10/13/image_11072025_10_13_01_6222.jpg', '/home/pi/Desktop/images/11072025/10/12/image_11072025_10_12_01_4687.jpg', '/home/pi/Desktop/images/11072025/10/11/image_11072025_10_11_01_6251.jpg', '/home/pi/Desktop/images/11072025/10/10/image_11072025_10_10_01_9743.jpg', '/home/pi/Desktop/images/11072025/10/09/image_11072025_10_09_02_2067.jpg', '/home/pi/Desktop/images/11072025/10/08/image_11072025_10_08_02_2778.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/10/13/image_11072025_10_13_01_6222.jpg
/home/pi/Desktop/images/11072025/10/12/image_11072025_10_12_01_4687.jpg
/home/pi/Desktop/images/11072025/10/11/image_11072025_10_11_01_6251.jpg
/home/pi/Desktop/images/11072025/10/10/image_11072025_10_10_01_9743.jpg
/home/pi/Desktop/images/11072025/10/09/image_11072025_10_09_02_2067.jpg
/home/pi/Desktop/images/11072025/10/08/image_11072025_10_08_02_2778.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 34.739163875579834 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 10:15:04.896082
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/10/14/image_11072025_10_14_01_9635.jpg', 2), ('/home/pi/Desktop/images/11072025/10/13/image_11072025_10_13_01_6222.jpg', 2), ('/home/pi/Desktop/images/11072025/10/12/image_11072025_10_12_01_4687.jpg', 2), ('/home/pi/Desktop/images/11072025/10/11/image_11072025_10_11_01_6251.jpg', 2), ('/home/pi/Desktop/images/11072025/10/10/image_11072025_10_10_01_9743.jpg', 2), ('/home/pi/Desktop/images/11072025/10/09/image_11072025_10_09_02_2067.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/10/14/image_11072025_10_14_01_9635.jpg', '/home/pi/Desktop/images/11072025/10/13/image_11072025_10_13_01_6222.jpg', '/home/pi/Desktop/images/11072025/10/12/image_11072025_10_12_01_4687.jpg', '/home/pi/Desktop/images/11072025/10/11/image_11072025_10_11_01_6251.jpg', '/home/pi/Desktop/images/11072025/10/10/image_11072025_10_10_01_9743.jpg', '/home/pi/Desktop/images/11072025/10/09/image_11072025_10_09_02_2067.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/10/14/image_11072025_10_14_01_9635.jpg
/home/pi/Desktop/images/11072025/10/13/image_11072025_10_13_01_6222.jpg
/home/pi/Desktop/images/11072025/10/12/image_11072025_10_12_01_4687.jpg
/home/pi/Desktop/images/11072025/10/11/image_11072025_10_11_01_6251.jpg
/home/pi/Desktop/images/11072025/10/10/image_11072025_10_10_01_9743.jpg
/home/pi/Desktop/images/11072025/10/09/image_11072025_10_09_02_2067.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 32.45816206932068 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 10:16:05.002067
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/10/15/image_11072025_10_15_02_1130.jpg', 2), ('/home/pi/Desktop/images/11072025/10/14/image_11072025_10_14_01_9635.jpg', 2), ('/home/pi/Desktop/images/11072025/10/13/image_11072025_10_13_01_6222.jpg', 2), ('/home/pi/Desktop/images/11072025/10/12/image_11072025_10_12_01_4687.jpg', 2), ('/home/pi/Desktop/images/11072025/10/11/image_11072025_10_11_01_6251.jpg', 2), ('/home/pi/Desktop/images/11072025/10/10/image_11072025_10_10_01_9743.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/10/15/image_11072025_10_15_02_1130.jpg', '/home/pi/Desktop/images/11072025/10/14/image_11072025_10_14_01_9635.jpg', '/home/pi/Desktop/images/11072025/10/13/image_11072025_10_13_01_6222.jpg', '/home/pi/Desktop/images/11072025/10/12/image_11072025_10_12_01_4687.jpg', '/home/pi/Desktop/images/11072025/10/11/image_11072025_10_11_01_6251.jpg', '/home/pi/Desktop/images/11072025/10/10/image_11072025_10_10_01_9743.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/10/15/image_11072025_10_15_02_1130.jpg
/home/pi/Desktop/images/11072025/10/14/image_11072025_10_14_01_9635.jpg
/home/pi/Desktop/images/11072025/10/13/image_11072025_10_13_01_6222.jpg
/home/pi/Desktop/images/11072025/10/12/image_11072025_10_12_01_4687.jpg
/home/pi/Desktop/images/11072025/10/11/image_11072025_10_11_01_6251.jpg
/home/pi/Desktop/images/11072025/10/10/image_11072025_10_10_01_9743.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.54110622406006 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 10:17:05.047160
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/10/16/image_11072025_10_16_01_7284.jpg', 2), ('/home/pi/Desktop/images/11072025/10/15/image_11072025_10_15_02_1130.jpg', 2), ('/home/pi/Desktop/images/11072025/10/14/image_11072025_10_14_01_9635.jpg', 2), ('/home/pi/Desktop/images/11072025/10/13/image_11072025_10_13_01_6222.jpg', 2), ('/home/pi/Desktop/images/11072025/10/12/image_11072025_10_12_01_4687.jpg', 2), ('/home/pi/Desktop/images/11072025/10/11/image_11072025_10_11_01_6251.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/10/16/image_11072025_10_16_01_7284.jpg', '/home/pi/Desktop/images/11072025/10/15/image_11072025_10_15_02_1130.jpg', '/home/pi/Desktop/images/11072025/10/14/image_11072025_10_14_01_9635.jpg', '/home/pi/Desktop/images/11072025/10/13/image_11072025_10_13_01_6222.jpg', '/home/pi/Desktop/images/11072025/10/12/image_11072025_10_12_01_4687.jpg', '/home/pi/Desktop/images/11072025/10/11/image_11072025_10_11_01_6251.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/10/16/image_11072025_10_16_01_7284.jpg
/home/pi/Desktop/images/11072025/10/15/image_11072025_10_15_02_1130.jpg
/home/pi/Desktop/images/11072025/10/14/image_11072025_10_14_01_9635.jpg
/home/pi/Desktop/images/11072025/10/13/image_11072025_10_13_01_6222.jpg
/home/pi/Desktop/images/11072025/10/12/image_11072025_10_12_01_4687.jpg
/home/pi/Desktop/images/11072025/10/11/image_11072025_10_11_01_6251.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.66089606285095 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 10:18:05.079013
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/10/17/image_11072025_10_17_01_6407.jpg', 2), ('/home/pi/Desktop/images/11072025/10/16/image_11072025_10_16_01_7284.jpg', 2), ('/home/pi/Desktop/images/11072025/10/15/image_11072025_10_15_02_1130.jpg', 2), ('/home/pi/Desktop/images/11072025/10/14/image_11072025_10_14_01_9635.jpg', 2), ('/home/pi/Desktop/images/11072025/10/13/image_11072025_10_13_01_6222.jpg', 2), ('/home/pi/Desktop/images/11072025/10/12/image_11072025_10_12_01_4687.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/10/17/image_11072025_10_17_01_6407.jpg', '/home/pi/Desktop/images/11072025/10/16/image_11072025_10_16_01_7284.jpg', '/home/pi/Desktop/images/11072025/10/15/image_11072025_10_15_02_1130.jpg', '/home/pi/Desktop/images/11072025/10/14/image_11072025_10_14_01_9635.jpg', '/home/pi/Desktop/images/11072025/10/13/image_11072025_10_13_01_6222.jpg', '/home/pi/Desktop/images/11072025/10/12/image_11072025_10_12_01_4687.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/10/17/image_11072025_10_17_01_6407.jpg
/home/pi/Desktop/images/11072025/10/16/image_11072025_10_16_01_7284.jpg
/home/pi/Desktop/images/11072025/10/15/image_11072025_10_15_02_1130.jpg
/home/pi/Desktop/images/11072025/10/14/image_11072025_10_14_01_9635.jpg
/home/pi/Desktop/images/11072025/10/13/image_11072025_10_13_01_6222.jpg
/home/pi/Desktop/images/11072025/10/12/image_11072025_10_12_01_4687.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 32.735363245010376 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 10:19:05.846566
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/10/18/image_11072025_10_18_01_5400.jpg', 2), ('/home/pi/Desktop/images/11072025/10/17/image_11072025_10_17_01_6407.jpg', 2), ('/home/pi/Desktop/images/11072025/10/16/image_11072025_10_16_01_7284.jpg', 2), ('/home/pi/Desktop/images/11072025/10/15/image_11072025_10_15_02_1130.jpg', 2), ('/home/pi/Desktop/images/11072025/10/14/image_11072025_10_14_01_9635.jpg', 2), ('/home/pi/Desktop/images/11072025/10/13/image_11072025_10_13_01_6222.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/10/18/image_11072025_10_18_01_5400.jpg', '/home/pi/Desktop/images/11072025/10/17/image_11072025_10_17_01_6407.jpg', '/home/pi/Desktop/images/11072025/10/16/image_11072025_10_16_01_7284.jpg', '/home/pi/Desktop/images/11072025/10/15/image_11072025_10_15_02_1130.jpg', '/home/pi/Desktop/images/11072025/10/14/image_11072025_10_14_01_9635.jpg', '/home/pi/Desktop/images/11072025/10/13/image_11072025_10_13_01_6222.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/10/18/image_11072025_10_18_01_5400.jpg
/home/pi/Desktop/images/11072025/10/17/image_11072025_10_17_01_6407.jpg
/home/pi/Desktop/images/11072025/10/16/image_11072025_10_16_01_7284.jpg
/home/pi/Desktop/images/11072025/10/15/image_11072025_10_15_02_1130.jpg
/home/pi/Desktop/images/11072025/10/14/image_11072025_10_14_01_9635.jpg
/home/pi/Desktop/images/11072025/10/13/image_11072025_10_13_01_6222.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.124807596206665 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 10:20:04.956549
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/10/19/image_11072025_10_19_01_5755.jpg', 2), ('/home/pi/Desktop/images/11072025/10/18/image_11072025_10_18_01_5400.jpg', 2), ('/home/pi/Desktop/images/11072025/10/17/image_11072025_10_17_01_6407.jpg', 2), ('/home/pi/Desktop/images/11072025/10/16/image_11072025_10_16_01_7284.jpg', 2), ('/home/pi/Desktop/images/11072025/10/15/image_11072025_10_15_02_1130.jpg', 2), ('/home/pi/Desktop/images/11072025/10/14/image_11072025_10_14_01_9635.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/10/19/image_11072025_10_19_01_5755.jpg', '/home/pi/Desktop/images/11072025/10/18/image_11072025_10_18_01_5400.jpg', '/home/pi/Desktop/images/11072025/10/17/image_11072025_10_17_01_6407.jpg', '/home/pi/Desktop/images/11072025/10/16/image_11072025_10_16_01_7284.jpg', '/home/pi/Desktop/images/11072025/10/15/image_11072025_10_15_02_1130.jpg', '/home/pi/Desktop/images/11072025/10/14/image_11072025_10_14_01_9635.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/10/19/image_11072025_10_19_01_5755.jpg
/home/pi/Desktop/images/11072025/10/18/image_11072025_10_18_01_5400.jpg
/home/pi/Desktop/images/11072025/10/17/image_11072025_10_17_01_6407.jpg
/home/pi/Desktop/images/11072025/10/16/image_11072025_10_16_01_7284.jpg
/home/pi/Desktop/images/11072025/10/15/image_11072025_10_15_02_1130.jpg
/home/pi/Desktop/images/11072025/10/14/image_11072025_10_14_01_9635.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.11448001861572 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 10:21:04.918924
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/10/20/image_11072025_10_20_02_0476.jpg', 2), ('/home/pi/Desktop/images/11072025/10/19/image_11072025_10_19_01_5755.jpg', 2), ('/home/pi/Desktop/images/11072025/10/18/image_11072025_10_18_01_5400.jpg', 2), ('/home/pi/Desktop/images/11072025/10/17/image_11072025_10_17_01_6407.jpg', 2), ('/home/pi/Desktop/images/11072025/10/16/image_11072025_10_16_01_7284.jpg', 2), ('/home/pi/Desktop/images/11072025/10/15/image_11072025_10_15_02_1130.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/10/20/image_11072025_10_20_02_0476.jpg', '/home/pi/Desktop/images/11072025/10/19/image_11072025_10_19_01_5755.jpg', '/home/pi/Desktop/images/11072025/10/18/image_11072025_10_18_01_5400.jpg', '/home/pi/Desktop/images/11072025/10/17/image_11072025_10_17_01_6407.jpg', '/home/pi/Desktop/images/11072025/10/16/image_11072025_10_16_01_7284.jpg', '/home/pi/Desktop/images/11072025/10/15/image_11072025_10_15_02_1130.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/10/20/image_11072025_10_20_02_0476.jpg
/home/pi/Desktop/images/11072025/10/19/image_11072025_10_19_01_5755.jpg
/home/pi/Desktop/images/11072025/10/18/image_11072025_10_18_01_5400.jpg
/home/pi/Desktop/images/11072025/10/17/image_11072025_10_17_01_6407.jpg
/home/pi/Desktop/images/11072025/10/16/image_11072025_10_16_01_7284.jpg
/home/pi/Desktop/images/11072025/10/15/image_11072025_10_15_02_1130.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.27897787094116 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 10:22:05.580468
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/10/21/image_11072025_10_21_01_5010.jpg', 2), ('/home/pi/Desktop/images/11072025/10/20/image_11072025_10_20_02_0476.jpg', 2), ('/home/pi/Desktop/images/11072025/10/19/image_11072025_10_19_01_5755.jpg', 2), ('/home/pi/Desktop/images/11072025/10/18/image_11072025_10_18_01_5400.jpg', 2), ('/home/pi/Desktop/images/11072025/10/17/image_11072025_10_17_01_6407.jpg', 2), ('/home/pi/Desktop/images/11072025/10/16/image_11072025_10_16_01_7284.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/10/21/image_11072025_10_21_01_5010.jpg', '/home/pi/Desktop/images/11072025/10/20/image_11072025_10_20_02_0476.jpg', '/home/pi/Desktop/images/11072025/10/19/image_11072025_10_19_01_5755.jpg', '/home/pi/Desktop/images/11072025/10/18/image_11072025_10_18_01_5400.jpg', '/home/pi/Desktop/images/11072025/10/17/image_11072025_10_17_01_6407.jpg', '/home/pi/Desktop/images/11072025/10/16/image_11072025_10_16_01_7284.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/10/21/image_11072025_10_21_01_5010.jpg
/home/pi/Desktop/images/11072025/10/20/image_11072025_10_20_02_0476.jpg
/home/pi/Desktop/images/11072025/10/19/image_11072025_10_19_01_5755.jpg
/home/pi/Desktop/images/11072025/10/18/image_11072025_10_18_01_5400.jpg
/home/pi/Desktop/images/11072025/10/17/image_11072025_10_17_01_6407.jpg
/home/pi/Desktop/images/11072025/10/16/image_11072025_10_16_01_7284.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 32.68941593170166 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 10:23:05.397773
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/10/22/image_11072025_10_22_01_2913.jpg', 2), ('/home/pi/Desktop/images/11072025/10/21/image_11072025_10_21_01_5010.jpg', 2), ('/home/pi/Desktop/images/11072025/10/20/image_11072025_10_20_02_0476.jpg', 2), ('/home/pi/Desktop/images/11072025/10/19/image_11072025_10_19_01_5755.jpg', 2), ('/home/pi/Desktop/images/11072025/10/18/image_11072025_10_18_01_5400.jpg', 2), ('/home/pi/Desktop/images/11072025/10/17/image_11072025_10_17_01_6407.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/10/22/image_11072025_10_22_01_2913.jpg', '/home/pi/Desktop/images/11072025/10/21/image_11072025_10_21_01_5010.jpg', '/home/pi/Desktop/images/11072025/10/20/image_11072025_10_20_02_0476.jpg', '/home/pi/Desktop/images/11072025/10/19/image_11072025_10_19_01_5755.jpg', '/home/pi/Desktop/images/11072025/10/18/image_11072025_10_18_01_5400.jpg', '/home/pi/Desktop/images/11072025/10/17/image_11072025_10_17_01_6407.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/10/22/image_11072025_10_22_01_2913.jpg
/home/pi/Desktop/images/11072025/10/21/image_11072025_10_21_01_5010.jpg
/home/pi/Desktop/images/11072025/10/20/image_11072025_10_20_02_0476.jpg
/home/pi/Desktop/images/11072025/10/19/image_11072025_10_19_01_5755.jpg
/home/pi/Desktop/images/11072025/10/18/image_11072025_10_18_01_5400.jpg
/home/pi/Desktop/images/11072025/10/17/image_11072025_10_17_01_6407.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 32.96069836616516 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 10:24:05.581341
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/10/23/image_11072025_10_23_01_9752.jpg', 2), ('/home/pi/Desktop/images/11072025/10/22/image_11072025_10_22_01_2913.jpg', 2), ('/home/pi/Desktop/images/11072025/10/21/image_11072025_10_21_01_5010.jpg', 2), ('/home/pi/Desktop/images/11072025/10/20/image_11072025_10_20_02_0476.jpg', 2), ('/home/pi/Desktop/images/11072025/10/19/image_11072025_10_19_01_5755.jpg', 2), ('/home/pi/Desktop/images/11072025/10/18/image_11072025_10_18_01_5400.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/10/23/image_11072025_10_23_01_9752.jpg', '/home/pi/Desktop/images/11072025/10/22/image_11072025_10_22_01_2913.jpg', '/home/pi/Desktop/images/11072025/10/21/image_11072025_10_21_01_5010.jpg', '/home/pi/Desktop/images/11072025/10/20/image_11072025_10_20_02_0476.jpg', '/home/pi/Desktop/images/11072025/10/19/image_11072025_10_19_01_5755.jpg', '/home/pi/Desktop/images/11072025/10/18/image_11072025_10_18_01_5400.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/10/23/image_11072025_10_23_01_9752.jpg
/home/pi/Desktop/images/11072025/10/22/image_11072025_10_22_01_2913.jpg
/home/pi/Desktop/images/11072025/10/21/image_11072025_10_21_01_5010.jpg
/home/pi/Desktop/images/11072025/10/20/image_11072025_10_20_02_0476.jpg
/home/pi/Desktop/images/11072025/10/19/image_11072025_10_19_01_5755.jpg
/home/pi/Desktop/images/11072025/10/18/image_11072025_10_18_01_5400.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 32.917030572891235 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 10:25:05.888273
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/10/24/image_11072025_10_24_01_7435.jpg', 2), ('/home/pi/Desktop/images/11072025/10/23/image_11072025_10_23_01_9752.jpg', 2), ('/home/pi/Desktop/images/11072025/10/22/image_11072025_10_22_01_2913.jpg', 2), ('/home/pi/Desktop/images/11072025/10/21/image_11072025_10_21_01_5010.jpg', 2), ('/home/pi/Desktop/images/11072025/10/20/image_11072025_10_20_02_0476.jpg', 2), ('/home/pi/Desktop/images/11072025/10/19/image_11072025_10_19_01_5755.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/10/24/image_11072025_10_24_01_7435.jpg', '/home/pi/Desktop/images/11072025/10/23/image_11072025_10_23_01_9752.jpg', '/home/pi/Desktop/images/11072025/10/22/image_11072025_10_22_01_2913.jpg', '/home/pi/Desktop/images/11072025/10/21/image_11072025_10_21_01_5010.jpg', '/home/pi/Desktop/images/11072025/10/20/image_11072025_10_20_02_0476.jpg', '/home/pi/Desktop/images/11072025/10/19/image_11072025_10_19_01_5755.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/10/24/image_11072025_10_24_01_7435.jpg
/home/pi/Desktop/images/11072025/10/23/image_11072025_10_23_01_9752.jpg
/home/pi/Desktop/images/11072025/10/22/image_11072025_10_22_01_2913.jpg
/home/pi/Desktop/images/11072025/10/21/image_11072025_10_21_01_5010.jpg
/home/pi/Desktop/images/11072025/10/20/image_11072025_10_20_02_0476.jpg
/home/pi/Desktop/images/11072025/10/19/image_11072025_10_19_01_5755.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.65814447402954 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 10:26:05.724039
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/10/25/image_11072025_10_25_01_6804.jpg', 2), ('/home/pi/Desktop/images/11072025/10/24/image_11072025_10_24_01_7435.jpg', 2), ('/home/pi/Desktop/images/11072025/10/23/image_11072025_10_23_01_9752.jpg', 2), ('/home/pi/Desktop/images/11072025/10/22/image_11072025_10_22_01_2913.jpg', 2), ('/home/pi/Desktop/images/11072025/10/21/image_11072025_10_21_01_5010.jpg', 2), ('/home/pi/Desktop/images/11072025/10/20/image_11072025_10_20_02_0476.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/10/25/image_11072025_10_25_01_6804.jpg', '/home/pi/Desktop/images/11072025/10/24/image_11072025_10_24_01_7435.jpg', '/home/pi/Desktop/images/11072025/10/23/image_11072025_10_23_01_9752.jpg', '/home/pi/Desktop/images/11072025/10/22/image_11072025_10_22_01_2913.jpg', '/home/pi/Desktop/images/11072025/10/21/image_11072025_10_21_01_5010.jpg', '/home/pi/Desktop/images/11072025/10/20/image_11072025_10_20_02_0476.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/10/25/image_11072025_10_25_01_6804.jpg
/home/pi/Desktop/images/11072025/10/24/image_11072025_10_24_01_7435.jpg
/home/pi/Desktop/images/11072025/10/23/image_11072025_10_23_01_9752.jpg
/home/pi/Desktop/images/11072025/10/22/image_11072025_10_22_01_2913.jpg
/home/pi/Desktop/images/11072025/10/21/image_11072025_10_21_01_5010.jpg
/home/pi/Desktop/images/11072025/10/20/image_11072025_10_20_02_0476.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 32.93471932411194 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 10:27:05.537864
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/10/26/image_11072025_10_26_01_5377.jpg', 2), ('/home/pi/Desktop/images/11072025/10/25/image_11072025_10_25_01_6804.jpg', 2), ('/home/pi/Desktop/images/11072025/10/24/image_11072025_10_24_01_7435.jpg', 2), ('/home/pi/Desktop/images/11072025/10/23/image_11072025_10_23_01_9752.jpg', 2), ('/home/pi/Desktop/images/11072025/10/22/image_11072025_10_22_01_2913.jpg', 2), ('/home/pi/Desktop/images/11072025/10/21/image_11072025_10_21_01_5010.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/10/26/image_11072025_10_26_01_5377.jpg', '/home/pi/Desktop/images/11072025/10/25/image_11072025_10_25_01_6804.jpg', '/home/pi/Desktop/images/11072025/10/24/image_11072025_10_24_01_7435.jpg', '/home/pi/Desktop/images/11072025/10/23/image_11072025_10_23_01_9752.jpg', '/home/pi/Desktop/images/11072025/10/22/image_11072025_10_22_01_2913.jpg', '/home/pi/Desktop/images/11072025/10/21/image_11072025_10_21_01_5010.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/10/26/image_11072025_10_26_01_5377.jpg
/home/pi/Desktop/images/11072025/10/25/image_11072025_10_25_01_6804.jpg
/home/pi/Desktop/images/11072025/10/24/image_11072025_10_24_01_7435.jpg
/home/pi/Desktop/images/11072025/10/23/image_11072025_10_23_01_9752.jpg
/home/pi/Desktop/images/11072025/10/22/image_11072025_10_22_01_2913.jpg
/home/pi/Desktop/images/11072025/10/21/image_11072025_10_21_01_5010.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 32.66353940963745 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 10:28:04.834266
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/10/27/image_11072025_10_27_02_1436.jpg', 2), ('/home/pi/Desktop/images/11072025/10/26/image_11072025_10_26_01_5377.jpg', 2), ('/home/pi/Desktop/images/11072025/10/25/image_11072025_10_25_01_6804.jpg', 2), ('/home/pi/Desktop/images/11072025/10/24/image_11072025_10_24_01_7435.jpg', 2), ('/home/pi/Desktop/images/11072025/10/23/image_11072025_10_23_01_9752.jpg', 2), ('/home/pi/Desktop/images/11072025/10/22/image_11072025_10_22_01_2913.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/10/27/image_11072025_10_27_02_1436.jpg', '/home/pi/Desktop/images/11072025/10/26/image_11072025_10_26_01_5377.jpg', '/home/pi/Desktop/images/11072025/10/25/image_11072025_10_25_01_6804.jpg', '/home/pi/Desktop/images/11072025/10/24/image_11072025_10_24_01_7435.jpg', '/home/pi/Desktop/images/11072025/10/23/image_11072025_10_23_01_9752.jpg', '/home/pi/Desktop/images/11072025/10/22/image_11072025_10_22_01_2913.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/10/27/image_11072025_10_27_02_1436.jpg
/home/pi/Desktop/images/11072025/10/26/image_11072025_10_26_01_5377.jpg
/home/pi/Desktop/images/11072025/10/25/image_11072025_10_25_01_6804.jpg
/home/pi/Desktop/images/11072025/10/24/image_11072025_10_24_01_7435.jpg
/home/pi/Desktop/images/11072025/10/23/image_11072025_10_23_01_9752.jpg
/home/pi/Desktop/images/11072025/10/22/image_11072025_10_22_01_2913.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.58135724067688 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 10:29:06.247979
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/10/28/image_11072025_10_28_01_9955.jpg', 2), ('/home/pi/Desktop/images/11072025/10/27/image_11072025_10_27_02_1436.jpg', 2), ('/home/pi/Desktop/images/11072025/10/26/image_11072025_10_26_01_5377.jpg', 2), ('/home/pi/Desktop/images/11072025/10/25/image_11072025_10_25_01_6804.jpg', 2), ('/home/pi/Desktop/images/11072025/10/24/image_11072025_10_24_01_7435.jpg', 2), ('/home/pi/Desktop/images/11072025/10/23/image_11072025_10_23_01_9752.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/10/28/image_11072025_10_28_01_9955.jpg', '/home/pi/Desktop/images/11072025/10/27/image_11072025_10_27_02_1436.jpg', '/home/pi/Desktop/images/11072025/10/26/image_11072025_10_26_01_5377.jpg', '/home/pi/Desktop/images/11072025/10/25/image_11072025_10_25_01_6804.jpg', '/home/pi/Desktop/images/11072025/10/24/image_11072025_10_24_01_7435.jpg', '/home/pi/Desktop/images/11072025/10/23/image_11072025_10_23_01_9752.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/10/28/image_11072025_10_28_01_9955.jpg
/home/pi/Desktop/images/11072025/10/27/image_11072025_10_27_02_1436.jpg
/home/pi/Desktop/images/11072025/10/26/image_11072025_10_26_01_5377.jpg
/home/pi/Desktop/images/11072025/10/25/image_11072025_10_25_01_6804.jpg
/home/pi/Desktop/images/11072025/10/24/image_11072025_10_24_01_7435.jpg
/home/pi/Desktop/images/11072025/10/23/image_11072025_10_23_01_9752.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.29449653625488 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 10:30:04.875063
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/10/29/image_11072025_10_29_01_4080.jpg', 2), ('/home/pi/Desktop/images/11072025/10/28/image_11072025_10_28_01_9955.jpg', 2), ('/home/pi/Desktop/images/11072025/10/27/image_11072025_10_27_02_1436.jpg', 2), ('/home/pi/Desktop/images/11072025/10/26/image_11072025_10_26_01_5377.jpg', 2), ('/home/pi/Desktop/images/11072025/10/25/image_11072025_10_25_01_6804.jpg', 2), ('/home/pi/Desktop/images/11072025/10/24/image_11072025_10_24_01_7435.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/10/29/image_11072025_10_29_01_4080.jpg', '/home/pi/Desktop/images/11072025/10/28/image_11072025_10_28_01_9955.jpg', '/home/pi/Desktop/images/11072025/10/27/image_11072025_10_27_02_1436.jpg', '/home/pi/Desktop/images/11072025/10/26/image_11072025_10_26_01_5377.jpg', '/home/pi/Desktop/images/11072025/10/25/image_11072025_10_25_01_6804.jpg', '/home/pi/Desktop/images/11072025/10/24/image_11072025_10_24_01_7435.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/10/29/image_11072025_10_29_01_4080.jpg
/home/pi/Desktop/images/11072025/10/28/image_11072025_10_28_01_9955.jpg
/home/pi/Desktop/images/11072025/10/27/image_11072025_10_27_02_1436.jpg
/home/pi/Desktop/images/11072025/10/26/image_11072025_10_26_01_5377.jpg
/home/pi/Desktop/images/11072025/10/25/image_11072025_10_25_01_6804.jpg
/home/pi/Desktop/images/11072025/10/24/image_11072025_10_24_01_7435.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 32.79021644592285 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 10:31:06.291477
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/10/30/image_11072025_10_30_02_2233.jpg', 2), ('/home/pi/Desktop/images/11072025/10/29/image_11072025_10_29_01_4080.jpg', 2), ('/home/pi/Desktop/images/11072025/10/28/image_11072025_10_28_01_9955.jpg', 2), ('/home/pi/Desktop/images/11072025/10/27/image_11072025_10_27_02_1436.jpg', 2), ('/home/pi/Desktop/images/11072025/10/26/image_11072025_10_26_01_5377.jpg', 2), ('/home/pi/Desktop/images/11072025/10/25/image_11072025_10_25_01_6804.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/10/30/image_11072025_10_30_02_2233.jpg', '/home/pi/Desktop/images/11072025/10/29/image_11072025_10_29_01_4080.jpg', '/home/pi/Desktop/images/11072025/10/28/image_11072025_10_28_01_9955.jpg', '/home/pi/Desktop/images/11072025/10/27/image_11072025_10_27_02_1436.jpg', '/home/pi/Desktop/images/11072025/10/26/image_11072025_10_26_01_5377.jpg', '/home/pi/Desktop/images/11072025/10/25/image_11072025_10_25_01_6804.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/10/30/image_11072025_10_30_02_2233.jpg
/home/pi/Desktop/images/11072025/10/29/image_11072025_10_29_01_4080.jpg
/home/pi/Desktop/images/11072025/10/28/image_11072025_10_28_01_9955.jpg
/home/pi/Desktop/images/11072025/10/27/image_11072025_10_27_02_1436.jpg
/home/pi/Desktop/images/11072025/10/26/image_11072025_10_26_01_5377.jpg
/home/pi/Desktop/images/11072025/10/25/image_11072025_10_25_01_6804.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 34.49562096595764 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 10:32:05.983643
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/10/31/image_11072025_10_31_01_4928.jpg', 2), ('/home/pi/Desktop/images/11072025/10/30/image_11072025_10_30_02_2233.jpg', 2), ('/home/pi/Desktop/images/11072025/10/29/image_11072025_10_29_01_4080.jpg', 2), ('/home/pi/Desktop/images/11072025/10/28/image_11072025_10_28_01_9955.jpg', 2), ('/home/pi/Desktop/images/11072025/10/27/image_11072025_10_27_02_1436.jpg', 2), ('/home/pi/Desktop/images/11072025/10/26/image_11072025_10_26_01_5377.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/10/31/image_11072025_10_31_01_4928.jpg', '/home/pi/Desktop/images/11072025/10/30/image_11072025_10_30_02_2233.jpg', '/home/pi/Desktop/images/11072025/10/29/image_11072025_10_29_01_4080.jpg', '/home/pi/Desktop/images/11072025/10/28/image_11072025_10_28_01_9955.jpg', '/home/pi/Desktop/images/11072025/10/27/image_11072025_10_27_02_1436.jpg', '/home/pi/Desktop/images/11072025/10/26/image_11072025_10_26_01_5377.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/10/31/image_11072025_10_31_01_4928.jpg
/home/pi/Desktop/images/11072025/10/30/image_11072025_10_30_02_2233.jpg
/home/pi/Desktop/images/11072025/10/29/image_11072025_10_29_01_4080.jpg
/home/pi/Desktop/images/11072025/10/28/image_11072025_10_28_01_9955.jpg
/home/pi/Desktop/images/11072025/10/27/image_11072025_10_27_02_1436.jpg
/home/pi/Desktop/images/11072025/10/26/image_11072025_10_26_01_5377.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 32.8929500579834 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 10:33:06.174783
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/10/32/image_11072025_10_32_02_2799.jpg', 2), ('/home/pi/Desktop/images/11072025/10/31/image_11072025_10_31_01_4928.jpg', 2), ('/home/pi/Desktop/images/11072025/10/30/image_11072025_10_30_02_2233.jpg', 2), ('/home/pi/Desktop/images/11072025/10/29/image_11072025_10_29_01_4080.jpg', 2), ('/home/pi/Desktop/images/11072025/10/28/image_11072025_10_28_01_9955.jpg', 2), ('/home/pi/Desktop/images/11072025/10/27/image_11072025_10_27_02_1436.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/10/32/image_11072025_10_32_02_2799.jpg', '/home/pi/Desktop/images/11072025/10/31/image_11072025_10_31_01_4928.jpg', '/home/pi/Desktop/images/11072025/10/30/image_11072025_10_30_02_2233.jpg', '/home/pi/Desktop/images/11072025/10/29/image_11072025_10_29_01_4080.jpg', '/home/pi/Desktop/images/11072025/10/28/image_11072025_10_28_01_9955.jpg', '/home/pi/Desktop/images/11072025/10/27/image_11072025_10_27_02_1436.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/10/32/image_11072025_10_32_02_2799.jpg
/home/pi/Desktop/images/11072025/10/31/image_11072025_10_31_01_4928.jpg
/home/pi/Desktop/images/11072025/10/30/image_11072025_10_30_02_2233.jpg
/home/pi/Desktop/images/11072025/10/29/image_11072025_10_29_01_4080.jpg
/home/pi/Desktop/images/11072025/10/28/image_11072025_10_28_01_9955.jpg
/home/pi/Desktop/images/11072025/10/27/image_11072025_10_27_02_1436.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.86145830154419 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 10:34:04.831889
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/10/33/image_11072025_10_33_02_2891.jpg', 2), ('/home/pi/Desktop/images/11072025/10/32/image_11072025_10_32_02_2799.jpg', 2), ('/home/pi/Desktop/images/11072025/10/31/image_11072025_10_31_01_4928.jpg', 2), ('/home/pi/Desktop/images/11072025/10/30/image_11072025_10_30_02_2233.jpg', 2), ('/home/pi/Desktop/images/11072025/10/29/image_11072025_10_29_01_4080.jpg', 2), ('/home/pi/Desktop/images/11072025/10/28/image_11072025_10_28_01_9955.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/10/33/image_11072025_10_33_02_2891.jpg', '/home/pi/Desktop/images/11072025/10/32/image_11072025_10_32_02_2799.jpg', '/home/pi/Desktop/images/11072025/10/31/image_11072025_10_31_01_4928.jpg', '/home/pi/Desktop/images/11072025/10/30/image_11072025_10_30_02_2233.jpg', '/home/pi/Desktop/images/11072025/10/29/image_11072025_10_29_01_4080.jpg', '/home/pi/Desktop/images/11072025/10/28/image_11072025_10_28_01_9955.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/10/33/image_11072025_10_33_02_2891.jpg
/home/pi/Desktop/images/11072025/10/32/image_11072025_10_32_02_2799.jpg
/home/pi/Desktop/images/11072025/10/31/image_11072025_10_31_01_4928.jpg
/home/pi/Desktop/images/11072025/10/30/image_11072025_10_30_02_2233.jpg
/home/pi/Desktop/images/11072025/10/29/image_11072025_10_29_01_4080.jpg
/home/pi/Desktop/images/11072025/10/28/image_11072025_10_28_01_9955.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.33739352226257 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 10:35:05.426855
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/10/34/image_11072025_10_34_02_2619.jpg', 2), ('/home/pi/Desktop/images/11072025/10/33/image_11072025_10_33_02_2891.jpg', 2), ('/home/pi/Desktop/images/11072025/10/32/image_11072025_10_32_02_2799.jpg', 2), ('/home/pi/Desktop/images/11072025/10/31/image_11072025_10_31_01_4928.jpg', 2), ('/home/pi/Desktop/images/11072025/10/30/image_11072025_10_30_02_2233.jpg', 2), ('/home/pi/Desktop/images/11072025/10/29/image_11072025_10_29_01_4080.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/10/34/image_11072025_10_34_02_2619.jpg', '/home/pi/Desktop/images/11072025/10/33/image_11072025_10_33_02_2891.jpg', '/home/pi/Desktop/images/11072025/10/32/image_11072025_10_32_02_2799.jpg', '/home/pi/Desktop/images/11072025/10/31/image_11072025_10_31_01_4928.jpg', '/home/pi/Desktop/images/11072025/10/30/image_11072025_10_30_02_2233.jpg', '/home/pi/Desktop/images/11072025/10/29/image_11072025_10_29_01_4080.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/10/34/image_11072025_10_34_02_2619.jpg
/home/pi/Desktop/images/11072025/10/33/image_11072025_10_33_02_2891.jpg
/home/pi/Desktop/images/11072025/10/32/image_11072025_10_32_02_2799.jpg
/home/pi/Desktop/images/11072025/10/31/image_11072025_10_31_01_4928.jpg
/home/pi/Desktop/images/11072025/10/30/image_11072025_10_30_02_2233.jpg
/home/pi/Desktop/images/11072025/10/29/image_11072025_10_29_01_4080.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.90191626548767 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 10:36:05.462819
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/10/35/image_11072025_10_35_01_3087.jpg', 2), ('/home/pi/Desktop/images/11072025/10/34/image_11072025_10_34_02_2619.jpg', 2), ('/home/pi/Desktop/images/11072025/10/33/image_11072025_10_33_02_2891.jpg', 2), ('/home/pi/Desktop/images/11072025/10/32/image_11072025_10_32_02_2799.jpg', 2), ('/home/pi/Desktop/images/11072025/10/31/image_11072025_10_31_01_4928.jpg', 2), ('/home/pi/Desktop/images/11072025/10/30/image_11072025_10_30_02_2233.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/10/35/image_11072025_10_35_01_3087.jpg', '/home/pi/Desktop/images/11072025/10/34/image_11072025_10_34_02_2619.jpg', '/home/pi/Desktop/images/11072025/10/33/image_11072025_10_33_02_2891.jpg', '/home/pi/Desktop/images/11072025/10/32/image_11072025_10_32_02_2799.jpg', '/home/pi/Desktop/images/11072025/10/31/image_11072025_10_31_01_4928.jpg', '/home/pi/Desktop/images/11072025/10/30/image_11072025_10_30_02_2233.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/10/35/image_11072025_10_35_01_3087.jpg
/home/pi/Desktop/images/11072025/10/34/image_11072025_10_34_02_2619.jpg
/home/pi/Desktop/images/11072025/10/33/image_11072025_10_33_02_2891.jpg
/home/pi/Desktop/images/11072025/10/32/image_11072025_10_32_02_2799.jpg
/home/pi/Desktop/images/11072025/10/31/image_11072025_10_31_01_4928.jpg
/home/pi/Desktop/images/11072025/10/30/image_11072025_10_30_02_2233.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 32.943955183029175 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 10:37:05.629413
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/10/36/image_11072025_10_36_01_9416.jpg', 2), ('/home/pi/Desktop/images/11072025/10/35/image_11072025_10_35_01_3087.jpg', 2), ('/home/pi/Desktop/images/11072025/10/34/image_11072025_10_34_02_2619.jpg', 2), ('/home/pi/Desktop/images/11072025/10/33/image_11072025_10_33_02_2891.jpg', 2), ('/home/pi/Desktop/images/11072025/10/32/image_11072025_10_32_02_2799.jpg', 2), ('/home/pi/Desktop/images/11072025/10/31/image_11072025_10_31_01_4928.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/10/36/image_11072025_10_36_01_9416.jpg', '/home/pi/Desktop/images/11072025/10/35/image_11072025_10_35_01_3087.jpg', '/home/pi/Desktop/images/11072025/10/34/image_11072025_10_34_02_2619.jpg', '/home/pi/Desktop/images/11072025/10/33/image_11072025_10_33_02_2891.jpg', '/home/pi/Desktop/images/11072025/10/32/image_11072025_10_32_02_2799.jpg', '/home/pi/Desktop/images/11072025/10/31/image_11072025_10_31_01_4928.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/10/36/image_11072025_10_36_01_9416.jpg
/home/pi/Desktop/images/11072025/10/35/image_11072025_10_35_01_3087.jpg
/home/pi/Desktop/images/11072025/10/34/image_11072025_10_34_02_2619.jpg
/home/pi/Desktop/images/11072025/10/33/image_11072025_10_33_02_2891.jpg
/home/pi/Desktop/images/11072025/10/32/image_11072025_10_32_02_2799.jpg
/home/pi/Desktop/images/11072025/10/31/image_11072025_10_31_01_4928.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.93931198120117 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 10:38:05.244944
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/10/37/image_11072025_10_37_01_9150.jpg', 2), ('/home/pi/Desktop/images/11072025/10/36/image_11072025_10_36_01_9416.jpg', 2), ('/home/pi/Desktop/images/11072025/10/35/image_11072025_10_35_01_3087.jpg', 2), ('/home/pi/Desktop/images/11072025/10/34/image_11072025_10_34_02_2619.jpg', 2), ('/home/pi/Desktop/images/11072025/10/33/image_11072025_10_33_02_2891.jpg', 2), ('/home/pi/Desktop/images/11072025/10/32/image_11072025_10_32_02_2799.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/10/37/image_11072025_10_37_01_9150.jpg', '/home/pi/Desktop/images/11072025/10/36/image_11072025_10_36_01_9416.jpg', '/home/pi/Desktop/images/11072025/10/35/image_11072025_10_35_01_3087.jpg', '/home/pi/Desktop/images/11072025/10/34/image_11072025_10_34_02_2619.jpg', '/home/pi/Desktop/images/11072025/10/33/image_11072025_10_33_02_2891.jpg', '/home/pi/Desktop/images/11072025/10/32/image_11072025_10_32_02_2799.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/10/37/image_11072025_10_37_01_9150.jpg
/home/pi/Desktop/images/11072025/10/36/image_11072025_10_36_01_9416.jpg
/home/pi/Desktop/images/11072025/10/35/image_11072025_10_35_01_3087.jpg
/home/pi/Desktop/images/11072025/10/34/image_11072025_10_34_02_2619.jpg
/home/pi/Desktop/images/11072025/10/33/image_11072025_10_33_02_2891.jpg
/home/pi/Desktop/images/11072025/10/32/image_11072025_10_32_02_2799.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.51084923744202 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 10:39:05.419181
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/10/38/image_11072025_10_38_01_8019.jpg', 2), ('/home/pi/Desktop/images/11072025/10/37/image_11072025_10_37_01_9150.jpg', 2), ('/home/pi/Desktop/images/11072025/10/36/image_11072025_10_36_01_9416.jpg', 2), ('/home/pi/Desktop/images/11072025/10/35/image_11072025_10_35_01_3087.jpg', 2), ('/home/pi/Desktop/images/11072025/10/34/image_11072025_10_34_02_2619.jpg', 2), ('/home/pi/Desktop/images/11072025/10/33/image_11072025_10_33_02_2891.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/10/38/image_11072025_10_38_01_8019.jpg', '/home/pi/Desktop/images/11072025/10/37/image_11072025_10_37_01_9150.jpg', '/home/pi/Desktop/images/11072025/10/36/image_11072025_10_36_01_9416.jpg', '/home/pi/Desktop/images/11072025/10/35/image_11072025_10_35_01_3087.jpg', '/home/pi/Desktop/images/11072025/10/34/image_11072025_10_34_02_2619.jpg', '/home/pi/Desktop/images/11072025/10/33/image_11072025_10_33_02_2891.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/10/38/image_11072025_10_38_01_8019.jpg
/home/pi/Desktop/images/11072025/10/37/image_11072025_10_37_01_9150.jpg
/home/pi/Desktop/images/11072025/10/36/image_11072025_10_36_01_9416.jpg
/home/pi/Desktop/images/11072025/10/35/image_11072025_10_35_01_3087.jpg
/home/pi/Desktop/images/11072025/10/34/image_11072025_10_34_02_2619.jpg
/home/pi/Desktop/images/11072025/10/33/image_11072025_10_33_02_2891.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.49492907524109 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 10:40:05.114397
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/10/39/image_11072025_10_39_01_5137.jpg', 2), ('/home/pi/Desktop/images/11072025/10/38/image_11072025_10_38_01_8019.jpg', 2), ('/home/pi/Desktop/images/11072025/10/37/image_11072025_10_37_01_9150.jpg', 2), ('/home/pi/Desktop/images/11072025/10/36/image_11072025_10_36_01_9416.jpg', 2), ('/home/pi/Desktop/images/11072025/10/35/image_11072025_10_35_01_3087.jpg', 2), ('/home/pi/Desktop/images/11072025/10/34/image_11072025_10_34_02_2619.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/10/39/image_11072025_10_39_01_5137.jpg', '/home/pi/Desktop/images/11072025/10/38/image_11072025_10_38_01_8019.jpg', '/home/pi/Desktop/images/11072025/10/37/image_11072025_10_37_01_9150.jpg', '/home/pi/Desktop/images/11072025/10/36/image_11072025_10_36_01_9416.jpg', '/home/pi/Desktop/images/11072025/10/35/image_11072025_10_35_01_3087.jpg', '/home/pi/Desktop/images/11072025/10/34/image_11072025_10_34_02_2619.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/10/39/image_11072025_10_39_01_5137.jpg
/home/pi/Desktop/images/11072025/10/38/image_11072025_10_38_01_8019.jpg
/home/pi/Desktop/images/11072025/10/37/image_11072025_10_37_01_9150.jpg
/home/pi/Desktop/images/11072025/10/36/image_11072025_10_36_01_9416.jpg
/home/pi/Desktop/images/11072025/10/35/image_11072025_10_35_01_3087.jpg
/home/pi/Desktop/images/11072025/10/34/image_11072025_10_34_02_2619.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 32.91121172904968 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 10:41:05.023898
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/10/40/image_11072025_10_40_02_1878.jpg', 2), ('/home/pi/Desktop/images/11072025/10/39/image_11072025_10_39_01_5137.jpg', 2), ('/home/pi/Desktop/images/11072025/10/38/image_11072025_10_38_01_8019.jpg', 2), ('/home/pi/Desktop/images/11072025/10/37/image_11072025_10_37_01_9150.jpg', 2), ('/home/pi/Desktop/images/11072025/10/36/image_11072025_10_36_01_9416.jpg', 2), ('/home/pi/Desktop/images/11072025/10/35/image_11072025_10_35_01_3087.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/10/40/image_11072025_10_40_02_1878.jpg', '/home/pi/Desktop/images/11072025/10/39/image_11072025_10_39_01_5137.jpg', '/home/pi/Desktop/images/11072025/10/38/image_11072025_10_38_01_8019.jpg', '/home/pi/Desktop/images/11072025/10/37/image_11072025_10_37_01_9150.jpg', '/home/pi/Desktop/images/11072025/10/36/image_11072025_10_36_01_9416.jpg', '/home/pi/Desktop/images/11072025/10/35/image_11072025_10_35_01_3087.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/10/40/image_11072025_10_40_02_1878.jpg
/home/pi/Desktop/images/11072025/10/39/image_11072025_10_39_01_5137.jpg
/home/pi/Desktop/images/11072025/10/38/image_11072025_10_38_01_8019.jpg
/home/pi/Desktop/images/11072025/10/37/image_11072025_10_37_01_9150.jpg
/home/pi/Desktop/images/11072025/10/36/image_11072025_10_36_01_9416.jpg
/home/pi/Desktop/images/11072025/10/35/image_11072025_10_35_01_3087.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 34.13640570640564 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 10:42:05.261052
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/10/41/image_11072025_10_41_01_5143.jpg', 2), ('/home/pi/Desktop/images/11072025/10/40/image_11072025_10_40_02_1878.jpg', 2), ('/home/pi/Desktop/images/11072025/10/39/image_11072025_10_39_01_5137.jpg', 2), ('/home/pi/Desktop/images/11072025/10/38/image_11072025_10_38_01_8019.jpg', 2), ('/home/pi/Desktop/images/11072025/10/37/image_11072025_10_37_01_9150.jpg', 2), ('/home/pi/Desktop/images/11072025/10/36/image_11072025_10_36_01_9416.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/10/41/image_11072025_10_41_01_5143.jpg', '/home/pi/Desktop/images/11072025/10/40/image_11072025_10_40_02_1878.jpg', '/home/pi/Desktop/images/11072025/10/39/image_11072025_10_39_01_5137.jpg', '/home/pi/Desktop/images/11072025/10/38/image_11072025_10_38_01_8019.jpg', '/home/pi/Desktop/images/11072025/10/37/image_11072025_10_37_01_9150.jpg', '/home/pi/Desktop/images/11072025/10/36/image_11072025_10_36_01_9416.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/10/41/image_11072025_10_41_01_5143.jpg
/home/pi/Desktop/images/11072025/10/40/image_11072025_10_40_02_1878.jpg
/home/pi/Desktop/images/11072025/10/39/image_11072025_10_39_01_5137.jpg
/home/pi/Desktop/images/11072025/10/38/image_11072025_10_38_01_8019.jpg
/home/pi/Desktop/images/11072025/10/37/image_11072025_10_37_01_9150.jpg
/home/pi/Desktop/images/11072025/10/36/image_11072025_10_36_01_9416.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 32.99834847450256 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 10:43:05.893047
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/10/42/image_11072025_10_42_01_3308.jpg', 2), ('/home/pi/Desktop/images/11072025/10/41/image_11072025_10_41_01_5143.jpg', 2), ('/home/pi/Desktop/images/11072025/10/40/image_11072025_10_40_02_1878.jpg', 2), ('/home/pi/Desktop/images/11072025/10/39/image_11072025_10_39_01_5137.jpg', 2), ('/home/pi/Desktop/images/11072025/10/38/image_11072025_10_38_01_8019.jpg', 2), ('/home/pi/Desktop/images/11072025/10/37/image_11072025_10_37_01_9150.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/10/42/image_11072025_10_42_01_3308.jpg', '/home/pi/Desktop/images/11072025/10/41/image_11072025_10_41_01_5143.jpg', '/home/pi/Desktop/images/11072025/10/40/image_11072025_10_40_02_1878.jpg', '/home/pi/Desktop/images/11072025/10/39/image_11072025_10_39_01_5137.jpg', '/home/pi/Desktop/images/11072025/10/38/image_11072025_10_38_01_8019.jpg', '/home/pi/Desktop/images/11072025/10/37/image_11072025_10_37_01_9150.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/10/42/image_11072025_10_42_01_3308.jpg
/home/pi/Desktop/images/11072025/10/41/image_11072025_10_41_01_5143.jpg
/home/pi/Desktop/images/11072025/10/40/image_11072025_10_40_02_1878.jpg
/home/pi/Desktop/images/11072025/10/39/image_11072025_10_39_01_5137.jpg
/home/pi/Desktop/images/11072025/10/38/image_11072025_10_38_01_8019.jpg
/home/pi/Desktop/images/11072025/10/37/image_11072025_10_37_01_9150.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 36.46304750442505 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 10:44:05.301184
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/10/43/image_11072025_10_43_01_6805.jpg', 2), ('/home/pi/Desktop/images/11072025/10/42/image_11072025_10_42_01_3308.jpg', 2), ('/home/pi/Desktop/images/11072025/10/41/image_11072025_10_41_01_5143.jpg', 2), ('/home/pi/Desktop/images/11072025/10/40/image_11072025_10_40_02_1878.jpg', 2), ('/home/pi/Desktop/images/11072025/10/39/image_11072025_10_39_01_5137.jpg', 2), ('/home/pi/Desktop/images/11072025/10/38/image_11072025_10_38_01_8019.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/10/43/image_11072025_10_43_01_6805.jpg', '/home/pi/Desktop/images/11072025/10/42/image_11072025_10_42_01_3308.jpg', '/home/pi/Desktop/images/11072025/10/41/image_11072025_10_41_01_5143.jpg', '/home/pi/Desktop/images/11072025/10/40/image_11072025_10_40_02_1878.jpg', '/home/pi/Desktop/images/11072025/10/39/image_11072025_10_39_01_5137.jpg', '/home/pi/Desktop/images/11072025/10/38/image_11072025_10_38_01_8019.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/10/43/image_11072025_10_43_01_6805.jpg
/home/pi/Desktop/images/11072025/10/42/image_11072025_10_42_01_3308.jpg
/home/pi/Desktop/images/11072025/10/41/image_11072025_10_41_01_5143.jpg
/home/pi/Desktop/images/11072025/10/40/image_11072025_10_40_02_1878.jpg
/home/pi/Desktop/images/11072025/10/39/image_11072025_10_39_01_5137.jpg
/home/pi/Desktop/images/11072025/10/38/image_11072025_10_38_01_8019.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.35810470581055 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 10:45:05.321846
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/10/44/image_11072025_10_44_02_1300.jpg', 2), ('/home/pi/Desktop/images/11072025/10/43/image_11072025_10_43_01_6805.jpg', 2), ('/home/pi/Desktop/images/11072025/10/42/image_11072025_10_42_01_3308.jpg', 2), ('/home/pi/Desktop/images/11072025/10/41/image_11072025_10_41_01_5143.jpg', 2), ('/home/pi/Desktop/images/11072025/10/40/image_11072025_10_40_02_1878.jpg', 2), ('/home/pi/Desktop/images/11072025/10/39/image_11072025_10_39_01_5137.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/10/44/image_11072025_10_44_02_1300.jpg', '/home/pi/Desktop/images/11072025/10/43/image_11072025_10_43_01_6805.jpg', '/home/pi/Desktop/images/11072025/10/42/image_11072025_10_42_01_3308.jpg', '/home/pi/Desktop/images/11072025/10/41/image_11072025_10_41_01_5143.jpg', '/home/pi/Desktop/images/11072025/10/40/image_11072025_10_40_02_1878.jpg', '/home/pi/Desktop/images/11072025/10/39/image_11072025_10_39_01_5137.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/10/44/image_11072025_10_44_02_1300.jpg
/home/pi/Desktop/images/11072025/10/43/image_11072025_10_43_01_6805.jpg
/home/pi/Desktop/images/11072025/10/42/image_11072025_10_42_01_3308.jpg
/home/pi/Desktop/images/11072025/10/41/image_11072025_10_41_01_5143.jpg
/home/pi/Desktop/images/11072025/10/40/image_11072025_10_40_02_1878.jpg
/home/pi/Desktop/images/11072025/10/39/image_11072025_10_39_01_5137.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.480143308639526 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 10:46:05.411585
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/10/45/image_11072025_10_45_01_8348.jpg', 2), ('/home/pi/Desktop/images/11072025/10/44/image_11072025_10_44_02_1300.jpg', 2), ('/home/pi/Desktop/images/11072025/10/43/image_11072025_10_43_01_6805.jpg', 2), ('/home/pi/Desktop/images/11072025/10/42/image_11072025_10_42_01_3308.jpg', 2), ('/home/pi/Desktop/images/11072025/10/41/image_11072025_10_41_01_5143.jpg', 2), ('/home/pi/Desktop/images/11072025/10/40/image_11072025_10_40_02_1878.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/10/45/image_11072025_10_45_01_8348.jpg', '/home/pi/Desktop/images/11072025/10/44/image_11072025_10_44_02_1300.jpg', '/home/pi/Desktop/images/11072025/10/43/image_11072025_10_43_01_6805.jpg', '/home/pi/Desktop/images/11072025/10/42/image_11072025_10_42_01_3308.jpg', '/home/pi/Desktop/images/11072025/10/41/image_11072025_10_41_01_5143.jpg', '/home/pi/Desktop/images/11072025/10/40/image_11072025_10_40_02_1878.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/10/45/image_11072025_10_45_01_8348.jpg
/home/pi/Desktop/images/11072025/10/44/image_11072025_10_44_02_1300.jpg
/home/pi/Desktop/images/11072025/10/43/image_11072025_10_43_01_6805.jpg
/home/pi/Desktop/images/11072025/10/42/image_11072025_10_42_01_3308.jpg
/home/pi/Desktop/images/11072025/10/41/image_11072025_10_41_01_5143.jpg
/home/pi/Desktop/images/11072025/10/40/image_11072025_10_40_02_1878.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.559775829315186 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 10:47:05.201405
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/10/46/image_11072025_10_46_01_7005.jpg', 2), ('/home/pi/Desktop/images/11072025/10/45/image_11072025_10_45_01_8348.jpg', 2), ('/home/pi/Desktop/images/11072025/10/44/image_11072025_10_44_02_1300.jpg', 2), ('/home/pi/Desktop/images/11072025/10/43/image_11072025_10_43_01_6805.jpg', 2), ('/home/pi/Desktop/images/11072025/10/42/image_11072025_10_42_01_3308.jpg', 2), ('/home/pi/Desktop/images/11072025/10/41/image_11072025_10_41_01_5143.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/10/46/image_11072025_10_46_01_7005.jpg', '/home/pi/Desktop/images/11072025/10/45/image_11072025_10_45_01_8348.jpg', '/home/pi/Desktop/images/11072025/10/44/image_11072025_10_44_02_1300.jpg', '/home/pi/Desktop/images/11072025/10/43/image_11072025_10_43_01_6805.jpg', '/home/pi/Desktop/images/11072025/10/42/image_11072025_10_42_01_3308.jpg', '/home/pi/Desktop/images/11072025/10/41/image_11072025_10_41_01_5143.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/10/46/image_11072025_10_46_01_7005.jpg
/home/pi/Desktop/images/11072025/10/45/image_11072025_10_45_01_8348.jpg
/home/pi/Desktop/images/11072025/10/44/image_11072025_10_44_02_1300.jpg
/home/pi/Desktop/images/11072025/10/43/image_11072025_10_43_01_6805.jpg
/home/pi/Desktop/images/11072025/10/42/image_11072025_10_42_01_3308.jpg
/home/pi/Desktop/images/11072025/10/41/image_11072025_10_41_01_5143.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.8961501121521 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 10:48:04.892225
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/10/47/image_11072025_10_47_01_9614.jpg', 2), ('/home/pi/Desktop/images/11072025/10/46/image_11072025_10_46_01_7005.jpg', 2), ('/home/pi/Desktop/images/11072025/10/45/image_11072025_10_45_01_8348.jpg', 2), ('/home/pi/Desktop/images/11072025/10/44/image_11072025_10_44_02_1300.jpg', 2), ('/home/pi/Desktop/images/11072025/10/43/image_11072025_10_43_01_6805.jpg', 2), ('/home/pi/Desktop/images/11072025/10/42/image_11072025_10_42_01_3308.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/10/47/image_11072025_10_47_01_9614.jpg', '/home/pi/Desktop/images/11072025/10/46/image_11072025_10_46_01_7005.jpg', '/home/pi/Desktop/images/11072025/10/45/image_11072025_10_45_01_8348.jpg', '/home/pi/Desktop/images/11072025/10/44/image_11072025_10_44_02_1300.jpg', '/home/pi/Desktop/images/11072025/10/43/image_11072025_10_43_01_6805.jpg', '/home/pi/Desktop/images/11072025/10/42/image_11072025_10_42_01_3308.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/10/47/image_11072025_10_47_01_9614.jpg
/home/pi/Desktop/images/11072025/10/46/image_11072025_10_46_01_7005.jpg
/home/pi/Desktop/images/11072025/10/45/image_11072025_10_45_01_8348.jpg
/home/pi/Desktop/images/11072025/10/44/image_11072025_10_44_02_1300.jpg
/home/pi/Desktop/images/11072025/10/43/image_11072025_10_43_01_6805.jpg
/home/pi/Desktop/images/11072025/10/42/image_11072025_10_42_01_3308.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.42071270942688 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 10:49:05.805204
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/10/48/image_11072025_10_48_01_6256.jpg', 2), ('/home/pi/Desktop/images/11072025/10/47/image_11072025_10_47_01_9614.jpg', 2), ('/home/pi/Desktop/images/11072025/10/46/image_11072025_10_46_01_7005.jpg', 2), ('/home/pi/Desktop/images/11072025/10/45/image_11072025_10_45_01_8348.jpg', 2), ('/home/pi/Desktop/images/11072025/10/44/image_11072025_10_44_02_1300.jpg', 2), ('/home/pi/Desktop/images/11072025/10/43/image_11072025_10_43_01_6805.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/10/48/image_11072025_10_48_01_6256.jpg', '/home/pi/Desktop/images/11072025/10/47/image_11072025_10_47_01_9614.jpg', '/home/pi/Desktop/images/11072025/10/46/image_11072025_10_46_01_7005.jpg', '/home/pi/Desktop/images/11072025/10/45/image_11072025_10_45_01_8348.jpg', '/home/pi/Desktop/images/11072025/10/44/image_11072025_10_44_02_1300.jpg', '/home/pi/Desktop/images/11072025/10/43/image_11072025_10_43_01_6805.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/10/48/image_11072025_10_48_01_6256.jpg
/home/pi/Desktop/images/11072025/10/47/image_11072025_10_47_01_9614.jpg
/home/pi/Desktop/images/11072025/10/46/image_11072025_10_46_01_7005.jpg
/home/pi/Desktop/images/11072025/10/45/image_11072025_10_45_01_8348.jpg
/home/pi/Desktop/images/11072025/10/44/image_11072025_10_44_02_1300.jpg
/home/pi/Desktop/images/11072025/10/43/image_11072025_10_43_01_6805.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.6792209148407 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 10:50:05.348988
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/10/49/image_11072025_10_49_01_4277.jpg', 2), ('/home/pi/Desktop/images/11072025/10/48/image_11072025_10_48_01_6256.jpg', 2), ('/home/pi/Desktop/images/11072025/10/47/image_11072025_10_47_01_9614.jpg', 2), ('/home/pi/Desktop/images/11072025/10/46/image_11072025_10_46_01_7005.jpg', 2), ('/home/pi/Desktop/images/11072025/10/45/image_11072025_10_45_01_8348.jpg', 2), ('/home/pi/Desktop/images/11072025/10/44/image_11072025_10_44_02_1300.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/10/49/image_11072025_10_49_01_4277.jpg', '/home/pi/Desktop/images/11072025/10/48/image_11072025_10_48_01_6256.jpg', '/home/pi/Desktop/images/11072025/10/47/image_11072025_10_47_01_9614.jpg', '/home/pi/Desktop/images/11072025/10/46/image_11072025_10_46_01_7005.jpg', '/home/pi/Desktop/images/11072025/10/45/image_11072025_10_45_01_8348.jpg', '/home/pi/Desktop/images/11072025/10/44/image_11072025_10_44_02_1300.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/10/49/image_11072025_10_49_01_4277.jpg
/home/pi/Desktop/images/11072025/10/48/image_11072025_10_48_01_6256.jpg
/home/pi/Desktop/images/11072025/10/47/image_11072025_10_47_01_9614.jpg
/home/pi/Desktop/images/11072025/10/46/image_11072025_10_46_01_7005.jpg
/home/pi/Desktop/images/11072025/10/45/image_11072025_10_45_01_8348.jpg
/home/pi/Desktop/images/11072025/10/44/image_11072025_10_44_02_1300.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.2958459854126 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 10:51:05.580164
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/10/50/image_11072025_10_50_02_1398.jpg', 2), ('/home/pi/Desktop/images/11072025/10/49/image_11072025_10_49_01_4277.jpg', 2), ('/home/pi/Desktop/images/11072025/10/48/image_11072025_10_48_01_6256.jpg', 2), ('/home/pi/Desktop/images/11072025/10/47/image_11072025_10_47_01_9614.jpg', 2), ('/home/pi/Desktop/images/11072025/10/46/image_11072025_10_46_01_7005.jpg', 2), ('/home/pi/Desktop/images/11072025/10/45/image_11072025_10_45_01_8348.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/10/50/image_11072025_10_50_02_1398.jpg', '/home/pi/Desktop/images/11072025/10/49/image_11072025_10_49_01_4277.jpg', '/home/pi/Desktop/images/11072025/10/48/image_11072025_10_48_01_6256.jpg', '/home/pi/Desktop/images/11072025/10/47/image_11072025_10_47_01_9614.jpg', '/home/pi/Desktop/images/11072025/10/46/image_11072025_10_46_01_7005.jpg', '/home/pi/Desktop/images/11072025/10/45/image_11072025_10_45_01_8348.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/10/50/image_11072025_10_50_02_1398.jpg
/home/pi/Desktop/images/11072025/10/49/image_11072025_10_49_01_4277.jpg
/home/pi/Desktop/images/11072025/10/48/image_11072025_10_48_01_6256.jpg
/home/pi/Desktop/images/11072025/10/47/image_11072025_10_47_01_9614.jpg
/home/pi/Desktop/images/11072025/10/46/image_11072025_10_46_01_7005.jpg
/home/pi/Desktop/images/11072025/10/45/image_11072025_10_45_01_8348.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.307288646698 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 10:52:05.780641
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/10/51/image_11072025_10_51_01_7452.jpg', 2), ('/home/pi/Desktop/images/11072025/10/50/image_11072025_10_50_02_1398.jpg', 2), ('/home/pi/Desktop/images/11072025/10/49/image_11072025_10_49_01_4277.jpg', 2), ('/home/pi/Desktop/images/11072025/10/48/image_11072025_10_48_01_6256.jpg', 2), ('/home/pi/Desktop/images/11072025/10/47/image_11072025_10_47_01_9614.jpg', 2), ('/home/pi/Desktop/images/11072025/10/46/image_11072025_10_46_01_7005.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/10/51/image_11072025_10_51_01_7452.jpg', '/home/pi/Desktop/images/11072025/10/50/image_11072025_10_50_02_1398.jpg', '/home/pi/Desktop/images/11072025/10/49/image_11072025_10_49_01_4277.jpg', '/home/pi/Desktop/images/11072025/10/48/image_11072025_10_48_01_6256.jpg', '/home/pi/Desktop/images/11072025/10/47/image_11072025_10_47_01_9614.jpg', '/home/pi/Desktop/images/11072025/10/46/image_11072025_10_46_01_7005.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/10/51/image_11072025_10_51_01_7452.jpg
/home/pi/Desktop/images/11072025/10/50/image_11072025_10_50_02_1398.jpg
/home/pi/Desktop/images/11072025/10/49/image_11072025_10_49_01_4277.jpg
/home/pi/Desktop/images/11072025/10/48/image_11072025_10_48_01_6256.jpg
/home/pi/Desktop/images/11072025/10/47/image_11072025_10_47_01_9614.jpg
/home/pi/Desktop/images/11072025/10/46/image_11072025_10_46_01_7005.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.254029989242554 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 10:53:05.508412
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/10/52/image_11072025_10_52_01_9404.jpg', 2), ('/home/pi/Desktop/images/11072025/10/51/image_11072025_10_51_01_7452.jpg', 2), ('/home/pi/Desktop/images/11072025/10/50/image_11072025_10_50_02_1398.jpg', 2), ('/home/pi/Desktop/images/11072025/10/49/image_11072025_10_49_01_4277.jpg', 2), ('/home/pi/Desktop/images/11072025/10/48/image_11072025_10_48_01_6256.jpg', 2), ('/home/pi/Desktop/images/11072025/10/47/image_11072025_10_47_01_9614.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/10/52/image_11072025_10_52_01_9404.jpg', '/home/pi/Desktop/images/11072025/10/51/image_11072025_10_51_01_7452.jpg', '/home/pi/Desktop/images/11072025/10/50/image_11072025_10_50_02_1398.jpg', '/home/pi/Desktop/images/11072025/10/49/image_11072025_10_49_01_4277.jpg', '/home/pi/Desktop/images/11072025/10/48/image_11072025_10_48_01_6256.jpg', '/home/pi/Desktop/images/11072025/10/47/image_11072025_10_47_01_9614.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/10/52/image_11072025_10_52_01_9404.jpg
/home/pi/Desktop/images/11072025/10/51/image_11072025_10_51_01_7452.jpg
/home/pi/Desktop/images/11072025/10/50/image_11072025_10_50_02_1398.jpg
/home/pi/Desktop/images/11072025/10/49/image_11072025_10_49_01_4277.jpg
/home/pi/Desktop/images/11072025/10/48/image_11072025_10_48_01_6256.jpg
/home/pi/Desktop/images/11072025/10/47/image_11072025_10_47_01_9614.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.66269636154175 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 10:54:05.820122
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/10/53/image_11072025_10_53_02_2018.jpg', 2), ('/home/pi/Desktop/images/11072025/10/52/image_11072025_10_52_01_9404.jpg', 2), ('/home/pi/Desktop/images/11072025/10/51/image_11072025_10_51_01_7452.jpg', 2), ('/home/pi/Desktop/images/11072025/10/50/image_11072025_10_50_02_1398.jpg', 2), ('/home/pi/Desktop/images/11072025/10/49/image_11072025_10_49_01_4277.jpg', 2), ('/home/pi/Desktop/images/11072025/10/48/image_11072025_10_48_01_6256.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/10/53/image_11072025_10_53_02_2018.jpg', '/home/pi/Desktop/images/11072025/10/52/image_11072025_10_52_01_9404.jpg', '/home/pi/Desktop/images/11072025/10/51/image_11072025_10_51_01_7452.jpg', '/home/pi/Desktop/images/11072025/10/50/image_11072025_10_50_02_1398.jpg', '/home/pi/Desktop/images/11072025/10/49/image_11072025_10_49_01_4277.jpg', '/home/pi/Desktop/images/11072025/10/48/image_11072025_10_48_01_6256.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/10/53/image_11072025_10_53_02_2018.jpg
/home/pi/Desktop/images/11072025/10/52/image_11072025_10_52_01_9404.jpg
/home/pi/Desktop/images/11072025/10/51/image_11072025_10_51_01_7452.jpg
/home/pi/Desktop/images/11072025/10/50/image_11072025_10_50_02_1398.jpg
/home/pi/Desktop/images/11072025/10/49/image_11072025_10_49_01_4277.jpg
/home/pi/Desktop/images/11072025/10/48/image_11072025_10_48_01_6256.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.52129364013672 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 10:55:05.931803
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/10/54/image_11072025_10_54_02_0104.jpg', 2), ('/home/pi/Desktop/images/11072025/10/53/image_11072025_10_53_02_2018.jpg', 2), ('/home/pi/Desktop/images/11072025/10/52/image_11072025_10_52_01_9404.jpg', 2), ('/home/pi/Desktop/images/11072025/10/51/image_11072025_10_51_01_7452.jpg', 2), ('/home/pi/Desktop/images/11072025/10/50/image_11072025_10_50_02_1398.jpg', 2), ('/home/pi/Desktop/images/11072025/10/49/image_11072025_10_49_01_4277.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/10/54/image_11072025_10_54_02_0104.jpg', '/home/pi/Desktop/images/11072025/10/53/image_11072025_10_53_02_2018.jpg', '/home/pi/Desktop/images/11072025/10/52/image_11072025_10_52_01_9404.jpg', '/home/pi/Desktop/images/11072025/10/51/image_11072025_10_51_01_7452.jpg', '/home/pi/Desktop/images/11072025/10/50/image_11072025_10_50_02_1398.jpg', '/home/pi/Desktop/images/11072025/10/49/image_11072025_10_49_01_4277.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/10/54/image_11072025_10_54_02_0104.jpg
/home/pi/Desktop/images/11072025/10/53/image_11072025_10_53_02_2018.jpg
/home/pi/Desktop/images/11072025/10/52/image_11072025_10_52_01_9404.jpg
/home/pi/Desktop/images/11072025/10/51/image_11072025_10_51_01_7452.jpg
/home/pi/Desktop/images/11072025/10/50/image_11072025_10_50_02_1398.jpg
/home/pi/Desktop/images/11072025/10/49/image_11072025_10_49_01_4277.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.68597483634949 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 10:56:05.075223
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/10/55/image_11072025_10_55_02_2524.jpg', 2), ('/home/pi/Desktop/images/11072025/10/54/image_11072025_10_54_02_0104.jpg', 2), ('/home/pi/Desktop/images/11072025/10/53/image_11072025_10_53_02_2018.jpg', 2), ('/home/pi/Desktop/images/11072025/10/52/image_11072025_10_52_01_9404.jpg', 2), ('/home/pi/Desktop/images/11072025/10/51/image_11072025_10_51_01_7452.jpg', 2), ('/home/pi/Desktop/images/11072025/10/50/image_11072025_10_50_02_1398.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/10/55/image_11072025_10_55_02_2524.jpg', '/home/pi/Desktop/images/11072025/10/54/image_11072025_10_54_02_0104.jpg', '/home/pi/Desktop/images/11072025/10/53/image_11072025_10_53_02_2018.jpg', '/home/pi/Desktop/images/11072025/10/52/image_11072025_10_52_01_9404.jpg', '/home/pi/Desktop/images/11072025/10/51/image_11072025_10_51_01_7452.jpg', '/home/pi/Desktop/images/11072025/10/50/image_11072025_10_50_02_1398.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/10/55/image_11072025_10_55_02_2524.jpg
/home/pi/Desktop/images/11072025/10/54/image_11072025_10_54_02_0104.jpg
/home/pi/Desktop/images/11072025/10/53/image_11072025_10_53_02_2018.jpg
/home/pi/Desktop/images/11072025/10/52/image_11072025_10_52_01_9404.jpg
/home/pi/Desktop/images/11072025/10/51/image_11072025_10_51_01_7452.jpg
/home/pi/Desktop/images/11072025/10/50/image_11072025_10_50_02_1398.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.66020369529724 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 10:57:05.153467
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/10/56/image_11072025_10_56_02_0924.jpg', 2), ('/home/pi/Desktop/images/11072025/10/55/image_11072025_10_55_02_2524.jpg', 2), ('/home/pi/Desktop/images/11072025/10/54/image_11072025_10_54_02_0104.jpg', 2), ('/home/pi/Desktop/images/11072025/10/53/image_11072025_10_53_02_2018.jpg', 2), ('/home/pi/Desktop/images/11072025/10/52/image_11072025_10_52_01_9404.jpg', 2), ('/home/pi/Desktop/images/11072025/10/51/image_11072025_10_51_01_7452.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/10/56/image_11072025_10_56_02_0924.jpg', '/home/pi/Desktop/images/11072025/10/55/image_11072025_10_55_02_2524.jpg', '/home/pi/Desktop/images/11072025/10/54/image_11072025_10_54_02_0104.jpg', '/home/pi/Desktop/images/11072025/10/53/image_11072025_10_53_02_2018.jpg', '/home/pi/Desktop/images/11072025/10/52/image_11072025_10_52_01_9404.jpg', '/home/pi/Desktop/images/11072025/10/51/image_11072025_10_51_01_7452.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/10/56/image_11072025_10_56_02_0924.jpg
/home/pi/Desktop/images/11072025/10/55/image_11072025_10_55_02_2524.jpg
/home/pi/Desktop/images/11072025/10/54/image_11072025_10_54_02_0104.jpg
/home/pi/Desktop/images/11072025/10/53/image_11072025_10_53_02_2018.jpg
/home/pi/Desktop/images/11072025/10/52/image_11072025_10_52_01_9404.jpg
/home/pi/Desktop/images/11072025/10/51/image_11072025_10_51_01_7452.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.70721364021301 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 10:59:04.913826
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
1 photos no longer on disk
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/11/00/image_11072025_11_00_02_2907.jpg', 2), ('/home/pi/Desktop/images/11072025/10/58/image_11072025_10_58_01_7221.jpg', 2), ('/home/pi/Desktop/images/11072025/10/57/image_11072025_10_57_01_6288.jpg', 2), ('/home/pi/Desktop/images/11072025/10/56/image_11072025_10_56_02_0924.jpg', 2), ('/home/pi/Desktop/images/11072025/10/55/image_11072025_10_55_02_2524.jpg', 2), ('/home/pi/Desktop/images/11072025/10/54/image_11072025_10_54_02_0104.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/10/58/image_11072025_10_58_01_7221.jpg', '/home/pi/Desktop/images/11072025/10/57/image_11072025_10_57_01_6288.jpg', '/home/pi/Desktop/images/11072025/10/56/image_11072025_10_56_02_0924.jpg', '/home/pi/Desktop/images/11072025/10/55/image_11072025_10_55_02_2524.jpg', '/home/pi/Desktop/images/11072025/10/54/image_11072025_10_54_02_0104.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/10/58/image_11072025_10_58_01_7221.jpg
/home/pi/Desktop/images/11072025/10/57/image_11072025_10_57_01_6288.jpg
/home/pi/Desktop/images/11072025/10/56/image_11072025_10_56_02_0924.jpg
/home/pi/Desktop/images/11072025/10/55/image_11072025_10_55_02_2524.jpg
/home/pi/Desktop/images/11072025/10/54/image_11072025_10_54_02_0104.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.26308846473694 secondes ---
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 377, in upload_from_sqlite
    upload_photo_and_update_logs(files, lsr, port_id, datou_current_id, fc, hashtags = hashtags, verbose = verbose, nb_batch= nb_batch,batch_size=limit)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 74, in upload_photo_and_update_logs
    logger.info("no_longer_on_disk_list:",no_longer_on_disk_list)
Message: 'no_longer_on_disk_list:'
Arguments: (['/home/pi/Desktop/images/11072025/11/00/image_11072025_11_00_02_2907.jpg'],)
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 11:00:03.131082
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/10/58/image_11072025_10_58_01_7221.jpg', 2), ('/home/pi/Desktop/images/11072025/10/57/image_11072025_10_57_01_6288.jpg', 2), ('/home/pi/Desktop/images/11072025/10/56/image_11072025_10_56_02_0924.jpg', 2), ('/home/pi/Desktop/images/11072025/10/55/image_11072025_10_55_02_2524.jpg', 2), ('/home/pi/Desktop/images/11072025/10/54/image_11072025_10_54_02_0104.jpg', 2), ('/home/pi/Desktop/images/11072025/10/53/image_11072025_10_53_02_2018.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/10/58/image_11072025_10_58_01_7221.jpg', '/home/pi/Desktop/images/11072025/10/57/image_11072025_10_57_01_6288.jpg', '/home/pi/Desktop/images/11072025/10/56/image_11072025_10_56_02_0924.jpg', '/home/pi/Desktop/images/11072025/10/55/image_11072025_10_55_02_2524.jpg', '/home/pi/Desktop/images/11072025/10/54/image_11072025_10_54_02_0104.jpg', '/home/pi/Desktop/images/11072025/10/53/image_11072025_10_53_02_2018.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/10/58/image_11072025_10_58_01_7221.jpg
/home/pi/Desktop/images/11072025/10/57/image_11072025_10_57_01_6288.jpg
/home/pi/Desktop/images/11072025/10/56/image_11072025_10_56_02_0924.jpg
/home/pi/Desktop/images/11072025/10/55/image_11072025_10_55_02_2524.jpg
/home/pi/Desktop/images/11072025/10/54/image_11072025_10_54_02_0104.jpg
/home/pi/Desktop/images/11072025/10/53/image_11072025_10_53_02_2018.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 32.121358156204224 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 11:01:06.384540
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/10/59/image_11072025_10_59_01_9711.jpg', 2), ('/home/pi/Desktop/images/11072025/10/58/image_11072025_10_58_01_7221.jpg', 2), ('/home/pi/Desktop/images/11072025/10/57/image_11072025_10_57_01_6288.jpg', 2), ('/home/pi/Desktop/images/11072025/10/56/image_11072025_10_56_02_0924.jpg', 2), ('/home/pi/Desktop/images/11072025/10/55/image_11072025_10_55_02_2524.jpg', 2), ('/home/pi/Desktop/images/11072025/10/54/image_11072025_10_54_02_0104.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/10/59/image_11072025_10_59_01_9711.jpg', '/home/pi/Desktop/images/11072025/10/58/image_11072025_10_58_01_7221.jpg', '/home/pi/Desktop/images/11072025/10/57/image_11072025_10_57_01_6288.jpg', '/home/pi/Desktop/images/11072025/10/56/image_11072025_10_56_02_0924.jpg', '/home/pi/Desktop/images/11072025/10/55/image_11072025_10_55_02_2524.jpg', '/home/pi/Desktop/images/11072025/10/54/image_11072025_10_54_02_0104.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/10/59/image_11072025_10_59_01_9711.jpg
/home/pi/Desktop/images/11072025/10/58/image_11072025_10_58_01_7221.jpg
/home/pi/Desktop/images/11072025/10/57/image_11072025_10_57_01_6288.jpg
/home/pi/Desktop/images/11072025/10/56/image_11072025_10_56_02_0924.jpg
/home/pi/Desktop/images/11072025/10/55/image_11072025_10_55_02_2524.jpg
/home/pi/Desktop/images/11072025/10/54/image_11072025_10_54_02_0104.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 24.840372323989868 secondes ---
<Response [500]>
b'<!doctype html>\n<html lang=en>\n<title>500 Internal Server Error</title>\n<h1>Internal Server Error</h1>\n<p>The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there is an error in the application.</p>\n'
500
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 11:02:05.796963
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/11/01/image_11072025_11_01_01_5833.jpg', 2), ('/home/pi/Desktop/images/11072025/10/59/image_11072025_10_59_01_9711.jpg', 2), ('/home/pi/Desktop/images/11072025/10/58/image_11072025_10_58_01_7221.jpg', 2), ('/home/pi/Desktop/images/11072025/10/57/image_11072025_10_57_01_6288.jpg', 2), ('/home/pi/Desktop/images/11072025/10/56/image_11072025_10_56_02_0924.jpg', 2), ('/home/pi/Desktop/images/11072025/10/55/image_11072025_10_55_02_2524.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/11/01/image_11072025_11_01_01_5833.jpg', '/home/pi/Desktop/images/11072025/10/59/image_11072025_10_59_01_9711.jpg', '/home/pi/Desktop/images/11072025/10/58/image_11072025_10_58_01_7221.jpg', '/home/pi/Desktop/images/11072025/10/57/image_11072025_10_57_01_6288.jpg', '/home/pi/Desktop/images/11072025/10/56/image_11072025_10_56_02_0924.jpg', '/home/pi/Desktop/images/11072025/10/55/image_11072025_10_55_02_2524.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/11/01/image_11072025_11_01_01_5833.jpg
/home/pi/Desktop/images/11072025/10/59/image_11072025_10_59_01_9711.jpg
/home/pi/Desktop/images/11072025/10/58/image_11072025_10_58_01_7221.jpg
/home/pi/Desktop/images/11072025/10/57/image_11072025_10_57_01_6288.jpg
/home/pi/Desktop/images/11072025/10/56/image_11072025_10_56_02_0924.jpg
/home/pi/Desktop/images/11072025/10/55/image_11072025_10_55_02_2524.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 4.151732921600342 secondes ---
<Response [500]>
b'<!doctype html>\n<html lang=en>\n<title>500 Internal Server Error</title>\n<h1>Internal Server Error</h1>\n<p>The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there is an error in the application.</p>\n'
500
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 11:03:04.013279
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/11/02/image_11072025_11_02_02_2205.jpg', 2), ('/home/pi/Desktop/images/11072025/11/01/image_11072025_11_01_01_5833.jpg', 2), ('/home/pi/Desktop/images/11072025/10/59/image_11072025_10_59_01_9711.jpg', 2), ('/home/pi/Desktop/images/11072025/10/58/image_11072025_10_58_01_7221.jpg', 2), ('/home/pi/Desktop/images/11072025/10/57/image_11072025_10_57_01_6288.jpg', 2), ('/home/pi/Desktop/images/11072025/10/56/image_11072025_10_56_02_0924.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/11/02/image_11072025_11_02_02_2205.jpg', '/home/pi/Desktop/images/11072025/11/01/image_11072025_11_01_01_5833.jpg', '/home/pi/Desktop/images/11072025/10/59/image_11072025_10_59_01_9711.jpg', '/home/pi/Desktop/images/11072025/10/58/image_11072025_10_58_01_7221.jpg', '/home/pi/Desktop/images/11072025/10/57/image_11072025_10_57_01_6288.jpg', '/home/pi/Desktop/images/11072025/10/56/image_11072025_10_56_02_0924.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/11/02/image_11072025_11_02_02_2205.jpg
/home/pi/Desktop/images/11072025/11/01/image_11072025_11_01_01_5833.jpg
/home/pi/Desktop/images/11072025/10/59/image_11072025_10_59_01_9711.jpg
/home/pi/Desktop/images/11072025/10/58/image_11072025_10_58_01_7221.jpg
/home/pi/Desktop/images/11072025/10/57/image_11072025_10_57_01_6288.jpg
/home/pi/Desktop/images/11072025/10/56/image_11072025_10_56_02_0924.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.6000816822052 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 11:04:05.330382
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/11/03/image_11072025_11_03_01_9255.jpg', 2), ('/home/pi/Desktop/images/11072025/11/02/image_11072025_11_02_02_2205.jpg', 2), ('/home/pi/Desktop/images/11072025/11/01/image_11072025_11_01_01_5833.jpg', 2), ('/home/pi/Desktop/images/11072025/10/59/image_11072025_10_59_01_9711.jpg', 2), ('/home/pi/Desktop/images/11072025/10/58/image_11072025_10_58_01_7221.jpg', 2), ('/home/pi/Desktop/images/11072025/10/57/image_11072025_10_57_01_6288.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/11/03/image_11072025_11_03_01_9255.jpg', '/home/pi/Desktop/images/11072025/11/02/image_11072025_11_02_02_2205.jpg', '/home/pi/Desktop/images/11072025/11/01/image_11072025_11_01_01_5833.jpg', '/home/pi/Desktop/images/11072025/10/59/image_11072025_10_59_01_9711.jpg', '/home/pi/Desktop/images/11072025/10/58/image_11072025_10_58_01_7221.jpg', '/home/pi/Desktop/images/11072025/10/57/image_11072025_10_57_01_6288.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/11/03/image_11072025_11_03_01_9255.jpg
/home/pi/Desktop/images/11072025/11/02/image_11072025_11_02_02_2205.jpg
/home/pi/Desktop/images/11072025/11/01/image_11072025_11_01_01_5833.jpg
/home/pi/Desktop/images/11072025/10/59/image_11072025_10_59_01_9711.jpg
/home/pi/Desktop/images/11072025/10/58/image_11072025_10_58_01_7221.jpg
/home/pi/Desktop/images/11072025/10/57/image_11072025_10_57_01_6288.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.45158553123474 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 11:05:05.568551
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/11/04/image_11072025_11_04_01_3407.jpg', 2), ('/home/pi/Desktop/images/11072025/11/03/image_11072025_11_03_01_9255.jpg', 2), ('/home/pi/Desktop/images/11072025/11/02/image_11072025_11_02_02_2205.jpg', 2), ('/home/pi/Desktop/images/11072025/11/01/image_11072025_11_01_01_5833.jpg', 2), ('/home/pi/Desktop/images/11072025/10/59/image_11072025_10_59_01_9711.jpg', 2), ('/home/pi/Desktop/images/11072025/10/58/image_11072025_10_58_01_7221.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/11/04/image_11072025_11_04_01_3407.jpg', '/home/pi/Desktop/images/11072025/11/03/image_11072025_11_03_01_9255.jpg', '/home/pi/Desktop/images/11072025/11/02/image_11072025_11_02_02_2205.jpg', '/home/pi/Desktop/images/11072025/11/01/image_11072025_11_01_01_5833.jpg', '/home/pi/Desktop/images/11072025/10/59/image_11072025_10_59_01_9711.jpg', '/home/pi/Desktop/images/11072025/10/58/image_11072025_10_58_01_7221.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/11/04/image_11072025_11_04_01_3407.jpg
/home/pi/Desktop/images/11072025/11/03/image_11072025_11_03_01_9255.jpg
/home/pi/Desktop/images/11072025/11/02/image_11072025_11_02_02_2205.jpg
/home/pi/Desktop/images/11072025/11/01/image_11072025_11_01_01_5833.jpg
/home/pi/Desktop/images/11072025/10/59/image_11072025_10_59_01_9711.jpg
/home/pi/Desktop/images/11072025/10/58/image_11072025_10_58_01_7221.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.37583351135254 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 11:06:06.000642
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/11/05/image_11072025_11_05_01_9652.jpg', 2), ('/home/pi/Desktop/images/11072025/11/04/image_11072025_11_04_01_3407.jpg', 2), ('/home/pi/Desktop/images/11072025/11/03/image_11072025_11_03_01_9255.jpg', 2), ('/home/pi/Desktop/images/11072025/11/02/image_11072025_11_02_02_2205.jpg', 2), ('/home/pi/Desktop/images/11072025/11/01/image_11072025_11_01_01_5833.jpg', 2), ('/home/pi/Desktop/images/11072025/10/59/image_11072025_10_59_01_9711.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/11/05/image_11072025_11_05_01_9652.jpg', '/home/pi/Desktop/images/11072025/11/04/image_11072025_11_04_01_3407.jpg', '/home/pi/Desktop/images/11072025/11/03/image_11072025_11_03_01_9255.jpg', '/home/pi/Desktop/images/11072025/11/02/image_11072025_11_02_02_2205.jpg', '/home/pi/Desktop/images/11072025/11/01/image_11072025_11_01_01_5833.jpg', '/home/pi/Desktop/images/11072025/10/59/image_11072025_10_59_01_9711.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/11/05/image_11072025_11_05_01_9652.jpg
/home/pi/Desktop/images/11072025/11/04/image_11072025_11_04_01_3407.jpg
/home/pi/Desktop/images/11072025/11/03/image_11072025_11_03_01_9255.jpg
/home/pi/Desktop/images/11072025/11/02/image_11072025_11_02_02_2205.jpg
/home/pi/Desktop/images/11072025/11/01/image_11072025_11_01_01_5833.jpg
/home/pi/Desktop/images/11072025/10/59/image_11072025_10_59_01_9711.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.07754182815552 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 11:07:06.014273
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/11/06/image_11072025_11_06_01_9364.jpg', 2), ('/home/pi/Desktop/images/11072025/11/05/image_11072025_11_05_01_9652.jpg', 2), ('/home/pi/Desktop/images/11072025/11/04/image_11072025_11_04_01_3407.jpg', 2), ('/home/pi/Desktop/images/11072025/11/03/image_11072025_11_03_01_9255.jpg', 2), ('/home/pi/Desktop/images/11072025/11/02/image_11072025_11_02_02_2205.jpg', 2), ('/home/pi/Desktop/images/11072025/11/01/image_11072025_11_01_01_5833.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/11/06/image_11072025_11_06_01_9364.jpg', '/home/pi/Desktop/images/11072025/11/05/image_11072025_11_05_01_9652.jpg', '/home/pi/Desktop/images/11072025/11/04/image_11072025_11_04_01_3407.jpg', '/home/pi/Desktop/images/11072025/11/03/image_11072025_11_03_01_9255.jpg', '/home/pi/Desktop/images/11072025/11/02/image_11072025_11_02_02_2205.jpg', '/home/pi/Desktop/images/11072025/11/01/image_11072025_11_01_01_5833.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/11/06/image_11072025_11_06_01_9364.jpg
/home/pi/Desktop/images/11072025/11/05/image_11072025_11_05_01_9652.jpg
/home/pi/Desktop/images/11072025/11/04/image_11072025_11_04_01_3407.jpg
/home/pi/Desktop/images/11072025/11/03/image_11072025_11_03_01_9255.jpg
/home/pi/Desktop/images/11072025/11/02/image_11072025_11_02_02_2205.jpg
/home/pi/Desktop/images/11072025/11/01/image_11072025_11_01_01_5833.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.19939565658569 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 11:08:04.960821
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/11/07/image_11072025_11_07_02_1606.jpg', 2), ('/home/pi/Desktop/images/11072025/11/06/image_11072025_11_06_01_9364.jpg', 2), ('/home/pi/Desktop/images/11072025/11/05/image_11072025_11_05_01_9652.jpg', 2), ('/home/pi/Desktop/images/11072025/11/04/image_11072025_11_04_01_3407.jpg', 2), ('/home/pi/Desktop/images/11072025/11/03/image_11072025_11_03_01_9255.jpg', 2), ('/home/pi/Desktop/images/11072025/11/02/image_11072025_11_02_02_2205.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/11/07/image_11072025_11_07_02_1606.jpg', '/home/pi/Desktop/images/11072025/11/06/image_11072025_11_06_01_9364.jpg', '/home/pi/Desktop/images/11072025/11/05/image_11072025_11_05_01_9652.jpg', '/home/pi/Desktop/images/11072025/11/04/image_11072025_11_04_01_3407.jpg', '/home/pi/Desktop/images/11072025/11/03/image_11072025_11_03_01_9255.jpg', '/home/pi/Desktop/images/11072025/11/02/image_11072025_11_02_02_2205.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/11/07/image_11072025_11_07_02_1606.jpg
/home/pi/Desktop/images/11072025/11/06/image_11072025_11_06_01_9364.jpg
/home/pi/Desktop/images/11072025/11/05/image_11072025_11_05_01_9652.jpg
/home/pi/Desktop/images/11072025/11/04/image_11072025_11_04_01_3407.jpg
/home/pi/Desktop/images/11072025/11/03/image_11072025_11_03_01_9255.jpg
/home/pi/Desktop/images/11072025/11/02/image_11072025_11_02_02_2205.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.34415578842163 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 11:09:05.605668
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/11/08/image_11072025_11_08_02_3052.jpg', 2), ('/home/pi/Desktop/images/11072025/11/07/image_11072025_11_07_02_1606.jpg', 2), ('/home/pi/Desktop/images/11072025/11/06/image_11072025_11_06_01_9364.jpg', 2), ('/home/pi/Desktop/images/11072025/11/05/image_11072025_11_05_01_9652.jpg', 2), ('/home/pi/Desktop/images/11072025/11/04/image_11072025_11_04_01_3407.jpg', 2), ('/home/pi/Desktop/images/11072025/11/03/image_11072025_11_03_01_9255.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/11/08/image_11072025_11_08_02_3052.jpg', '/home/pi/Desktop/images/11072025/11/07/image_11072025_11_07_02_1606.jpg', '/home/pi/Desktop/images/11072025/11/06/image_11072025_11_06_01_9364.jpg', '/home/pi/Desktop/images/11072025/11/05/image_11072025_11_05_01_9652.jpg', '/home/pi/Desktop/images/11072025/11/04/image_11072025_11_04_01_3407.jpg', '/home/pi/Desktop/images/11072025/11/03/image_11072025_11_03_01_9255.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/11/08/image_11072025_11_08_02_3052.jpg
/home/pi/Desktop/images/11072025/11/07/image_11072025_11_07_02_1606.jpg
/home/pi/Desktop/images/11072025/11/06/image_11072025_11_06_01_9364.jpg
/home/pi/Desktop/images/11072025/11/05/image_11072025_11_05_01_9652.jpg
/home/pi/Desktop/images/11072025/11/04/image_11072025_11_04_01_3407.jpg
/home/pi/Desktop/images/11072025/11/03/image_11072025_11_03_01_9255.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.85258412361145 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 11:10:05.597833
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/11/09/image_11072025_11_09_01_4214.jpg', 2), ('/home/pi/Desktop/images/11072025/11/08/image_11072025_11_08_02_3052.jpg', 2), ('/home/pi/Desktop/images/11072025/11/07/image_11072025_11_07_02_1606.jpg', 2), ('/home/pi/Desktop/images/11072025/11/06/image_11072025_11_06_01_9364.jpg', 2), ('/home/pi/Desktop/images/11072025/11/05/image_11072025_11_05_01_9652.jpg', 2), ('/home/pi/Desktop/images/11072025/11/04/image_11072025_11_04_01_3407.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/11/09/image_11072025_11_09_01_4214.jpg', '/home/pi/Desktop/images/11072025/11/08/image_11072025_11_08_02_3052.jpg', '/home/pi/Desktop/images/11072025/11/07/image_11072025_11_07_02_1606.jpg', '/home/pi/Desktop/images/11072025/11/06/image_11072025_11_06_01_9364.jpg', '/home/pi/Desktop/images/11072025/11/05/image_11072025_11_05_01_9652.jpg', '/home/pi/Desktop/images/11072025/11/04/image_11072025_11_04_01_3407.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/11/09/image_11072025_11_09_01_4214.jpg
/home/pi/Desktop/images/11072025/11/08/image_11072025_11_08_02_3052.jpg
/home/pi/Desktop/images/11072025/11/07/image_11072025_11_07_02_1606.jpg
/home/pi/Desktop/images/11072025/11/06/image_11072025_11_06_01_9364.jpg
/home/pi/Desktop/images/11072025/11/05/image_11072025_11_05_01_9652.jpg
/home/pi/Desktop/images/11072025/11/04/image_11072025_11_04_01_3407.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.01941967010498 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 11:11:06.171904
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/11/10/image_11072025_11_10_01_6151.jpg', 2), ('/home/pi/Desktop/images/11072025/11/09/image_11072025_11_09_01_4214.jpg', 2), ('/home/pi/Desktop/images/11072025/11/08/image_11072025_11_08_02_3052.jpg', 2), ('/home/pi/Desktop/images/11072025/11/07/image_11072025_11_07_02_1606.jpg', 2), ('/home/pi/Desktop/images/11072025/11/06/image_11072025_11_06_01_9364.jpg', 2), ('/home/pi/Desktop/images/11072025/11/05/image_11072025_11_05_01_9652.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/11/10/image_11072025_11_10_01_6151.jpg', '/home/pi/Desktop/images/11072025/11/09/image_11072025_11_09_01_4214.jpg', '/home/pi/Desktop/images/11072025/11/08/image_11072025_11_08_02_3052.jpg', '/home/pi/Desktop/images/11072025/11/07/image_11072025_11_07_02_1606.jpg', '/home/pi/Desktop/images/11072025/11/06/image_11072025_11_06_01_9364.jpg', '/home/pi/Desktop/images/11072025/11/05/image_11072025_11_05_01_9652.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/11/10/image_11072025_11_10_01_6151.jpg
/home/pi/Desktop/images/11072025/11/09/image_11072025_11_09_01_4214.jpg
/home/pi/Desktop/images/11072025/11/08/image_11072025_11_08_02_3052.jpg
/home/pi/Desktop/images/11072025/11/07/image_11072025_11_07_02_1606.jpg
/home/pi/Desktop/images/11072025/11/06/image_11072025_11_06_01_9364.jpg
/home/pi/Desktop/images/11072025/11/05/image_11072025_11_05_01_9652.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.560330867767334 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 11:12:06.905054
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/11/11/image_11072025_11_11_02_2742.jpg', 2), ('/home/pi/Desktop/images/11072025/11/10/image_11072025_11_10_01_6151.jpg', 2), ('/home/pi/Desktop/images/11072025/11/09/image_11072025_11_09_01_4214.jpg', 2), ('/home/pi/Desktop/images/11072025/11/08/image_11072025_11_08_02_3052.jpg', 2), ('/home/pi/Desktop/images/11072025/11/07/image_11072025_11_07_02_1606.jpg', 2), ('/home/pi/Desktop/images/11072025/11/06/image_11072025_11_06_01_9364.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/11/11/image_11072025_11_11_02_2742.jpg', '/home/pi/Desktop/images/11072025/11/10/image_11072025_11_10_01_6151.jpg', '/home/pi/Desktop/images/11072025/11/09/image_11072025_11_09_01_4214.jpg', '/home/pi/Desktop/images/11072025/11/08/image_11072025_11_08_02_3052.jpg', '/home/pi/Desktop/images/11072025/11/07/image_11072025_11_07_02_1606.jpg', '/home/pi/Desktop/images/11072025/11/06/image_11072025_11_06_01_9364.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/11/11/image_11072025_11_11_02_2742.jpg
/home/pi/Desktop/images/11072025/11/10/image_11072025_11_10_01_6151.jpg
/home/pi/Desktop/images/11072025/11/09/image_11072025_11_09_01_4214.jpg
/home/pi/Desktop/images/11072025/11/08/image_11072025_11_08_02_3052.jpg
/home/pi/Desktop/images/11072025/11/07/image_11072025_11_07_02_1606.jpg
/home/pi/Desktop/images/11072025/11/06/image_11072025_11_06_01_9364.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 32.917351961135864 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 11:13:05.877297
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/11/12/image_11072025_11_12_02_1703.jpg', 2), ('/home/pi/Desktop/images/11072025/11/11/image_11072025_11_11_02_2742.jpg', 2), ('/home/pi/Desktop/images/11072025/11/10/image_11072025_11_10_01_6151.jpg', 2), ('/home/pi/Desktop/images/11072025/11/09/image_11072025_11_09_01_4214.jpg', 2), ('/home/pi/Desktop/images/11072025/11/08/image_11072025_11_08_02_3052.jpg', 2), ('/home/pi/Desktop/images/11072025/11/07/image_11072025_11_07_02_1606.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/11/12/image_11072025_11_12_02_1703.jpg', '/home/pi/Desktop/images/11072025/11/11/image_11072025_11_11_02_2742.jpg', '/home/pi/Desktop/images/11072025/11/10/image_11072025_11_10_01_6151.jpg', '/home/pi/Desktop/images/11072025/11/09/image_11072025_11_09_01_4214.jpg', '/home/pi/Desktop/images/11072025/11/08/image_11072025_11_08_02_3052.jpg', '/home/pi/Desktop/images/11072025/11/07/image_11072025_11_07_02_1606.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/11/12/image_11072025_11_12_02_1703.jpg
/home/pi/Desktop/images/11072025/11/11/image_11072025_11_11_02_2742.jpg
/home/pi/Desktop/images/11072025/11/10/image_11072025_11_10_01_6151.jpg
/home/pi/Desktop/images/11072025/11/09/image_11072025_11_09_01_4214.jpg
/home/pi/Desktop/images/11072025/11/08/image_11072025_11_08_02_3052.jpg
/home/pi/Desktop/images/11072025/11/07/image_11072025_11_07_02_1606.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.22251605987549 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 11:14:05.356539
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/11/13/image_11072025_11_13_02_2016.jpg', 2), ('/home/pi/Desktop/images/11072025/11/12/image_11072025_11_12_02_1703.jpg', 2), ('/home/pi/Desktop/images/11072025/11/11/image_11072025_11_11_02_2742.jpg', 2), ('/home/pi/Desktop/images/11072025/11/10/image_11072025_11_10_01_6151.jpg', 2), ('/home/pi/Desktop/images/11072025/11/09/image_11072025_11_09_01_4214.jpg', 2), ('/home/pi/Desktop/images/11072025/11/08/image_11072025_11_08_02_3052.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/11/13/image_11072025_11_13_02_2016.jpg', '/home/pi/Desktop/images/11072025/11/12/image_11072025_11_12_02_1703.jpg', '/home/pi/Desktop/images/11072025/11/11/image_11072025_11_11_02_2742.jpg', '/home/pi/Desktop/images/11072025/11/10/image_11072025_11_10_01_6151.jpg', '/home/pi/Desktop/images/11072025/11/09/image_11072025_11_09_01_4214.jpg', '/home/pi/Desktop/images/11072025/11/08/image_11072025_11_08_02_3052.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/11/13/image_11072025_11_13_02_2016.jpg
/home/pi/Desktop/images/11072025/11/12/image_11072025_11_12_02_1703.jpg
/home/pi/Desktop/images/11072025/11/11/image_11072025_11_11_02_2742.jpg
/home/pi/Desktop/images/11072025/11/10/image_11072025_11_10_01_6151.jpg
/home/pi/Desktop/images/11072025/11/09/image_11072025_11_09_01_4214.jpg
/home/pi/Desktop/images/11072025/11/08/image_11072025_11_08_02_3052.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 32.86431407928467 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 11:15:05.721645
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/11/14/image_11072025_11_14_02_2061.jpg', 2), ('/home/pi/Desktop/images/11072025/11/13/image_11072025_11_13_02_2016.jpg', 2), ('/home/pi/Desktop/images/11072025/11/12/image_11072025_11_12_02_1703.jpg', 2), ('/home/pi/Desktop/images/11072025/11/11/image_11072025_11_11_02_2742.jpg', 2), ('/home/pi/Desktop/images/11072025/11/10/image_11072025_11_10_01_6151.jpg', 2), ('/home/pi/Desktop/images/11072025/11/09/image_11072025_11_09_01_4214.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/11/14/image_11072025_11_14_02_2061.jpg', '/home/pi/Desktop/images/11072025/11/13/image_11072025_11_13_02_2016.jpg', '/home/pi/Desktop/images/11072025/11/12/image_11072025_11_12_02_1703.jpg', '/home/pi/Desktop/images/11072025/11/11/image_11072025_11_11_02_2742.jpg', '/home/pi/Desktop/images/11072025/11/10/image_11072025_11_10_01_6151.jpg', '/home/pi/Desktop/images/11072025/11/09/image_11072025_11_09_01_4214.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/11/14/image_11072025_11_14_02_2061.jpg
/home/pi/Desktop/images/11072025/11/13/image_11072025_11_13_02_2016.jpg
/home/pi/Desktop/images/11072025/11/12/image_11072025_11_12_02_1703.jpg
/home/pi/Desktop/images/11072025/11/11/image_11072025_11_11_02_2742.jpg
/home/pi/Desktop/images/11072025/11/10/image_11072025_11_10_01_6151.jpg
/home/pi/Desktop/images/11072025/11/09/image_11072025_11_09_01_4214.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.662068367004395 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 11:16:05.482361
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/11/15/image_11072025_11_15_01_7269.jpg', 2), ('/home/pi/Desktop/images/11072025/11/14/image_11072025_11_14_02_2061.jpg', 2), ('/home/pi/Desktop/images/11072025/11/13/image_11072025_11_13_02_2016.jpg', 2), ('/home/pi/Desktop/images/11072025/11/12/image_11072025_11_12_02_1703.jpg', 2), ('/home/pi/Desktop/images/11072025/11/11/image_11072025_11_11_02_2742.jpg', 2), ('/home/pi/Desktop/images/11072025/11/10/image_11072025_11_10_01_6151.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/11/15/image_11072025_11_15_01_7269.jpg', '/home/pi/Desktop/images/11072025/11/14/image_11072025_11_14_02_2061.jpg', '/home/pi/Desktop/images/11072025/11/13/image_11072025_11_13_02_2016.jpg', '/home/pi/Desktop/images/11072025/11/12/image_11072025_11_12_02_1703.jpg', '/home/pi/Desktop/images/11072025/11/11/image_11072025_11_11_02_2742.jpg', '/home/pi/Desktop/images/11072025/11/10/image_11072025_11_10_01_6151.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/11/15/image_11072025_11_15_01_7269.jpg
/home/pi/Desktop/images/11072025/11/14/image_11072025_11_14_02_2061.jpg
/home/pi/Desktop/images/11072025/11/13/image_11072025_11_13_02_2016.jpg
/home/pi/Desktop/images/11072025/11/12/image_11072025_11_12_02_1703.jpg
/home/pi/Desktop/images/11072025/11/11/image_11072025_11_11_02_2742.jpg
/home/pi/Desktop/images/11072025/11/10/image_11072025_11_10_01_6151.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.03073453903198 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 11:17:05.976113
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/11/16/image_11072025_11_16_02_1720.jpg', 2), ('/home/pi/Desktop/images/11072025/11/15/image_11072025_11_15_01_7269.jpg', 2), ('/home/pi/Desktop/images/11072025/11/14/image_11072025_11_14_02_2061.jpg', 2), ('/home/pi/Desktop/images/11072025/11/13/image_11072025_11_13_02_2016.jpg', 2), ('/home/pi/Desktop/images/11072025/11/12/image_11072025_11_12_02_1703.jpg', 2), ('/home/pi/Desktop/images/11072025/11/11/image_11072025_11_11_02_2742.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/11/16/image_11072025_11_16_02_1720.jpg', '/home/pi/Desktop/images/11072025/11/15/image_11072025_11_15_01_7269.jpg', '/home/pi/Desktop/images/11072025/11/14/image_11072025_11_14_02_2061.jpg', '/home/pi/Desktop/images/11072025/11/13/image_11072025_11_13_02_2016.jpg', '/home/pi/Desktop/images/11072025/11/12/image_11072025_11_12_02_1703.jpg', '/home/pi/Desktop/images/11072025/11/11/image_11072025_11_11_02_2742.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/11/16/image_11072025_11_16_02_1720.jpg
/home/pi/Desktop/images/11072025/11/15/image_11072025_11_15_01_7269.jpg
/home/pi/Desktop/images/11072025/11/14/image_11072025_11_14_02_2061.jpg
/home/pi/Desktop/images/11072025/11/13/image_11072025_11_13_02_2016.jpg
/home/pi/Desktop/images/11072025/11/12/image_11072025_11_12_02_1703.jpg
/home/pi/Desktop/images/11072025/11/11/image_11072025_11_11_02_2742.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.788803577423096 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 11:18:05.269588
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/11/17/image_11072025_11_17_01_8793.jpg', 2), ('/home/pi/Desktop/images/11072025/11/16/image_11072025_11_16_02_1720.jpg', 2), ('/home/pi/Desktop/images/11072025/11/15/image_11072025_11_15_01_7269.jpg', 2), ('/home/pi/Desktop/images/11072025/11/14/image_11072025_11_14_02_2061.jpg', 2), ('/home/pi/Desktop/images/11072025/11/13/image_11072025_11_13_02_2016.jpg', 2), ('/home/pi/Desktop/images/11072025/11/12/image_11072025_11_12_02_1703.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/11/17/image_11072025_11_17_01_8793.jpg', '/home/pi/Desktop/images/11072025/11/16/image_11072025_11_16_02_1720.jpg', '/home/pi/Desktop/images/11072025/11/15/image_11072025_11_15_01_7269.jpg', '/home/pi/Desktop/images/11072025/11/14/image_11072025_11_14_02_2061.jpg', '/home/pi/Desktop/images/11072025/11/13/image_11072025_11_13_02_2016.jpg', '/home/pi/Desktop/images/11072025/11/12/image_11072025_11_12_02_1703.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/11/17/image_11072025_11_17_01_8793.jpg
/home/pi/Desktop/images/11072025/11/16/image_11072025_11_16_02_1720.jpg
/home/pi/Desktop/images/11072025/11/15/image_11072025_11_15_01_7269.jpg
/home/pi/Desktop/images/11072025/11/14/image_11072025_11_14_02_2061.jpg
/home/pi/Desktop/images/11072025/11/13/image_11072025_11_13_02_2016.jpg
/home/pi/Desktop/images/11072025/11/12/image_11072025_11_12_02_1703.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.64125657081604 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 11:19:05.720577
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/11/18/image_11072025_11_18_02_1383.jpg', 2), ('/home/pi/Desktop/images/11072025/11/17/image_11072025_11_17_01_8793.jpg', 2), ('/home/pi/Desktop/images/11072025/11/16/image_11072025_11_16_02_1720.jpg', 2), ('/home/pi/Desktop/images/11072025/11/15/image_11072025_11_15_01_7269.jpg', 2), ('/home/pi/Desktop/images/11072025/11/14/image_11072025_11_14_02_2061.jpg', 2), ('/home/pi/Desktop/images/11072025/11/13/image_11072025_11_13_02_2016.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/11/18/image_11072025_11_18_02_1383.jpg', '/home/pi/Desktop/images/11072025/11/17/image_11072025_11_17_01_8793.jpg', '/home/pi/Desktop/images/11072025/11/16/image_11072025_11_16_02_1720.jpg', '/home/pi/Desktop/images/11072025/11/15/image_11072025_11_15_01_7269.jpg', '/home/pi/Desktop/images/11072025/11/14/image_11072025_11_14_02_2061.jpg', '/home/pi/Desktop/images/11072025/11/13/image_11072025_11_13_02_2016.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/11/18/image_11072025_11_18_02_1383.jpg
/home/pi/Desktop/images/11072025/11/17/image_11072025_11_17_01_8793.jpg
/home/pi/Desktop/images/11072025/11/16/image_11072025_11_16_02_1720.jpg
/home/pi/Desktop/images/11072025/11/15/image_11072025_11_15_01_7269.jpg
/home/pi/Desktop/images/11072025/11/14/image_11072025_11_14_02_2061.jpg
/home/pi/Desktop/images/11072025/11/13/image_11072025_11_13_02_2016.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.30369162559509 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 11:20:05.241508
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/11/19/image_11072025_11_19_01_5536.jpg', 2), ('/home/pi/Desktop/images/11072025/11/18/image_11072025_11_18_02_1383.jpg', 2), ('/home/pi/Desktop/images/11072025/11/17/image_11072025_11_17_01_8793.jpg', 2), ('/home/pi/Desktop/images/11072025/11/16/image_11072025_11_16_02_1720.jpg', 2), ('/home/pi/Desktop/images/11072025/11/15/image_11072025_11_15_01_7269.jpg', 2), ('/home/pi/Desktop/images/11072025/11/14/image_11072025_11_14_02_2061.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/11/19/image_11072025_11_19_01_5536.jpg', '/home/pi/Desktop/images/11072025/11/18/image_11072025_11_18_02_1383.jpg', '/home/pi/Desktop/images/11072025/11/17/image_11072025_11_17_01_8793.jpg', '/home/pi/Desktop/images/11072025/11/16/image_11072025_11_16_02_1720.jpg', '/home/pi/Desktop/images/11072025/11/15/image_11072025_11_15_01_7269.jpg', '/home/pi/Desktop/images/11072025/11/14/image_11072025_11_14_02_2061.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/11/19/image_11072025_11_19_01_5536.jpg
/home/pi/Desktop/images/11072025/11/18/image_11072025_11_18_02_1383.jpg
/home/pi/Desktop/images/11072025/11/17/image_11072025_11_17_01_8793.jpg
/home/pi/Desktop/images/11072025/11/16/image_11072025_11_16_02_1720.jpg
/home/pi/Desktop/images/11072025/11/15/image_11072025_11_15_01_7269.jpg
/home/pi/Desktop/images/11072025/11/14/image_11072025_11_14_02_2061.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 32.997270822525024 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 11:21:05.722199
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/11/20/image_11072025_11_20_01_8904.jpg', 2), ('/home/pi/Desktop/images/11072025/11/19/image_11072025_11_19_01_5536.jpg', 2), ('/home/pi/Desktop/images/11072025/11/18/image_11072025_11_18_02_1383.jpg', 2), ('/home/pi/Desktop/images/11072025/11/17/image_11072025_11_17_01_8793.jpg', 2), ('/home/pi/Desktop/images/11072025/11/16/image_11072025_11_16_02_1720.jpg', 2), ('/home/pi/Desktop/images/11072025/11/15/image_11072025_11_15_01_7269.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/11/20/image_11072025_11_20_01_8904.jpg', '/home/pi/Desktop/images/11072025/11/19/image_11072025_11_19_01_5536.jpg', '/home/pi/Desktop/images/11072025/11/18/image_11072025_11_18_02_1383.jpg', '/home/pi/Desktop/images/11072025/11/17/image_11072025_11_17_01_8793.jpg', '/home/pi/Desktop/images/11072025/11/16/image_11072025_11_16_02_1720.jpg', '/home/pi/Desktop/images/11072025/11/15/image_11072025_11_15_01_7269.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/11/20/image_11072025_11_20_01_8904.jpg
/home/pi/Desktop/images/11072025/11/19/image_11072025_11_19_01_5536.jpg
/home/pi/Desktop/images/11072025/11/18/image_11072025_11_18_02_1383.jpg
/home/pi/Desktop/images/11072025/11/17/image_11072025_11_17_01_8793.jpg
/home/pi/Desktop/images/11072025/11/16/image_11072025_11_16_02_1720.jpg
/home/pi/Desktop/images/11072025/11/15/image_11072025_11_15_01_7269.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.73170232772827 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 11:22:05.614057
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/11/21/image_11072025_11_21_01_6747.jpg', 2), ('/home/pi/Desktop/images/11072025/11/20/image_11072025_11_20_01_8904.jpg', 2), ('/home/pi/Desktop/images/11072025/11/19/image_11072025_11_19_01_5536.jpg', 2), ('/home/pi/Desktop/images/11072025/11/18/image_11072025_11_18_02_1383.jpg', 2), ('/home/pi/Desktop/images/11072025/11/17/image_11072025_11_17_01_8793.jpg', 2), ('/home/pi/Desktop/images/11072025/11/16/image_11072025_11_16_02_1720.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/11/21/image_11072025_11_21_01_6747.jpg', '/home/pi/Desktop/images/11072025/11/20/image_11072025_11_20_01_8904.jpg', '/home/pi/Desktop/images/11072025/11/19/image_11072025_11_19_01_5536.jpg', '/home/pi/Desktop/images/11072025/11/18/image_11072025_11_18_02_1383.jpg', '/home/pi/Desktop/images/11072025/11/17/image_11072025_11_17_01_8793.jpg', '/home/pi/Desktop/images/11072025/11/16/image_11072025_11_16_02_1720.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/11/21/image_11072025_11_21_01_6747.jpg
/home/pi/Desktop/images/11072025/11/20/image_11072025_11_20_01_8904.jpg
/home/pi/Desktop/images/11072025/11/19/image_11072025_11_19_01_5536.jpg
/home/pi/Desktop/images/11072025/11/18/image_11072025_11_18_02_1383.jpg
/home/pi/Desktop/images/11072025/11/17/image_11072025_11_17_01_8793.jpg
/home/pi/Desktop/images/11072025/11/16/image_11072025_11_16_02_1720.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 32.97763395309448 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 11:23:05.836676
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/11/22/image_11072025_11_22_01_7245.jpg', 2), ('/home/pi/Desktop/images/11072025/11/21/image_11072025_11_21_01_6747.jpg', 2), ('/home/pi/Desktop/images/11072025/11/20/image_11072025_11_20_01_8904.jpg', 2), ('/home/pi/Desktop/images/11072025/11/19/image_11072025_11_19_01_5536.jpg', 2), ('/home/pi/Desktop/images/11072025/11/18/image_11072025_11_18_02_1383.jpg', 2), ('/home/pi/Desktop/images/11072025/11/17/image_11072025_11_17_01_8793.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/11/22/image_11072025_11_22_01_7245.jpg', '/home/pi/Desktop/images/11072025/11/21/image_11072025_11_21_01_6747.jpg', '/home/pi/Desktop/images/11072025/11/20/image_11072025_11_20_01_8904.jpg', '/home/pi/Desktop/images/11072025/11/19/image_11072025_11_19_01_5536.jpg', '/home/pi/Desktop/images/11072025/11/18/image_11072025_11_18_02_1383.jpg', '/home/pi/Desktop/images/11072025/11/17/image_11072025_11_17_01_8793.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/11/22/image_11072025_11_22_01_7245.jpg
/home/pi/Desktop/images/11072025/11/21/image_11072025_11_21_01_6747.jpg
/home/pi/Desktop/images/11072025/11/20/image_11072025_11_20_01_8904.jpg
/home/pi/Desktop/images/11072025/11/19/image_11072025_11_19_01_5536.jpg
/home/pi/Desktop/images/11072025/11/18/image_11072025_11_18_02_1383.jpg
/home/pi/Desktop/images/11072025/11/17/image_11072025_11_17_01_8793.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.94418525695801 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 11:24:05.741070
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/11/23/image_11072025_11_23_02_1430.jpg', 2), ('/home/pi/Desktop/images/11072025/11/22/image_11072025_11_22_01_7245.jpg', 2), ('/home/pi/Desktop/images/11072025/11/21/image_11072025_11_21_01_6747.jpg', 2), ('/home/pi/Desktop/images/11072025/11/20/image_11072025_11_20_01_8904.jpg', 2), ('/home/pi/Desktop/images/11072025/11/19/image_11072025_11_19_01_5536.jpg', 2), ('/home/pi/Desktop/images/11072025/11/18/image_11072025_11_18_02_1383.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/11/23/image_11072025_11_23_02_1430.jpg', '/home/pi/Desktop/images/11072025/11/22/image_11072025_11_22_01_7245.jpg', '/home/pi/Desktop/images/11072025/11/21/image_11072025_11_21_01_6747.jpg', '/home/pi/Desktop/images/11072025/11/20/image_11072025_11_20_01_8904.jpg', '/home/pi/Desktop/images/11072025/11/19/image_11072025_11_19_01_5536.jpg', '/home/pi/Desktop/images/11072025/11/18/image_11072025_11_18_02_1383.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/11/23/image_11072025_11_23_02_1430.jpg
/home/pi/Desktop/images/11072025/11/22/image_11072025_11_22_01_7245.jpg
/home/pi/Desktop/images/11072025/11/21/image_11072025_11_21_01_6747.jpg
/home/pi/Desktop/images/11072025/11/20/image_11072025_11_20_01_8904.jpg
/home/pi/Desktop/images/11072025/11/19/image_11072025_11_19_01_5536.jpg
/home/pi/Desktop/images/11072025/11/18/image_11072025_11_18_02_1383.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.1979923248291 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 11:25:05.335334
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/11/24/image_11072025_11_24_02_0151.jpg', 2), ('/home/pi/Desktop/images/11072025/11/23/image_11072025_11_23_02_1430.jpg', 2), ('/home/pi/Desktop/images/11072025/11/22/image_11072025_11_22_01_7245.jpg', 2), ('/home/pi/Desktop/images/11072025/11/21/image_11072025_11_21_01_6747.jpg', 2), ('/home/pi/Desktop/images/11072025/11/20/image_11072025_11_20_01_8904.jpg', 2), ('/home/pi/Desktop/images/11072025/11/19/image_11072025_11_19_01_5536.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/11/24/image_11072025_11_24_02_0151.jpg', '/home/pi/Desktop/images/11072025/11/23/image_11072025_11_23_02_1430.jpg', '/home/pi/Desktop/images/11072025/11/22/image_11072025_11_22_01_7245.jpg', '/home/pi/Desktop/images/11072025/11/21/image_11072025_11_21_01_6747.jpg', '/home/pi/Desktop/images/11072025/11/20/image_11072025_11_20_01_8904.jpg', '/home/pi/Desktop/images/11072025/11/19/image_11072025_11_19_01_5536.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/11/24/image_11072025_11_24_02_0151.jpg
/home/pi/Desktop/images/11072025/11/23/image_11072025_11_23_02_1430.jpg
/home/pi/Desktop/images/11072025/11/22/image_11072025_11_22_01_7245.jpg
/home/pi/Desktop/images/11072025/11/21/image_11072025_11_21_01_6747.jpg
/home/pi/Desktop/images/11072025/11/20/image_11072025_11_20_01_8904.jpg
/home/pi/Desktop/images/11072025/11/19/image_11072025_11_19_01_5536.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.83782243728638 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 11:26:05.698861
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/11/25/image_11072025_11_25_01_8855.jpg', 2), ('/home/pi/Desktop/images/11072025/11/24/image_11072025_11_24_02_0151.jpg', 2), ('/home/pi/Desktop/images/11072025/11/23/image_11072025_11_23_02_1430.jpg', 2), ('/home/pi/Desktop/images/11072025/11/22/image_11072025_11_22_01_7245.jpg', 2), ('/home/pi/Desktop/images/11072025/11/21/image_11072025_11_21_01_6747.jpg', 2), ('/home/pi/Desktop/images/11072025/11/20/image_11072025_11_20_01_8904.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/11/25/image_11072025_11_25_01_8855.jpg', '/home/pi/Desktop/images/11072025/11/24/image_11072025_11_24_02_0151.jpg', '/home/pi/Desktop/images/11072025/11/23/image_11072025_11_23_02_1430.jpg', '/home/pi/Desktop/images/11072025/11/22/image_11072025_11_22_01_7245.jpg', '/home/pi/Desktop/images/11072025/11/21/image_11072025_11_21_01_6747.jpg', '/home/pi/Desktop/images/11072025/11/20/image_11072025_11_20_01_8904.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/11/25/image_11072025_11_25_01_8855.jpg
/home/pi/Desktop/images/11072025/11/24/image_11072025_11_24_02_0151.jpg
/home/pi/Desktop/images/11072025/11/23/image_11072025_11_23_02_1430.jpg
/home/pi/Desktop/images/11072025/11/22/image_11072025_11_22_01_7245.jpg
/home/pi/Desktop/images/11072025/11/21/image_11072025_11_21_01_6747.jpg
/home/pi/Desktop/images/11072025/11/20/image_11072025_11_20_01_8904.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.57346534729004 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 11:27:05.001249
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/11/26/image_11072025_11_26_01_4998.jpg', 2), ('/home/pi/Desktop/images/11072025/11/25/image_11072025_11_25_01_8855.jpg', 2), ('/home/pi/Desktop/images/11072025/11/24/image_11072025_11_24_02_0151.jpg', 2), ('/home/pi/Desktop/images/11072025/11/23/image_11072025_11_23_02_1430.jpg', 2), ('/home/pi/Desktop/images/11072025/11/22/image_11072025_11_22_01_7245.jpg', 2), ('/home/pi/Desktop/images/11072025/11/21/image_11072025_11_21_01_6747.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/11/26/image_11072025_11_26_01_4998.jpg', '/home/pi/Desktop/images/11072025/11/25/image_11072025_11_25_01_8855.jpg', '/home/pi/Desktop/images/11072025/11/24/image_11072025_11_24_02_0151.jpg', '/home/pi/Desktop/images/11072025/11/23/image_11072025_11_23_02_1430.jpg', '/home/pi/Desktop/images/11072025/11/22/image_11072025_11_22_01_7245.jpg', '/home/pi/Desktop/images/11072025/11/21/image_11072025_11_21_01_6747.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/11/26/image_11072025_11_26_01_4998.jpg
/home/pi/Desktop/images/11072025/11/25/image_11072025_11_25_01_8855.jpg
/home/pi/Desktop/images/11072025/11/24/image_11072025_11_24_02_0151.jpg
/home/pi/Desktop/images/11072025/11/23/image_11072025_11_23_02_1430.jpg
/home/pi/Desktop/images/11072025/11/22/image_11072025_11_22_01_7245.jpg
/home/pi/Desktop/images/11072025/11/21/image_11072025_11_21_01_6747.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.450260639190674 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 11:28:04.818826
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/11/27/image_11072025_11_27_02_1663.jpg', 2), ('/home/pi/Desktop/images/11072025/11/26/image_11072025_11_26_01_4998.jpg', 2), ('/home/pi/Desktop/images/11072025/11/25/image_11072025_11_25_01_8855.jpg', 2), ('/home/pi/Desktop/images/11072025/11/24/image_11072025_11_24_02_0151.jpg', 2), ('/home/pi/Desktop/images/11072025/11/23/image_11072025_11_23_02_1430.jpg', 2), ('/home/pi/Desktop/images/11072025/11/22/image_11072025_11_22_01_7245.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/11/27/image_11072025_11_27_02_1663.jpg', '/home/pi/Desktop/images/11072025/11/26/image_11072025_11_26_01_4998.jpg', '/home/pi/Desktop/images/11072025/11/25/image_11072025_11_25_01_8855.jpg', '/home/pi/Desktop/images/11072025/11/24/image_11072025_11_24_02_0151.jpg', '/home/pi/Desktop/images/11072025/11/23/image_11072025_11_23_02_1430.jpg', '/home/pi/Desktop/images/11072025/11/22/image_11072025_11_22_01_7245.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/11/27/image_11072025_11_27_02_1663.jpg
/home/pi/Desktop/images/11072025/11/26/image_11072025_11_26_01_4998.jpg
/home/pi/Desktop/images/11072025/11/25/image_11072025_11_25_01_8855.jpg
/home/pi/Desktop/images/11072025/11/24/image_11072025_11_24_02_0151.jpg
/home/pi/Desktop/images/11072025/11/23/image_11072025_11_23_02_1430.jpg
/home/pi/Desktop/images/11072025/11/22/image_11072025_11_22_01_7245.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 32.86628246307373 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 11:29:06.016412
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/11/28/image_11072025_11_28_01_4034.jpg', 2), ('/home/pi/Desktop/images/11072025/11/27/image_11072025_11_27_02_1663.jpg', 2), ('/home/pi/Desktop/images/11072025/11/26/image_11072025_11_26_01_4998.jpg', 2), ('/home/pi/Desktop/images/11072025/11/25/image_11072025_11_25_01_8855.jpg', 2), ('/home/pi/Desktop/images/11072025/11/24/image_11072025_11_24_02_0151.jpg', 2), ('/home/pi/Desktop/images/11072025/11/23/image_11072025_11_23_02_1430.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/11/28/image_11072025_11_28_01_4034.jpg', '/home/pi/Desktop/images/11072025/11/27/image_11072025_11_27_02_1663.jpg', '/home/pi/Desktop/images/11072025/11/26/image_11072025_11_26_01_4998.jpg', '/home/pi/Desktop/images/11072025/11/25/image_11072025_11_25_01_8855.jpg', '/home/pi/Desktop/images/11072025/11/24/image_11072025_11_24_02_0151.jpg', '/home/pi/Desktop/images/11072025/11/23/image_11072025_11_23_02_1430.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/11/28/image_11072025_11_28_01_4034.jpg
/home/pi/Desktop/images/11072025/11/27/image_11072025_11_27_02_1663.jpg
/home/pi/Desktop/images/11072025/11/26/image_11072025_11_26_01_4998.jpg
/home/pi/Desktop/images/11072025/11/25/image_11072025_11_25_01_8855.jpg
/home/pi/Desktop/images/11072025/11/24/image_11072025_11_24_02_0151.jpg
/home/pi/Desktop/images/11072025/11/23/image_11072025_11_23_02_1430.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.787532567977905 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 11:30:05.624565
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/11/29/image_11072025_11_29_01_4048.jpg', 2), ('/home/pi/Desktop/images/11072025/11/28/image_11072025_11_28_01_4034.jpg', 2), ('/home/pi/Desktop/images/11072025/11/27/image_11072025_11_27_02_1663.jpg', 2), ('/home/pi/Desktop/images/11072025/11/26/image_11072025_11_26_01_4998.jpg', 2), ('/home/pi/Desktop/images/11072025/11/25/image_11072025_11_25_01_8855.jpg', 2), ('/home/pi/Desktop/images/11072025/11/24/image_11072025_11_24_02_0151.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/11/29/image_11072025_11_29_01_4048.jpg', '/home/pi/Desktop/images/11072025/11/28/image_11072025_11_28_01_4034.jpg', '/home/pi/Desktop/images/11072025/11/27/image_11072025_11_27_02_1663.jpg', '/home/pi/Desktop/images/11072025/11/26/image_11072025_11_26_01_4998.jpg', '/home/pi/Desktop/images/11072025/11/25/image_11072025_11_25_01_8855.jpg', '/home/pi/Desktop/images/11072025/11/24/image_11072025_11_24_02_0151.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/11/29/image_11072025_11_29_01_4048.jpg
/home/pi/Desktop/images/11072025/11/28/image_11072025_11_28_01_4034.jpg
/home/pi/Desktop/images/11072025/11/27/image_11072025_11_27_02_1663.jpg
/home/pi/Desktop/images/11072025/11/26/image_11072025_11_26_01_4998.jpg
/home/pi/Desktop/images/11072025/11/25/image_11072025_11_25_01_8855.jpg
/home/pi/Desktop/images/11072025/11/24/image_11072025_11_24_02_0151.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.30060386657715 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 11:31:05.885194
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/11/30/image_11072025_11_30_02_2819.jpg', 2), ('/home/pi/Desktop/images/11072025/11/29/image_11072025_11_29_01_4048.jpg', 2), ('/home/pi/Desktop/images/11072025/11/28/image_11072025_11_28_01_4034.jpg', 2), ('/home/pi/Desktop/images/11072025/11/27/image_11072025_11_27_02_1663.jpg', 2), ('/home/pi/Desktop/images/11072025/11/26/image_11072025_11_26_01_4998.jpg', 2), ('/home/pi/Desktop/images/11072025/11/25/image_11072025_11_25_01_8855.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/11/30/image_11072025_11_30_02_2819.jpg', '/home/pi/Desktop/images/11072025/11/29/image_11072025_11_29_01_4048.jpg', '/home/pi/Desktop/images/11072025/11/28/image_11072025_11_28_01_4034.jpg', '/home/pi/Desktop/images/11072025/11/27/image_11072025_11_27_02_1663.jpg', '/home/pi/Desktop/images/11072025/11/26/image_11072025_11_26_01_4998.jpg', '/home/pi/Desktop/images/11072025/11/25/image_11072025_11_25_01_8855.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/11/30/image_11072025_11_30_02_2819.jpg
/home/pi/Desktop/images/11072025/11/29/image_11072025_11_29_01_4048.jpg
/home/pi/Desktop/images/11072025/11/28/image_11072025_11_28_01_4034.jpg
/home/pi/Desktop/images/11072025/11/27/image_11072025_11_27_02_1663.jpg
/home/pi/Desktop/images/11072025/11/26/image_11072025_11_26_01_4998.jpg
/home/pi/Desktop/images/11072025/11/25/image_11072025_11_25_01_8855.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 34.35004997253418 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 11:32:05.176640
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/11/31/image_11072025_11_31_02_0831.jpg', 2), ('/home/pi/Desktop/images/11072025/11/30/image_11072025_11_30_02_2819.jpg', 2), ('/home/pi/Desktop/images/11072025/11/29/image_11072025_11_29_01_4048.jpg', 2), ('/home/pi/Desktop/images/11072025/11/28/image_11072025_11_28_01_4034.jpg', 2), ('/home/pi/Desktop/images/11072025/11/27/image_11072025_11_27_02_1663.jpg', 2), ('/home/pi/Desktop/images/11072025/11/26/image_11072025_11_26_01_4998.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/11/31/image_11072025_11_31_02_0831.jpg', '/home/pi/Desktop/images/11072025/11/30/image_11072025_11_30_02_2819.jpg', '/home/pi/Desktop/images/11072025/11/29/image_11072025_11_29_01_4048.jpg', '/home/pi/Desktop/images/11072025/11/28/image_11072025_11_28_01_4034.jpg', '/home/pi/Desktop/images/11072025/11/27/image_11072025_11_27_02_1663.jpg', '/home/pi/Desktop/images/11072025/11/26/image_11072025_11_26_01_4998.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/11/31/image_11072025_11_31_02_0831.jpg
/home/pi/Desktop/images/11072025/11/30/image_11072025_11_30_02_2819.jpg
/home/pi/Desktop/images/11072025/11/29/image_11072025_11_29_01_4048.jpg
/home/pi/Desktop/images/11072025/11/28/image_11072025_11_28_01_4034.jpg
/home/pi/Desktop/images/11072025/11/27/image_11072025_11_27_02_1663.jpg
/home/pi/Desktop/images/11072025/11/26/image_11072025_11_26_01_4998.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.217761278152466 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 11:33:06.028538
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/11/32/image_11072025_11_32_02_0040.jpg', 2), ('/home/pi/Desktop/images/11072025/11/31/image_11072025_11_31_02_0831.jpg', 2), ('/home/pi/Desktop/images/11072025/11/30/image_11072025_11_30_02_2819.jpg', 2), ('/home/pi/Desktop/images/11072025/11/29/image_11072025_11_29_01_4048.jpg', 2), ('/home/pi/Desktop/images/11072025/11/28/image_11072025_11_28_01_4034.jpg', 2), ('/home/pi/Desktop/images/11072025/11/27/image_11072025_11_27_02_1663.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/11/32/image_11072025_11_32_02_0040.jpg', '/home/pi/Desktop/images/11072025/11/31/image_11072025_11_31_02_0831.jpg', '/home/pi/Desktop/images/11072025/11/30/image_11072025_11_30_02_2819.jpg', '/home/pi/Desktop/images/11072025/11/29/image_11072025_11_29_01_4048.jpg', '/home/pi/Desktop/images/11072025/11/28/image_11072025_11_28_01_4034.jpg', '/home/pi/Desktop/images/11072025/11/27/image_11072025_11_27_02_1663.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/11/32/image_11072025_11_32_02_0040.jpg
/home/pi/Desktop/images/11072025/11/31/image_11072025_11_31_02_0831.jpg
/home/pi/Desktop/images/11072025/11/30/image_11072025_11_30_02_2819.jpg
/home/pi/Desktop/images/11072025/11/29/image_11072025_11_29_01_4048.jpg
/home/pi/Desktop/images/11072025/11/28/image_11072025_11_28_01_4034.jpg
/home/pi/Desktop/images/11072025/11/27/image_11072025_11_27_02_1663.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.5422306060791 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 11:34:05.440740
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/11/33/image_11072025_11_33_01_6025.jpg', 2), ('/home/pi/Desktop/images/11072025/11/32/image_11072025_11_32_02_0040.jpg', 2), ('/home/pi/Desktop/images/11072025/11/31/image_11072025_11_31_02_0831.jpg', 2), ('/home/pi/Desktop/images/11072025/11/30/image_11072025_11_30_02_2819.jpg', 2), ('/home/pi/Desktop/images/11072025/11/29/image_11072025_11_29_01_4048.jpg', 2), ('/home/pi/Desktop/images/11072025/11/28/image_11072025_11_28_01_4034.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/11/33/image_11072025_11_33_01_6025.jpg', '/home/pi/Desktop/images/11072025/11/32/image_11072025_11_32_02_0040.jpg', '/home/pi/Desktop/images/11072025/11/31/image_11072025_11_31_02_0831.jpg', '/home/pi/Desktop/images/11072025/11/30/image_11072025_11_30_02_2819.jpg', '/home/pi/Desktop/images/11072025/11/29/image_11072025_11_29_01_4048.jpg', '/home/pi/Desktop/images/11072025/11/28/image_11072025_11_28_01_4034.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/11/33/image_11072025_11_33_01_6025.jpg
/home/pi/Desktop/images/11072025/11/32/image_11072025_11_32_02_0040.jpg
/home/pi/Desktop/images/11072025/11/31/image_11072025_11_31_02_0831.jpg
/home/pi/Desktop/images/11072025/11/30/image_11072025_11_30_02_2819.jpg
/home/pi/Desktop/images/11072025/11/29/image_11072025_11_29_01_4048.jpg
/home/pi/Desktop/images/11072025/11/28/image_11072025_11_28_01_4034.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.272258281707764 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 11:35:05.322964
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/11/34/image_11072025_11_34_02_2628.jpg', 2), ('/home/pi/Desktop/images/11072025/11/33/image_11072025_11_33_01_6025.jpg', 2), ('/home/pi/Desktop/images/11072025/11/32/image_11072025_11_32_02_0040.jpg', 2), ('/home/pi/Desktop/images/11072025/11/31/image_11072025_11_31_02_0831.jpg', 2), ('/home/pi/Desktop/images/11072025/11/30/image_11072025_11_30_02_2819.jpg', 2), ('/home/pi/Desktop/images/11072025/11/29/image_11072025_11_29_01_4048.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/11/34/image_11072025_11_34_02_2628.jpg', '/home/pi/Desktop/images/11072025/11/33/image_11072025_11_33_01_6025.jpg', '/home/pi/Desktop/images/11072025/11/32/image_11072025_11_32_02_0040.jpg', '/home/pi/Desktop/images/11072025/11/31/image_11072025_11_31_02_0831.jpg', '/home/pi/Desktop/images/11072025/11/30/image_11072025_11_30_02_2819.jpg', '/home/pi/Desktop/images/11072025/11/29/image_11072025_11_29_01_4048.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/11/34/image_11072025_11_34_02_2628.jpg
/home/pi/Desktop/images/11072025/11/33/image_11072025_11_33_01_6025.jpg
/home/pi/Desktop/images/11072025/11/32/image_11072025_11_32_02_0040.jpg
/home/pi/Desktop/images/11072025/11/31/image_11072025_11_31_02_0831.jpg
/home/pi/Desktop/images/11072025/11/30/image_11072025_11_30_02_2819.jpg
/home/pi/Desktop/images/11072025/11/29/image_11072025_11_29_01_4048.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.53436493873596 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 11:36:05.269117
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/11/35/image_11072025_11_35_02_1693.jpg', 2), ('/home/pi/Desktop/images/11072025/11/34/image_11072025_11_34_02_2628.jpg', 2), ('/home/pi/Desktop/images/11072025/11/33/image_11072025_11_33_01_6025.jpg', 2), ('/home/pi/Desktop/images/11072025/11/32/image_11072025_11_32_02_0040.jpg', 2), ('/home/pi/Desktop/images/11072025/11/31/image_11072025_11_31_02_0831.jpg', 2), ('/home/pi/Desktop/images/11072025/11/30/image_11072025_11_30_02_2819.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/11/35/image_11072025_11_35_02_1693.jpg', '/home/pi/Desktop/images/11072025/11/34/image_11072025_11_34_02_2628.jpg', '/home/pi/Desktop/images/11072025/11/33/image_11072025_11_33_01_6025.jpg', '/home/pi/Desktop/images/11072025/11/32/image_11072025_11_32_02_0040.jpg', '/home/pi/Desktop/images/11072025/11/31/image_11072025_11_31_02_0831.jpg', '/home/pi/Desktop/images/11072025/11/30/image_11072025_11_30_02_2819.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/11/35/image_11072025_11_35_02_1693.jpg
/home/pi/Desktop/images/11072025/11/34/image_11072025_11_34_02_2628.jpg
/home/pi/Desktop/images/11072025/11/33/image_11072025_11_33_01_6025.jpg
/home/pi/Desktop/images/11072025/11/32/image_11072025_11_32_02_0040.jpg
/home/pi/Desktop/images/11072025/11/31/image_11072025_11_31_02_0831.jpg
/home/pi/Desktop/images/11072025/11/30/image_11072025_11_30_02_2819.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 32.83338952064514 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 11:37:05.483636
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/11/36/image_11072025_11_36_01_7974.jpg', 2), ('/home/pi/Desktop/images/11072025/11/35/image_11072025_11_35_02_1693.jpg', 2), ('/home/pi/Desktop/images/11072025/11/34/image_11072025_11_34_02_2628.jpg', 2), ('/home/pi/Desktop/images/11072025/11/33/image_11072025_11_33_01_6025.jpg', 2), ('/home/pi/Desktop/images/11072025/11/32/image_11072025_11_32_02_0040.jpg', 2), ('/home/pi/Desktop/images/11072025/11/31/image_11072025_11_31_02_0831.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/11/36/image_11072025_11_36_01_7974.jpg', '/home/pi/Desktop/images/11072025/11/35/image_11072025_11_35_02_1693.jpg', '/home/pi/Desktop/images/11072025/11/34/image_11072025_11_34_02_2628.jpg', '/home/pi/Desktop/images/11072025/11/33/image_11072025_11_33_01_6025.jpg', '/home/pi/Desktop/images/11072025/11/32/image_11072025_11_32_02_0040.jpg', '/home/pi/Desktop/images/11072025/11/31/image_11072025_11_31_02_0831.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/11/36/image_11072025_11_36_01_7974.jpg
/home/pi/Desktop/images/11072025/11/35/image_11072025_11_35_02_1693.jpg
/home/pi/Desktop/images/11072025/11/34/image_11072025_11_34_02_2628.jpg
/home/pi/Desktop/images/11072025/11/33/image_11072025_11_33_01_6025.jpg
/home/pi/Desktop/images/11072025/11/32/image_11072025_11_32_02_0040.jpg
/home/pi/Desktop/images/11072025/11/31/image_11072025_11_31_02_0831.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.76771545410156 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 11:38:05.897028
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/11/37/image_11072025_11_37_01_5350.jpg', 2), ('/home/pi/Desktop/images/11072025/11/36/image_11072025_11_36_01_7974.jpg', 2), ('/home/pi/Desktop/images/11072025/11/35/image_11072025_11_35_02_1693.jpg', 2), ('/home/pi/Desktop/images/11072025/11/34/image_11072025_11_34_02_2628.jpg', 2), ('/home/pi/Desktop/images/11072025/11/33/image_11072025_11_33_01_6025.jpg', 2), ('/home/pi/Desktop/images/11072025/11/32/image_11072025_11_32_02_0040.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/11/37/image_11072025_11_37_01_5350.jpg', '/home/pi/Desktop/images/11072025/11/36/image_11072025_11_36_01_7974.jpg', '/home/pi/Desktop/images/11072025/11/35/image_11072025_11_35_02_1693.jpg', '/home/pi/Desktop/images/11072025/11/34/image_11072025_11_34_02_2628.jpg', '/home/pi/Desktop/images/11072025/11/33/image_11072025_11_33_01_6025.jpg', '/home/pi/Desktop/images/11072025/11/32/image_11072025_11_32_02_0040.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/11/37/image_11072025_11_37_01_5350.jpg
/home/pi/Desktop/images/11072025/11/36/image_11072025_11_36_01_7974.jpg
/home/pi/Desktop/images/11072025/11/35/image_11072025_11_35_02_1693.jpg
/home/pi/Desktop/images/11072025/11/34/image_11072025_11_34_02_2628.jpg
/home/pi/Desktop/images/11072025/11/33/image_11072025_11_33_01_6025.jpg
/home/pi/Desktop/images/11072025/11/32/image_11072025_11_32_02_0040.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.4595410823822 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 11:39:05.612462
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/11/38/image_11072025_11_38_01_8514.jpg', 2), ('/home/pi/Desktop/images/11072025/11/37/image_11072025_11_37_01_5350.jpg', 2), ('/home/pi/Desktop/images/11072025/11/36/image_11072025_11_36_01_7974.jpg', 2), ('/home/pi/Desktop/images/11072025/11/35/image_11072025_11_35_02_1693.jpg', 2), ('/home/pi/Desktop/images/11072025/11/34/image_11072025_11_34_02_2628.jpg', 2), ('/home/pi/Desktop/images/11072025/11/33/image_11072025_11_33_01_6025.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/11/38/image_11072025_11_38_01_8514.jpg', '/home/pi/Desktop/images/11072025/11/37/image_11072025_11_37_01_5350.jpg', '/home/pi/Desktop/images/11072025/11/36/image_11072025_11_36_01_7974.jpg', '/home/pi/Desktop/images/11072025/11/35/image_11072025_11_35_02_1693.jpg', '/home/pi/Desktop/images/11072025/11/34/image_11072025_11_34_02_2628.jpg', '/home/pi/Desktop/images/11072025/11/33/image_11072025_11_33_01_6025.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/11/38/image_11072025_11_38_01_8514.jpg
/home/pi/Desktop/images/11072025/11/37/image_11072025_11_37_01_5350.jpg
/home/pi/Desktop/images/11072025/11/36/image_11072025_11_36_01_7974.jpg
/home/pi/Desktop/images/11072025/11/35/image_11072025_11_35_02_1693.jpg
/home/pi/Desktop/images/11072025/11/34/image_11072025_11_34_02_2628.jpg
/home/pi/Desktop/images/11072025/11/33/image_11072025_11_33_01_6025.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 34.85645651817322 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 11:40:05.070833
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/11/39/image_11072025_11_39_02_1968.jpg', 2), ('/home/pi/Desktop/images/11072025/11/38/image_11072025_11_38_01_8514.jpg', 2), ('/home/pi/Desktop/images/11072025/11/37/image_11072025_11_37_01_5350.jpg', 2), ('/home/pi/Desktop/images/11072025/11/36/image_11072025_11_36_01_7974.jpg', 2), ('/home/pi/Desktop/images/11072025/11/35/image_11072025_11_35_02_1693.jpg', 2), ('/home/pi/Desktop/images/11072025/11/34/image_11072025_11_34_02_2628.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/11/39/image_11072025_11_39_02_1968.jpg', '/home/pi/Desktop/images/11072025/11/38/image_11072025_11_38_01_8514.jpg', '/home/pi/Desktop/images/11072025/11/37/image_11072025_11_37_01_5350.jpg', '/home/pi/Desktop/images/11072025/11/36/image_11072025_11_36_01_7974.jpg', '/home/pi/Desktop/images/11072025/11/35/image_11072025_11_35_02_1693.jpg', '/home/pi/Desktop/images/11072025/11/34/image_11072025_11_34_02_2628.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/11/39/image_11072025_11_39_02_1968.jpg
/home/pi/Desktop/images/11072025/11/38/image_11072025_11_38_01_8514.jpg
/home/pi/Desktop/images/11072025/11/37/image_11072025_11_37_01_5350.jpg
/home/pi/Desktop/images/11072025/11/36/image_11072025_11_36_01_7974.jpg
/home/pi/Desktop/images/11072025/11/35/image_11072025_11_35_02_1693.jpg
/home/pi/Desktop/images/11072025/11/34/image_11072025_11_34_02_2628.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.529069900512695 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 11:41:05.577749
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/11/40/image_11072025_11_40_02_2123.jpg', 2), ('/home/pi/Desktop/images/11072025/11/39/image_11072025_11_39_02_1968.jpg', 2), ('/home/pi/Desktop/images/11072025/11/38/image_11072025_11_38_01_8514.jpg', 2), ('/home/pi/Desktop/images/11072025/11/37/image_11072025_11_37_01_5350.jpg', 2), ('/home/pi/Desktop/images/11072025/11/36/image_11072025_11_36_01_7974.jpg', 2), ('/home/pi/Desktop/images/11072025/11/35/image_11072025_11_35_02_1693.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/11/40/image_11072025_11_40_02_2123.jpg', '/home/pi/Desktop/images/11072025/11/39/image_11072025_11_39_02_1968.jpg', '/home/pi/Desktop/images/11072025/11/38/image_11072025_11_38_01_8514.jpg', '/home/pi/Desktop/images/11072025/11/37/image_11072025_11_37_01_5350.jpg', '/home/pi/Desktop/images/11072025/11/36/image_11072025_11_36_01_7974.jpg', '/home/pi/Desktop/images/11072025/11/35/image_11072025_11_35_02_1693.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/11/40/image_11072025_11_40_02_2123.jpg
/home/pi/Desktop/images/11072025/11/39/image_11072025_11_39_02_1968.jpg
/home/pi/Desktop/images/11072025/11/38/image_11072025_11_38_01_8514.jpg
/home/pi/Desktop/images/11072025/11/37/image_11072025_11_37_01_5350.jpg
/home/pi/Desktop/images/11072025/11/36/image_11072025_11_36_01_7974.jpg
/home/pi/Desktop/images/11072025/11/35/image_11072025_11_35_02_1693.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.318506717681885 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 11:42:04.953074
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/11/41/image_11072025_11_41_01_5029.jpg', 2), ('/home/pi/Desktop/images/11072025/11/40/image_11072025_11_40_02_2123.jpg', 2), ('/home/pi/Desktop/images/11072025/11/39/image_11072025_11_39_02_1968.jpg', 2), ('/home/pi/Desktop/images/11072025/11/38/image_11072025_11_38_01_8514.jpg', 2), ('/home/pi/Desktop/images/11072025/11/37/image_11072025_11_37_01_5350.jpg', 2), ('/home/pi/Desktop/images/11072025/11/36/image_11072025_11_36_01_7974.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/11/41/image_11072025_11_41_01_5029.jpg', '/home/pi/Desktop/images/11072025/11/40/image_11072025_11_40_02_2123.jpg', '/home/pi/Desktop/images/11072025/11/39/image_11072025_11_39_02_1968.jpg', '/home/pi/Desktop/images/11072025/11/38/image_11072025_11_38_01_8514.jpg', '/home/pi/Desktop/images/11072025/11/37/image_11072025_11_37_01_5350.jpg', '/home/pi/Desktop/images/11072025/11/36/image_11072025_11_36_01_7974.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/11/41/image_11072025_11_41_01_5029.jpg
/home/pi/Desktop/images/11072025/11/40/image_11072025_11_40_02_2123.jpg
/home/pi/Desktop/images/11072025/11/39/image_11072025_11_39_02_1968.jpg
/home/pi/Desktop/images/11072025/11/38/image_11072025_11_38_01_8514.jpg
/home/pi/Desktop/images/11072025/11/37/image_11072025_11_37_01_5350.jpg
/home/pi/Desktop/images/11072025/11/36/image_11072025_11_36_01_7974.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.04765963554382 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 11:43:05.164351
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/11/42/image_11072025_11_42_01_6125.jpg', 2), ('/home/pi/Desktop/images/11072025/11/41/image_11072025_11_41_01_5029.jpg', 2), ('/home/pi/Desktop/images/11072025/11/40/image_11072025_11_40_02_2123.jpg', 2), ('/home/pi/Desktop/images/11072025/11/39/image_11072025_11_39_02_1968.jpg', 2), ('/home/pi/Desktop/images/11072025/11/38/image_11072025_11_38_01_8514.jpg', 2), ('/home/pi/Desktop/images/11072025/11/37/image_11072025_11_37_01_5350.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/11/42/image_11072025_11_42_01_6125.jpg', '/home/pi/Desktop/images/11072025/11/41/image_11072025_11_41_01_5029.jpg', '/home/pi/Desktop/images/11072025/11/40/image_11072025_11_40_02_2123.jpg', '/home/pi/Desktop/images/11072025/11/39/image_11072025_11_39_02_1968.jpg', '/home/pi/Desktop/images/11072025/11/38/image_11072025_11_38_01_8514.jpg', '/home/pi/Desktop/images/11072025/11/37/image_11072025_11_37_01_5350.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/11/42/image_11072025_11_42_01_6125.jpg
/home/pi/Desktop/images/11072025/11/41/image_11072025_11_41_01_5029.jpg
/home/pi/Desktop/images/11072025/11/40/image_11072025_11_40_02_2123.jpg
/home/pi/Desktop/images/11072025/11/39/image_11072025_11_39_02_1968.jpg
/home/pi/Desktop/images/11072025/11/38/image_11072025_11_38_01_8514.jpg
/home/pi/Desktop/images/11072025/11/37/image_11072025_11_37_01_5350.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.93951869010925 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 11:44:02.936175
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/11/42/image_11072025_11_42_01_6125.jpg', 2), ('/home/pi/Desktop/images/11072025/11/41/image_11072025_11_41_01_5029.jpg', 2), ('/home/pi/Desktop/images/11072025/11/40/image_11072025_11_40_02_2123.jpg', 2), ('/home/pi/Desktop/images/11072025/11/39/image_11072025_11_39_02_1968.jpg', 2), ('/home/pi/Desktop/images/11072025/11/38/image_11072025_11_38_01_8514.jpg', 2), ('/home/pi/Desktop/images/11072025/11/37/image_11072025_11_37_01_5350.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/11/42/image_11072025_11_42_01_6125.jpg', '/home/pi/Desktop/images/11072025/11/41/image_11072025_11_41_01_5029.jpg', '/home/pi/Desktop/images/11072025/11/40/image_11072025_11_40_02_2123.jpg', '/home/pi/Desktop/images/11072025/11/39/image_11072025_11_39_02_1968.jpg', '/home/pi/Desktop/images/11072025/11/38/image_11072025_11_38_01_8514.jpg', '/home/pi/Desktop/images/11072025/11/37/image_11072025_11_37_01_5350.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/11/42/image_11072025_11_42_01_6125.jpg
/home/pi/Desktop/images/11072025/11/41/image_11072025_11_41_01_5029.jpg
/home/pi/Desktop/images/11072025/11/40/image_11072025_11_40_02_2123.jpg
/home/pi/Desktop/images/11072025/11/39/image_11072025_11_39_02_1968.jpg
/home/pi/Desktop/images/11072025/11/38/image_11072025_11_38_01_8514.jpg
/home/pi/Desktop/images/11072025/11/37/image_11072025_11_37_01_5350.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 32.33207726478577 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 11:45:05.861582
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/11/43/image_11072025_11_43_01_4485.jpg', 2), ('/home/pi/Desktop/images/11072025/11/42/image_11072025_11_42_01_6125.jpg', 2), ('/home/pi/Desktop/images/11072025/11/41/image_11072025_11_41_01_5029.jpg', 2), ('/home/pi/Desktop/images/11072025/11/40/image_11072025_11_40_02_2123.jpg', 2), ('/home/pi/Desktop/images/11072025/11/39/image_11072025_11_39_02_1968.jpg', 2), ('/home/pi/Desktop/images/11072025/11/38/image_11072025_11_38_01_8514.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/11/43/image_11072025_11_43_01_4485.jpg', '/home/pi/Desktop/images/11072025/11/42/image_11072025_11_42_01_6125.jpg', '/home/pi/Desktop/images/11072025/11/41/image_11072025_11_41_01_5029.jpg', '/home/pi/Desktop/images/11072025/11/40/image_11072025_11_40_02_2123.jpg', '/home/pi/Desktop/images/11072025/11/39/image_11072025_11_39_02_1968.jpg', '/home/pi/Desktop/images/11072025/11/38/image_11072025_11_38_01_8514.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/11/43/image_11072025_11_43_01_4485.jpg
/home/pi/Desktop/images/11072025/11/42/image_11072025_11_42_01_6125.jpg
/home/pi/Desktop/images/11072025/11/41/image_11072025_11_41_01_5029.jpg
/home/pi/Desktop/images/11072025/11/40/image_11072025_11_40_02_2123.jpg
/home/pi/Desktop/images/11072025/11/39/image_11072025_11_39_02_1968.jpg
/home/pi/Desktop/images/11072025/11/38/image_11072025_11_38_01_8514.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.6863112449646 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 11:46:06.172708
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/11/45/image_11072025_11_45_01_3593.jpg', 2), ('/home/pi/Desktop/images/11072025/11/43/image_11072025_11_43_01_4485.jpg', 2), ('/home/pi/Desktop/images/11072025/11/42/image_11072025_11_42_01_6125.jpg', 2), ('/home/pi/Desktop/images/11072025/11/41/image_11072025_11_41_01_5029.jpg', 2), ('/home/pi/Desktop/images/11072025/11/40/image_11072025_11_40_02_2123.jpg', 2), ('/home/pi/Desktop/images/11072025/11/39/image_11072025_11_39_02_1968.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/11/45/image_11072025_11_45_01_3593.jpg', '/home/pi/Desktop/images/11072025/11/43/image_11072025_11_43_01_4485.jpg', '/home/pi/Desktop/images/11072025/11/42/image_11072025_11_42_01_6125.jpg', '/home/pi/Desktop/images/11072025/11/41/image_11072025_11_41_01_5029.jpg', '/home/pi/Desktop/images/11072025/11/40/image_11072025_11_40_02_2123.jpg', '/home/pi/Desktop/images/11072025/11/39/image_11072025_11_39_02_1968.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/11/45/image_11072025_11_45_01_3593.jpg
/home/pi/Desktop/images/11072025/11/43/image_11072025_11_43_01_4485.jpg
/home/pi/Desktop/images/11072025/11/42/image_11072025_11_42_01_6125.jpg
/home/pi/Desktop/images/11072025/11/41/image_11072025_11_41_01_5029.jpg
/home/pi/Desktop/images/11072025/11/40/image_11072025_11_40_02_2123.jpg
/home/pi/Desktop/images/11072025/11/39/image_11072025_11_39_02_1968.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.49552655220032 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 11:47:05.212872
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/11/46/image_11072025_11_46_01_9784.jpg', 2), ('/home/pi/Desktop/images/11072025/11/45/image_11072025_11_45_01_3593.jpg', 2), ('/home/pi/Desktop/images/11072025/11/43/image_11072025_11_43_01_4485.jpg', 2), ('/home/pi/Desktop/images/11072025/11/42/image_11072025_11_42_01_6125.jpg', 2), ('/home/pi/Desktop/images/11072025/11/41/image_11072025_11_41_01_5029.jpg', 2), ('/home/pi/Desktop/images/11072025/11/40/image_11072025_11_40_02_2123.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/11/46/image_11072025_11_46_01_9784.jpg', '/home/pi/Desktop/images/11072025/11/45/image_11072025_11_45_01_3593.jpg', '/home/pi/Desktop/images/11072025/11/43/image_11072025_11_43_01_4485.jpg', '/home/pi/Desktop/images/11072025/11/42/image_11072025_11_42_01_6125.jpg', '/home/pi/Desktop/images/11072025/11/41/image_11072025_11_41_01_5029.jpg', '/home/pi/Desktop/images/11072025/11/40/image_11072025_11_40_02_2123.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/11/46/image_11072025_11_46_01_9784.jpg
/home/pi/Desktop/images/11072025/11/45/image_11072025_11_45_01_3593.jpg
/home/pi/Desktop/images/11072025/11/43/image_11072025_11_43_01_4485.jpg
/home/pi/Desktop/images/11072025/11/42/image_11072025_11_42_01_6125.jpg
/home/pi/Desktop/images/11072025/11/41/image_11072025_11_41_01_5029.jpg
/home/pi/Desktop/images/11072025/11/40/image_11072025_11_40_02_2123.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.77466535568237 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 11:48:05.000799
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/11/47/image_11072025_11_47_01_5387.jpg', 2), ('/home/pi/Desktop/images/11072025/11/46/image_11072025_11_46_01_9784.jpg', 2), ('/home/pi/Desktop/images/11072025/11/45/image_11072025_11_45_01_3593.jpg', 2), ('/home/pi/Desktop/images/11072025/11/43/image_11072025_11_43_01_4485.jpg', 2), ('/home/pi/Desktop/images/11072025/11/42/image_11072025_11_42_01_6125.jpg', 2), ('/home/pi/Desktop/images/11072025/11/41/image_11072025_11_41_01_5029.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/11/47/image_11072025_11_47_01_5387.jpg', '/home/pi/Desktop/images/11072025/11/46/image_11072025_11_46_01_9784.jpg', '/home/pi/Desktop/images/11072025/11/45/image_11072025_11_45_01_3593.jpg', '/home/pi/Desktop/images/11072025/11/43/image_11072025_11_43_01_4485.jpg', '/home/pi/Desktop/images/11072025/11/42/image_11072025_11_42_01_6125.jpg', '/home/pi/Desktop/images/11072025/11/41/image_11072025_11_41_01_5029.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/11/47/image_11072025_11_47_01_5387.jpg
/home/pi/Desktop/images/11072025/11/46/image_11072025_11_46_01_9784.jpg
/home/pi/Desktop/images/11072025/11/45/image_11072025_11_45_01_3593.jpg
/home/pi/Desktop/images/11072025/11/43/image_11072025_11_43_01_4485.jpg
/home/pi/Desktop/images/11072025/11/42/image_11072025_11_42_01_6125.jpg
/home/pi/Desktop/images/11072025/11/41/image_11072025_11_41_01_5029.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.14186906814575 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 11:49:05.667360
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/11/48/image_11072025_11_48_01_7082.jpg', 2), ('/home/pi/Desktop/images/11072025/11/47/image_11072025_11_47_01_5387.jpg', 2), ('/home/pi/Desktop/images/11072025/11/46/image_11072025_11_46_01_9784.jpg', 2), ('/home/pi/Desktop/images/11072025/11/45/image_11072025_11_45_01_3593.jpg', 2), ('/home/pi/Desktop/images/11072025/11/43/image_11072025_11_43_01_4485.jpg', 2), ('/home/pi/Desktop/images/11072025/11/42/image_11072025_11_42_01_6125.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/11/48/image_11072025_11_48_01_7082.jpg', '/home/pi/Desktop/images/11072025/11/47/image_11072025_11_47_01_5387.jpg', '/home/pi/Desktop/images/11072025/11/46/image_11072025_11_46_01_9784.jpg', '/home/pi/Desktop/images/11072025/11/45/image_11072025_11_45_01_3593.jpg', '/home/pi/Desktop/images/11072025/11/43/image_11072025_11_43_01_4485.jpg', '/home/pi/Desktop/images/11072025/11/42/image_11072025_11_42_01_6125.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/11/48/image_11072025_11_48_01_7082.jpg
/home/pi/Desktop/images/11072025/11/47/image_11072025_11_47_01_5387.jpg
/home/pi/Desktop/images/11072025/11/46/image_11072025_11_46_01_9784.jpg
/home/pi/Desktop/images/11072025/11/45/image_11072025_11_45_01_3593.jpg
/home/pi/Desktop/images/11072025/11/43/image_11072025_11_43_01_4485.jpg
/home/pi/Desktop/images/11072025/11/42/image_11072025_11_42_01_6125.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.546359062194824 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 11:50:03.342549
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/11/50/image_11072025_11_50_01_8358.jpg', 2), ('/home/pi/Desktop/images/11072025/11/48/image_11072025_11_48_01_7082.jpg', 2), ('/home/pi/Desktop/images/11072025/11/47/image_11072025_11_47_01_5387.jpg', 2), ('/home/pi/Desktop/images/11072025/11/46/image_11072025_11_46_01_9784.jpg', 2), ('/home/pi/Desktop/images/11072025/11/45/image_11072025_11_45_01_3593.jpg', 2), ('/home/pi/Desktop/images/11072025/11/43/image_11072025_11_43_01_4485.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/11/50/image_11072025_11_50_01_8358.jpg', '/home/pi/Desktop/images/11072025/11/48/image_11072025_11_48_01_7082.jpg', '/home/pi/Desktop/images/11072025/11/47/image_11072025_11_47_01_5387.jpg', '/home/pi/Desktop/images/11072025/11/46/image_11072025_11_46_01_9784.jpg', '/home/pi/Desktop/images/11072025/11/45/image_11072025_11_45_01_3593.jpg', '/home/pi/Desktop/images/11072025/11/43/image_11072025_11_43_01_4485.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/11/50/image_11072025_11_50_01_8358.jpg
/home/pi/Desktop/images/11072025/11/48/image_11072025_11_48_01_7082.jpg
/home/pi/Desktop/images/11072025/11/47/image_11072025_11_47_01_5387.jpg
/home/pi/Desktop/images/11072025/11/46/image_11072025_11_46_01_9784.jpg
/home/pi/Desktop/images/11072025/11/45/image_11072025_11_45_01_3593.jpg
/home/pi/Desktop/images/11072025/11/43/image_11072025_11_43_01_4485.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 32.063939571380615 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 11:51:05.237773
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/11/50/image_11072025_11_50_01_8358.jpg', 2), ('/home/pi/Desktop/images/11072025/11/49/image_11072025_11_49_01_5746.jpg', 2), ('/home/pi/Desktop/images/11072025/11/48/image_11072025_11_48_01_7082.jpg', 2), ('/home/pi/Desktop/images/11072025/11/47/image_11072025_11_47_01_5387.jpg', 2), ('/home/pi/Desktop/images/11072025/11/46/image_11072025_11_46_01_9784.jpg', 2), ('/home/pi/Desktop/images/11072025/11/45/image_11072025_11_45_01_3593.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/11/50/image_11072025_11_50_01_8358.jpg', '/home/pi/Desktop/images/11072025/11/49/image_11072025_11_49_01_5746.jpg', '/home/pi/Desktop/images/11072025/11/48/image_11072025_11_48_01_7082.jpg', '/home/pi/Desktop/images/11072025/11/47/image_11072025_11_47_01_5387.jpg', '/home/pi/Desktop/images/11072025/11/46/image_11072025_11_46_01_9784.jpg', '/home/pi/Desktop/images/11072025/11/45/image_11072025_11_45_01_3593.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/11/50/image_11072025_11_50_01_8358.jpg
/home/pi/Desktop/images/11072025/11/49/image_11072025_11_49_01_5746.jpg
/home/pi/Desktop/images/11072025/11/48/image_11072025_11_48_01_7082.jpg
/home/pi/Desktop/images/11072025/11/47/image_11072025_11_47_01_5387.jpg
/home/pi/Desktop/images/11072025/11/46/image_11072025_11_46_01_9784.jpg
/home/pi/Desktop/images/11072025/11/45/image_11072025_11_45_01_3593.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.44536375999451 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 11:52:05.684542
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/11/51/image_11072025_11_51_01_7787.jpg', 2), ('/home/pi/Desktop/images/11072025/11/50/image_11072025_11_50_01_8358.jpg', 2), ('/home/pi/Desktop/images/11072025/11/49/image_11072025_11_49_01_5746.jpg', 2), ('/home/pi/Desktop/images/11072025/11/48/image_11072025_11_48_01_7082.jpg', 2), ('/home/pi/Desktop/images/11072025/11/47/image_11072025_11_47_01_5387.jpg', 2), ('/home/pi/Desktop/images/11072025/11/46/image_11072025_11_46_01_9784.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/11/51/image_11072025_11_51_01_7787.jpg', '/home/pi/Desktop/images/11072025/11/50/image_11072025_11_50_01_8358.jpg', '/home/pi/Desktop/images/11072025/11/49/image_11072025_11_49_01_5746.jpg', '/home/pi/Desktop/images/11072025/11/48/image_11072025_11_48_01_7082.jpg', '/home/pi/Desktop/images/11072025/11/47/image_11072025_11_47_01_5387.jpg', '/home/pi/Desktop/images/11072025/11/46/image_11072025_11_46_01_9784.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/11/51/image_11072025_11_51_01_7787.jpg
/home/pi/Desktop/images/11072025/11/50/image_11072025_11_50_01_8358.jpg
/home/pi/Desktop/images/11072025/11/49/image_11072025_11_49_01_5746.jpg
/home/pi/Desktop/images/11072025/11/48/image_11072025_11_48_01_7082.jpg
/home/pi/Desktop/images/11072025/11/47/image_11072025_11_47_01_5387.jpg
/home/pi/Desktop/images/11072025/11/46/image_11072025_11_46_01_9784.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.134169816970825 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 11:53:05.975308
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/11/52/image_11072025_11_52_01_6642.jpg', 2), ('/home/pi/Desktop/images/11072025/11/51/image_11072025_11_51_01_7787.jpg', 2), ('/home/pi/Desktop/images/11072025/11/50/image_11072025_11_50_01_8358.jpg', 2), ('/home/pi/Desktop/images/11072025/11/49/image_11072025_11_49_01_5746.jpg', 2), ('/home/pi/Desktop/images/11072025/11/48/image_11072025_11_48_01_7082.jpg', 2), ('/home/pi/Desktop/images/11072025/11/47/image_11072025_11_47_01_5387.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/11/52/image_11072025_11_52_01_6642.jpg', '/home/pi/Desktop/images/11072025/11/51/image_11072025_11_51_01_7787.jpg', '/home/pi/Desktop/images/11072025/11/50/image_11072025_11_50_01_8358.jpg', '/home/pi/Desktop/images/11072025/11/49/image_11072025_11_49_01_5746.jpg', '/home/pi/Desktop/images/11072025/11/48/image_11072025_11_48_01_7082.jpg', '/home/pi/Desktop/images/11072025/11/47/image_11072025_11_47_01_5387.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/11/52/image_11072025_11_52_01_6642.jpg
/home/pi/Desktop/images/11072025/11/51/image_11072025_11_51_01_7787.jpg
/home/pi/Desktop/images/11072025/11/50/image_11072025_11_50_01_8358.jpg
/home/pi/Desktop/images/11072025/11/49/image_11072025_11_49_01_5746.jpg
/home/pi/Desktop/images/11072025/11/48/image_11072025_11_48_01_7082.jpg
/home/pi/Desktop/images/11072025/11/47/image_11072025_11_47_01_5387.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.95648431777954 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 11:54:04.873819
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/11/53/image_11072025_11_53_02_2319.jpg', 2), ('/home/pi/Desktop/images/11072025/11/52/image_11072025_11_52_01_6642.jpg', 2), ('/home/pi/Desktop/images/11072025/11/51/image_11072025_11_51_01_7787.jpg', 2), ('/home/pi/Desktop/images/11072025/11/50/image_11072025_11_50_01_8358.jpg', 2), ('/home/pi/Desktop/images/11072025/11/49/image_11072025_11_49_01_5746.jpg', 2), ('/home/pi/Desktop/images/11072025/11/48/image_11072025_11_48_01_7082.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/11/53/image_11072025_11_53_02_2319.jpg', '/home/pi/Desktop/images/11072025/11/52/image_11072025_11_52_01_6642.jpg', '/home/pi/Desktop/images/11072025/11/51/image_11072025_11_51_01_7787.jpg', '/home/pi/Desktop/images/11072025/11/50/image_11072025_11_50_01_8358.jpg', '/home/pi/Desktop/images/11072025/11/49/image_11072025_11_49_01_5746.jpg', '/home/pi/Desktop/images/11072025/11/48/image_11072025_11_48_01_7082.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/11/53/image_11072025_11_53_02_2319.jpg
/home/pi/Desktop/images/11072025/11/52/image_11072025_11_52_01_6642.jpg
/home/pi/Desktop/images/11072025/11/51/image_11072025_11_51_01_7787.jpg
/home/pi/Desktop/images/11072025/11/50/image_11072025_11_50_01_8358.jpg
/home/pi/Desktop/images/11072025/11/49/image_11072025_11_49_01_5746.jpg
/home/pi/Desktop/images/11072025/11/48/image_11072025_11_48_01_7082.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 32.266138792037964 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 11:55:05.817884
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/11/54/image_11072025_11_54_02_0394.jpg', 2), ('/home/pi/Desktop/images/11072025/11/53/image_11072025_11_53_02_2319.jpg', 2), ('/home/pi/Desktop/images/11072025/11/52/image_11072025_11_52_01_6642.jpg', 2), ('/home/pi/Desktop/images/11072025/11/51/image_11072025_11_51_01_7787.jpg', 2), ('/home/pi/Desktop/images/11072025/11/50/image_11072025_11_50_01_8358.jpg', 2), ('/home/pi/Desktop/images/11072025/11/49/image_11072025_11_49_01_5746.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/11/54/image_11072025_11_54_02_0394.jpg', '/home/pi/Desktop/images/11072025/11/53/image_11072025_11_53_02_2319.jpg', '/home/pi/Desktop/images/11072025/11/52/image_11072025_11_52_01_6642.jpg', '/home/pi/Desktop/images/11072025/11/51/image_11072025_11_51_01_7787.jpg', '/home/pi/Desktop/images/11072025/11/50/image_11072025_11_50_01_8358.jpg', '/home/pi/Desktop/images/11072025/11/49/image_11072025_11_49_01_5746.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/11/54/image_11072025_11_54_02_0394.jpg
/home/pi/Desktop/images/11072025/11/53/image_11072025_11_53_02_2319.jpg
/home/pi/Desktop/images/11072025/11/52/image_11072025_11_52_01_6642.jpg
/home/pi/Desktop/images/11072025/11/51/image_11072025_11_51_01_7787.jpg
/home/pi/Desktop/images/11072025/11/50/image_11072025_11_50_01_8358.jpg
/home/pi/Desktop/images/11072025/11/49/image_11072025_11_49_01_5746.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.52512192726135 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 11:56:05.248037
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/11/55/image_11072025_11_55_01_4201.jpg', 2), ('/home/pi/Desktop/images/11072025/11/54/image_11072025_11_54_02_0394.jpg', 2), ('/home/pi/Desktop/images/11072025/11/53/image_11072025_11_53_02_2319.jpg', 2), ('/home/pi/Desktop/images/11072025/11/52/image_11072025_11_52_01_6642.jpg', 2), ('/home/pi/Desktop/images/11072025/11/51/image_11072025_11_51_01_7787.jpg', 2), ('/home/pi/Desktop/images/11072025/11/50/image_11072025_11_50_01_8358.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/11/55/image_11072025_11_55_01_4201.jpg', '/home/pi/Desktop/images/11072025/11/54/image_11072025_11_54_02_0394.jpg', '/home/pi/Desktop/images/11072025/11/53/image_11072025_11_53_02_2319.jpg', '/home/pi/Desktop/images/11072025/11/52/image_11072025_11_52_01_6642.jpg', '/home/pi/Desktop/images/11072025/11/51/image_11072025_11_51_01_7787.jpg', '/home/pi/Desktop/images/11072025/11/50/image_11072025_11_50_01_8358.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/11/55/image_11072025_11_55_01_4201.jpg
/home/pi/Desktop/images/11072025/11/54/image_11072025_11_54_02_0394.jpg
/home/pi/Desktop/images/11072025/11/53/image_11072025_11_53_02_2319.jpg
/home/pi/Desktop/images/11072025/11/52/image_11072025_11_52_01_6642.jpg
/home/pi/Desktop/images/11072025/11/51/image_11072025_11_51_01_7787.jpg
/home/pi/Desktop/images/11072025/11/50/image_11072025_11_50_01_8358.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.17995810508728 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 11:57:05.116971
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/11/56/image_11072025_11_56_02_2021.jpg', 2), ('/home/pi/Desktop/images/11072025/11/55/image_11072025_11_55_01_4201.jpg', 2), ('/home/pi/Desktop/images/11072025/11/54/image_11072025_11_54_02_0394.jpg', 2), ('/home/pi/Desktop/images/11072025/11/53/image_11072025_11_53_02_2319.jpg', 2), ('/home/pi/Desktop/images/11072025/11/52/image_11072025_11_52_01_6642.jpg', 2), ('/home/pi/Desktop/images/11072025/11/51/image_11072025_11_51_01_7787.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/11/56/image_11072025_11_56_02_2021.jpg', '/home/pi/Desktop/images/11072025/11/55/image_11072025_11_55_01_4201.jpg', '/home/pi/Desktop/images/11072025/11/54/image_11072025_11_54_02_0394.jpg', '/home/pi/Desktop/images/11072025/11/53/image_11072025_11_53_02_2319.jpg', '/home/pi/Desktop/images/11072025/11/52/image_11072025_11_52_01_6642.jpg', '/home/pi/Desktop/images/11072025/11/51/image_11072025_11_51_01_7787.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/11/56/image_11072025_11_56_02_2021.jpg
/home/pi/Desktop/images/11072025/11/55/image_11072025_11_55_01_4201.jpg
/home/pi/Desktop/images/11072025/11/54/image_11072025_11_54_02_0394.jpg
/home/pi/Desktop/images/11072025/11/53/image_11072025_11_53_02_2319.jpg
/home/pi/Desktop/images/11072025/11/52/image_11072025_11_52_01_6642.jpg
/home/pi/Desktop/images/11072025/11/51/image_11072025_11_51_01_7787.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.463749170303345 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 11:59:04.029534
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/11/58/image_11072025_11_58_01_6268.jpg', 2), ('/home/pi/Desktop/images/11072025/11/57/image_11072025_11_57_01_7877.jpg', 2), ('/home/pi/Desktop/images/11072025/11/56/image_11072025_11_56_02_2021.jpg', 2), ('/home/pi/Desktop/images/11072025/11/55/image_11072025_11_55_01_4201.jpg', 2), ('/home/pi/Desktop/images/11072025/11/54/image_11072025_11_54_02_0394.jpg', 2), ('/home/pi/Desktop/images/11072025/11/53/image_11072025_11_53_02_2319.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/11/58/image_11072025_11_58_01_6268.jpg', '/home/pi/Desktop/images/11072025/11/57/image_11072025_11_57_01_7877.jpg', '/home/pi/Desktop/images/11072025/11/56/image_11072025_11_56_02_2021.jpg', '/home/pi/Desktop/images/11072025/11/55/image_11072025_11_55_01_4201.jpg', '/home/pi/Desktop/images/11072025/11/54/image_11072025_11_54_02_0394.jpg', '/home/pi/Desktop/images/11072025/11/53/image_11072025_11_53_02_2319.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/11/58/image_11072025_11_58_01_6268.jpg
/home/pi/Desktop/images/11072025/11/57/image_11072025_11_57_01_7877.jpg
/home/pi/Desktop/images/11072025/11/56/image_11072025_11_56_02_2021.jpg
/home/pi/Desktop/images/11072025/11/55/image_11072025_11_55_01_4201.jpg
/home/pi/Desktop/images/11072025/11/54/image_11072025_11_54_02_0394.jpg
/home/pi/Desktop/images/11072025/11/53/image_11072025_11_53_02_2319.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 32.82063007354736 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 12:00:03.565399
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/11/58/image_11072025_11_58_01_6268.jpg', 2), ('/home/pi/Desktop/images/11072025/11/57/image_11072025_11_57_01_7877.jpg', 2), ('/home/pi/Desktop/images/11072025/11/56/image_11072025_11_56_02_2021.jpg', 2), ('/home/pi/Desktop/images/11072025/11/55/image_11072025_11_55_01_4201.jpg', 2), ('/home/pi/Desktop/images/11072025/11/54/image_11072025_11_54_02_0394.jpg', 2), ('/home/pi/Desktop/images/11072025/11/53/image_11072025_11_53_02_2319.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/11/58/image_11072025_11_58_01_6268.jpg', '/home/pi/Desktop/images/11072025/11/57/image_11072025_11_57_01_7877.jpg', '/home/pi/Desktop/images/11072025/11/56/image_11072025_11_56_02_2021.jpg', '/home/pi/Desktop/images/11072025/11/55/image_11072025_11_55_01_4201.jpg', '/home/pi/Desktop/images/11072025/11/54/image_11072025_11_54_02_0394.jpg', '/home/pi/Desktop/images/11072025/11/53/image_11072025_11_53_02_2319.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/11/58/image_11072025_11_58_01_6268.jpg
/home/pi/Desktop/images/11072025/11/57/image_11072025_11_57_01_7877.jpg
/home/pi/Desktop/images/11072025/11/56/image_11072025_11_56_02_2021.jpg
/home/pi/Desktop/images/11072025/11/55/image_11072025_11_55_01_4201.jpg
/home/pi/Desktop/images/11072025/11/54/image_11072025_11_54_02_0394.jpg
/home/pi/Desktop/images/11072025/11/53/image_11072025_11_53_02_2319.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 31.47861909866333 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 12:01:05.196211
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/11/59/image_11072025_11_59_01_5842.jpg', 2), ('/home/pi/Desktop/images/11072025/11/58/image_11072025_11_58_01_6268.jpg', 2), ('/home/pi/Desktop/images/11072025/11/57/image_11072025_11_57_01_7877.jpg', 2), ('/home/pi/Desktop/images/11072025/11/56/image_11072025_11_56_02_2021.jpg', 2), ('/home/pi/Desktop/images/11072025/11/55/image_11072025_11_55_01_4201.jpg', 2), ('/home/pi/Desktop/images/11072025/11/54/image_11072025_11_54_02_0394.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/11/59/image_11072025_11_59_01_5842.jpg', '/home/pi/Desktop/images/11072025/11/58/image_11072025_11_58_01_6268.jpg', '/home/pi/Desktop/images/11072025/11/57/image_11072025_11_57_01_7877.jpg', '/home/pi/Desktop/images/11072025/11/56/image_11072025_11_56_02_2021.jpg', '/home/pi/Desktop/images/11072025/11/55/image_11072025_11_55_01_4201.jpg', '/home/pi/Desktop/images/11072025/11/54/image_11072025_11_54_02_0394.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/11/59/image_11072025_11_59_01_5842.jpg
/home/pi/Desktop/images/11072025/11/58/image_11072025_11_58_01_6268.jpg
/home/pi/Desktop/images/11072025/11/57/image_11072025_11_57_01_7877.jpg
/home/pi/Desktop/images/11072025/11/56/image_11072025_11_56_02_2021.jpg
/home/pi/Desktop/images/11072025/11/55/image_11072025_11_55_01_4201.jpg
/home/pi/Desktop/images/11072025/11/54/image_11072025_11_54_02_0394.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 34.03061866760254 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 12:02:05.131486
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/12/01/image_11072025_12_01_01_9760.jpg', 2), ('/home/pi/Desktop/images/11072025/11/59/image_11072025_11_59_01_5842.jpg', 2), ('/home/pi/Desktop/images/11072025/11/58/image_11072025_11_58_01_6268.jpg', 2), ('/home/pi/Desktop/images/11072025/11/57/image_11072025_11_57_01_7877.jpg', 2), ('/home/pi/Desktop/images/11072025/11/56/image_11072025_11_56_02_2021.jpg', 2), ('/home/pi/Desktop/images/11072025/11/55/image_11072025_11_55_01_4201.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/12/01/image_11072025_12_01_01_9760.jpg', '/home/pi/Desktop/images/11072025/11/59/image_11072025_11_59_01_5842.jpg', '/home/pi/Desktop/images/11072025/11/58/image_11072025_11_58_01_6268.jpg', '/home/pi/Desktop/images/11072025/11/57/image_11072025_11_57_01_7877.jpg', '/home/pi/Desktop/images/11072025/11/56/image_11072025_11_56_02_2021.jpg', '/home/pi/Desktop/images/11072025/11/55/image_11072025_11_55_01_4201.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/12/01/image_11072025_12_01_01_9760.jpg
/home/pi/Desktop/images/11072025/11/59/image_11072025_11_59_01_5842.jpg
/home/pi/Desktop/images/11072025/11/58/image_11072025_11_58_01_6268.jpg
/home/pi/Desktop/images/11072025/11/57/image_11072025_11_57_01_7877.jpg
/home/pi/Desktop/images/11072025/11/56/image_11072025_11_56_02_2021.jpg
/home/pi/Desktop/images/11072025/11/55/image_11072025_11_55_01_4201.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.17123198509216 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 12:03:05.462409
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/12/02/image_11072025_12_02_01_6154.jpg', 2), ('/home/pi/Desktop/images/11072025/12/01/image_11072025_12_01_01_9760.jpg', 2), ('/home/pi/Desktop/images/11072025/11/59/image_11072025_11_59_01_5842.jpg', 2), ('/home/pi/Desktop/images/11072025/11/58/image_11072025_11_58_01_6268.jpg', 2), ('/home/pi/Desktop/images/11072025/11/57/image_11072025_11_57_01_7877.jpg', 2), ('/home/pi/Desktop/images/11072025/11/56/image_11072025_11_56_02_2021.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/12/02/image_11072025_12_02_01_6154.jpg', '/home/pi/Desktop/images/11072025/12/01/image_11072025_12_01_01_9760.jpg', '/home/pi/Desktop/images/11072025/11/59/image_11072025_11_59_01_5842.jpg', '/home/pi/Desktop/images/11072025/11/58/image_11072025_11_58_01_6268.jpg', '/home/pi/Desktop/images/11072025/11/57/image_11072025_11_57_01_7877.jpg', '/home/pi/Desktop/images/11072025/11/56/image_11072025_11_56_02_2021.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/12/02/image_11072025_12_02_01_6154.jpg
/home/pi/Desktop/images/11072025/12/01/image_11072025_12_01_01_9760.jpg
/home/pi/Desktop/images/11072025/11/59/image_11072025_11_59_01_5842.jpg
/home/pi/Desktop/images/11072025/11/58/image_11072025_11_58_01_6268.jpg
/home/pi/Desktop/images/11072025/11/57/image_11072025_11_57_01_7877.jpg
/home/pi/Desktop/images/11072025/11/56/image_11072025_11_56_02_2021.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 34.13974332809448 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 12:04:05.053259
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/12/03/image_11072025_12_03_01_6458.jpg', 2), ('/home/pi/Desktop/images/11072025/12/02/image_11072025_12_02_01_6154.jpg', 2), ('/home/pi/Desktop/images/11072025/12/01/image_11072025_12_01_01_9760.jpg', 2), ('/home/pi/Desktop/images/11072025/11/59/image_11072025_11_59_01_5842.jpg', 2), ('/home/pi/Desktop/images/11072025/11/58/image_11072025_11_58_01_6268.jpg', 2), ('/home/pi/Desktop/images/11072025/11/57/image_11072025_11_57_01_7877.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/12/03/image_11072025_12_03_01_6458.jpg', '/home/pi/Desktop/images/11072025/12/02/image_11072025_12_02_01_6154.jpg', '/home/pi/Desktop/images/11072025/12/01/image_11072025_12_01_01_9760.jpg', '/home/pi/Desktop/images/11072025/11/59/image_11072025_11_59_01_5842.jpg', '/home/pi/Desktop/images/11072025/11/58/image_11072025_11_58_01_6268.jpg', '/home/pi/Desktop/images/11072025/11/57/image_11072025_11_57_01_7877.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/12/03/image_11072025_12_03_01_6458.jpg
/home/pi/Desktop/images/11072025/12/02/image_11072025_12_02_01_6154.jpg
/home/pi/Desktop/images/11072025/12/01/image_11072025_12_01_01_9760.jpg
/home/pi/Desktop/images/11072025/11/59/image_11072025_11_59_01_5842.jpg
/home/pi/Desktop/images/11072025/11/58/image_11072025_11_58_01_6268.jpg
/home/pi/Desktop/images/11072025/11/57/image_11072025_11_57_01_7877.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 34.7158682346344 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 12:05:04.812845
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/12/04/image_11072025_12_04_01_8427.jpg', 2), ('/home/pi/Desktop/images/11072025/12/03/image_11072025_12_03_01_6458.jpg', 2), ('/home/pi/Desktop/images/11072025/12/02/image_11072025_12_02_01_6154.jpg', 2), ('/home/pi/Desktop/images/11072025/12/01/image_11072025_12_01_01_9760.jpg', 2), ('/home/pi/Desktop/images/11072025/11/59/image_11072025_11_59_01_5842.jpg', 2), ('/home/pi/Desktop/images/11072025/11/58/image_11072025_11_58_01_6268.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/12/04/image_11072025_12_04_01_8427.jpg', '/home/pi/Desktop/images/11072025/12/03/image_11072025_12_03_01_6458.jpg', '/home/pi/Desktop/images/11072025/12/02/image_11072025_12_02_01_6154.jpg', '/home/pi/Desktop/images/11072025/12/01/image_11072025_12_01_01_9760.jpg', '/home/pi/Desktop/images/11072025/11/59/image_11072025_11_59_01_5842.jpg', '/home/pi/Desktop/images/11072025/11/58/image_11072025_11_58_01_6268.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/12/04/image_11072025_12_04_01_8427.jpg
/home/pi/Desktop/images/11072025/12/03/image_11072025_12_03_01_6458.jpg
/home/pi/Desktop/images/11072025/12/02/image_11072025_12_02_01_6154.jpg
/home/pi/Desktop/images/11072025/12/01/image_11072025_12_01_01_9760.jpg
/home/pi/Desktop/images/11072025/11/59/image_11072025_11_59_01_5842.jpg
/home/pi/Desktop/images/11072025/11/58/image_11072025_11_58_01_6268.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 34.05579447746277 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 12:06:05.515393
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/12/05/image_11072025_12_05_01_5399.jpg', 2), ('/home/pi/Desktop/images/11072025/12/04/image_11072025_12_04_01_8427.jpg', 2), ('/home/pi/Desktop/images/11072025/12/03/image_11072025_12_03_01_6458.jpg', 2), ('/home/pi/Desktop/images/11072025/12/02/image_11072025_12_02_01_6154.jpg', 2), ('/home/pi/Desktop/images/11072025/12/01/image_11072025_12_01_01_9760.jpg', 2), ('/home/pi/Desktop/images/11072025/11/59/image_11072025_11_59_01_5842.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/12/05/image_11072025_12_05_01_5399.jpg', '/home/pi/Desktop/images/11072025/12/04/image_11072025_12_04_01_8427.jpg', '/home/pi/Desktop/images/11072025/12/03/image_11072025_12_03_01_6458.jpg', '/home/pi/Desktop/images/11072025/12/02/image_11072025_12_02_01_6154.jpg', '/home/pi/Desktop/images/11072025/12/01/image_11072025_12_01_01_9760.jpg', '/home/pi/Desktop/images/11072025/11/59/image_11072025_11_59_01_5842.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/12/05/image_11072025_12_05_01_5399.jpg
/home/pi/Desktop/images/11072025/12/04/image_11072025_12_04_01_8427.jpg
/home/pi/Desktop/images/11072025/12/03/image_11072025_12_03_01_6458.jpg
/home/pi/Desktop/images/11072025/12/02/image_11072025_12_02_01_6154.jpg
/home/pi/Desktop/images/11072025/12/01/image_11072025_12_01_01_9760.jpg
/home/pi/Desktop/images/11072025/11/59/image_11072025_11_59_01_5842.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.52884268760681 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 12:07:06.423021
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/12/06/image_11072025_12_06_01_3140.jpg', 2), ('/home/pi/Desktop/images/11072025/12/05/image_11072025_12_05_01_5399.jpg', 2), ('/home/pi/Desktop/images/11072025/12/04/image_11072025_12_04_01_8427.jpg', 2), ('/home/pi/Desktop/images/11072025/12/03/image_11072025_12_03_01_6458.jpg', 2), ('/home/pi/Desktop/images/11072025/12/02/image_11072025_12_02_01_6154.jpg', 2), ('/home/pi/Desktop/images/11072025/12/01/image_11072025_12_01_01_9760.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/12/06/image_11072025_12_06_01_3140.jpg', '/home/pi/Desktop/images/11072025/12/05/image_11072025_12_05_01_5399.jpg', '/home/pi/Desktop/images/11072025/12/04/image_11072025_12_04_01_8427.jpg', '/home/pi/Desktop/images/11072025/12/03/image_11072025_12_03_01_6458.jpg', '/home/pi/Desktop/images/11072025/12/02/image_11072025_12_02_01_6154.jpg', '/home/pi/Desktop/images/11072025/12/01/image_11072025_12_01_01_9760.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/12/06/image_11072025_12_06_01_3140.jpg
/home/pi/Desktop/images/11072025/12/05/image_11072025_12_05_01_5399.jpg
/home/pi/Desktop/images/11072025/12/04/image_11072025_12_04_01_8427.jpg
/home/pi/Desktop/images/11072025/12/03/image_11072025_12_03_01_6458.jpg
/home/pi/Desktop/images/11072025/12/02/image_11072025_12_02_01_6154.jpg
/home/pi/Desktop/images/11072025/12/01/image_11072025_12_01_01_9760.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.77941155433655 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 12:08:05.692629
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/12/07/image_11072025_12_07_02_1391.jpg', 2), ('/home/pi/Desktop/images/11072025/12/06/image_11072025_12_06_01_3140.jpg', 2), ('/home/pi/Desktop/images/11072025/12/05/image_11072025_12_05_01_5399.jpg', 2), ('/home/pi/Desktop/images/11072025/12/04/image_11072025_12_04_01_8427.jpg', 2), ('/home/pi/Desktop/images/11072025/12/03/image_11072025_12_03_01_6458.jpg', 2), ('/home/pi/Desktop/images/11072025/12/02/image_11072025_12_02_01_6154.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/12/07/image_11072025_12_07_02_1391.jpg', '/home/pi/Desktop/images/11072025/12/06/image_11072025_12_06_01_3140.jpg', '/home/pi/Desktop/images/11072025/12/05/image_11072025_12_05_01_5399.jpg', '/home/pi/Desktop/images/11072025/12/04/image_11072025_12_04_01_8427.jpg', '/home/pi/Desktop/images/11072025/12/03/image_11072025_12_03_01_6458.jpg', '/home/pi/Desktop/images/11072025/12/02/image_11072025_12_02_01_6154.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/12/07/image_11072025_12_07_02_1391.jpg
/home/pi/Desktop/images/11072025/12/06/image_11072025_12_06_01_3140.jpg
/home/pi/Desktop/images/11072025/12/05/image_11072025_12_05_01_5399.jpg
/home/pi/Desktop/images/11072025/12/04/image_11072025_12_04_01_8427.jpg
/home/pi/Desktop/images/11072025/12/03/image_11072025_12_03_01_6458.jpg
/home/pi/Desktop/images/11072025/12/02/image_11072025_12_02_01_6154.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 32.77357864379883 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 12:09:04.826728
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/12/08/image_11072025_12_08_02_3032.jpg', 2), ('/home/pi/Desktop/images/11072025/12/07/image_11072025_12_07_02_1391.jpg', 2), ('/home/pi/Desktop/images/11072025/12/06/image_11072025_12_06_01_3140.jpg', 2), ('/home/pi/Desktop/images/11072025/12/05/image_11072025_12_05_01_5399.jpg', 2), ('/home/pi/Desktop/images/11072025/12/04/image_11072025_12_04_01_8427.jpg', 2), ('/home/pi/Desktop/images/11072025/12/03/image_11072025_12_03_01_6458.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/12/08/image_11072025_12_08_02_3032.jpg', '/home/pi/Desktop/images/11072025/12/07/image_11072025_12_07_02_1391.jpg', '/home/pi/Desktop/images/11072025/12/06/image_11072025_12_06_01_3140.jpg', '/home/pi/Desktop/images/11072025/12/05/image_11072025_12_05_01_5399.jpg', '/home/pi/Desktop/images/11072025/12/04/image_11072025_12_04_01_8427.jpg', '/home/pi/Desktop/images/11072025/12/03/image_11072025_12_03_01_6458.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/12/08/image_11072025_12_08_02_3032.jpg
/home/pi/Desktop/images/11072025/12/07/image_11072025_12_07_02_1391.jpg
/home/pi/Desktop/images/11072025/12/06/image_11072025_12_06_01_3140.jpg
/home/pi/Desktop/images/11072025/12/05/image_11072025_12_05_01_5399.jpg
/home/pi/Desktop/images/11072025/12/04/image_11072025_12_04_01_8427.jpg
/home/pi/Desktop/images/11072025/12/03/image_11072025_12_03_01_6458.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.77411127090454 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 12:10:04.910471
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/12/09/image_11072025_12_09_02_2166.jpg', 2), ('/home/pi/Desktop/images/11072025/12/08/image_11072025_12_08_02_3032.jpg', 2), ('/home/pi/Desktop/images/11072025/12/07/image_11072025_12_07_02_1391.jpg', 2), ('/home/pi/Desktop/images/11072025/12/06/image_11072025_12_06_01_3140.jpg', 2), ('/home/pi/Desktop/images/11072025/12/05/image_11072025_12_05_01_5399.jpg', 2), ('/home/pi/Desktop/images/11072025/12/04/image_11072025_12_04_01_8427.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/12/09/image_11072025_12_09_02_2166.jpg', '/home/pi/Desktop/images/11072025/12/08/image_11072025_12_08_02_3032.jpg', '/home/pi/Desktop/images/11072025/12/07/image_11072025_12_07_02_1391.jpg', '/home/pi/Desktop/images/11072025/12/06/image_11072025_12_06_01_3140.jpg', '/home/pi/Desktop/images/11072025/12/05/image_11072025_12_05_01_5399.jpg', '/home/pi/Desktop/images/11072025/12/04/image_11072025_12_04_01_8427.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/12/09/image_11072025_12_09_02_2166.jpg
/home/pi/Desktop/images/11072025/12/08/image_11072025_12_08_02_3032.jpg
/home/pi/Desktop/images/11072025/12/07/image_11072025_12_07_02_1391.jpg
/home/pi/Desktop/images/11072025/12/06/image_11072025_12_06_01_3140.jpg
/home/pi/Desktop/images/11072025/12/05/image_11072025_12_05_01_5399.jpg
/home/pi/Desktop/images/11072025/12/04/image_11072025_12_04_01_8427.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 32.743924617767334 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 12:11:04.989764
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/12/10/image_11072025_12_10_01_3202.jpg', 2), ('/home/pi/Desktop/images/11072025/12/09/image_11072025_12_09_02_2166.jpg', 2), ('/home/pi/Desktop/images/11072025/12/08/image_11072025_12_08_02_3032.jpg', 2), ('/home/pi/Desktop/images/11072025/12/07/image_11072025_12_07_02_1391.jpg', 2), ('/home/pi/Desktop/images/11072025/12/06/image_11072025_12_06_01_3140.jpg', 2), ('/home/pi/Desktop/images/11072025/12/05/image_11072025_12_05_01_5399.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/12/10/image_11072025_12_10_01_3202.jpg', '/home/pi/Desktop/images/11072025/12/09/image_11072025_12_09_02_2166.jpg', '/home/pi/Desktop/images/11072025/12/08/image_11072025_12_08_02_3032.jpg', '/home/pi/Desktop/images/11072025/12/07/image_11072025_12_07_02_1391.jpg', '/home/pi/Desktop/images/11072025/12/06/image_11072025_12_06_01_3140.jpg', '/home/pi/Desktop/images/11072025/12/05/image_11072025_12_05_01_5399.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/12/10/image_11072025_12_10_01_3202.jpg
/home/pi/Desktop/images/11072025/12/09/image_11072025_12_09_02_2166.jpg
/home/pi/Desktop/images/11072025/12/08/image_11072025_12_08_02_3032.jpg
/home/pi/Desktop/images/11072025/12/07/image_11072025_12_07_02_1391.jpg
/home/pi/Desktop/images/11072025/12/06/image_11072025_12_06_01_3140.jpg
/home/pi/Desktop/images/11072025/12/05/image_11072025_12_05_01_5399.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.89912748336792 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 12:12:05.410615
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/12/11/image_11072025_12_11_01_3353.jpg', 2), ('/home/pi/Desktop/images/11072025/12/10/image_11072025_12_10_01_3202.jpg', 2), ('/home/pi/Desktop/images/11072025/12/09/image_11072025_12_09_02_2166.jpg', 2), ('/home/pi/Desktop/images/11072025/12/08/image_11072025_12_08_02_3032.jpg', 2), ('/home/pi/Desktop/images/11072025/12/07/image_11072025_12_07_02_1391.jpg', 2), ('/home/pi/Desktop/images/11072025/12/06/image_11072025_12_06_01_3140.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/12/11/image_11072025_12_11_01_3353.jpg', '/home/pi/Desktop/images/11072025/12/10/image_11072025_12_10_01_3202.jpg', '/home/pi/Desktop/images/11072025/12/09/image_11072025_12_09_02_2166.jpg', '/home/pi/Desktop/images/11072025/12/08/image_11072025_12_08_02_3032.jpg', '/home/pi/Desktop/images/11072025/12/07/image_11072025_12_07_02_1391.jpg', '/home/pi/Desktop/images/11072025/12/06/image_11072025_12_06_01_3140.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/12/11/image_11072025_12_11_01_3353.jpg
/home/pi/Desktop/images/11072025/12/10/image_11072025_12_10_01_3202.jpg
/home/pi/Desktop/images/11072025/12/09/image_11072025_12_09_02_2166.jpg
/home/pi/Desktop/images/11072025/12/08/image_11072025_12_08_02_3032.jpg
/home/pi/Desktop/images/11072025/12/07/image_11072025_12_07_02_1391.jpg
/home/pi/Desktop/images/11072025/12/06/image_11072025_12_06_01_3140.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 32.59827160835266 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 12:13:04.882067
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/12/12/image_11072025_12_12_01_3821.jpg', 2), ('/home/pi/Desktop/images/11072025/12/11/image_11072025_12_11_01_3353.jpg', 2), ('/home/pi/Desktop/images/11072025/12/10/image_11072025_12_10_01_3202.jpg', 2), ('/home/pi/Desktop/images/11072025/12/09/image_11072025_12_09_02_2166.jpg', 2), ('/home/pi/Desktop/images/11072025/12/08/image_11072025_12_08_02_3032.jpg', 2), ('/home/pi/Desktop/images/11072025/12/07/image_11072025_12_07_02_1391.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/12/12/image_11072025_12_12_01_3821.jpg', '/home/pi/Desktop/images/11072025/12/11/image_11072025_12_11_01_3353.jpg', '/home/pi/Desktop/images/11072025/12/10/image_11072025_12_10_01_3202.jpg', '/home/pi/Desktop/images/11072025/12/09/image_11072025_12_09_02_2166.jpg', '/home/pi/Desktop/images/11072025/12/08/image_11072025_12_08_02_3032.jpg', '/home/pi/Desktop/images/11072025/12/07/image_11072025_12_07_02_1391.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/12/12/image_11072025_12_12_01_3821.jpg
/home/pi/Desktop/images/11072025/12/11/image_11072025_12_11_01_3353.jpg
/home/pi/Desktop/images/11072025/12/10/image_11072025_12_10_01_3202.jpg
/home/pi/Desktop/images/11072025/12/09/image_11072025_12_09_02_2166.jpg
/home/pi/Desktop/images/11072025/12/08/image_11072025_12_08_02_3032.jpg
/home/pi/Desktop/images/11072025/12/07/image_11072025_12_07_02_1391.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.25504469871521 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 12:14:04.956335
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/12/13/image_11072025_12_13_01_8885.jpg', 2), ('/home/pi/Desktop/images/11072025/12/12/image_11072025_12_12_01_3821.jpg', 2), ('/home/pi/Desktop/images/11072025/12/11/image_11072025_12_11_01_3353.jpg', 2), ('/home/pi/Desktop/images/11072025/12/10/image_11072025_12_10_01_3202.jpg', 2), ('/home/pi/Desktop/images/11072025/12/09/image_11072025_12_09_02_2166.jpg', 2), ('/home/pi/Desktop/images/11072025/12/08/image_11072025_12_08_02_3032.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/12/13/image_11072025_12_13_01_8885.jpg', '/home/pi/Desktop/images/11072025/12/12/image_11072025_12_12_01_3821.jpg', '/home/pi/Desktop/images/11072025/12/11/image_11072025_12_11_01_3353.jpg', '/home/pi/Desktop/images/11072025/12/10/image_11072025_12_10_01_3202.jpg', '/home/pi/Desktop/images/11072025/12/09/image_11072025_12_09_02_2166.jpg', '/home/pi/Desktop/images/11072025/12/08/image_11072025_12_08_02_3032.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/12/13/image_11072025_12_13_01_8885.jpg
/home/pi/Desktop/images/11072025/12/12/image_11072025_12_12_01_3821.jpg
/home/pi/Desktop/images/11072025/12/11/image_11072025_12_11_01_3353.jpg
/home/pi/Desktop/images/11072025/12/10/image_11072025_12_10_01_3202.jpg
/home/pi/Desktop/images/11072025/12/09/image_11072025_12_09_02_2166.jpg
/home/pi/Desktop/images/11072025/12/08/image_11072025_12_08_02_3032.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.28208518028259 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 12:15:05.556236
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/12/14/image_11072025_12_14_01_4216.jpg', 2), ('/home/pi/Desktop/images/11072025/12/13/image_11072025_12_13_01_8885.jpg', 2), ('/home/pi/Desktop/images/11072025/12/12/image_11072025_12_12_01_3821.jpg', 2), ('/home/pi/Desktop/images/11072025/12/11/image_11072025_12_11_01_3353.jpg', 2), ('/home/pi/Desktop/images/11072025/12/10/image_11072025_12_10_01_3202.jpg', 2), ('/home/pi/Desktop/images/11072025/12/09/image_11072025_12_09_02_2166.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/12/14/image_11072025_12_14_01_4216.jpg', '/home/pi/Desktop/images/11072025/12/13/image_11072025_12_13_01_8885.jpg', '/home/pi/Desktop/images/11072025/12/12/image_11072025_12_12_01_3821.jpg', '/home/pi/Desktop/images/11072025/12/11/image_11072025_12_11_01_3353.jpg', '/home/pi/Desktop/images/11072025/12/10/image_11072025_12_10_01_3202.jpg', '/home/pi/Desktop/images/11072025/12/09/image_11072025_12_09_02_2166.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/12/14/image_11072025_12_14_01_4216.jpg
/home/pi/Desktop/images/11072025/12/13/image_11072025_12_13_01_8885.jpg
/home/pi/Desktop/images/11072025/12/12/image_11072025_12_12_01_3821.jpg
/home/pi/Desktop/images/11072025/12/11/image_11072025_12_11_01_3353.jpg
/home/pi/Desktop/images/11072025/12/10/image_11072025_12_10_01_3202.jpg
/home/pi/Desktop/images/11072025/12/09/image_11072025_12_09_02_2166.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 32.99109625816345 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 12:16:05.716142
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/12/15/image_11072025_12_15_01_5057.jpg', 2), ('/home/pi/Desktop/images/11072025/12/14/image_11072025_12_14_01_4216.jpg', 2), ('/home/pi/Desktop/images/11072025/12/13/image_11072025_12_13_01_8885.jpg', 2), ('/home/pi/Desktop/images/11072025/12/12/image_11072025_12_12_01_3821.jpg', 2), ('/home/pi/Desktop/images/11072025/12/11/image_11072025_12_11_01_3353.jpg', 2), ('/home/pi/Desktop/images/11072025/12/10/image_11072025_12_10_01_3202.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/12/15/image_11072025_12_15_01_5057.jpg', '/home/pi/Desktop/images/11072025/12/14/image_11072025_12_14_01_4216.jpg', '/home/pi/Desktop/images/11072025/12/13/image_11072025_12_13_01_8885.jpg', '/home/pi/Desktop/images/11072025/12/12/image_11072025_12_12_01_3821.jpg', '/home/pi/Desktop/images/11072025/12/11/image_11072025_12_11_01_3353.jpg', '/home/pi/Desktop/images/11072025/12/10/image_11072025_12_10_01_3202.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/12/15/image_11072025_12_15_01_5057.jpg
/home/pi/Desktop/images/11072025/12/14/image_11072025_12_14_01_4216.jpg
/home/pi/Desktop/images/11072025/12/13/image_11072025_12_13_01_8885.jpg
/home/pi/Desktop/images/11072025/12/12/image_11072025_12_12_01_3821.jpg
/home/pi/Desktop/images/11072025/12/11/image_11072025_12_11_01_3353.jpg
/home/pi/Desktop/images/11072025/12/10/image_11072025_12_10_01_3202.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 32.999998331069946 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 12:17:05.281755
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/12/16/image_11072025_12_16_02_0750.jpg', 2), ('/home/pi/Desktop/images/11072025/12/15/image_11072025_12_15_01_5057.jpg', 2), ('/home/pi/Desktop/images/11072025/12/14/image_11072025_12_14_01_4216.jpg', 2), ('/home/pi/Desktop/images/11072025/12/13/image_11072025_12_13_01_8885.jpg', 2), ('/home/pi/Desktop/images/11072025/12/12/image_11072025_12_12_01_3821.jpg', 2), ('/home/pi/Desktop/images/11072025/12/11/image_11072025_12_11_01_3353.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/12/16/image_11072025_12_16_02_0750.jpg', '/home/pi/Desktop/images/11072025/12/15/image_11072025_12_15_01_5057.jpg', '/home/pi/Desktop/images/11072025/12/14/image_11072025_12_14_01_4216.jpg', '/home/pi/Desktop/images/11072025/12/13/image_11072025_12_13_01_8885.jpg', '/home/pi/Desktop/images/11072025/12/12/image_11072025_12_12_01_3821.jpg', '/home/pi/Desktop/images/11072025/12/11/image_11072025_12_11_01_3353.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/12/16/image_11072025_12_16_02_0750.jpg
/home/pi/Desktop/images/11072025/12/15/image_11072025_12_15_01_5057.jpg
/home/pi/Desktop/images/11072025/12/14/image_11072025_12_14_01_4216.jpg
/home/pi/Desktop/images/11072025/12/13/image_11072025_12_13_01_8885.jpg
/home/pi/Desktop/images/11072025/12/12/image_11072025_12_12_01_3821.jpg
/home/pi/Desktop/images/11072025/12/11/image_11072025_12_11_01_3353.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.531407594680786 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 12:18:04.962851
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/12/17/image_11072025_12_17_02_2677.jpg', 2), ('/home/pi/Desktop/images/11072025/12/16/image_11072025_12_16_02_0750.jpg', 2), ('/home/pi/Desktop/images/11072025/12/15/image_11072025_12_15_01_5057.jpg', 2), ('/home/pi/Desktop/images/11072025/12/14/image_11072025_12_14_01_4216.jpg', 2), ('/home/pi/Desktop/images/11072025/12/13/image_11072025_12_13_01_8885.jpg', 2), ('/home/pi/Desktop/images/11072025/12/12/image_11072025_12_12_01_3821.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/12/17/image_11072025_12_17_02_2677.jpg', '/home/pi/Desktop/images/11072025/12/16/image_11072025_12_16_02_0750.jpg', '/home/pi/Desktop/images/11072025/12/15/image_11072025_12_15_01_5057.jpg', '/home/pi/Desktop/images/11072025/12/14/image_11072025_12_14_01_4216.jpg', '/home/pi/Desktop/images/11072025/12/13/image_11072025_12_13_01_8885.jpg', '/home/pi/Desktop/images/11072025/12/12/image_11072025_12_12_01_3821.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/12/17/image_11072025_12_17_02_2677.jpg
/home/pi/Desktop/images/11072025/12/16/image_11072025_12_16_02_0750.jpg
/home/pi/Desktop/images/11072025/12/15/image_11072025_12_15_01_5057.jpg
/home/pi/Desktop/images/11072025/12/14/image_11072025_12_14_01_4216.jpg
/home/pi/Desktop/images/11072025/12/13/image_11072025_12_13_01_8885.jpg
/home/pi/Desktop/images/11072025/12/12/image_11072025_12_12_01_3821.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 32.93392729759216 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 12:19:06.122298
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/12/18/image_11072025_12_18_01_7349.jpg', 2), ('/home/pi/Desktop/images/11072025/12/17/image_11072025_12_17_02_2677.jpg', 2), ('/home/pi/Desktop/images/11072025/12/16/image_11072025_12_16_02_0750.jpg', 2), ('/home/pi/Desktop/images/11072025/12/15/image_11072025_12_15_01_5057.jpg', 2), ('/home/pi/Desktop/images/11072025/12/14/image_11072025_12_14_01_4216.jpg', 2), ('/home/pi/Desktop/images/11072025/12/13/image_11072025_12_13_01_8885.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/12/18/image_11072025_12_18_01_7349.jpg', '/home/pi/Desktop/images/11072025/12/17/image_11072025_12_17_02_2677.jpg', '/home/pi/Desktop/images/11072025/12/16/image_11072025_12_16_02_0750.jpg', '/home/pi/Desktop/images/11072025/12/15/image_11072025_12_15_01_5057.jpg', '/home/pi/Desktop/images/11072025/12/14/image_11072025_12_14_01_4216.jpg', '/home/pi/Desktop/images/11072025/12/13/image_11072025_12_13_01_8885.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/12/18/image_11072025_12_18_01_7349.jpg
/home/pi/Desktop/images/11072025/12/17/image_11072025_12_17_02_2677.jpg
/home/pi/Desktop/images/11072025/12/16/image_11072025_12_16_02_0750.jpg
/home/pi/Desktop/images/11072025/12/15/image_11072025_12_15_01_5057.jpg
/home/pi/Desktop/images/11072025/12/14/image_11072025_12_14_01_4216.jpg
/home/pi/Desktop/images/11072025/12/13/image_11072025_12_13_01_8885.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 34.00551986694336 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 12:20:05.260606
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/12/19/image_11072025_12_19_01_7129.jpg', 2), ('/home/pi/Desktop/images/11072025/12/18/image_11072025_12_18_01_7349.jpg', 2), ('/home/pi/Desktop/images/11072025/12/17/image_11072025_12_17_02_2677.jpg', 2), ('/home/pi/Desktop/images/11072025/12/16/image_11072025_12_16_02_0750.jpg', 2), ('/home/pi/Desktop/images/11072025/12/15/image_11072025_12_15_01_5057.jpg', 2), ('/home/pi/Desktop/images/11072025/12/14/image_11072025_12_14_01_4216.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/12/19/image_11072025_12_19_01_7129.jpg', '/home/pi/Desktop/images/11072025/12/18/image_11072025_12_18_01_7349.jpg', '/home/pi/Desktop/images/11072025/12/17/image_11072025_12_17_02_2677.jpg', '/home/pi/Desktop/images/11072025/12/16/image_11072025_12_16_02_0750.jpg', '/home/pi/Desktop/images/11072025/12/15/image_11072025_12_15_01_5057.jpg', '/home/pi/Desktop/images/11072025/12/14/image_11072025_12_14_01_4216.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/12/19/image_11072025_12_19_01_7129.jpg
/home/pi/Desktop/images/11072025/12/18/image_11072025_12_18_01_7349.jpg
/home/pi/Desktop/images/11072025/12/17/image_11072025_12_17_02_2677.jpg
/home/pi/Desktop/images/11072025/12/16/image_11072025_12_16_02_0750.jpg
/home/pi/Desktop/images/11072025/12/15/image_11072025_12_15_01_5057.jpg
/home/pi/Desktop/images/11072025/12/14/image_11072025_12_14_01_4216.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 32.962368965148926 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 12:21:06.211392
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/12/20/image_11072025_12_20_02_2191.jpg', 2), ('/home/pi/Desktop/images/11072025/12/19/image_11072025_12_19_01_7129.jpg', 2), ('/home/pi/Desktop/images/11072025/12/18/image_11072025_12_18_01_7349.jpg', 2), ('/home/pi/Desktop/images/11072025/12/17/image_11072025_12_17_02_2677.jpg', 2), ('/home/pi/Desktop/images/11072025/12/16/image_11072025_12_16_02_0750.jpg', 2), ('/home/pi/Desktop/images/11072025/12/15/image_11072025_12_15_01_5057.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/12/20/image_11072025_12_20_02_2191.jpg', '/home/pi/Desktop/images/11072025/12/19/image_11072025_12_19_01_7129.jpg', '/home/pi/Desktop/images/11072025/12/18/image_11072025_12_18_01_7349.jpg', '/home/pi/Desktop/images/11072025/12/17/image_11072025_12_17_02_2677.jpg', '/home/pi/Desktop/images/11072025/12/16/image_11072025_12_16_02_0750.jpg', '/home/pi/Desktop/images/11072025/12/15/image_11072025_12_15_01_5057.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/12/20/image_11072025_12_20_02_2191.jpg
/home/pi/Desktop/images/11072025/12/19/image_11072025_12_19_01_7129.jpg
/home/pi/Desktop/images/11072025/12/18/image_11072025_12_18_01_7349.jpg
/home/pi/Desktop/images/11072025/12/17/image_11072025_12_17_02_2677.jpg
/home/pi/Desktop/images/11072025/12/16/image_11072025_12_16_02_0750.jpg
/home/pi/Desktop/images/11072025/12/15/image_11072025_12_15_01_5057.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.15679669380188 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 12:22:03.514418
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/12/20/image_11072025_12_20_02_2191.jpg', 2), ('/home/pi/Desktop/images/11072025/12/19/image_11072025_12_19_01_7129.jpg', 2), ('/home/pi/Desktop/images/11072025/12/18/image_11072025_12_18_01_7349.jpg', 2), ('/home/pi/Desktop/images/11072025/12/17/image_11072025_12_17_02_2677.jpg', 2), ('/home/pi/Desktop/images/11072025/12/16/image_11072025_12_16_02_0750.jpg', 2), ('/home/pi/Desktop/images/11072025/12/15/image_11072025_12_15_01_5057.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/12/20/image_11072025_12_20_02_2191.jpg', '/home/pi/Desktop/images/11072025/12/19/image_11072025_12_19_01_7129.jpg', '/home/pi/Desktop/images/11072025/12/18/image_11072025_12_18_01_7349.jpg', '/home/pi/Desktop/images/11072025/12/17/image_11072025_12_17_02_2677.jpg', '/home/pi/Desktop/images/11072025/12/16/image_11072025_12_16_02_0750.jpg', '/home/pi/Desktop/images/11072025/12/15/image_11072025_12_15_01_5057.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/12/20/image_11072025_12_20_02_2191.jpg
/home/pi/Desktop/images/11072025/12/19/image_11072025_12_19_01_7129.jpg
/home/pi/Desktop/images/11072025/12/18/image_11072025_12_18_01_7349.jpg
/home/pi/Desktop/images/11072025/12/17/image_11072025_12_17_02_2677.jpg
/home/pi/Desktop/images/11072025/12/16/image_11072025_12_16_02_0750.jpg
/home/pi/Desktop/images/11072025/12/15/image_11072025_12_15_01_5057.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 32.003803730010986 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 12:23:05.556512
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/12/21/image_11072025_12_21_01_6541.jpg', 2), ('/home/pi/Desktop/images/11072025/12/20/image_11072025_12_20_02_2191.jpg', 2), ('/home/pi/Desktop/images/11072025/12/19/image_11072025_12_19_01_7129.jpg', 2), ('/home/pi/Desktop/images/11072025/12/18/image_11072025_12_18_01_7349.jpg', 2), ('/home/pi/Desktop/images/11072025/12/17/image_11072025_12_17_02_2677.jpg', 2), ('/home/pi/Desktop/images/11072025/12/16/image_11072025_12_16_02_0750.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/12/21/image_11072025_12_21_01_6541.jpg', '/home/pi/Desktop/images/11072025/12/20/image_11072025_12_20_02_2191.jpg', '/home/pi/Desktop/images/11072025/12/19/image_11072025_12_19_01_7129.jpg', '/home/pi/Desktop/images/11072025/12/18/image_11072025_12_18_01_7349.jpg', '/home/pi/Desktop/images/11072025/12/17/image_11072025_12_17_02_2677.jpg', '/home/pi/Desktop/images/11072025/12/16/image_11072025_12_16_02_0750.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/12/21/image_11072025_12_21_01_6541.jpg
/home/pi/Desktop/images/11072025/12/20/image_11072025_12_20_02_2191.jpg
/home/pi/Desktop/images/11072025/12/19/image_11072025_12_19_01_7129.jpg
/home/pi/Desktop/images/11072025/12/18/image_11072025_12_18_01_7349.jpg
/home/pi/Desktop/images/11072025/12/17/image_11072025_12_17_02_2677.jpg
/home/pi/Desktop/images/11072025/12/16/image_11072025_12_16_02_0750.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 36.27204155921936 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 12:24:05.917118
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/12/23/image_11072025_12_23_01_4051.jpg', 2), ('/home/pi/Desktop/images/11072025/12/21/image_11072025_12_21_01_6541.jpg', 2), ('/home/pi/Desktop/images/11072025/12/20/image_11072025_12_20_02_2191.jpg', 2), ('/home/pi/Desktop/images/11072025/12/19/image_11072025_12_19_01_7129.jpg', 2), ('/home/pi/Desktop/images/11072025/12/18/image_11072025_12_18_01_7349.jpg', 2), ('/home/pi/Desktop/images/11072025/12/17/image_11072025_12_17_02_2677.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/12/23/image_11072025_12_23_01_4051.jpg', '/home/pi/Desktop/images/11072025/12/21/image_11072025_12_21_01_6541.jpg', '/home/pi/Desktop/images/11072025/12/20/image_11072025_12_20_02_2191.jpg', '/home/pi/Desktop/images/11072025/12/19/image_11072025_12_19_01_7129.jpg', '/home/pi/Desktop/images/11072025/12/18/image_11072025_12_18_01_7349.jpg', '/home/pi/Desktop/images/11072025/12/17/image_11072025_12_17_02_2677.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/12/23/image_11072025_12_23_01_4051.jpg
/home/pi/Desktop/images/11072025/12/21/image_11072025_12_21_01_6541.jpg
/home/pi/Desktop/images/11072025/12/20/image_11072025_12_20_02_2191.jpg
/home/pi/Desktop/images/11072025/12/19/image_11072025_12_19_01_7129.jpg
/home/pi/Desktop/images/11072025/12/18/image_11072025_12_18_01_7349.jpg
/home/pi/Desktop/images/11072025/12/17/image_11072025_12_17_02_2677.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.06227397918701 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 12:25:05.370745
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/12/24/image_11072025_12_24_01_7687.jpg', 2), ('/home/pi/Desktop/images/11072025/12/23/image_11072025_12_23_01_4051.jpg', 2), ('/home/pi/Desktop/images/11072025/12/21/image_11072025_12_21_01_6541.jpg', 2), ('/home/pi/Desktop/images/11072025/12/20/image_11072025_12_20_02_2191.jpg', 2), ('/home/pi/Desktop/images/11072025/12/19/image_11072025_12_19_01_7129.jpg', 2), ('/home/pi/Desktop/images/11072025/12/18/image_11072025_12_18_01_7349.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/12/24/image_11072025_12_24_01_7687.jpg', '/home/pi/Desktop/images/11072025/12/23/image_11072025_12_23_01_4051.jpg', '/home/pi/Desktop/images/11072025/12/21/image_11072025_12_21_01_6541.jpg', '/home/pi/Desktop/images/11072025/12/20/image_11072025_12_20_02_2191.jpg', '/home/pi/Desktop/images/11072025/12/19/image_11072025_12_19_01_7129.jpg', '/home/pi/Desktop/images/11072025/12/18/image_11072025_12_18_01_7349.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/12/24/image_11072025_12_24_01_7687.jpg
/home/pi/Desktop/images/11072025/12/23/image_11072025_12_23_01_4051.jpg
/home/pi/Desktop/images/11072025/12/21/image_11072025_12_21_01_6541.jpg
/home/pi/Desktop/images/11072025/12/20/image_11072025_12_20_02_2191.jpg
/home/pi/Desktop/images/11072025/12/19/image_11072025_12_19_01_7129.jpg
/home/pi/Desktop/images/11072025/12/18/image_11072025_12_18_01_7349.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.72419023513794 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 12:26:05.010048
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/12/25/image_11072025_12_25_02_0650.jpg', 2), ('/home/pi/Desktop/images/11072025/12/24/image_11072025_12_24_01_7687.jpg', 2), ('/home/pi/Desktop/images/11072025/12/23/image_11072025_12_23_01_4051.jpg', 2), ('/home/pi/Desktop/images/11072025/12/21/image_11072025_12_21_01_6541.jpg', 2), ('/home/pi/Desktop/images/11072025/12/20/image_11072025_12_20_02_2191.jpg', 2), ('/home/pi/Desktop/images/11072025/12/19/image_11072025_12_19_01_7129.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/12/25/image_11072025_12_25_02_0650.jpg', '/home/pi/Desktop/images/11072025/12/24/image_11072025_12_24_01_7687.jpg', '/home/pi/Desktop/images/11072025/12/23/image_11072025_12_23_01_4051.jpg', '/home/pi/Desktop/images/11072025/12/21/image_11072025_12_21_01_6541.jpg', '/home/pi/Desktop/images/11072025/12/20/image_11072025_12_20_02_2191.jpg', '/home/pi/Desktop/images/11072025/12/19/image_11072025_12_19_01_7129.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/12/25/image_11072025_12_25_02_0650.jpg
/home/pi/Desktop/images/11072025/12/24/image_11072025_12_24_01_7687.jpg
/home/pi/Desktop/images/11072025/12/23/image_11072025_12_23_01_4051.jpg
/home/pi/Desktop/images/11072025/12/21/image_11072025_12_21_01_6541.jpg
/home/pi/Desktop/images/11072025/12/20/image_11072025_12_20_02_2191.jpg
/home/pi/Desktop/images/11072025/12/19/image_11072025_12_19_01_7129.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.188374042510986 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 12:27:05.488871
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/12/26/image_11072025_12_26_01_4280.jpg', 2), ('/home/pi/Desktop/images/11072025/12/25/image_11072025_12_25_02_0650.jpg', 2), ('/home/pi/Desktop/images/11072025/12/24/image_11072025_12_24_01_7687.jpg', 2), ('/home/pi/Desktop/images/11072025/12/23/image_11072025_12_23_01_4051.jpg', 2), ('/home/pi/Desktop/images/11072025/12/21/image_11072025_12_21_01_6541.jpg', 2), ('/home/pi/Desktop/images/11072025/12/20/image_11072025_12_20_02_2191.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/12/26/image_11072025_12_26_01_4280.jpg', '/home/pi/Desktop/images/11072025/12/25/image_11072025_12_25_02_0650.jpg', '/home/pi/Desktop/images/11072025/12/24/image_11072025_12_24_01_7687.jpg', '/home/pi/Desktop/images/11072025/12/23/image_11072025_12_23_01_4051.jpg', '/home/pi/Desktop/images/11072025/12/21/image_11072025_12_21_01_6541.jpg', '/home/pi/Desktop/images/11072025/12/20/image_11072025_12_20_02_2191.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/12/26/image_11072025_12_26_01_4280.jpg
/home/pi/Desktop/images/11072025/12/25/image_11072025_12_25_02_0650.jpg
/home/pi/Desktop/images/11072025/12/24/image_11072025_12_24_01_7687.jpg
/home/pi/Desktop/images/11072025/12/23/image_11072025_12_23_01_4051.jpg
/home/pi/Desktop/images/11072025/12/21/image_11072025_12_21_01_6541.jpg
/home/pi/Desktop/images/11072025/12/20/image_11072025_12_20_02_2191.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 34.04944062232971 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 12:28:05.452047
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/12/27/image_11072025_12_27_01_5125.jpg', 2), ('/home/pi/Desktop/images/11072025/12/26/image_11072025_12_26_01_4280.jpg', 2), ('/home/pi/Desktop/images/11072025/12/25/image_11072025_12_25_02_0650.jpg', 2), ('/home/pi/Desktop/images/11072025/12/24/image_11072025_12_24_01_7687.jpg', 2), ('/home/pi/Desktop/images/11072025/12/23/image_11072025_12_23_01_4051.jpg', 2), ('/home/pi/Desktop/images/11072025/12/21/image_11072025_12_21_01_6541.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/12/27/image_11072025_12_27_01_5125.jpg', '/home/pi/Desktop/images/11072025/12/26/image_11072025_12_26_01_4280.jpg', '/home/pi/Desktop/images/11072025/12/25/image_11072025_12_25_02_0650.jpg', '/home/pi/Desktop/images/11072025/12/24/image_11072025_12_24_01_7687.jpg', '/home/pi/Desktop/images/11072025/12/23/image_11072025_12_23_01_4051.jpg', '/home/pi/Desktop/images/11072025/12/21/image_11072025_12_21_01_6541.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/12/27/image_11072025_12_27_01_5125.jpg
/home/pi/Desktop/images/11072025/12/26/image_11072025_12_26_01_4280.jpg
/home/pi/Desktop/images/11072025/12/25/image_11072025_12_25_02_0650.jpg
/home/pi/Desktop/images/11072025/12/24/image_11072025_12_24_01_7687.jpg
/home/pi/Desktop/images/11072025/12/23/image_11072025_12_23_01_4051.jpg
/home/pi/Desktop/images/11072025/12/21/image_11072025_12_21_01_6541.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.22019839286804 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 12:29:06.255965
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/12/28/image_11072025_12_28_01_8976.jpg', 2), ('/home/pi/Desktop/images/11072025/12/27/image_11072025_12_27_01_5125.jpg', 2), ('/home/pi/Desktop/images/11072025/12/26/image_11072025_12_26_01_4280.jpg', 2), ('/home/pi/Desktop/images/11072025/12/25/image_11072025_12_25_02_0650.jpg', 2), ('/home/pi/Desktop/images/11072025/12/24/image_11072025_12_24_01_7687.jpg', 2), ('/home/pi/Desktop/images/11072025/12/23/image_11072025_12_23_01_4051.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/12/28/image_11072025_12_28_01_8976.jpg', '/home/pi/Desktop/images/11072025/12/27/image_11072025_12_27_01_5125.jpg', '/home/pi/Desktop/images/11072025/12/26/image_11072025_12_26_01_4280.jpg', '/home/pi/Desktop/images/11072025/12/25/image_11072025_12_25_02_0650.jpg', '/home/pi/Desktop/images/11072025/12/24/image_11072025_12_24_01_7687.jpg', '/home/pi/Desktop/images/11072025/12/23/image_11072025_12_23_01_4051.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/12/28/image_11072025_12_28_01_8976.jpg
/home/pi/Desktop/images/11072025/12/27/image_11072025_12_27_01_5125.jpg
/home/pi/Desktop/images/11072025/12/26/image_11072025_12_26_01_4280.jpg
/home/pi/Desktop/images/11072025/12/25/image_11072025_12_25_02_0650.jpg
/home/pi/Desktop/images/11072025/12/24/image_11072025_12_24_01_7687.jpg
/home/pi/Desktop/images/11072025/12/23/image_11072025_12_23_01_4051.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.59037184715271 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 12:30:05.421658
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/12/29/image_11072025_12_29_01_8193.jpg', 2), ('/home/pi/Desktop/images/11072025/12/28/image_11072025_12_28_01_8976.jpg', 2), ('/home/pi/Desktop/images/11072025/12/27/image_11072025_12_27_01_5125.jpg', 2), ('/home/pi/Desktop/images/11072025/12/26/image_11072025_12_26_01_4280.jpg', 2), ('/home/pi/Desktop/images/11072025/12/25/image_11072025_12_25_02_0650.jpg', 2), ('/home/pi/Desktop/images/11072025/12/24/image_11072025_12_24_01_7687.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/12/29/image_11072025_12_29_01_8193.jpg', '/home/pi/Desktop/images/11072025/12/28/image_11072025_12_28_01_8976.jpg', '/home/pi/Desktop/images/11072025/12/27/image_11072025_12_27_01_5125.jpg', '/home/pi/Desktop/images/11072025/12/26/image_11072025_12_26_01_4280.jpg', '/home/pi/Desktop/images/11072025/12/25/image_11072025_12_25_02_0650.jpg', '/home/pi/Desktop/images/11072025/12/24/image_11072025_12_24_01_7687.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/12/29/image_11072025_12_29_01_8193.jpg
/home/pi/Desktop/images/11072025/12/28/image_11072025_12_28_01_8976.jpg
/home/pi/Desktop/images/11072025/12/27/image_11072025_12_27_01_5125.jpg
/home/pi/Desktop/images/11072025/12/26/image_11072025_12_26_01_4280.jpg
/home/pi/Desktop/images/11072025/12/25/image_11072025_12_25_02_0650.jpg
/home/pi/Desktop/images/11072025/12/24/image_11072025_12_24_01_7687.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 32.66772246360779 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 12:31:05.753215
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/12/30/image_11072025_12_30_02_0587.jpg', 2), ('/home/pi/Desktop/images/11072025/12/29/image_11072025_12_29_01_8193.jpg', 2), ('/home/pi/Desktop/images/11072025/12/28/image_11072025_12_28_01_8976.jpg', 2), ('/home/pi/Desktop/images/11072025/12/27/image_11072025_12_27_01_5125.jpg', 2), ('/home/pi/Desktop/images/11072025/12/26/image_11072025_12_26_01_4280.jpg', 2), ('/home/pi/Desktop/images/11072025/12/25/image_11072025_12_25_02_0650.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/12/30/image_11072025_12_30_02_0587.jpg', '/home/pi/Desktop/images/11072025/12/29/image_11072025_12_29_01_8193.jpg', '/home/pi/Desktop/images/11072025/12/28/image_11072025_12_28_01_8976.jpg', '/home/pi/Desktop/images/11072025/12/27/image_11072025_12_27_01_5125.jpg', '/home/pi/Desktop/images/11072025/12/26/image_11072025_12_26_01_4280.jpg', '/home/pi/Desktop/images/11072025/12/25/image_11072025_12_25_02_0650.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/12/30/image_11072025_12_30_02_0587.jpg
/home/pi/Desktop/images/11072025/12/29/image_11072025_12_29_01_8193.jpg
/home/pi/Desktop/images/11072025/12/28/image_11072025_12_28_01_8976.jpg
/home/pi/Desktop/images/11072025/12/27/image_11072025_12_27_01_5125.jpg
/home/pi/Desktop/images/11072025/12/26/image_11072025_12_26_01_4280.jpg
/home/pi/Desktop/images/11072025/12/25/image_11072025_12_25_02_0650.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.50909161567688 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 12:32:05.424913
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/12/31/image_11072025_12_31_01_8989.jpg', 2), ('/home/pi/Desktop/images/11072025/12/30/image_11072025_12_30_02_0587.jpg', 2), ('/home/pi/Desktop/images/11072025/12/29/image_11072025_12_29_01_8193.jpg', 2), ('/home/pi/Desktop/images/11072025/12/28/image_11072025_12_28_01_8976.jpg', 2), ('/home/pi/Desktop/images/11072025/12/27/image_11072025_12_27_01_5125.jpg', 2), ('/home/pi/Desktop/images/11072025/12/26/image_11072025_12_26_01_4280.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/12/31/image_11072025_12_31_01_8989.jpg', '/home/pi/Desktop/images/11072025/12/30/image_11072025_12_30_02_0587.jpg', '/home/pi/Desktop/images/11072025/12/29/image_11072025_12_29_01_8193.jpg', '/home/pi/Desktop/images/11072025/12/28/image_11072025_12_28_01_8976.jpg', '/home/pi/Desktop/images/11072025/12/27/image_11072025_12_27_01_5125.jpg', '/home/pi/Desktop/images/11072025/12/26/image_11072025_12_26_01_4280.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/12/31/image_11072025_12_31_01_8989.jpg
/home/pi/Desktop/images/11072025/12/30/image_11072025_12_30_02_0587.jpg
/home/pi/Desktop/images/11072025/12/29/image_11072025_12_29_01_8193.jpg
/home/pi/Desktop/images/11072025/12/28/image_11072025_12_28_01_8976.jpg
/home/pi/Desktop/images/11072025/12/27/image_11072025_12_27_01_5125.jpg
/home/pi/Desktop/images/11072025/12/26/image_11072025_12_26_01_4280.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 32.992884159088135 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 12:33:06.257627
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/12/32/image_11072025_12_32_01_9614.jpg', 2), ('/home/pi/Desktop/images/11072025/12/31/image_11072025_12_31_01_8989.jpg', 2), ('/home/pi/Desktop/images/11072025/12/30/image_11072025_12_30_02_0587.jpg', 2), ('/home/pi/Desktop/images/11072025/12/29/image_11072025_12_29_01_8193.jpg', 2), ('/home/pi/Desktop/images/11072025/12/28/image_11072025_12_28_01_8976.jpg', 2), ('/home/pi/Desktop/images/11072025/12/27/image_11072025_12_27_01_5125.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/12/32/image_11072025_12_32_01_9614.jpg', '/home/pi/Desktop/images/11072025/12/31/image_11072025_12_31_01_8989.jpg', '/home/pi/Desktop/images/11072025/12/30/image_11072025_12_30_02_0587.jpg', '/home/pi/Desktop/images/11072025/12/29/image_11072025_12_29_01_8193.jpg', '/home/pi/Desktop/images/11072025/12/28/image_11072025_12_28_01_8976.jpg', '/home/pi/Desktop/images/11072025/12/27/image_11072025_12_27_01_5125.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/12/32/image_11072025_12_32_01_9614.jpg
/home/pi/Desktop/images/11072025/12/31/image_11072025_12_31_01_8989.jpg
/home/pi/Desktop/images/11072025/12/30/image_11072025_12_30_02_0587.jpg
/home/pi/Desktop/images/11072025/12/29/image_11072025_12_29_01_8193.jpg
/home/pi/Desktop/images/11072025/12/28/image_11072025_12_28_01_8976.jpg
/home/pi/Desktop/images/11072025/12/27/image_11072025_12_27_01_5125.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.25951290130615 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 12:34:05.709710
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/12/33/image_11072025_12_33_01_9569.jpg', 2), ('/home/pi/Desktop/images/11072025/12/32/image_11072025_12_32_01_9614.jpg', 2), ('/home/pi/Desktop/images/11072025/12/31/image_11072025_12_31_01_8989.jpg', 2), ('/home/pi/Desktop/images/11072025/12/30/image_11072025_12_30_02_0587.jpg', 2), ('/home/pi/Desktop/images/11072025/12/29/image_11072025_12_29_01_8193.jpg', 2), ('/home/pi/Desktop/images/11072025/12/28/image_11072025_12_28_01_8976.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/12/33/image_11072025_12_33_01_9569.jpg', '/home/pi/Desktop/images/11072025/12/32/image_11072025_12_32_01_9614.jpg', '/home/pi/Desktop/images/11072025/12/31/image_11072025_12_31_01_8989.jpg', '/home/pi/Desktop/images/11072025/12/30/image_11072025_12_30_02_0587.jpg', '/home/pi/Desktop/images/11072025/12/29/image_11072025_12_29_01_8193.jpg', '/home/pi/Desktop/images/11072025/12/28/image_11072025_12_28_01_8976.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/12/33/image_11072025_12_33_01_9569.jpg
/home/pi/Desktop/images/11072025/12/32/image_11072025_12_32_01_9614.jpg
/home/pi/Desktop/images/11072025/12/31/image_11072025_12_31_01_8989.jpg
/home/pi/Desktop/images/11072025/12/30/image_11072025_12_30_02_0587.jpg
/home/pi/Desktop/images/11072025/12/29/image_11072025_12_29_01_8193.jpg
/home/pi/Desktop/images/11072025/12/28/image_11072025_12_28_01_8976.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.07849097251892 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 12:35:05.793386
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/12/34/image_11072025_12_34_02_3178.jpg', 2), ('/home/pi/Desktop/images/11072025/12/33/image_11072025_12_33_01_9569.jpg', 2), ('/home/pi/Desktop/images/11072025/12/32/image_11072025_12_32_01_9614.jpg', 2), ('/home/pi/Desktop/images/11072025/12/31/image_11072025_12_31_01_8989.jpg', 2), ('/home/pi/Desktop/images/11072025/12/30/image_11072025_12_30_02_0587.jpg', 2), ('/home/pi/Desktop/images/11072025/12/29/image_11072025_12_29_01_8193.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/12/34/image_11072025_12_34_02_3178.jpg', '/home/pi/Desktop/images/11072025/12/33/image_11072025_12_33_01_9569.jpg', '/home/pi/Desktop/images/11072025/12/32/image_11072025_12_32_01_9614.jpg', '/home/pi/Desktop/images/11072025/12/31/image_11072025_12_31_01_8989.jpg', '/home/pi/Desktop/images/11072025/12/30/image_11072025_12_30_02_0587.jpg', '/home/pi/Desktop/images/11072025/12/29/image_11072025_12_29_01_8193.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/12/34/image_11072025_12_34_02_3178.jpg
/home/pi/Desktop/images/11072025/12/33/image_11072025_12_33_01_9569.jpg
/home/pi/Desktop/images/11072025/12/32/image_11072025_12_32_01_9614.jpg
/home/pi/Desktop/images/11072025/12/31/image_11072025_12_31_01_8989.jpg
/home/pi/Desktop/images/11072025/12/30/image_11072025_12_30_02_0587.jpg
/home/pi/Desktop/images/11072025/12/29/image_11072025_12_29_01_8193.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.12737703323364 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 12:36:05.204143
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/12/35/image_11072025_12_35_02_2443.jpg', 2), ('/home/pi/Desktop/images/11072025/12/34/image_11072025_12_34_02_3178.jpg', 2), ('/home/pi/Desktop/images/11072025/12/33/image_11072025_12_33_01_9569.jpg', 2), ('/home/pi/Desktop/images/11072025/12/32/image_11072025_12_32_01_9614.jpg', 2), ('/home/pi/Desktop/images/11072025/12/31/image_11072025_12_31_01_8989.jpg', 2), ('/home/pi/Desktop/images/11072025/12/30/image_11072025_12_30_02_0587.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/12/35/image_11072025_12_35_02_2443.jpg', '/home/pi/Desktop/images/11072025/12/34/image_11072025_12_34_02_3178.jpg', '/home/pi/Desktop/images/11072025/12/33/image_11072025_12_33_01_9569.jpg', '/home/pi/Desktop/images/11072025/12/32/image_11072025_12_32_01_9614.jpg', '/home/pi/Desktop/images/11072025/12/31/image_11072025_12_31_01_8989.jpg', '/home/pi/Desktop/images/11072025/12/30/image_11072025_12_30_02_0587.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/12/35/image_11072025_12_35_02_2443.jpg
/home/pi/Desktop/images/11072025/12/34/image_11072025_12_34_02_3178.jpg
/home/pi/Desktop/images/11072025/12/33/image_11072025_12_33_01_9569.jpg
/home/pi/Desktop/images/11072025/12/32/image_11072025_12_32_01_9614.jpg
/home/pi/Desktop/images/11072025/12/31/image_11072025_12_31_01_8989.jpg
/home/pi/Desktop/images/11072025/12/30/image_11072025_12_30_02_0587.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 32.861669063568115 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u uploadpy.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 12:37:05.938393
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/12/36/image_11072025_12_36_02_2594.jpg', 2), ('/home/pi/Desktop/images/11072025/12/35/image_11072025_12_35_02_2443.jpg', 2), ('/home/pi/Desktop/images/11072025/12/34/image_11072025_12_34_02_3178.jpg', 2), ('/home/pi/Desktop/images/11072025/12/33/image_11072025_12_33_01_9569.jpg', 2), ('/home/pi/Desktop/images/11072025/12/32/image_11072025_12_32_01_9614.jpg', 2), ('/home/pi/Desktop/images/11072025/12/31/image_11072025_12_31_01_8989.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/12/36/image_11072025_12_36_02_2594.jpg', '/home/pi/Desktop/images/11072025/12/35/image_11072025_12_35_02_2443.jpg', '/home/pi/Desktop/images/11072025/12/34/image_11072025_12_34_02_3178.jpg', '/home/pi/Desktop/images/11072025/12/33/image_11072025_12_33_01_9569.jpg', '/home/pi/Desktop/images/11072025/12/32/image_11072025_12_32_01_9614.jpg', '/home/pi/Desktop/images/11072025/12/31/image_11072025_12_31_01_8989.jpg'] : url : https://uploadpy.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/12/36/image_11072025_12_36_02_2594.jpg
/home/pi/Desktop/images/11072025/12/35/image_11072025_12_35_02_2443.jpg
/home/pi/Desktop/images/11072025/12/34/image_11072025_12_34_02_3178.jpg
/home/pi/Desktop/images/11072025/12/33/image_11072025_12_33_01_9569.jpg
/home/pi/Desktop/images/11072025/12/32/image_11072025_12_32_01_9614.jpg
/home/pi/Desktop/images/11072025/12/31/image_11072025_12_31_01_8989.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 33.30287742614746 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at uploadpy.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 12:38:04.716697
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/12/37/image_11072025_12_37_01_7483.jpg', 2), ('/home/pi/Desktop/images/11072025/12/36/image_11072025_12_36_02_2594.jpg', 2), ('/home/pi/Desktop/images/11072025/12/35/image_11072025_12_35_02_2443.jpg', 2), ('/home/pi/Desktop/images/11072025/12/34/image_11072025_12_34_02_3178.jpg', 2), ('/home/pi/Desktop/images/11072025/12/33/image_11072025_12_33_01_9569.jpg', 2), ('/home/pi/Desktop/images/11072025/12/32/image_11072025_12_32_01_9614.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/12/37/image_11072025_12_37_01_7483.jpg', '/home/pi/Desktop/images/11072025/12/36/image_11072025_12_36_02_2594.jpg', '/home/pi/Desktop/images/11072025/12/35/image_11072025_12_35_02_2443.jpg', '/home/pi/Desktop/images/11072025/12/34/image_11072025_12_34_02_3178.jpg', '/home/pi/Desktop/images/11072025/12/33/image_11072025_12_33_01_9569.jpg', '/home/pi/Desktop/images/11072025/12/32/image_11072025_12_32_01_9614.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/12/37/image_11072025_12_37_01_7483.jpg
/home/pi/Desktop/images/11072025/12/36/image_11072025_12_36_02_2594.jpg
/home/pi/Desktop/images/11072025/12/35/image_11072025_12_35_02_2443.jpg
/home/pi/Desktop/images/11072025/12/34/image_11072025_12_34_02_3178.jpg
/home/pi/Desktop/images/11072025/12/33/image_11072025_12_33_01_9569.jpg
/home/pi/Desktop/images/11072025/12/32/image_11072025_12_32_01_9614.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 3.5262601375579834 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 12:39:04.349804
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
1 photos no longer on disk
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/12/40/image_11072025_12_40_01_8238.jpg', 2), ('/home/pi/Desktop/images/11072025/12/38/image_11072025_12_38_02_2441.jpg', 2), ('/home/pi/Desktop/images/11072025/12/37/image_11072025_12_37_01_7483.jpg', 2), ('/home/pi/Desktop/images/11072025/12/36/image_11072025_12_36_02_2594.jpg', 2), ('/home/pi/Desktop/images/11072025/12/35/image_11072025_12_35_02_2443.jpg', 2), ('/home/pi/Desktop/images/11072025/12/34/image_11072025_12_34_02_3178.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/12/38/image_11072025_12_38_02_2441.jpg', '/home/pi/Desktop/images/11072025/12/37/image_11072025_12_37_01_7483.jpg', '/home/pi/Desktop/images/11072025/12/36/image_11072025_12_36_02_2594.jpg', '/home/pi/Desktop/images/11072025/12/35/image_11072025_12_35_02_2443.jpg', '/home/pi/Desktop/images/11072025/12/34/image_11072025_12_34_02_3178.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/12/38/image_11072025_12_38_02_2441.jpg
/home/pi/Desktop/images/11072025/12/37/image_11072025_12_37_01_7483.jpg
/home/pi/Desktop/images/11072025/12/36/image_11072025_12_36_02_2594.jpg
/home/pi/Desktop/images/11072025/12/35/image_11072025_12_35_02_2443.jpg
/home/pi/Desktop/images/11072025/12/34/image_11072025_12_34_02_3178.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 305.9698214530945 secondes ---
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 377, in upload_from_sqlite
    upload_photo_and_update_logs(files, lsr, port_id, datou_current_id, fc, hashtags = hashtags, verbose = verbose, nb_batch= nb_batch,batch_size=limit)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 74, in upload_photo_and_update_logs
    logger.info("no_longer_on_disk_list:",no_longer_on_disk_list)
Message: 'no_longer_on_disk_list:'
Arguments: (['/home/pi/Desktop/images/11072025/12/40/image_11072025_12_40_01_8238.jpg'],)
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 12:45:04.682953
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/12/44/image_11072025_12_44_01_5557.jpg', 2), ('/home/pi/Desktop/images/11072025/12/43/image_11072025_12_43_01_8500.jpg', 2), ('/home/pi/Desktop/images/11072025/12/42/image_11072025_12_42_02_1770.jpg', 2), ('/home/pi/Desktop/images/11072025/12/41/image_11072025_12_41_01_9887.jpg', 2), ('/home/pi/Desktop/images/11072025/12/39/image_11072025_12_39_01_2878.jpg', 2), ('/home/pi/Desktop/images/11072025/12/38/image_11072025_12_38_02_2441.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/12/44/image_11072025_12_44_01_5557.jpg', '/home/pi/Desktop/images/11072025/12/43/image_11072025_12_43_01_8500.jpg', '/home/pi/Desktop/images/11072025/12/42/image_11072025_12_42_02_1770.jpg', '/home/pi/Desktop/images/11072025/12/41/image_11072025_12_41_01_9887.jpg', '/home/pi/Desktop/images/11072025/12/39/image_11072025_12_39_01_2878.jpg', '/home/pi/Desktop/images/11072025/12/38/image_11072025_12_38_02_2441.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/12/44/image_11072025_12_44_01_5557.jpg
/home/pi/Desktop/images/11072025/12/43/image_11072025_12_43_01_8500.jpg
/home/pi/Desktop/images/11072025/12/42/image_11072025_12_42_02_1770.jpg
/home/pi/Desktop/images/11072025/12/41/image_11072025_12_41_01_9887.jpg
/home/pi/Desktop/images/11072025/12/39/image_11072025_12_39_01_2878.jpg
/home/pi/Desktop/images/11072025/12/38/image_11072025_12_38_02_2441.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 304.0809609889984 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 12:51:03.847830
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/12/50/image_11072025_12_50_01_7371.jpg', 2), ('/home/pi/Desktop/images/11072025/12/49/image_11072025_12_49_02_2665.jpg', 2), ('/home/pi/Desktop/images/11072025/12/48/image_11072025_12_48_01_6448.jpg', 2), ('/home/pi/Desktop/images/11072025/12/47/image_11072025_12_47_02_0871.jpg', 2), ('/home/pi/Desktop/images/11072025/12/46/image_11072025_12_46_01_9931.jpg', 2), ('/home/pi/Desktop/images/11072025/12/45/image_11072025_12_45_02_0037.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/12/50/image_11072025_12_50_01_7371.jpg', '/home/pi/Desktop/images/11072025/12/49/image_11072025_12_49_02_2665.jpg', '/home/pi/Desktop/images/11072025/12/48/image_11072025_12_48_01_6448.jpg', '/home/pi/Desktop/images/11072025/12/47/image_11072025_12_47_02_0871.jpg', '/home/pi/Desktop/images/11072025/12/46/image_11072025_12_46_01_9931.jpg', '/home/pi/Desktop/images/11072025/12/45/image_11072025_12_45_02_0037.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/12/50/image_11072025_12_50_01_7371.jpg
/home/pi/Desktop/images/11072025/12/49/image_11072025_12_49_02_2665.jpg
/home/pi/Desktop/images/11072025/12/48/image_11072025_12_48_01_6448.jpg
/home/pi/Desktop/images/11072025/12/47/image_11072025_12_47_02_0871.jpg
/home/pi/Desktop/images/11072025/12/46/image_11072025_12_46_01_9931.jpg
/home/pi/Desktop/images/11072025/12/45/image_11072025_12_45_02_0037.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 4.785757064819336 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 12:52:04.514306
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/12/51/image_11072025_12_51_01_4331.jpg', 2), ('/home/pi/Desktop/images/11072025/12/50/image_11072025_12_50_01_7371.jpg', 2), ('/home/pi/Desktop/images/11072025/12/49/image_11072025_12_49_02_2665.jpg', 2), ('/home/pi/Desktop/images/11072025/12/48/image_11072025_12_48_01_6448.jpg', 2), ('/home/pi/Desktop/images/11072025/12/47/image_11072025_12_47_02_0871.jpg', 2), ('/home/pi/Desktop/images/11072025/12/46/image_11072025_12_46_01_9931.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/12/51/image_11072025_12_51_01_4331.jpg', '/home/pi/Desktop/images/11072025/12/50/image_11072025_12_50_01_7371.jpg', '/home/pi/Desktop/images/11072025/12/49/image_11072025_12_49_02_2665.jpg', '/home/pi/Desktop/images/11072025/12/48/image_11072025_12_48_01_6448.jpg', '/home/pi/Desktop/images/11072025/12/47/image_11072025_12_47_02_0871.jpg', '/home/pi/Desktop/images/11072025/12/46/image_11072025_12_46_01_9931.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/12/51/image_11072025_12_51_01_4331.jpg
/home/pi/Desktop/images/11072025/12/50/image_11072025_12_50_01_7371.jpg
/home/pi/Desktop/images/11072025/12/49/image_11072025_12_49_02_2665.jpg
/home/pi/Desktop/images/11072025/12/48/image_11072025_12_48_01_6448.jpg
/home/pi/Desktop/images/11072025/12/47/image_11072025_12_47_02_0871.jpg
/home/pi/Desktop/images/11072025/12/46/image_11072025_12_46_01_9931.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 3.7593438625335693 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 12:53:03.700270
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/12/51/image_11072025_12_51_01_4331.jpg', 2), ('/home/pi/Desktop/images/11072025/12/50/image_11072025_12_50_01_7371.jpg', 2), ('/home/pi/Desktop/images/11072025/12/49/image_11072025_12_49_02_2665.jpg', 2), ('/home/pi/Desktop/images/11072025/12/48/image_11072025_12_48_01_6448.jpg', 2), ('/home/pi/Desktop/images/11072025/12/47/image_11072025_12_47_02_0871.jpg', 2), ('/home/pi/Desktop/images/11072025/12/46/image_11072025_12_46_01_9931.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/12/51/image_11072025_12_51_01_4331.jpg', '/home/pi/Desktop/images/11072025/12/50/image_11072025_12_50_01_7371.jpg', '/home/pi/Desktop/images/11072025/12/49/image_11072025_12_49_02_2665.jpg', '/home/pi/Desktop/images/11072025/12/48/image_11072025_12_48_01_6448.jpg', '/home/pi/Desktop/images/11072025/12/47/image_11072025_12_47_02_0871.jpg', '/home/pi/Desktop/images/11072025/12/46/image_11072025_12_46_01_9931.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/12/51/image_11072025_12_51_01_4331.jpg
/home/pi/Desktop/images/11072025/12/50/image_11072025_12_50_01_7371.jpg
/home/pi/Desktop/images/11072025/12/49/image_11072025_12_49_02_2665.jpg
/home/pi/Desktop/images/11072025/12/48/image_11072025_12_48_01_6448.jpg
/home/pi/Desktop/images/11072025/12/47/image_11072025_12_47_02_0871.jpg
/home/pi/Desktop/images/11072025/12/46/image_11072025_12_46_01_9931.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 12:59:04.383489
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/12/58/image_11072025_12_58_02_0255.jpg', 2), ('/home/pi/Desktop/images/11072025/12/57/image_11072025_12_57_01_6213.jpg', 2), ('/home/pi/Desktop/images/11072025/12/56/image_11072025_12_56_02_1171.jpg', 2), ('/home/pi/Desktop/images/11072025/12/55/image_11072025_12_55_01_3735.jpg', 2), ('/home/pi/Desktop/images/11072025/12/54/image_11072025_12_54_01_7034.jpg', 2), ('/home/pi/Desktop/images/11072025/12/52/image_11072025_12_52_01_4146.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/12/58/image_11072025_12_58_02_0255.jpg', '/home/pi/Desktop/images/11072025/12/57/image_11072025_12_57_01_6213.jpg', '/home/pi/Desktop/images/11072025/12/56/image_11072025_12_56_02_1171.jpg', '/home/pi/Desktop/images/11072025/12/55/image_11072025_12_55_01_3735.jpg', '/home/pi/Desktop/images/11072025/12/54/image_11072025_12_54_01_7034.jpg', '/home/pi/Desktop/images/11072025/12/52/image_11072025_12_52_01_4146.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/12/58/image_11072025_12_58_02_0255.jpg
/home/pi/Desktop/images/11072025/12/57/image_11072025_12_57_01_6213.jpg
/home/pi/Desktop/images/11072025/12/56/image_11072025_12_56_02_1171.jpg
/home/pi/Desktop/images/11072025/12/55/image_11072025_12_55_01_3735.jpg
/home/pi/Desktop/images/11072025/12/54/image_11072025_12_54_01_7034.jpg
/home/pi/Desktop/images/11072025/12/52/image_11072025_12_52_01_4146.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 304.500342130661 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 13:05:04.385655
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/13/03/image_11072025_13_03_01_7791.jpg', 2), ('/home/pi/Desktop/images/11072025/13/02/image_11072025_13_02_02_1655.jpg', 2), ('/home/pi/Desktop/images/11072025/13/01/image_11072025_13_01_01_7025.jpg', 2), ('/home/pi/Desktop/images/11072025/13/00/image_11072025_13_00_01_7028.jpg', 2), ('/home/pi/Desktop/images/11072025/12/59/image_11072025_12_59_01_9874.jpg', 2), ('/home/pi/Desktop/images/11072025/12/58/image_11072025_12_58_02_0255.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/13/03/image_11072025_13_03_01_7791.jpg', '/home/pi/Desktop/images/11072025/13/02/image_11072025_13_02_02_1655.jpg', '/home/pi/Desktop/images/11072025/13/01/image_11072025_13_01_01_7025.jpg', '/home/pi/Desktop/images/11072025/13/00/image_11072025_13_00_01_7028.jpg', '/home/pi/Desktop/images/11072025/12/59/image_11072025_12_59_01_9874.jpg', '/home/pi/Desktop/images/11072025/12/58/image_11072025_12_58_02_0255.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/13/03/image_11072025_13_03_01_7791.jpg
/home/pi/Desktop/images/11072025/13/02/image_11072025_13_02_02_1655.jpg
/home/pi/Desktop/images/11072025/13/01/image_11072025_13_01_01_7025.jpg
/home/pi/Desktop/images/11072025/13/00/image_11072025_13_00_01_7028.jpg
/home/pi/Desktop/images/11072025/12/59/image_11072025_12_59_01_9874.jpg
/home/pi/Desktop/images/11072025/12/58/image_11072025_12_58_02_0255.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 304.4799747467041 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 13:11:04.238765
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/13/10/image_11072025_13_10_01_9469.jpg', 2), ('/home/pi/Desktop/images/11072025/13/09/image_11072025_13_09_01_8537.jpg', 2), ('/home/pi/Desktop/images/11072025/13/08/image_11072025_13_08_02_1391.jpg', 2), ('/home/pi/Desktop/images/11072025/13/07/image_11072025_13_07_01_3465.jpg', 2), ('/home/pi/Desktop/images/11072025/13/06/image_11072025_13_06_01_4488.jpg', 2), ('/home/pi/Desktop/images/11072025/13/04/image_11072025_13_04_01_5383.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/13/10/image_11072025_13_10_01_9469.jpg', '/home/pi/Desktop/images/11072025/13/09/image_11072025_13_09_01_8537.jpg', '/home/pi/Desktop/images/11072025/13/08/image_11072025_13_08_02_1391.jpg', '/home/pi/Desktop/images/11072025/13/07/image_11072025_13_07_01_3465.jpg', '/home/pi/Desktop/images/11072025/13/06/image_11072025_13_06_01_4488.jpg', '/home/pi/Desktop/images/11072025/13/04/image_11072025_13_04_01_5383.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/13/10/image_11072025_13_10_01_9469.jpg
/home/pi/Desktop/images/11072025/13/09/image_11072025_13_09_01_8537.jpg
/home/pi/Desktop/images/11072025/13/08/image_11072025_13_08_02_1391.jpg
/home/pi/Desktop/images/11072025/13/07/image_11072025_13_07_01_3465.jpg
/home/pi/Desktop/images/11072025/13/06/image_11072025_13_06_01_4488.jpg
/home/pi/Desktop/images/11072025/13/04/image_11072025_13_04_01_5383.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 304.2378177642822 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 13:17:04.682357
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/13/14/image_11072025_13_14_02_0390.jpg', 2), ('/home/pi/Desktop/images/11072025/13/12/image_11072025_13_12_01_7193.jpg', 2), ('/home/pi/Desktop/images/11072025/13/11/image_11072025_13_11_01_7243.jpg', 2), ('/home/pi/Desktop/images/11072025/13/10/image_11072025_13_10_01_9469.jpg', 2), ('/home/pi/Desktop/images/11072025/13/09/image_11072025_13_09_01_8537.jpg', 2), ('/home/pi/Desktop/images/11072025/13/08/image_11072025_13_08_02_1391.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/13/14/image_11072025_13_14_02_0390.jpg', '/home/pi/Desktop/images/11072025/13/12/image_11072025_13_12_01_7193.jpg', '/home/pi/Desktop/images/11072025/13/11/image_11072025_13_11_01_7243.jpg', '/home/pi/Desktop/images/11072025/13/10/image_11072025_13_10_01_9469.jpg', '/home/pi/Desktop/images/11072025/13/09/image_11072025_13_09_01_8537.jpg', '/home/pi/Desktop/images/11072025/13/08/image_11072025_13_08_02_1391.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/13/14/image_11072025_13_14_02_0390.jpg
/home/pi/Desktop/images/11072025/13/12/image_11072025_13_12_01_7193.jpg
/home/pi/Desktop/images/11072025/13/11/image_11072025_13_11_01_7243.jpg
/home/pi/Desktop/images/11072025/13/10/image_11072025_13_10_01_9469.jpg
/home/pi/Desktop/images/11072025/13/09/image_11072025_13_09_01_8537.jpg
/home/pi/Desktop/images/11072025/13/08/image_11072025_13_08_02_1391.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 304.2772002220154 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 13:23:04.686715
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/13/22/image_11072025_13_22_01_9208.jpg', 2), ('/home/pi/Desktop/images/11072025/13/21/image_11072025_13_21_01_5469.jpg', 2), ('/home/pi/Desktop/images/11072025/13/20/image_11072025_13_20_01_6504.jpg', 2), ('/home/pi/Desktop/images/11072025/13/19/image_11072025_13_19_01_4008.jpg', 2), ('/home/pi/Desktop/images/11072025/13/18/image_11072025_13_18_02_1589.jpg', 2), ('/home/pi/Desktop/images/11072025/13/16/image_11072025_13_16_01_8899.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/13/22/image_11072025_13_22_01_9208.jpg', '/home/pi/Desktop/images/11072025/13/21/image_11072025_13_21_01_5469.jpg', '/home/pi/Desktop/images/11072025/13/20/image_11072025_13_20_01_6504.jpg', '/home/pi/Desktop/images/11072025/13/19/image_11072025_13_19_01_4008.jpg', '/home/pi/Desktop/images/11072025/13/18/image_11072025_13_18_02_1589.jpg', '/home/pi/Desktop/images/11072025/13/16/image_11072025_13_16_01_8899.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/13/22/image_11072025_13_22_01_9208.jpg
/home/pi/Desktop/images/11072025/13/21/image_11072025_13_21_01_5469.jpg
/home/pi/Desktop/images/11072025/13/20/image_11072025_13_20_01_6504.jpg
/home/pi/Desktop/images/11072025/13/19/image_11072025_13_19_01_4008.jpg
/home/pi/Desktop/images/11072025/13/18/image_11072025_13_18_02_1589.jpg
/home/pi/Desktop/images/11072025/13/16/image_11072025_13_16_01_8899.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 303.92501759529114 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 13:29:04.609378
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
1 photos no longer on disk
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/13/30/image_11072025_13_30_02_0799.jpg', 2), ('/home/pi/Desktop/images/11072025/13/28/image_11072025_13_28_02_2040.jpg', 2), ('/home/pi/Desktop/images/11072025/13/27/image_11072025_13_27_01_9186.jpg', 2), ('/home/pi/Desktop/images/11072025/13/26/image_11072025_13_26_02_1278.jpg', 2), ('/home/pi/Desktop/images/11072025/13/25/image_11072025_13_25_01_8426.jpg', 2), ('/home/pi/Desktop/images/11072025/13/23/image_11072025_13_23_01_3283.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/13/28/image_11072025_13_28_02_2040.jpg', '/home/pi/Desktop/images/11072025/13/27/image_11072025_13_27_01_9186.jpg', '/home/pi/Desktop/images/11072025/13/26/image_11072025_13_26_02_1278.jpg', '/home/pi/Desktop/images/11072025/13/25/image_11072025_13_25_01_8426.jpg', '/home/pi/Desktop/images/11072025/13/23/image_11072025_13_23_01_3283.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/13/28/image_11072025_13_28_02_2040.jpg
/home/pi/Desktop/images/11072025/13/27/image_11072025_13_27_01_9186.jpg
/home/pi/Desktop/images/11072025/13/26/image_11072025_13_26_02_1278.jpg
/home/pi/Desktop/images/11072025/13/25/image_11072025_13_25_01_8426.jpg
/home/pi/Desktop/images/11072025/13/23/image_11072025_13_23_01_3283.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 304.0407943725586 secondes ---
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 377, in upload_from_sqlite
    upload_photo_and_update_logs(files, lsr, port_id, datou_current_id, fc, hashtags = hashtags, verbose = verbose, nb_batch= nb_batch,batch_size=limit)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 74, in upload_photo_and_update_logs
    logger.info("no_longer_on_disk_list:",no_longer_on_disk_list)
Message: 'no_longer_on_disk_list:'
Arguments: (['/home/pi/Desktop/images/11072025/13/30/image_11072025_13_30_02_0799.jpg'],)
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 13:35:04.435263
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/13/33/image_11072025_13_33_01_3715.jpg', 2), ('/home/pi/Desktop/images/11072025/13/32/image_11072025_13_32_01_9320.jpg', 2), ('/home/pi/Desktop/images/11072025/13/31/image_11072025_13_31_01_9529.jpg', 2), ('/home/pi/Desktop/images/11072025/13/29/image_11072025_13_29_01_4152.jpg', 2), ('/home/pi/Desktop/images/11072025/13/28/image_11072025_13_28_02_2040.jpg', 2), ('/home/pi/Desktop/images/11072025/13/27/image_11072025_13_27_01_9186.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/13/33/image_11072025_13_33_01_3715.jpg', '/home/pi/Desktop/images/11072025/13/32/image_11072025_13_32_01_9320.jpg', '/home/pi/Desktop/images/11072025/13/31/image_11072025_13_31_01_9529.jpg', '/home/pi/Desktop/images/11072025/13/29/image_11072025_13_29_01_4152.jpg', '/home/pi/Desktop/images/11072025/13/28/image_11072025_13_28_02_2040.jpg', '/home/pi/Desktop/images/11072025/13/27/image_11072025_13_27_01_9186.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/13/33/image_11072025_13_33_01_3715.jpg
/home/pi/Desktop/images/11072025/13/32/image_11072025_13_32_01_9320.jpg
/home/pi/Desktop/images/11072025/13/31/image_11072025_13_31_01_9529.jpg
/home/pi/Desktop/images/11072025/13/29/image_11072025_13_29_01_4152.jpg
/home/pi/Desktop/images/11072025/13/28/image_11072025_13_28_02_2040.jpg
/home/pi/Desktop/images/11072025/13/27/image_11072025_13_27_01_9186.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 304.21546602249146 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 13:41:04.110858
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/13/39/image_11072025_13_39_01_9632.jpg', 2), ('/home/pi/Desktop/images/11072025/13/37/image_11072025_13_37_01_5900.jpg', 2), ('/home/pi/Desktop/images/11072025/13/35/image_11072025_13_35_01_8141.jpg', 2), ('/home/pi/Desktop/images/11072025/13/33/image_11072025_13_33_01_3715.jpg', 2), ('/home/pi/Desktop/images/11072025/13/32/image_11072025_13_32_01_9320.jpg', 2), ('/home/pi/Desktop/images/11072025/13/31/image_11072025_13_31_01_9529.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/13/39/image_11072025_13_39_01_9632.jpg', '/home/pi/Desktop/images/11072025/13/37/image_11072025_13_37_01_5900.jpg', '/home/pi/Desktop/images/11072025/13/35/image_11072025_13_35_01_8141.jpg', '/home/pi/Desktop/images/11072025/13/33/image_11072025_13_33_01_3715.jpg', '/home/pi/Desktop/images/11072025/13/32/image_11072025_13_32_01_9320.jpg', '/home/pi/Desktop/images/11072025/13/31/image_11072025_13_31_01_9529.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/13/39/image_11072025_13_39_01_9632.jpg
/home/pi/Desktop/images/11072025/13/37/image_11072025_13_37_01_5900.jpg
/home/pi/Desktop/images/11072025/13/35/image_11072025_13_35_01_8141.jpg
/home/pi/Desktop/images/11072025/13/33/image_11072025_13_33_01_3715.jpg
/home/pi/Desktop/images/11072025/13/32/image_11072025_13_32_01_9320.jpg
/home/pi/Desktop/images/11072025/13/31/image_11072025_13_31_01_9529.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 303.77023577690125 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 13:47:04.239990
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/13/46/image_11072025_13_46_01_8118.jpg', 2), ('/home/pi/Desktop/images/11072025/13/45/image_11072025_13_45_01_6224.jpg', 2), ('/home/pi/Desktop/images/11072025/13/44/image_11072025_13_44_02_0055.jpg', 2), ('/home/pi/Desktop/images/11072025/13/43/image_11072025_13_43_02_0585.jpg', 2), ('/home/pi/Desktop/images/11072025/13/42/image_11072025_13_42_01_2682.jpg', 2), ('/home/pi/Desktop/images/11072025/13/41/image_11072025_13_41_01_7986.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/13/46/image_11072025_13_46_01_8118.jpg', '/home/pi/Desktop/images/11072025/13/45/image_11072025_13_45_01_6224.jpg', '/home/pi/Desktop/images/11072025/13/44/image_11072025_13_44_02_0055.jpg', '/home/pi/Desktop/images/11072025/13/43/image_11072025_13_43_02_0585.jpg', '/home/pi/Desktop/images/11072025/13/42/image_11072025_13_42_01_2682.jpg', '/home/pi/Desktop/images/11072025/13/41/image_11072025_13_41_01_7986.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/13/46/image_11072025_13_46_01_8118.jpg
/home/pi/Desktop/images/11072025/13/45/image_11072025_13_45_01_6224.jpg
/home/pi/Desktop/images/11072025/13/44/image_11072025_13_44_02_0055.jpg
/home/pi/Desktop/images/11072025/13/43/image_11072025_13_43_02_0585.jpg
/home/pi/Desktop/images/11072025/13/42/image_11072025_13_42_01_2682.jpg
/home/pi/Desktop/images/11072025/13/41/image_11072025_13_41_01_7986.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 304.46407771110535 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 13:53:04.297452
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/13/51/image_11072025_13_51_01_5121.jpg', 2), ('/home/pi/Desktop/images/11072025/13/50/image_11072025_13_50_01_6476.jpg', 2), ('/home/pi/Desktop/images/11072025/13/49/image_11072025_13_49_01_3728.jpg', 2), ('/home/pi/Desktop/images/11072025/13/47/image_11072025_13_47_01_7963.jpg', 2), ('/home/pi/Desktop/images/11072025/13/46/image_11072025_13_46_01_8118.jpg', 2), ('/home/pi/Desktop/images/11072025/13/45/image_11072025_13_45_01_6224.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/13/51/image_11072025_13_51_01_5121.jpg', '/home/pi/Desktop/images/11072025/13/50/image_11072025_13_50_01_6476.jpg', '/home/pi/Desktop/images/11072025/13/49/image_11072025_13_49_01_3728.jpg', '/home/pi/Desktop/images/11072025/13/47/image_11072025_13_47_01_7963.jpg', '/home/pi/Desktop/images/11072025/13/46/image_11072025_13_46_01_8118.jpg', '/home/pi/Desktop/images/11072025/13/45/image_11072025_13_45_01_6224.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/13/51/image_11072025_13_51_01_5121.jpg
/home/pi/Desktop/images/11072025/13/50/image_11072025_13_50_01_6476.jpg
/home/pi/Desktop/images/11072025/13/49/image_11072025_13_49_01_3728.jpg
/home/pi/Desktop/images/11072025/13/47/image_11072025_13_47_01_7963.jpg
/home/pi/Desktop/images/11072025/13/46/image_11072025_13_46_01_8118.jpg
/home/pi/Desktop/images/11072025/13/45/image_11072025_13_45_01_6224.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 13:59:04.012603
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/13/55/image_11072025_13_55_01_6271.jpg', 2), ('/home/pi/Desktop/images/11072025/13/54/image_11072025_13_54_01_6563.jpg', 2), ('/home/pi/Desktop/images/11072025/13/52/image_11072025_13_52_02_0120.jpg', 2), ('/home/pi/Desktop/images/11072025/13/51/image_11072025_13_51_01_5121.jpg', 2), ('/home/pi/Desktop/images/11072025/13/50/image_11072025_13_50_01_6476.jpg', 2), ('/home/pi/Desktop/images/11072025/13/49/image_11072025_13_49_01_3728.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/13/55/image_11072025_13_55_01_6271.jpg', '/home/pi/Desktop/images/11072025/13/54/image_11072025_13_54_01_6563.jpg', '/home/pi/Desktop/images/11072025/13/52/image_11072025_13_52_02_0120.jpg', '/home/pi/Desktop/images/11072025/13/51/image_11072025_13_51_01_5121.jpg', '/home/pi/Desktop/images/11072025/13/50/image_11072025_13_50_01_6476.jpg', '/home/pi/Desktop/images/11072025/13/49/image_11072025_13_49_01_3728.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/13/55/image_11072025_13_55_01_6271.jpg
/home/pi/Desktop/images/11072025/13/54/image_11072025_13_54_01_6563.jpg
/home/pi/Desktop/images/11072025/13/52/image_11072025_13_52_02_0120.jpg
/home/pi/Desktop/images/11072025/13/51/image_11072025_13_51_01_5121.jpg
/home/pi/Desktop/images/11072025/13/50/image_11072025_13_50_01_6476.jpg
/home/pi/Desktop/images/11072025/13/49/image_11072025_13_49_01_3728.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 304.39857172966003 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 14:05:04.282699
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/14/00/image_11072025_14_00_01_3623.jpg', 2), ('/home/pi/Desktop/images/11072025/13/58/image_11072025_13_58_01_8157.jpg', 2), ('/home/pi/Desktop/images/11072025/13/55/image_11072025_13_55_01_6271.jpg', 2), ('/home/pi/Desktop/images/11072025/13/54/image_11072025_13_54_01_6563.jpg', 2), ('/home/pi/Desktop/images/11072025/13/52/image_11072025_13_52_02_0120.jpg', 2), ('/home/pi/Desktop/images/11072025/13/51/image_11072025_13_51_01_5121.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/14/00/image_11072025_14_00_01_3623.jpg', '/home/pi/Desktop/images/11072025/13/58/image_11072025_13_58_01_8157.jpg', '/home/pi/Desktop/images/11072025/13/55/image_11072025_13_55_01_6271.jpg', '/home/pi/Desktop/images/11072025/13/54/image_11072025_13_54_01_6563.jpg', '/home/pi/Desktop/images/11072025/13/52/image_11072025_13_52_02_0120.jpg', '/home/pi/Desktop/images/11072025/13/51/image_11072025_13_51_01_5121.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/14/00/image_11072025_14_00_01_3623.jpg
/home/pi/Desktop/images/11072025/13/58/image_11072025_13_58_01_8157.jpg
/home/pi/Desktop/images/11072025/13/55/image_11072025_13_55_01_6271.jpg
/home/pi/Desktop/images/11072025/13/54/image_11072025_13_54_01_6563.jpg
/home/pi/Desktop/images/11072025/13/52/image_11072025_13_52_02_0120.jpg
/home/pi/Desktop/images/11072025/13/51/image_11072025_13_51_01_5121.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 304.5840802192688 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 14:11:04.772148
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/14/10/image_11072025_14_10_01_5888.jpg', 2), ('/home/pi/Desktop/images/11072025/14/08/image_11072025_14_08_01_9799.jpg', 2), ('/home/pi/Desktop/images/11072025/14/02/image_11072025_14_02_01_4916.jpg', 2), ('/home/pi/Desktop/images/11072025/14/00/image_11072025_14_00_01_3623.jpg', 2), ('/home/pi/Desktop/images/11072025/13/58/image_11072025_13_58_01_8157.jpg', 2), ('/home/pi/Desktop/images/11072025/13/55/image_11072025_13_55_01_6271.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/14/10/image_11072025_14_10_01_5888.jpg', '/home/pi/Desktop/images/11072025/14/08/image_11072025_14_08_01_9799.jpg', '/home/pi/Desktop/images/11072025/14/02/image_11072025_14_02_01_4916.jpg', '/home/pi/Desktop/images/11072025/14/00/image_11072025_14_00_01_3623.jpg', '/home/pi/Desktop/images/11072025/13/58/image_11072025_13_58_01_8157.jpg', '/home/pi/Desktop/images/11072025/13/55/image_11072025_13_55_01_6271.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/14/10/image_11072025_14_10_01_5888.jpg
/home/pi/Desktop/images/11072025/14/08/image_11072025_14_08_01_9799.jpg
/home/pi/Desktop/images/11072025/14/02/image_11072025_14_02_01_4916.jpg
/home/pi/Desktop/images/11072025/14/00/image_11072025_14_00_01_3623.jpg
/home/pi/Desktop/images/11072025/13/58/image_11072025_13_58_01_8157.jpg
/home/pi/Desktop/images/11072025/13/55/image_11072025_13_55_01_6271.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 304.20492792129517 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 14:17:04.879918
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/14/16/image_11072025_14_16_02_1020.jpg', 2), ('/home/pi/Desktop/images/11072025/14/15/image_11072025_14_15_01_6916.jpg', 2), ('/home/pi/Desktop/images/11072025/14/14/image_11072025_14_14_01_7033.jpg', 2), ('/home/pi/Desktop/images/11072025/14/13/image_11072025_14_13_01_3206.jpg', 2), ('/home/pi/Desktop/images/11072025/14/12/image_11072025_14_12_02_1120.jpg', 2), ('/home/pi/Desktop/images/11072025/14/11/image_11072025_14_11_01_3337.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/14/16/image_11072025_14_16_02_1020.jpg', '/home/pi/Desktop/images/11072025/14/15/image_11072025_14_15_01_6916.jpg', '/home/pi/Desktop/images/11072025/14/14/image_11072025_14_14_01_7033.jpg', '/home/pi/Desktop/images/11072025/14/13/image_11072025_14_13_01_3206.jpg', '/home/pi/Desktop/images/11072025/14/12/image_11072025_14_12_02_1120.jpg', '/home/pi/Desktop/images/11072025/14/11/image_11072025_14_11_01_3337.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/14/16/image_11072025_14_16_02_1020.jpg
/home/pi/Desktop/images/11072025/14/15/image_11072025_14_15_01_6916.jpg
/home/pi/Desktop/images/11072025/14/14/image_11072025_14_14_01_7033.jpg
/home/pi/Desktop/images/11072025/14/13/image_11072025_14_13_01_3206.jpg
/home/pi/Desktop/images/11072025/14/12/image_11072025_14_12_02_1120.jpg
/home/pi/Desktop/images/11072025/14/11/image_11072025_14_11_01_3337.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 308.37387561798096 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 14:23:04.564733
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/14/20/image_11072025_14_20_01_9438.jpg', 2), ('/home/pi/Desktop/images/11072025/14/19/image_11072025_14_19_01_6076.jpg', 2), ('/home/pi/Desktop/images/11072025/14/18/image_11072025_14_18_02_1142.jpg', 2), ('/home/pi/Desktop/images/11072025/14/17/image_11072025_14_17_01_4053.jpg', 2), ('/home/pi/Desktop/images/11072025/14/16/image_11072025_14_16_02_1020.jpg', 2), ('/home/pi/Desktop/images/11072025/14/15/image_11072025_14_15_01_6916.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/14/20/image_11072025_14_20_01_9438.jpg', '/home/pi/Desktop/images/11072025/14/19/image_11072025_14_19_01_6076.jpg', '/home/pi/Desktop/images/11072025/14/18/image_11072025_14_18_02_1142.jpg', '/home/pi/Desktop/images/11072025/14/17/image_11072025_14_17_01_4053.jpg', '/home/pi/Desktop/images/11072025/14/16/image_11072025_14_16_02_1020.jpg', '/home/pi/Desktop/images/11072025/14/15/image_11072025_14_15_01_6916.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/14/20/image_11072025_14_20_01_9438.jpg
/home/pi/Desktop/images/11072025/14/19/image_11072025_14_19_01_6076.jpg
/home/pi/Desktop/images/11072025/14/18/image_11072025_14_18_02_1142.jpg
/home/pi/Desktop/images/11072025/14/17/image_11072025_14_17_01_4053.jpg
/home/pi/Desktop/images/11072025/14/16/image_11072025_14_16_02_1020.jpg
/home/pi/Desktop/images/11072025/14/15/image_11072025_14_15_01_6916.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 304.157541513443 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 14:29:04.187205
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/14/23/image_11072025_14_23_02_0581.jpg', 2), ('/home/pi/Desktop/images/11072025/14/20/image_11072025_14_20_01_9438.jpg', 2), ('/home/pi/Desktop/images/11072025/14/19/image_11072025_14_19_01_6076.jpg', 2), ('/home/pi/Desktop/images/11072025/14/18/image_11072025_14_18_02_1142.jpg', 2), ('/home/pi/Desktop/images/11072025/14/17/image_11072025_14_17_01_4053.jpg', 2), ('/home/pi/Desktop/images/11072025/14/16/image_11072025_14_16_02_1020.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/14/23/image_11072025_14_23_02_0581.jpg', '/home/pi/Desktop/images/11072025/14/20/image_11072025_14_20_01_9438.jpg', '/home/pi/Desktop/images/11072025/14/19/image_11072025_14_19_01_6076.jpg', '/home/pi/Desktop/images/11072025/14/18/image_11072025_14_18_02_1142.jpg', '/home/pi/Desktop/images/11072025/14/17/image_11072025_14_17_01_4053.jpg', '/home/pi/Desktop/images/11072025/14/16/image_11072025_14_16_02_1020.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/14/23/image_11072025_14_23_02_0581.jpg
/home/pi/Desktop/images/11072025/14/20/image_11072025_14_20_01_9438.jpg
/home/pi/Desktop/images/11072025/14/19/image_11072025_14_19_01_6076.jpg
/home/pi/Desktop/images/11072025/14/18/image_11072025_14_18_02_1142.jpg
/home/pi/Desktop/images/11072025/14/17/image_11072025_14_17_01_4053.jpg
/home/pi/Desktop/images/11072025/14/16/image_11072025_14_16_02_1020.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 3.9375929832458496 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 14:30:05.272993
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/14/29/image_11072025_14_29_02_1771.jpg', 2), ('/home/pi/Desktop/images/11072025/14/23/image_11072025_14_23_02_0581.jpg', 2), ('/home/pi/Desktop/images/11072025/14/20/image_11072025_14_20_01_9438.jpg', 2), ('/home/pi/Desktop/images/11072025/14/19/image_11072025_14_19_01_6076.jpg', 2), ('/home/pi/Desktop/images/11072025/14/18/image_11072025_14_18_02_1142.jpg', 2), ('/home/pi/Desktop/images/11072025/14/17/image_11072025_14_17_01_4053.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/14/29/image_11072025_14_29_02_1771.jpg', '/home/pi/Desktop/images/11072025/14/23/image_11072025_14_23_02_0581.jpg', '/home/pi/Desktop/images/11072025/14/20/image_11072025_14_20_01_9438.jpg', '/home/pi/Desktop/images/11072025/14/19/image_11072025_14_19_01_6076.jpg', '/home/pi/Desktop/images/11072025/14/18/image_11072025_14_18_02_1142.jpg', '/home/pi/Desktop/images/11072025/14/17/image_11072025_14_17_01_4053.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/14/29/image_11072025_14_29_02_1771.jpg
/home/pi/Desktop/images/11072025/14/23/image_11072025_14_23_02_0581.jpg
/home/pi/Desktop/images/11072025/14/20/image_11072025_14_20_01_9438.jpg
/home/pi/Desktop/images/11072025/14/19/image_11072025_14_19_01_6076.jpg
/home/pi/Desktop/images/11072025/14/18/image_11072025_14_18_02_1142.jpg
/home/pi/Desktop/images/11072025/14/17/image_11072025_14_17_01_4053.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 3.9064977169036865 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 14:31:04.157270
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/14/30/image_11072025_14_30_01_7647.jpg', 2), ('/home/pi/Desktop/images/11072025/14/29/image_11072025_14_29_02_1771.jpg', 2), ('/home/pi/Desktop/images/11072025/14/23/image_11072025_14_23_02_0581.jpg', 2), ('/home/pi/Desktop/images/11072025/14/20/image_11072025_14_20_01_9438.jpg', 2), ('/home/pi/Desktop/images/11072025/14/19/image_11072025_14_19_01_6076.jpg', 2), ('/home/pi/Desktop/images/11072025/14/18/image_11072025_14_18_02_1142.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/14/30/image_11072025_14_30_01_7647.jpg', '/home/pi/Desktop/images/11072025/14/29/image_11072025_14_29_02_1771.jpg', '/home/pi/Desktop/images/11072025/14/23/image_11072025_14_23_02_0581.jpg', '/home/pi/Desktop/images/11072025/14/20/image_11072025_14_20_01_9438.jpg', '/home/pi/Desktop/images/11072025/14/19/image_11072025_14_19_01_6076.jpg', '/home/pi/Desktop/images/11072025/14/18/image_11072025_14_18_02_1142.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/14/30/image_11072025_14_30_01_7647.jpg
/home/pi/Desktop/images/11072025/14/29/image_11072025_14_29_02_1771.jpg
/home/pi/Desktop/images/11072025/14/23/image_11072025_14_23_02_0581.jpg
/home/pi/Desktop/images/11072025/14/20/image_11072025_14_20_01_9438.jpg
/home/pi/Desktop/images/11072025/14/19/image_11072025_14_19_01_6076.jpg
/home/pi/Desktop/images/11072025/14/18/image_11072025_14_18_02_1142.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 305.1882359981537 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 14:37:04.452064
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/14/36/image_11072025_14_36_01_7434.jpg', 2), ('/home/pi/Desktop/images/11072025/14/35/image_11072025_14_35_01_7453.jpg', 2), ('/home/pi/Desktop/images/11072025/14/34/image_11072025_14_34_01_9841.jpg', 2), ('/home/pi/Desktop/images/11072025/14/33/image_11072025_14_33_02_0429.jpg', 2), ('/home/pi/Desktop/images/11072025/14/32/image_11072025_14_32_01_6717.jpg', 2), ('/home/pi/Desktop/images/11072025/14/31/image_11072025_14_31_02_1078.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/14/36/image_11072025_14_36_01_7434.jpg', '/home/pi/Desktop/images/11072025/14/35/image_11072025_14_35_01_7453.jpg', '/home/pi/Desktop/images/11072025/14/34/image_11072025_14_34_01_9841.jpg', '/home/pi/Desktop/images/11072025/14/33/image_11072025_14_33_02_0429.jpg', '/home/pi/Desktop/images/11072025/14/32/image_11072025_14_32_01_6717.jpg', '/home/pi/Desktop/images/11072025/14/31/image_11072025_14_31_02_1078.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/14/36/image_11072025_14_36_01_7434.jpg
/home/pi/Desktop/images/11072025/14/35/image_11072025_14_35_01_7453.jpg
/home/pi/Desktop/images/11072025/14/34/image_11072025_14_34_01_9841.jpg
/home/pi/Desktop/images/11072025/14/33/image_11072025_14_33_02_0429.jpg
/home/pi/Desktop/images/11072025/14/32/image_11072025_14_32_01_6717.jpg
/home/pi/Desktop/images/11072025/14/31/image_11072025_14_31_02_1078.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 303.43840289115906 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 14:43:03.931251
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/14/42/image_11072025_14_42_01_4122.jpg', 2), ('/home/pi/Desktop/images/11072025/14/41/image_11072025_14_41_01_3711.jpg', 2), ('/home/pi/Desktop/images/11072025/14/40/image_11072025_14_40_01_3397.jpg', 2), ('/home/pi/Desktop/images/11072025/14/39/image_11072025_14_39_01_8414.jpg', 2), ('/home/pi/Desktop/images/11072025/14/38/image_11072025_14_38_01_9686.jpg', 2), ('/home/pi/Desktop/images/11072025/14/37/image_11072025_14_37_02_2312.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/14/42/image_11072025_14_42_01_4122.jpg', '/home/pi/Desktop/images/11072025/14/41/image_11072025_14_41_01_3711.jpg', '/home/pi/Desktop/images/11072025/14/40/image_11072025_14_40_01_3397.jpg', '/home/pi/Desktop/images/11072025/14/39/image_11072025_14_39_01_8414.jpg', '/home/pi/Desktop/images/11072025/14/38/image_11072025_14_38_01_9686.jpg', '/home/pi/Desktop/images/11072025/14/37/image_11072025_14_37_02_2312.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/14/42/image_11072025_14_42_01_4122.jpg
/home/pi/Desktop/images/11072025/14/41/image_11072025_14_41_01_3711.jpg
/home/pi/Desktop/images/11072025/14/40/image_11072025_14_40_01_3397.jpg
/home/pi/Desktop/images/11072025/14/39/image_11072025_14_39_01_8414.jpg
/home/pi/Desktop/images/11072025/14/38/image_11072025_14_38_01_9686.jpg
/home/pi/Desktop/images/11072025/14/37/image_11072025_14_37_02_2312.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 303.74961614608765 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 14:49:04.101255
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/14/48/image_11072025_14_48_02_1341.jpg', 2), ('/home/pi/Desktop/images/11072025/14/47/image_11072025_14_47_01_8854.jpg', 2), ('/home/pi/Desktop/images/11072025/14/46/image_11072025_14_46_01_8304.jpg', 2), ('/home/pi/Desktop/images/11072025/14/45/image_11072025_14_45_01_3019.jpg', 2), ('/home/pi/Desktop/images/11072025/14/44/image_11072025_14_44_01_3500.jpg', 2), ('/home/pi/Desktop/images/11072025/14/43/image_11072025_14_43_01_5780.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/14/48/image_11072025_14_48_02_1341.jpg', '/home/pi/Desktop/images/11072025/14/47/image_11072025_14_47_01_8854.jpg', '/home/pi/Desktop/images/11072025/14/46/image_11072025_14_46_01_8304.jpg', '/home/pi/Desktop/images/11072025/14/45/image_11072025_14_45_01_3019.jpg', '/home/pi/Desktop/images/11072025/14/44/image_11072025_14_44_01_3500.jpg', '/home/pi/Desktop/images/11072025/14/43/image_11072025_14_43_01_5780.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/14/48/image_11072025_14_48_02_1341.jpg
/home/pi/Desktop/images/11072025/14/47/image_11072025_14_47_01_8854.jpg
/home/pi/Desktop/images/11072025/14/46/image_11072025_14_46_01_8304.jpg
/home/pi/Desktop/images/11072025/14/45/image_11072025_14_45_01_3019.jpg
/home/pi/Desktop/images/11072025/14/44/image_11072025_14_44_01_3500.jpg
/home/pi/Desktop/images/11072025/14/43/image_11072025_14_43_01_5780.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 303.9259252548218 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 14:55:04.280439
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/14/54/image_11072025_14_54_01_7705.jpg', 2), ('/home/pi/Desktop/images/11072025/14/53/image_11072025_14_53_01_6802.jpg', 2), ('/home/pi/Desktop/images/11072025/14/52/image_11072025_14_52_01_9260.jpg', 2), ('/home/pi/Desktop/images/11072025/14/51/image_11072025_14_51_01_7308.jpg', 2), ('/home/pi/Desktop/images/11072025/14/50/image_11072025_14_50_01_5833.jpg', 2), ('/home/pi/Desktop/images/11072025/14/49/image_11072025_14_49_02_0061.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/14/54/image_11072025_14_54_01_7705.jpg', '/home/pi/Desktop/images/11072025/14/53/image_11072025_14_53_01_6802.jpg', '/home/pi/Desktop/images/11072025/14/52/image_11072025_14_52_01_9260.jpg', '/home/pi/Desktop/images/11072025/14/51/image_11072025_14_51_01_7308.jpg', '/home/pi/Desktop/images/11072025/14/50/image_11072025_14_50_01_5833.jpg', '/home/pi/Desktop/images/11072025/14/49/image_11072025_14_49_02_0061.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/14/54/image_11072025_14_54_01_7705.jpg
/home/pi/Desktop/images/11072025/14/53/image_11072025_14_53_01_6802.jpg
/home/pi/Desktop/images/11072025/14/52/image_11072025_14_52_01_9260.jpg
/home/pi/Desktop/images/11072025/14/51/image_11072025_14_51_01_7308.jpg
/home/pi/Desktop/images/11072025/14/50/image_11072025_14_50_01_5833.jpg
/home/pi/Desktop/images/11072025/14/49/image_11072025_14_49_02_0061.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 14:59:03.895757
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/14/57/image_11072025_14_57_02_1079.jpg', 2), ('/home/pi/Desktop/images/11072025/14/56/image_11072025_14_56_01_8067.jpg', 2), ('/home/pi/Desktop/images/11072025/14/55/image_11072025_14_55_02_1673.jpg', 2), ('/home/pi/Desktop/images/11072025/14/54/image_11072025_14_54_01_7705.jpg', 2), ('/home/pi/Desktop/images/11072025/14/53/image_11072025_14_53_01_6802.jpg', 2), ('/home/pi/Desktop/images/11072025/14/52/image_11072025_14_52_01_9260.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/14/57/image_11072025_14_57_02_1079.jpg', '/home/pi/Desktop/images/11072025/14/56/image_11072025_14_56_01_8067.jpg', '/home/pi/Desktop/images/11072025/14/55/image_11072025_14_55_02_1673.jpg', '/home/pi/Desktop/images/11072025/14/54/image_11072025_14_54_01_7705.jpg', '/home/pi/Desktop/images/11072025/14/53/image_11072025_14_53_01_6802.jpg', '/home/pi/Desktop/images/11072025/14/52/image_11072025_14_52_01_9260.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/14/57/image_11072025_14_57_02_1079.jpg
/home/pi/Desktop/images/11072025/14/56/image_11072025_14_56_01_8067.jpg
/home/pi/Desktop/images/11072025/14/55/image_11072025_14_55_02_1673.jpg
/home/pi/Desktop/images/11072025/14/54/image_11072025_14_54_01_7705.jpg
/home/pi/Desktop/images/11072025/14/53/image_11072025_14_53_01_6802.jpg
/home/pi/Desktop/images/11072025/14/52/image_11072025_14_52_01_9260.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 303.7445819377899 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 15:05:05.251215
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/15/03/image_11072025_15_03_02_1288.jpg', 2), ('/home/pi/Desktop/images/11072025/15/00/image_11072025_15_00_01_3694.jpg', 2), ('/home/pi/Desktop/images/11072025/14/58/image_11072025_14_58_02_1313.jpg', 2), ('/home/pi/Desktop/images/11072025/14/57/image_11072025_14_57_02_1079.jpg', 2), ('/home/pi/Desktop/images/11072025/14/56/image_11072025_14_56_01_8067.jpg', 2), ('/home/pi/Desktop/images/11072025/14/55/image_11072025_14_55_02_1673.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/15/03/image_11072025_15_03_02_1288.jpg', '/home/pi/Desktop/images/11072025/15/00/image_11072025_15_00_01_3694.jpg', '/home/pi/Desktop/images/11072025/14/58/image_11072025_14_58_02_1313.jpg', '/home/pi/Desktop/images/11072025/14/57/image_11072025_14_57_02_1079.jpg', '/home/pi/Desktop/images/11072025/14/56/image_11072025_14_56_01_8067.jpg', '/home/pi/Desktop/images/11072025/14/55/image_11072025_14_55_02_1673.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/15/03/image_11072025_15_03_02_1288.jpg
/home/pi/Desktop/images/11072025/15/00/image_11072025_15_00_01_3694.jpg
/home/pi/Desktop/images/11072025/14/58/image_11072025_14_58_02_1313.jpg
/home/pi/Desktop/images/11072025/14/57/image_11072025_14_57_02_1079.jpg
/home/pi/Desktop/images/11072025/14/56/image_11072025_14_56_01_8067.jpg
/home/pi/Desktop/images/11072025/14/55/image_11072025_14_55_02_1673.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 304.0438575744629 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 15:11:05.429040
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/15/10/image_11072025_15_10_02_2352.jpg', 2), ('/home/pi/Desktop/images/11072025/15/09/image_11072025_15_09_01_7931.jpg', 2), ('/home/pi/Desktop/images/11072025/15/04/image_11072025_15_04_01_9186.jpg', 2), ('/home/pi/Desktop/images/11072025/15/03/image_11072025_15_03_02_1288.jpg', 2), ('/home/pi/Desktop/images/11072025/15/00/image_11072025_15_00_01_3694.jpg', 2), ('/home/pi/Desktop/images/11072025/14/58/image_11072025_14_58_02_1313.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/15/10/image_11072025_15_10_02_2352.jpg', '/home/pi/Desktop/images/11072025/15/09/image_11072025_15_09_01_7931.jpg', '/home/pi/Desktop/images/11072025/15/04/image_11072025_15_04_01_9186.jpg', '/home/pi/Desktop/images/11072025/15/03/image_11072025_15_03_02_1288.jpg', '/home/pi/Desktop/images/11072025/15/00/image_11072025_15_00_01_3694.jpg', '/home/pi/Desktop/images/11072025/14/58/image_11072025_14_58_02_1313.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/15/10/image_11072025_15_10_02_2352.jpg
/home/pi/Desktop/images/11072025/15/09/image_11072025_15_09_01_7931.jpg
/home/pi/Desktop/images/11072025/15/04/image_11072025_15_04_01_9186.jpg
/home/pi/Desktop/images/11072025/15/03/image_11072025_15_03_02_1288.jpg
/home/pi/Desktop/images/11072025/15/00/image_11072025_15_00_01_3694.jpg
/home/pi/Desktop/images/11072025/14/58/image_11072025_14_58_02_1313.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 304.1548275947571 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 15:17:04.427354
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/15/11/image_11072025_15_11_01_6603.jpg', 2), ('/home/pi/Desktop/images/11072025/15/10/image_11072025_15_10_02_2352.jpg', 2), ('/home/pi/Desktop/images/11072025/15/09/image_11072025_15_09_01_7931.jpg', 2), ('/home/pi/Desktop/images/11072025/15/04/image_11072025_15_04_01_9186.jpg', 2), ('/home/pi/Desktop/images/11072025/15/03/image_11072025_15_03_02_1288.jpg', 2), ('/home/pi/Desktop/images/11072025/15/00/image_11072025_15_00_01_3694.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/15/11/image_11072025_15_11_01_6603.jpg', '/home/pi/Desktop/images/11072025/15/10/image_11072025_15_10_02_2352.jpg', '/home/pi/Desktop/images/11072025/15/09/image_11072025_15_09_01_7931.jpg', '/home/pi/Desktop/images/11072025/15/04/image_11072025_15_04_01_9186.jpg', '/home/pi/Desktop/images/11072025/15/03/image_11072025_15_03_02_1288.jpg', '/home/pi/Desktop/images/11072025/15/00/image_11072025_15_00_01_3694.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/15/11/image_11072025_15_11_01_6603.jpg
/home/pi/Desktop/images/11072025/15/10/image_11072025_15_10_02_2352.jpg
/home/pi/Desktop/images/11072025/15/09/image_11072025_15_09_01_7931.jpg
/home/pi/Desktop/images/11072025/15/04/image_11072025_15_04_01_9186.jpg
/home/pi/Desktop/images/11072025/15/03/image_11072025_15_03_02_1288.jpg
/home/pi/Desktop/images/11072025/15/00/image_11072025_15_00_01_3694.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 3.551525354385376 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 15:18:05.433876
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/15/11/image_11072025_15_11_01_6603.jpg', 2), ('/home/pi/Desktop/images/11072025/15/10/image_11072025_15_10_02_2352.jpg', 2), ('/home/pi/Desktop/images/11072025/15/09/image_11072025_15_09_01_7931.jpg', 2), ('/home/pi/Desktop/images/11072025/15/04/image_11072025_15_04_01_9186.jpg', 2), ('/home/pi/Desktop/images/11072025/15/03/image_11072025_15_03_02_1288.jpg', 2), ('/home/pi/Desktop/images/11072025/15/00/image_11072025_15_00_01_3694.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/15/11/image_11072025_15_11_01_6603.jpg', '/home/pi/Desktop/images/11072025/15/10/image_11072025_15_10_02_2352.jpg', '/home/pi/Desktop/images/11072025/15/09/image_11072025_15_09_01_7931.jpg', '/home/pi/Desktop/images/11072025/15/04/image_11072025_15_04_01_9186.jpg', '/home/pi/Desktop/images/11072025/15/03/image_11072025_15_03_02_1288.jpg', '/home/pi/Desktop/images/11072025/15/00/image_11072025_15_00_01_3694.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/15/11/image_11072025_15_11_01_6603.jpg
/home/pi/Desktop/images/11072025/15/10/image_11072025_15_10_02_2352.jpg
/home/pi/Desktop/images/11072025/15/09/image_11072025_15_09_01_7931.jpg
/home/pi/Desktop/images/11072025/15/04/image_11072025_15_04_01_9186.jpg
/home/pi/Desktop/images/11072025/15/03/image_11072025_15_03_02_1288.jpg
/home/pi/Desktop/images/11072025/15/00/image_11072025_15_00_01_3694.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 302.47339630126953 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 15:24:03.268527
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/15/17/image_11072025_15_17_01_8715.jpg', 2), ('/home/pi/Desktop/images/11072025/15/11/image_11072025_15_11_01_6603.jpg', 2), ('/home/pi/Desktop/images/11072025/15/10/image_11072025_15_10_02_2352.jpg', 2), ('/home/pi/Desktop/images/11072025/15/09/image_11072025_15_09_01_7931.jpg', 2), ('/home/pi/Desktop/images/11072025/15/04/image_11072025_15_04_01_9186.jpg', 2), ('/home/pi/Desktop/images/11072025/15/03/image_11072025_15_03_02_1288.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/15/17/image_11072025_15_17_01_8715.jpg', '/home/pi/Desktop/images/11072025/15/11/image_11072025_15_11_01_6603.jpg', '/home/pi/Desktop/images/11072025/15/10/image_11072025_15_10_02_2352.jpg', '/home/pi/Desktop/images/11072025/15/09/image_11072025_15_09_01_7931.jpg', '/home/pi/Desktop/images/11072025/15/04/image_11072025_15_04_01_9186.jpg', '/home/pi/Desktop/images/11072025/15/03/image_11072025_15_03_02_1288.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/15/17/image_11072025_15_17_01_8715.jpg
/home/pi/Desktop/images/11072025/15/11/image_11072025_15_11_01_6603.jpg
/home/pi/Desktop/images/11072025/15/10/image_11072025_15_10_02_2352.jpg
/home/pi/Desktop/images/11072025/15/09/image_11072025_15_09_01_7931.jpg
/home/pi/Desktop/images/11072025/15/04/image_11072025_15_04_01_9186.jpg
/home/pi/Desktop/images/11072025/15/03/image_11072025_15_03_02_1288.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 303.7341639995575 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 15:30:02.960597
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
Traceback (most recent call last):
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 283, in upload_from_sqlite
    limit=limit*nb_batch, order=order, verbose = verbose)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/lib/conn_sqlite.py", line 353, in find_photo_filenames_in_diff_status
    cur.execute(query_select)
sqlite3.OperationalError: database is locked
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 15:31:03.830708
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/15/17/image_11072025_15_17_01_8715.jpg', 2), ('/home/pi/Desktop/images/11072025/15/11/image_11072025_15_11_01_6603.jpg', 2), ('/home/pi/Desktop/images/11072025/15/10/image_11072025_15_10_02_2352.jpg', 2), ('/home/pi/Desktop/images/11072025/15/09/image_11072025_15_09_01_7931.jpg', 2), ('/home/pi/Desktop/images/11072025/15/04/image_11072025_15_04_01_9186.jpg', 2), ('/home/pi/Desktop/images/11072025/15/03/image_11072025_15_03_02_1288.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/15/17/image_11072025_15_17_01_8715.jpg', '/home/pi/Desktop/images/11072025/15/11/image_11072025_15_11_01_6603.jpg', '/home/pi/Desktop/images/11072025/15/10/image_11072025_15_10_02_2352.jpg', '/home/pi/Desktop/images/11072025/15/09/image_11072025_15_09_01_7931.jpg', '/home/pi/Desktop/images/11072025/15/04/image_11072025_15_04_01_9186.jpg', '/home/pi/Desktop/images/11072025/15/03/image_11072025_15_03_02_1288.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/15/17/image_11072025_15_17_01_8715.jpg
/home/pi/Desktop/images/11072025/15/11/image_11072025_15_11_01_6603.jpg
/home/pi/Desktop/images/11072025/15/10/image_11072025_15_10_02_2352.jpg
/home/pi/Desktop/images/11072025/15/09/image_11072025_15_09_01_7931.jpg
/home/pi/Desktop/images/11072025/15/04/image_11072025_15_04_01_9186.jpg
/home/pi/Desktop/images/11072025/15/03/image_11072025_15_03_02_1288.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 303.63717794418335 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 15:37:03.492875
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/15/17/image_11072025_15_17_01_8715.jpg', 2), ('/home/pi/Desktop/images/11072025/15/11/image_11072025_15_11_01_6603.jpg', 2), ('/home/pi/Desktop/images/11072025/15/10/image_11072025_15_10_02_2352.jpg', 2), ('/home/pi/Desktop/images/11072025/15/09/image_11072025_15_09_01_7931.jpg', 2), ('/home/pi/Desktop/images/11072025/15/04/image_11072025_15_04_01_9186.jpg', 2), ('/home/pi/Desktop/images/11072025/15/03/image_11072025_15_03_02_1288.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/15/17/image_11072025_15_17_01_8715.jpg', '/home/pi/Desktop/images/11072025/15/11/image_11072025_15_11_01_6603.jpg', '/home/pi/Desktop/images/11072025/15/10/image_11072025_15_10_02_2352.jpg', '/home/pi/Desktop/images/11072025/15/09/image_11072025_15_09_01_7931.jpg', '/home/pi/Desktop/images/11072025/15/04/image_11072025_15_04_01_9186.jpg', '/home/pi/Desktop/images/11072025/15/03/image_11072025_15_03_02_1288.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/15/17/image_11072025_15_17_01_8715.jpg
/home/pi/Desktop/images/11072025/15/11/image_11072025_15_11_01_6603.jpg
/home/pi/Desktop/images/11072025/15/10/image_11072025_15_10_02_2352.jpg
/home/pi/Desktop/images/11072025/15/09/image_11072025_15_09_01_7931.jpg
/home/pi/Desktop/images/11072025/15/04/image_11072025_15_04_01_9186.jpg
/home/pi/Desktop/images/11072025/15/03/image_11072025_15_03_02_1288.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 302.5207076072693 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 15:43:04.195714
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/15/17/image_11072025_15_17_01_8715.jpg', 2), ('/home/pi/Desktop/images/11072025/15/11/image_11072025_15_11_01_6603.jpg', 2), ('/home/pi/Desktop/images/11072025/15/10/image_11072025_15_10_02_2352.jpg', 2), ('/home/pi/Desktop/images/11072025/15/09/image_11072025_15_09_01_7931.jpg', 2), ('/home/pi/Desktop/images/11072025/15/04/image_11072025_15_04_01_9186.jpg', 2), ('/home/pi/Desktop/images/11072025/15/03/image_11072025_15_03_02_1288.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/15/17/image_11072025_15_17_01_8715.jpg', '/home/pi/Desktop/images/11072025/15/11/image_11072025_15_11_01_6603.jpg', '/home/pi/Desktop/images/11072025/15/10/image_11072025_15_10_02_2352.jpg', '/home/pi/Desktop/images/11072025/15/09/image_11072025_15_09_01_7931.jpg', '/home/pi/Desktop/images/11072025/15/04/image_11072025_15_04_01_9186.jpg', '/home/pi/Desktop/images/11072025/15/03/image_11072025_15_03_02_1288.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/15/17/image_11072025_15_17_01_8715.jpg
/home/pi/Desktop/images/11072025/15/11/image_11072025_15_11_01_6603.jpg
/home/pi/Desktop/images/11072025/15/10/image_11072025_15_10_02_2352.jpg
/home/pi/Desktop/images/11072025/15/09/image_11072025_15_09_01_7931.jpg
/home/pi/Desktop/images/11072025/15/04/image_11072025_15_04_01_9186.jpg
/home/pi/Desktop/images/11072025/15/03/image_11072025_15_03_02_1288.jpg
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 302.55290031433105 secondes ---
<Response [502]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>502 Proxy Error</title>\n</head><body>\n<h1>Proxy Error</h1>\n<p>The proxy server received an invalid\r\nresponse from an upstream server.<br />\r\nThe proxy server could not handle the request<p>Reason: <strong>Error reading from remote server</strong></p></p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
502
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 15:49:03.739807
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/15/17/image_11072025_15_17_01_8715.jpg', 2), ('/home/pi/Desktop/images/11072025/15/11/image_11072025_15_11_01_6603.jpg', 2), ('/home/pi/Desktop/images/11072025/15/10/image_11072025_15_10_02_2352.jpg', 2), ('/home/pi/Desktop/images/11072025/15/09/image_11072025_15_09_01_7931.jpg', 2), ('/home/pi/Desktop/images/11072025/15/04/image_11072025_15_04_01_9186.jpg', 2), ('/home/pi/Desktop/images/11072025/15/03/image_11072025_15_03_02_1288.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/15/17/image_11072025_15_17_01_8715.jpg', '/home/pi/Desktop/images/11072025/15/11/image_11072025_15_11_01_6603.jpg', '/home/pi/Desktop/images/11072025/15/10/image_11072025_15_10_02_2352.jpg', '/home/pi/Desktop/images/11072025/15/09/image_11072025_15_09_01_7931.jpg', '/home/pi/Desktop/images/11072025/15/04/image_11072025_15_04_01_9186.jpg', '/home/pi/Desktop/images/11072025/15/03/image_11072025_15_03_02_1288.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/15/17/image_11072025_15_17_01_8715.jpg
/home/pi/Desktop/images/11072025/15/11/image_11072025_15_11_01_6603.jpg
/home/pi/Desktop/images/11072025/15/10/image_11072025_15_10_02_2352.jpg
/home/pi/Desktop/images/11072025/15/09/image_11072025_15_09_01_7931.jpg
/home/pi/Desktop/images/11072025/15/04/image_11072025_15_04_01_9186.jpg
/home/pi/Desktop/images/11072025/15/03/image_11072025_15_03_02_1288.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371595552","1371595497","1371595677","1371595764","1371595824","1371595613"],"photo_ids_order":["1371595497","1371595552","1371595613","1371595677","1371595764","1371595824"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/ce17d0019beb32f24055140aec4f54e8.jpg","text":"TemporaryFile(/tmp/multipartBody3885967125610037064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752241806226,"filename":"image_11072025_15_11_01_6603.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/3d327d497d22cfc3518b695cefed21ec.jpg","text":"TemporaryFile(/tmp/multipartBody2572155661755786098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752241806226,"filename":"image_11072025_15_17_01_8715.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/ce8f2b2bfd42d2cdea346934b440bbca.jpg","text":"TemporaryFile(/tmp/multipartBody4414015865911092297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752241806226,"filename":"image_11072025_15_09_01_7931.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/9a8eddf43b4e4258fe93f73a06505c43.jpg","text":"TemporaryFile(/tmp/multipartBody4573707143469609000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752241806226,"filename":"image_11072025_15_04_01_9186.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/430594514fa878ea5fe9e2672b89874c.jpg","text":"TemporaryFile(/tmp/multipartBody1025690990661439583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752241806226,"filename":"image_11072025_15_03_02_1288.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/339ff2c20fec5ba43817443006ba82dc.jpg","text":"TemporaryFile(/tmp/multipartBody5685936317762537018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752241806226,"filename":"image_11072025_15_10_02_2352.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371595613","file1":"1371595552","file0":"1371595497","file4":"1371595764","file5":"1371595824","file3":"1371595677"},"map_files_photo_id_array":[{"photo_id":"1371595824","filename":"file5"},{"photo_id":"1371595613","filename":"file2"},{"photo_id":"1371595764","filename":"file4"},{"photo_id":"1371595552","filename":"file1"},{"photo_id":"1371595497","filename":"file0"},{"photo_id":"1371595677","filename":"file3"}],"portfolio_id":24815670,"hashtag_by_photo_ids":[{"1371595552":["hashtag1","hashtag2"]},{"1371595497":["hashtag1","hashtag2"]},{"1371595677":["hashtag1","hashtag2"]},{"1371595764":["hashtag1","hashtag2"]},{"1371595824":["hashtag1","hashtag2"]},{"1371595613":["hashtag1","hashtag2"]}],"comms":"Portfolio 24815670 used, photo_id : ArrayBuffer(1371595552, 1371595497, 1371595677, 1371595764, 1371595824, 1371595613)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 59.868327140808105 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 15:51:04.275363
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/15/00/image_11072025_15_00_01_3694.jpg', 2), ('/home/pi/Desktop/images/11072025/14/58/image_11072025_14_58_02_1313.jpg', 2), ('/home/pi/Desktop/images/11072025/14/57/image_11072025_14_57_02_1079.jpg', 2), ('/home/pi/Desktop/images/11072025/14/56/image_11072025_14_56_01_8067.jpg', 2), ('/home/pi/Desktop/images/11072025/14/55/image_11072025_14_55_02_1673.jpg', 2), ('/home/pi/Desktop/images/11072025/14/54/image_11072025_14_54_01_7705.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/15/00/image_11072025_15_00_01_3694.jpg', '/home/pi/Desktop/images/11072025/14/58/image_11072025_14_58_02_1313.jpg', '/home/pi/Desktop/images/11072025/14/57/image_11072025_14_57_02_1079.jpg', '/home/pi/Desktop/images/11072025/14/56/image_11072025_14_56_01_8067.jpg', '/home/pi/Desktop/images/11072025/14/55/image_11072025_14_55_02_1673.jpg', '/home/pi/Desktop/images/11072025/14/54/image_11072025_14_54_01_7705.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/15/00/image_11072025_15_00_01_3694.jpg
/home/pi/Desktop/images/11072025/14/58/image_11072025_14_58_02_1313.jpg
/home/pi/Desktop/images/11072025/14/57/image_11072025_14_57_02_1079.jpg
/home/pi/Desktop/images/11072025/14/56/image_11072025_14_56_01_8067.jpg
/home/pi/Desktop/images/11072025/14/55/image_11072025_14_55_02_1673.jpg
/home/pi/Desktop/images/11072025/14/54/image_11072025_14_54_01_7705.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371596122","1371596103","1371596093","1371596111","1371596131","1371596119"],"photo_ids_order":["1371596093","1371596103","1371596111","1371596119","1371596122","1371596131"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/5b0ed39cdd3c6e7ed3bd6f03b3501f6a.jpg","text":"TemporaryFile(/tmp/multipartBody3433754460379865029asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752241927910,"filename":"image_11072025_14_55_02_1673.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/2f9619978d017a8bce1d53c94affb86e.jpg","text":"TemporaryFile(/tmp/multipartBody2912693824961658962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752241927910,"filename":"image_11072025_14_58_02_1313.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/0a3697ad179d7bff3652a0ac37240c8f.jpg","text":"TemporaryFile(/tmp/multipartBody3153928808399502091asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752241927910,"filename":"image_11072025_15_00_01_3694.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/9713a5d1389ec4aa96550c1b2d183e1a.jpg","text":"TemporaryFile(/tmp/multipartBody1468429974426206915asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752241927910,"filename":"image_11072025_14_57_02_1079.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/a40cc9f79dc0843c90f4b14a954664a7.jpg","text":"TemporaryFile(/tmp/multipartBody858939544928923762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752241927910,"filename":"image_11072025_14_54_01_7705.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/fa3ce9a91e08fd2ebfb81829070f67fd.jpg","text":"TemporaryFile(/tmp/multipartBody5921969449265270558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752241927910,"filename":"image_11072025_14_56_01_8067.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371596111","file1":"1371596103","file0":"1371596093","file4":"1371596122","file5":"1371596131","file3":"1371596119"},"map_files_photo_id_array":[{"photo_id":"1371596131","filename":"file5"},{"photo_id":"1371596111","filename":"file2"},{"photo_id":"1371596122","filename":"file4"},{"photo_id":"1371596103","filename":"file1"},{"photo_id":"1371596093","filename":"file0"},{"photo_id":"1371596119","filename":"file3"}],"portfolio_id":24815670,"hashtag_by_photo_ids":[{"1371596122":["hashtag1","hashtag2"]},{"1371596103":["hashtag1","hashtag2"]},{"1371596093":["hashtag1","hashtag2"]},{"1371596111":["hashtag1","hashtag2"]},{"1371596131":["hashtag1","hashtag2"]},{"1371596119":["hashtag1","hashtag2"]}],"comms":"Portfolio 24815670 used, photo_id : ArrayBuffer(1371596122, 1371596103, 1371596093, 1371596111, 1371596131, 1371596119)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.350860357284546 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 15:52:03.626731
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/14/53/image_11072025_14_53_01_6802.jpg', 2), ('/home/pi/Desktop/images/11072025/14/52/image_11072025_14_52_01_9260.jpg', 2), ('/home/pi/Desktop/images/11072025/14/51/image_11072025_14_51_01_7308.jpg', 2), ('/home/pi/Desktop/images/11072025/14/50/image_11072025_14_50_01_5833.jpg', 2), ('/home/pi/Desktop/images/11072025/14/49/image_11072025_14_49_02_0061.jpg', 2), ('/home/pi/Desktop/images/11072025/14/48/image_11072025_14_48_02_1341.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/14/53/image_11072025_14_53_01_6802.jpg', '/home/pi/Desktop/images/11072025/14/52/image_11072025_14_52_01_9260.jpg', '/home/pi/Desktop/images/11072025/14/51/image_11072025_14_51_01_7308.jpg', '/home/pi/Desktop/images/11072025/14/50/image_11072025_14_50_01_5833.jpg', '/home/pi/Desktop/images/11072025/14/49/image_11072025_14_49_02_0061.jpg', '/home/pi/Desktop/images/11072025/14/48/image_11072025_14_48_02_1341.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/14/53/image_11072025_14_53_01_6802.jpg
/home/pi/Desktop/images/11072025/14/52/image_11072025_14_52_01_9260.jpg
/home/pi/Desktop/images/11072025/14/51/image_11072025_14_51_01_7308.jpg
/home/pi/Desktop/images/11072025/14/50/image_11072025_14_50_01_5833.jpg
/home/pi/Desktop/images/11072025/14/49/image_11072025_14_49_02_0061.jpg
/home/pi/Desktop/images/11072025/14/48/image_11072025_14_48_02_1341.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 3.3026702404022217 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 15:53:03.328642
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/14/53/image_11072025_14_53_01_6802.jpg', 2), ('/home/pi/Desktop/images/11072025/14/52/image_11072025_14_52_01_9260.jpg', 2), ('/home/pi/Desktop/images/11072025/14/51/image_11072025_14_51_01_7308.jpg', 2), ('/home/pi/Desktop/images/11072025/14/50/image_11072025_14_50_01_5833.jpg', 2), ('/home/pi/Desktop/images/11072025/14/49/image_11072025_14_49_02_0061.jpg', 2), ('/home/pi/Desktop/images/11072025/14/48/image_11072025_14_48_02_1341.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/14/53/image_11072025_14_53_01_6802.jpg', '/home/pi/Desktop/images/11072025/14/52/image_11072025_14_52_01_9260.jpg', '/home/pi/Desktop/images/11072025/14/51/image_11072025_14_51_01_7308.jpg', '/home/pi/Desktop/images/11072025/14/50/image_11072025_14_50_01_5833.jpg', '/home/pi/Desktop/images/11072025/14/49/image_11072025_14_49_02_0061.jpg', '/home/pi/Desktop/images/11072025/14/48/image_11072025_14_48_02_1341.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/14/53/image_11072025_14_53_01_6802.jpg
/home/pi/Desktop/images/11072025/14/52/image_11072025_14_52_01_9260.jpg
/home/pi/Desktop/images/11072025/14/51/image_11072025_14_51_01_7308.jpg
/home/pi/Desktop/images/11072025/14/50/image_11072025_14_50_01_5833.jpg
/home/pi/Desktop/images/11072025/14/49/image_11072025_14_49_02_0061.jpg
/home/pi/Desktop/images/11072025/14/48/image_11072025_14_48_02_1341.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371596248","1371596233","1371596212","1371596241","1371596225","1371596219"],"photo_ids_order":["1371596212","1371596219","1371596225","1371596233","1371596241","1371596248"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/fce27a146e63d6b97d60d964504badfd.jpg","text":"TemporaryFile(/tmp/multipartBody6845222798378148610asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752242045956,"filename":"image_11072025_14_48_02_1341.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/57bde7d34c686469760485ee38875907.jpg","text":"TemporaryFile(/tmp/multipartBody6576401763370443502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752242045956,"filename":"image_11072025_14_50_01_5833.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/2d9708e1e5918a4ee8073c17be8bed10.jpg","text":"TemporaryFile(/tmp/multipartBody7447138641834272490asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752242045956,"filename":"image_11072025_14_53_01_6802.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/134f45715b28a03f226ed6e6e3748520.jpg","text":"TemporaryFile(/tmp/multipartBody8216210983511808958asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752242045956,"filename":"image_11072025_14_49_02_0061.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/7734818dc0941b7549cd4a043dbcc7f0.jpg","text":"TemporaryFile(/tmp/multipartBody3488214183895792646asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752242045956,"filename":"image_11072025_14_51_01_7308.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/0fb63b7080fbe13f9dbe377a896f9271.jpg","text":"TemporaryFile(/tmp/multipartBody6437160942644534445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752242045956,"filename":"image_11072025_14_52_01_9260.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371596225","file1":"1371596219","file0":"1371596212","file4":"1371596241","file5":"1371596248","file3":"1371596233"},"map_files_photo_id_array":[{"photo_id":"1371596248","filename":"file5"},{"photo_id":"1371596225","filename":"file2"},{"photo_id":"1371596241","filename":"file4"},{"photo_id":"1371596219","filename":"file1"},{"photo_id":"1371596212","filename":"file0"},{"photo_id":"1371596233","filename":"file3"}],"portfolio_id":24815670,"hashtag_by_photo_ids":[{"1371596248":["hashtag1","hashtag2"]},{"1371596233":["hashtag1","hashtag2"]},{"1371596212":["hashtag1","hashtag2"]},{"1371596241":["hashtag1","hashtag2"]},{"1371596225":["hashtag1","hashtag2"]},{"1371596219":["hashtag1","hashtag2"]}],"comms":"Portfolio 24815670 used, photo_id : ArrayBuffer(1371596248, 1371596233, 1371596212, 1371596241, 1371596225, 1371596219)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.96410036087036 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 15:54:02.859625
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/14/47/image_11072025_14_47_01_8854.jpg', 2), ('/home/pi/Desktop/images/11072025/14/46/image_11072025_14_46_01_8304.jpg', 2), ('/home/pi/Desktop/images/11072025/14/45/image_11072025_14_45_01_3019.jpg', 2), ('/home/pi/Desktop/images/11072025/14/44/image_11072025_14_44_01_3500.jpg', 2), ('/home/pi/Desktop/images/11072025/14/43/image_11072025_14_43_01_5780.jpg', 2), ('/home/pi/Desktop/images/11072025/14/42/image_11072025_14_42_01_4122.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/14/47/image_11072025_14_47_01_8854.jpg', '/home/pi/Desktop/images/11072025/14/46/image_11072025_14_46_01_8304.jpg', '/home/pi/Desktop/images/11072025/14/45/image_11072025_14_45_01_3019.jpg', '/home/pi/Desktop/images/11072025/14/44/image_11072025_14_44_01_3500.jpg', '/home/pi/Desktop/images/11072025/14/43/image_11072025_14_43_01_5780.jpg', '/home/pi/Desktop/images/11072025/14/42/image_11072025_14_42_01_4122.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/14/47/image_11072025_14_47_01_8854.jpg
/home/pi/Desktop/images/11072025/14/46/image_11072025_14_46_01_8304.jpg
/home/pi/Desktop/images/11072025/14/45/image_11072025_14_45_01_3019.jpg
/home/pi/Desktop/images/11072025/14/44/image_11072025_14_44_01_3500.jpg
/home/pi/Desktop/images/11072025/14/43/image_11072025_14_43_01_5780.jpg
/home/pi/Desktop/images/11072025/14/42/image_11072025_14_42_01_4122.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371596292","1371596262","1371596273","1371596306","1371596299","1371596284"],"photo_ids_order":["1371596262","1371596273","1371596284","1371596292","1371596299","1371596306"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/fe0afdb3501f6a2d6fad9659b5e29091.jpg","text":"TemporaryFile(/tmp/multipartBody5764014322407336051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752242106392,"filename":"image_11072025_14_44_01_3500.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/c7ce84cc6649743ff8f529f8435372ac.jpg","text":"TemporaryFile(/tmp/multipartBody1922211135160207561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752242106392,"filename":"image_11072025_14_47_01_8854.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/ee3837b7eb33e23d229c8cb4366056a5.jpg","text":"TemporaryFile(/tmp/multipartBody4727184654559767604asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752242106392,"filename":"image_11072025_14_46_01_8304.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/39b84be339826d262bbfb91772953fa3.jpg","text":"TemporaryFile(/tmp/multipartBody735155610714679935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752242106392,"filename":"image_11072025_14_42_01_4122.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/255285d256348dfe1e38fa43b6778027.jpg","text":"TemporaryFile(/tmp/multipartBody6469465038941520787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752242106392,"filename":"image_11072025_14_43_01_5780.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/5e74a177ab171ccc4448411bfd5bdd87.jpg","text":"TemporaryFile(/tmp/multipartBody4309993851531912127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752242106392,"filename":"image_11072025_14_45_01_3019.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371596284","file1":"1371596273","file0":"1371596262","file4":"1371596299","file5":"1371596306","file3":"1371596292"},"map_files_photo_id_array":[{"photo_id":"1371596306","filename":"file5"},{"photo_id":"1371596284","filename":"file2"},{"photo_id":"1371596299","filename":"file4"},{"photo_id":"1371596273","filename":"file1"},{"photo_id":"1371596262","filename":"file0"},{"photo_id":"1371596292","filename":"file3"}],"portfolio_id":24815670,"hashtag_by_photo_ids":[{"1371596292":["hashtag1","hashtag2"]},{"1371596262":["hashtag1","hashtag2"]},{"1371596273":["hashtag1","hashtag2"]},{"1371596306":["hashtag1","hashtag2"]},{"1371596299":["hashtag1","hashtag2"]},{"1371596284":["hashtag1","hashtag2"]}],"comms":"Portfolio 24815670 used, photo_id : ArrayBuffer(1371596292, 1371596262, 1371596273, 1371596306, 1371596299, 1371596284)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 59.79828906059265 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 15:56:02.889743
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/14/41/image_11072025_14_41_01_3711.jpg', 2), ('/home/pi/Desktop/images/11072025/14/40/image_11072025_14_40_01_3397.jpg', 2), ('/home/pi/Desktop/images/11072025/14/39/image_11072025_14_39_01_8414.jpg', 2), ('/home/pi/Desktop/images/11072025/14/38/image_11072025_14_38_01_9686.jpg', 2), ('/home/pi/Desktop/images/11072025/14/37/image_11072025_14_37_02_2312.jpg', 2), ('/home/pi/Desktop/images/11072025/14/36/image_11072025_14_36_01_7434.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/14/41/image_11072025_14_41_01_3711.jpg', '/home/pi/Desktop/images/11072025/14/40/image_11072025_14_40_01_3397.jpg', '/home/pi/Desktop/images/11072025/14/39/image_11072025_14_39_01_8414.jpg', '/home/pi/Desktop/images/11072025/14/38/image_11072025_14_38_01_9686.jpg', '/home/pi/Desktop/images/11072025/14/37/image_11072025_14_37_02_2312.jpg', '/home/pi/Desktop/images/11072025/14/36/image_11072025_14_36_01_7434.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/14/41/image_11072025_14_41_01_3711.jpg
/home/pi/Desktop/images/11072025/14/40/image_11072025_14_40_01_3397.jpg
/home/pi/Desktop/images/11072025/14/39/image_11072025_14_39_01_8414.jpg
/home/pi/Desktop/images/11072025/14/38/image_11072025_14_38_01_9686.jpg
/home/pi/Desktop/images/11072025/14/37/image_11072025_14_37_02_2312.jpg
/home/pi/Desktop/images/11072025/14/36/image_11072025_14_36_01_7434.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371596410","1371596463","1371596399","1371596390","1371596378","1371596383"],"photo_ids_order":["1371596378","1371596383","1371596390","1371596399","1371596410","1371596463"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/8dc5477703badac0e42c853a0a921fa1.jpg","text":"TemporaryFile(/tmp/multipartBody7266419685034299906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752242226736,"filename":"image_11072025_14_37_02_2312.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/14661759be9941691e5dfc4772d74b48.jpg","text":"TemporaryFile(/tmp/multipartBody2124980157661702727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752242226736,"filename":"image_11072025_14_36_01_7434.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/de6d6c75432599772aff98a9c07e627e.jpg","text":"TemporaryFile(/tmp/multipartBody5346701900152740782asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752242226736,"filename":"image_11072025_14_38_01_9686.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/619959308b6962d0e9273374789ae311.jpg","text":"TemporaryFile(/tmp/multipartBody4771970084659911347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752242226736,"filename":"image_11072025_14_39_01_8414.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/55dc573c319fa0377c9b43bd28c75c03.jpg","text":"TemporaryFile(/tmp/multipartBody3685549249036959388asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752242226736,"filename":"image_11072025_14_41_01_3711.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/27287dbc347fd516763fd0d4a292479b.jpg","text":"TemporaryFile(/tmp/multipartBody5852093287207386720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752242226736,"filename":"image_11072025_14_40_01_3397.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371596390","file1":"1371596383","file0":"1371596378","file4":"1371596410","file5":"1371596463","file3":"1371596399"},"map_files_photo_id_array":[{"photo_id":"1371596463","filename":"file5"},{"photo_id":"1371596390","filename":"file2"},{"photo_id":"1371596410","filename":"file4"},{"photo_id":"1371596383","filename":"file1"},{"photo_id":"1371596378","filename":"file0"},{"photo_id":"1371596399","filename":"file3"}],"portfolio_id":24815670,"hashtag_by_photo_ids":[{"1371596410":["hashtag1","hashtag2"]},{"1371596463":["hashtag1","hashtag2"]},{"1371596399":["hashtag1","hashtag2"]},{"1371596390":["hashtag1","hashtag2"]},{"1371596378":["hashtag1","hashtag2"]},{"1371596383":["hashtag1","hashtag2"]}],"comms":"Portfolio 24815670 used, photo_id : ArrayBuffer(1371596410, 1371596463, 1371596399, 1371596390, 1371596378, 1371596383)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.65251874923706 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 15:57:03.698543
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/14/35/image_11072025_14_35_01_7453.jpg', 2), ('/home/pi/Desktop/images/11072025/14/34/image_11072025_14_34_01_9841.jpg', 2), ('/home/pi/Desktop/images/11072025/14/33/image_11072025_14_33_02_0429.jpg', 2), ('/home/pi/Desktop/images/11072025/14/32/image_11072025_14_32_01_6717.jpg', 2), ('/home/pi/Desktop/images/11072025/14/31/image_11072025_14_31_02_1078.jpg', 2), ('/home/pi/Desktop/images/11072025/14/30/image_11072025_14_30_01_7647.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/14/35/image_11072025_14_35_01_7453.jpg', '/home/pi/Desktop/images/11072025/14/34/image_11072025_14_34_01_9841.jpg', '/home/pi/Desktop/images/11072025/14/33/image_11072025_14_33_02_0429.jpg', '/home/pi/Desktop/images/11072025/14/32/image_11072025_14_32_01_6717.jpg', '/home/pi/Desktop/images/11072025/14/31/image_11072025_14_31_02_1078.jpg', '/home/pi/Desktop/images/11072025/14/30/image_11072025_14_30_01_7647.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/14/35/image_11072025_14_35_01_7453.jpg
/home/pi/Desktop/images/11072025/14/34/image_11072025_14_34_01_9841.jpg
/home/pi/Desktop/images/11072025/14/33/image_11072025_14_33_02_0429.jpg
/home/pi/Desktop/images/11072025/14/32/image_11072025_14_32_01_6717.jpg
/home/pi/Desktop/images/11072025/14/31/image_11072025_14_31_02_1078.jpg
/home/pi/Desktop/images/11072025/14/30/image_11072025_14_30_01_7647.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371597720","1371596690","1371597478","1371597055","1371597256","1371596851"],"photo_ids_order":["1371596690","1371596851","1371597055","1371597256","1371597478","1371597720"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/a676f67494a15c460c5562d2cab11dd5.jpg","text":"TemporaryFile(/tmp/multipartBody7651953731969153020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752242287023,"filename":"image_11072025_14_30_01_7647.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/1ca18ae244d0f8efac7ac790925ba6ef.jpg","text":"TemporaryFile(/tmp/multipartBody7099260432406021651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752242287023,"filename":"image_11072025_14_35_01_7453.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/6b1e87ab252306f5eb0467d3887b37a9.jpg","text":"TemporaryFile(/tmp/multipartBody4332966503964021053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752242287023,"filename":"image_11072025_14_31_02_1078.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/0f29b788206e2ce7004b74268a99785a.jpg","text":"TemporaryFile(/tmp/multipartBody9036911402070119896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752242287023,"filename":"image_11072025_14_33_02_0429.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/795254458b0ccb05b3a88a154e8e6ea5.jpg","text":"TemporaryFile(/tmp/multipartBody7886609273984342779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752242287023,"filename":"image_11072025_14_32_01_6717.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/edde5a725a2b92eff139f22b99648e89.jpg","text":"TemporaryFile(/tmp/multipartBody5985763987592751966asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752242287023,"filename":"image_11072025_14_34_01_9841.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371597055","file1":"1371596851","file0":"1371596690","file4":"1371597478","file5":"1371597720","file3":"1371597256"},"map_files_photo_id_array":[{"photo_id":"1371597720","filename":"file5"},{"photo_id":"1371597055","filename":"file2"},{"photo_id":"1371597478","filename":"file4"},{"photo_id":"1371596851","filename":"file1"},{"photo_id":"1371596690","filename":"file0"},{"photo_id":"1371597256","filename":"file3"}],"portfolio_id":24815670,"hashtag_by_photo_ids":[{"1371597720":["hashtag1","hashtag2"]},{"1371596690":["hashtag1","hashtag2"]},{"1371597478":["hashtag1","hashtag2"]},{"1371597055":["hashtag1","hashtag2"]},{"1371597256":["hashtag1","hashtag2"]},{"1371596851":["hashtag1","hashtag2"]}],"comms":"Portfolio 24815670 used, photo_id : ArrayBuffer(1371597720, 1371596690, 1371597478, 1371597055, 1371597256, 1371596851)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.16862463951111 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 15:59:04.067107
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
1 photos no longer on disk
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/16/00/image_11072025_16_00_02_1640.jpg', 2), ('/home/pi/Desktop/images/11072025/14/29/image_11072025_14_29_02_1771.jpg', 2), ('/home/pi/Desktop/images/11072025/14/23/image_11072025_14_23_02_0581.jpg', 2), ('/home/pi/Desktop/images/11072025/14/20/image_11072025_14_20_01_9438.jpg', 2), ('/home/pi/Desktop/images/11072025/14/19/image_11072025_14_19_01_6076.jpg', 2), ('/home/pi/Desktop/images/11072025/14/18/image_11072025_14_18_02_1142.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/14/29/image_11072025_14_29_02_1771.jpg', '/home/pi/Desktop/images/11072025/14/23/image_11072025_14_23_02_0581.jpg', '/home/pi/Desktop/images/11072025/14/20/image_11072025_14_20_01_9438.jpg', '/home/pi/Desktop/images/11072025/14/19/image_11072025_14_19_01_6076.jpg', '/home/pi/Desktop/images/11072025/14/18/image_11072025_14_18_02_1142.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/14/29/image_11072025_14_29_02_1771.jpg
/home/pi/Desktop/images/11072025/14/23/image_11072025_14_23_02_0581.jpg
/home/pi/Desktop/images/11072025/14/20/image_11072025_14_20_01_9438.jpg
/home/pi/Desktop/images/11072025/14/19/image_11072025_14_19_01_6076.jpg
/home/pi/Desktop/images/11072025/14/18/image_11072025_14_18_02_1142.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371599465","1371599819","1371599892","1371599346","1371599684"],"photo_ids_order":["1371599346","1371599465","1371599684","1371599819","1371599892"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/6008a9d75617c47fb06c78acf6681652.jpg","text":"TemporaryFile(/tmp/multipartBody2102706964710486066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752242407653,"filename":"image_11072025_14_23_02_0581.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/64208b27887649c52c310142fb8cd511.jpg","text":"TemporaryFile(/tmp/multipartBody865635672304037176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752242407653,"filename":"image_11072025_14_19_01_6076.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/5f1e6fd56804ac98c6de9b3c5a3df4e8.jpg","text":"TemporaryFile(/tmp/multipartBody6974827838110062784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752242407653,"filename":"image_11072025_14_18_02_1142.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/65ba83a3421830169e294264f9393dd8.jpg","text":"TemporaryFile(/tmp/multipartBody8112741019588720343asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752242407653,"filename":"image_11072025_14_29_02_1771.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/9956ae0f0fcb0d3024b50f0083adbb8d.jpg","text":"TemporaryFile(/tmp/multipartBody6424846959865253647asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752242407653,"filename":"image_11072025_14_20_01_9438.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371599684","file1":"1371599465","file0":"1371599346","file4":"1371599892","file3":"1371599819"},"map_files_photo_id_array":[{"photo_id":"1371599684","filename":"file2"},{"photo_id":"1371599892","filename":"file4"},{"photo_id":"1371599465","filename":"file1"},{"photo_id":"1371599346","filename":"file0"},{"photo_id":"1371599819","filename":"file3"}],"portfolio_id":24815670,"hashtag_by_photo_ids":[{"1371599465":["hashtag1","hashtag2"]},{"1371599819":["hashtag1","hashtag2"]},{"1371599892":["hashtag1","hashtag2"]},{"1371599346":["hashtag1","hashtag2"]},{"1371599684":["hashtag1","hashtag2"]}],"comms":"Portfolio 24815670 used, photo_id : ArrayBuffer(1371599465, 1371599819, 1371599892, 1371599346, 1371599684)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 52.477842569351196 secondes ---
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 377, in upload_from_sqlite
    upload_photo_and_update_logs(files, lsr, port_id, datou_current_id, fc, hashtags = hashtags, verbose = verbose, nb_batch= nb_batch,batch_size=limit)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 74, in upload_photo_and_update_logs
    logger.info("no_longer_on_disk_list:",no_longer_on_disk_list)
Message: 'no_longer_on_disk_list:'
Arguments: (['/home/pi/Desktop/images/11072025/16/00/image_11072025_16_00_02_1640.jpg'],)
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 16:00:03.190183
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/14/17/image_11072025_14_17_01_4053.jpg', 2), ('/home/pi/Desktop/images/11072025/14/16/image_11072025_14_16_02_1020.jpg', 2), ('/home/pi/Desktop/images/11072025/14/15/image_11072025_14_15_01_6916.jpg', 2), ('/home/pi/Desktop/images/11072025/14/14/image_11072025_14_14_01_7033.jpg', 2), ('/home/pi/Desktop/images/11072025/14/13/image_11072025_14_13_01_3206.jpg', 2), ('/home/pi/Desktop/images/11072025/14/12/image_11072025_14_12_02_1120.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/14/17/image_11072025_14_17_01_4053.jpg', '/home/pi/Desktop/images/11072025/14/16/image_11072025_14_16_02_1020.jpg', '/home/pi/Desktop/images/11072025/14/15/image_11072025_14_15_01_6916.jpg', '/home/pi/Desktop/images/11072025/14/14/image_11072025_14_14_01_7033.jpg', '/home/pi/Desktop/images/11072025/14/13/image_11072025_14_13_01_3206.jpg', '/home/pi/Desktop/images/11072025/14/12/image_11072025_14_12_02_1120.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/14/17/image_11072025_14_17_01_4053.jpg
/home/pi/Desktop/images/11072025/14/16/image_11072025_14_16_02_1020.jpg
/home/pi/Desktop/images/11072025/14/15/image_11072025_14_15_01_6916.jpg
/home/pi/Desktop/images/11072025/14/14/image_11072025_14_14_01_7033.jpg
/home/pi/Desktop/images/11072025/14/13/image_11072025_14_13_01_3206.jpg
/home/pi/Desktop/images/11072025/14/12/image_11072025_14_12_02_1120.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371600451","1371600316","1371600387","1371600210","1371600519","1371600392"],"photo_ids_order":["1371600210","1371600316","1371600387","1371600392","1371600451","1371600519"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/e54989f76c94cf94d5cc263ab84a1aa0.jpg","text":"TemporaryFile(/tmp/multipartBody2146581458295910729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752242467100,"filename":"image_11072025_14_13_01_3206.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/944da74ccf33d549564d3d5ac18b530c.jpg","text":"TemporaryFile(/tmp/multipartBody5725557693075840190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752242467100,"filename":"image_11072025_14_16_02_1020.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/3dd1e8dcc373240dae430407ef72c1f9.jpg","text":"TemporaryFile(/tmp/multipartBody4500799800019858924asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752242467100,"filename":"image_11072025_14_15_01_6916.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/5aa8a0203e2e7b7ed0f62b7405aad8bf.jpg","text":"TemporaryFile(/tmp/multipartBody80397493757300134asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752242467100,"filename":"image_11072025_14_17_01_4053.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/b9367cdfeead7b30c2c9ec61473be6df.jpg","text":"TemporaryFile(/tmp/multipartBody1282165728247833578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752242467100,"filename":"image_11072025_14_12_02_1120.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/7920b3fe647b0d4ee8757ca35a12662d.jpg","text":"TemporaryFile(/tmp/multipartBody1143285632224844597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752242467100,"filename":"image_11072025_14_14_01_7033.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371600387","file1":"1371600316","file0":"1371600210","file4":"1371600451","file5":"1371600519","file3":"1371600392"},"map_files_photo_id_array":[{"photo_id":"1371600519","filename":"file5"},{"photo_id":"1371600387","filename":"file2"},{"photo_id":"1371600451","filename":"file4"},{"photo_id":"1371600316","filename":"file1"},{"photo_id":"1371600210","filename":"file0"},{"photo_id":"1371600392","filename":"file3"}],"portfolio_id":24815670,"hashtag_by_photo_ids":[{"1371600451":["hashtag1","hashtag2"]},{"1371600316":["hashtag1","hashtag2"]},{"1371600387":["hashtag1","hashtag2"]},{"1371600210":["hashtag1","hashtag2"]},{"1371600519":["hashtag1","hashtag2"]},{"1371600392":["hashtag1","hashtag2"]}],"comms":"Portfolio 24815670 used, photo_id : ArrayBuffer(1371600451, 1371600316, 1371600387, 1371600210, 1371600519, 1371600392)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 61.59543418884277 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 16:02:03.232905
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/14/11/image_11072025_14_11_01_3337.jpg', 2), ('/home/pi/Desktop/images/11072025/14/10/image_11072025_14_10_01_5888.jpg', 2), ('/home/pi/Desktop/images/11072025/14/08/image_11072025_14_08_01_9799.jpg', 2), ('/home/pi/Desktop/images/11072025/14/02/image_11072025_14_02_01_4916.jpg', 2), ('/home/pi/Desktop/images/11072025/14/00/image_11072025_14_00_01_3623.jpg', 2), ('/home/pi/Desktop/images/11072025/13/58/image_11072025_13_58_01_8157.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/14/11/image_11072025_14_11_01_3337.jpg', '/home/pi/Desktop/images/11072025/14/10/image_11072025_14_10_01_5888.jpg', '/home/pi/Desktop/images/11072025/14/08/image_11072025_14_08_01_9799.jpg', '/home/pi/Desktop/images/11072025/14/02/image_11072025_14_02_01_4916.jpg', '/home/pi/Desktop/images/11072025/14/00/image_11072025_14_00_01_3623.jpg', '/home/pi/Desktop/images/11072025/13/58/image_11072025_13_58_01_8157.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/14/11/image_11072025_14_11_01_3337.jpg
/home/pi/Desktop/images/11072025/14/10/image_11072025_14_10_01_5888.jpg
/home/pi/Desktop/images/11072025/14/08/image_11072025_14_08_01_9799.jpg
/home/pi/Desktop/images/11072025/14/02/image_11072025_14_02_01_4916.jpg
/home/pi/Desktop/images/11072025/14/00/image_11072025_14_00_01_3623.jpg
/home/pi/Desktop/images/11072025/13/58/image_11072025_13_58_01_8157.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371601345","1371601231","1371601398","1371601287","1371601116","1371601172"],"photo_ids_order":["1371601116","1371601172","1371601231","1371601287","1371601345","1371601398"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/6d0ecea489c6b83f0e48b713320c7299.jpg","text":"TemporaryFile(/tmp/multipartBody8145980537553649707asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752242587280,"filename":"image_11072025_14_00_01_3623.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/daae41930ccdcedbada6ed841f1b021a.jpg","text":"TemporaryFile(/tmp/multipartBody6741631611510436057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752242587280,"filename":"image_11072025_14_08_01_9799.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/25ade2ab01dd59f75e60fd564a962a56.jpg","text":"TemporaryFile(/tmp/multipartBody1357002491763036642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752242587280,"filename":"image_11072025_13_58_01_8157.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/27484990c8445ab34ca9586f661ee87d.jpg","text":"TemporaryFile(/tmp/multipartBody2204890840916320451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752242587280,"filename":"image_11072025_14_02_01_4916.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/70df70efe58a1cc1c1e3e3f1ec7c384f.jpg","text":"TemporaryFile(/tmp/multipartBody2105824083567494638asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752242587280,"filename":"image_11072025_14_11_01_3337.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/2eb62d39a2166334dac9b77e8fc24320.jpg","text":"TemporaryFile(/tmp/multipartBody607005985706346724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752242587280,"filename":"image_11072025_14_10_01_5888.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371601231","file1":"1371601172","file0":"1371601116","file4":"1371601345","file5":"1371601398","file3":"1371601287"},"map_files_photo_id_array":[{"photo_id":"1371601398","filename":"file5"},{"photo_id":"1371601231","filename":"file2"},{"photo_id":"1371601345","filename":"file4"},{"photo_id":"1371601172","filename":"file1"},{"photo_id":"1371601116","filename":"file0"},{"photo_id":"1371601287","filename":"file3"}],"portfolio_id":24815670,"hashtag_by_photo_ids":[{"1371601345":["hashtag1","hashtag2"]},{"1371601231":["hashtag1","hashtag2"]},{"1371601398":["hashtag1","hashtag2"]},{"1371601287":["hashtag1","hashtag2"]},{"1371601116":["hashtag1","hashtag2"]},{"1371601172":["hashtag1","hashtag2"]}],"comms":"Portfolio 24815670 used, photo_id : ArrayBuffer(1371601345, 1371601231, 1371601398, 1371601287, 1371601116, 1371601172)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 59.191670417785645 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 16:04:03.208564
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/13/55/image_11072025_13_55_01_6271.jpg', 2), ('/home/pi/Desktop/images/11072025/13/54/image_11072025_13_54_01_6563.jpg', 2), ('/home/pi/Desktop/images/11072025/13/52/image_11072025_13_52_02_0120.jpg', 2), ('/home/pi/Desktop/images/11072025/13/51/image_11072025_13_51_01_5121.jpg', 2), ('/home/pi/Desktop/images/11072025/13/50/image_11072025_13_50_01_6476.jpg', 2), ('/home/pi/Desktop/images/11072025/13/49/image_11072025_13_49_01_3728.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/13/55/image_11072025_13_55_01_6271.jpg', '/home/pi/Desktop/images/11072025/13/54/image_11072025_13_54_01_6563.jpg', '/home/pi/Desktop/images/11072025/13/52/image_11072025_13_52_02_0120.jpg', '/home/pi/Desktop/images/11072025/13/51/image_11072025_13_51_01_5121.jpg', '/home/pi/Desktop/images/11072025/13/50/image_11072025_13_50_01_6476.jpg', '/home/pi/Desktop/images/11072025/13/49/image_11072025_13_49_01_3728.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/13/55/image_11072025_13_55_01_6271.jpg
/home/pi/Desktop/images/11072025/13/54/image_11072025_13_54_01_6563.jpg
/home/pi/Desktop/images/11072025/13/52/image_11072025_13_52_02_0120.jpg
/home/pi/Desktop/images/11072025/13/51/image_11072025_13_51_01_5121.jpg
/home/pi/Desktop/images/11072025/13/50/image_11072025_13_50_01_6476.jpg
/home/pi/Desktop/images/11072025/13/49/image_11072025_13_49_01_3728.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371601737","1371601917","1371601862","1371601805","1371601768","1371601705"],"photo_ids_order":["1371601705","1371601737","1371601768","1371601805","1371601862","1371601917"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/3315bdf7fbc06c1c22480d5d8c792ce5.jpg","text":"TemporaryFile(/tmp/multipartBody7220092210991051390asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752242707290,"filename":"image_11072025_13_54_01_6563.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/88107607dabd43d9f5f0bb18a56d0262.jpg","text":"TemporaryFile(/tmp/multipartBody4300196489853033726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752242707290,"filename":"image_11072025_13_49_01_3728.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/31e9be4e686a556a9ec91ac3483af207.jpg","text":"TemporaryFile(/tmp/multipartBody3938834767423537768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752242707290,"filename":"image_11072025_13_50_01_6476.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/b5eaf272254017e783665c411469b8bb.jpg","text":"TemporaryFile(/tmp/multipartBody8761685021488778891asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752242707290,"filename":"image_11072025_13_51_01_5121.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/d0ef5e83be604016b93d5e59b57668c0.jpg","text":"TemporaryFile(/tmp/multipartBody6169024354741411222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752242707290,"filename":"image_11072025_13_52_02_0120.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/eaaeb7a0f4500ceb3a7ca358c45ac6d6.jpg","text":"TemporaryFile(/tmp/multipartBody8884178608512870766asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752242707290,"filename":"image_11072025_13_55_01_6271.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371601768","file1":"1371601737","file0":"1371601705","file4":"1371601862","file5":"1371601917","file3":"1371601805"},"map_files_photo_id_array":[{"photo_id":"1371601917","filename":"file5"},{"photo_id":"1371601768","filename":"file2"},{"photo_id":"1371601862","filename":"file4"},{"photo_id":"1371601737","filename":"file1"},{"photo_id":"1371601705","filename":"file0"},{"photo_id":"1371601805","filename":"file3"}],"portfolio_id":24815670,"hashtag_by_photo_ids":[{"1371601737":["hashtag1","hashtag2"]},{"1371601917":["hashtag1","hashtag2"]},{"1371601862":["hashtag1","hashtag2"]},{"1371601805":["hashtag1","hashtag2"]},{"1371601768":["hashtag1","hashtag2"]},{"1371601705":["hashtag1","hashtag2"]}],"comms":"Portfolio 24815670 used, photo_id : ArrayBuffer(1371601737, 1371601917, 1371601862, 1371601805, 1371601768, 1371601705)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.02615213394165 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 16:05:04.119108
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/13/47/image_11072025_13_47_01_7963.jpg', 2), ('/home/pi/Desktop/images/11072025/13/46/image_11072025_13_46_01_8118.jpg', 2), ('/home/pi/Desktop/images/11072025/13/45/image_11072025_13_45_01_6224.jpg', 2), ('/home/pi/Desktop/images/11072025/13/44/image_11072025_13_44_02_0055.jpg', 2), ('/home/pi/Desktop/images/11072025/13/43/image_11072025_13_43_02_0585.jpg', 2), ('/home/pi/Desktop/images/11072025/13/42/image_11072025_13_42_01_2682.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/13/47/image_11072025_13_47_01_7963.jpg', '/home/pi/Desktop/images/11072025/13/46/image_11072025_13_46_01_8118.jpg', '/home/pi/Desktop/images/11072025/13/45/image_11072025_13_45_01_6224.jpg', '/home/pi/Desktop/images/11072025/13/44/image_11072025_13_44_02_0055.jpg', '/home/pi/Desktop/images/11072025/13/43/image_11072025_13_43_02_0585.jpg', '/home/pi/Desktop/images/11072025/13/42/image_11072025_13_42_01_2682.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/13/47/image_11072025_13_47_01_7963.jpg
/home/pi/Desktop/images/11072025/13/46/image_11072025_13_46_01_8118.jpg
/home/pi/Desktop/images/11072025/13/45/image_11072025_13_45_01_6224.jpg
/home/pi/Desktop/images/11072025/13/44/image_11072025_13_44_02_0055.jpg
/home/pi/Desktop/images/11072025/13/43/image_11072025_13_43_02_0585.jpg
/home/pi/Desktop/images/11072025/13/42/image_11072025_13_42_01_2682.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371602445","1371602610","1371602345","1371602539","1371602227","1371602119"],"photo_ids_order":["1371602119","1371602227","1371602345","1371602445","1371602539","1371602610"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/749c88c7664577bb874fe4a17e42b282.jpg","text":"TemporaryFile(/tmp/multipartBody3007987958030903351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752242768240,"filename":"image_11072025_13_44_02_0055.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/364ee6495700f44f53a959417f3f3353.jpg","text":"TemporaryFile(/tmp/multipartBody1374187310003659990asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752242768240,"filename":"image_11072025_13_42_01_2682.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/760b64674095646cc2007f71996f1bfa.jpg","text":"TemporaryFile(/tmp/multipartBody2170039097312870548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752242768240,"filename":"image_11072025_13_45_01_6224.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/7eb4c73458e042d1f6638966b03ef88c.jpg","text":"TemporaryFile(/tmp/multipartBody5377842544464671649asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752242768240,"filename":"image_11072025_13_43_02_0585.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/e9ede25d9b7e0792b90e2b3881589a2c.jpg","text":"TemporaryFile(/tmp/multipartBody5181336557460208991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752242768240,"filename":"image_11072025_13_46_01_8118.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/5c0e5b00f511fcffb2e20e1a84e5cc6f.jpg","text":"TemporaryFile(/tmp/multipartBody4648047393779912179asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752242768240,"filename":"image_11072025_13_47_01_7963.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371602345","file1":"1371602227","file0":"1371602119","file4":"1371602539","file5":"1371602610","file3":"1371602445"},"map_files_photo_id_array":[{"photo_id":"1371602610","filename":"file5"},{"photo_id":"1371602345","filename":"file2"},{"photo_id":"1371602539","filename":"file4"},{"photo_id":"1371602227","filename":"file1"},{"photo_id":"1371602119","filename":"file0"},{"photo_id":"1371602445","filename":"file3"}],"portfolio_id":24815670,"hashtag_by_photo_ids":[{"1371602445":["hashtag1","hashtag2"]},{"1371602610":["hashtag1","hashtag2"]},{"1371602345":["hashtag1","hashtag2"]},{"1371602539":["hashtag1","hashtag2"]},{"1371602227":["hashtag1","hashtag2"]},{"1371602119":["hashtag1","hashtag2"]}],"comms":"Portfolio 24815670 used, photo_id : ArrayBuffer(1371602445, 1371602610, 1371602345, 1371602539, 1371602227, 1371602119)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 58.26943016052246 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 16:07:03.454262
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/13/41/image_11072025_13_41_01_7986.jpg', 2), ('/home/pi/Desktop/images/11072025/13/39/image_11072025_13_39_01_9632.jpg', 2), ('/home/pi/Desktop/images/11072025/13/37/image_11072025_13_37_01_5900.jpg', 2), ('/home/pi/Desktop/images/11072025/13/35/image_11072025_13_35_01_8141.jpg', 2), ('/home/pi/Desktop/images/11072025/13/33/image_11072025_13_33_01_3715.jpg', 2), ('/home/pi/Desktop/images/11072025/13/32/image_11072025_13_32_01_9320.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/13/41/image_11072025_13_41_01_7986.jpg', '/home/pi/Desktop/images/11072025/13/39/image_11072025_13_39_01_9632.jpg', '/home/pi/Desktop/images/11072025/13/37/image_11072025_13_37_01_5900.jpg', '/home/pi/Desktop/images/11072025/13/35/image_11072025_13_35_01_8141.jpg', '/home/pi/Desktop/images/11072025/13/33/image_11072025_13_33_01_3715.jpg', '/home/pi/Desktop/images/11072025/13/32/image_11072025_13_32_01_9320.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/13/41/image_11072025_13_41_01_7986.jpg
/home/pi/Desktop/images/11072025/13/39/image_11072025_13_39_01_9632.jpg
/home/pi/Desktop/images/11072025/13/37/image_11072025_13_37_01_5900.jpg
/home/pi/Desktop/images/11072025/13/35/image_11072025_13_35_01_8141.jpg
/home/pi/Desktop/images/11072025/13/33/image_11072025_13_33_01_3715.jpg
/home/pi/Desktop/images/11072025/13/32/image_11072025_13_32_01_9320.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371603102","1371603196","1371603250","1371603109","1371603093","1371603144"],"photo_ids_order":["1371603093","1371603102","1371603109","1371603144","1371603196","1371603250"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/0cfad66839c73725c5a3f8b2b1b841ee.jpg","text":"TemporaryFile(/tmp/multipartBody352138587701146193asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752242887096,"filename":"image_11072025_13_39_01_9632.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/fa2403e365e23df54b62221665b810ac.jpg","text":"TemporaryFile(/tmp/multipartBody1613823190207477898asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752242887096,"filename":"image_11072025_13_33_01_3715.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/d46dac766849806a556ad9ee3292e96e.jpg","text":"TemporaryFile(/tmp/multipartBody8719477159745642249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752242887096,"filename":"image_11072025_13_32_01_9320.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/545a6f382a620920870f88596298cffd.jpg","text":"TemporaryFile(/tmp/multipartBody6339647017078984642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752242887096,"filename":"image_11072025_13_37_01_5900.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/18ea3ba7a213eb9648a685d57764c198.jpg","text":"TemporaryFile(/tmp/multipartBody1929779053391024181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752242887096,"filename":"image_11072025_13_41_01_7986.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/80c88d1d54e8dfb22edbe65e8391b4cd.jpg","text":"TemporaryFile(/tmp/multipartBody7439424625673647545asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752242887096,"filename":"image_11072025_13_35_01_8141.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371603109","file1":"1371603102","file0":"1371603093","file4":"1371603196","file5":"1371603250","file3":"1371603144"},"map_files_photo_id_array":[{"photo_id":"1371603250","filename":"file5"},{"photo_id":"1371603109","filename":"file2"},{"photo_id":"1371603196","filename":"file4"},{"photo_id":"1371603102","filename":"file1"},{"photo_id":"1371603093","filename":"file0"},{"photo_id":"1371603144","filename":"file3"}],"portfolio_id":24815670,"hashtag_by_photo_ids":[{"1371603102":["hashtag1","hashtag2"]},{"1371603196":["hashtag1","hashtag2"]},{"1371603250":["hashtag1","hashtag2"]},{"1371603109":["hashtag1","hashtag2"]},{"1371603093":["hashtag1","hashtag2"]},{"1371603144":["hashtag1","hashtag2"]}],"comms":"Portfolio 24815670 used, photo_id : ArrayBuffer(1371603102, 1371603196, 1371603250, 1371603109, 1371603093, 1371603144)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.85007429122925 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 16:08:02.775846
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/13/31/image_11072025_13_31_01_9529.jpg', 2), ('/home/pi/Desktop/images/11072025/13/29/image_11072025_13_29_01_4152.jpg', 2), ('/home/pi/Desktop/images/11072025/13/28/image_11072025_13_28_02_2040.jpg', 2), ('/home/pi/Desktop/images/11072025/13/27/image_11072025_13_27_01_9186.jpg', 2), ('/home/pi/Desktop/images/11072025/13/26/image_11072025_13_26_02_1278.jpg', 2), ('/home/pi/Desktop/images/11072025/13/25/image_11072025_13_25_01_8426.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/13/31/image_11072025_13_31_01_9529.jpg', '/home/pi/Desktop/images/11072025/13/29/image_11072025_13_29_01_4152.jpg', '/home/pi/Desktop/images/11072025/13/28/image_11072025_13_28_02_2040.jpg', '/home/pi/Desktop/images/11072025/13/27/image_11072025_13_27_01_9186.jpg', '/home/pi/Desktop/images/11072025/13/26/image_11072025_13_26_02_1278.jpg', '/home/pi/Desktop/images/11072025/13/25/image_11072025_13_25_01_8426.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/13/31/image_11072025_13_31_01_9529.jpg
/home/pi/Desktop/images/11072025/13/29/image_11072025_13_29_01_4152.jpg
/home/pi/Desktop/images/11072025/13/28/image_11072025_13_28_02_2040.jpg
/home/pi/Desktop/images/11072025/13/27/image_11072025_13_27_01_9186.jpg
/home/pi/Desktop/images/11072025/13/26/image_11072025_13_26_02_1278.jpg
/home/pi/Desktop/images/11072025/13/25/image_11072025_13_25_01_8426.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 3.9680097103118896 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 16:09:03.737701
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/13/31/image_11072025_13_31_01_9529.jpg', 2), ('/home/pi/Desktop/images/11072025/13/29/image_11072025_13_29_01_4152.jpg', 2), ('/home/pi/Desktop/images/11072025/13/28/image_11072025_13_28_02_2040.jpg', 2), ('/home/pi/Desktop/images/11072025/13/27/image_11072025_13_27_01_9186.jpg', 2), ('/home/pi/Desktop/images/11072025/13/26/image_11072025_13_26_02_1278.jpg', 2), ('/home/pi/Desktop/images/11072025/13/25/image_11072025_13_25_01_8426.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/13/31/image_11072025_13_31_01_9529.jpg', '/home/pi/Desktop/images/11072025/13/29/image_11072025_13_29_01_4152.jpg', '/home/pi/Desktop/images/11072025/13/28/image_11072025_13_28_02_2040.jpg', '/home/pi/Desktop/images/11072025/13/27/image_11072025_13_27_01_9186.jpg', '/home/pi/Desktop/images/11072025/13/26/image_11072025_13_26_02_1278.jpg', '/home/pi/Desktop/images/11072025/13/25/image_11072025_13_25_01_8426.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/13/31/image_11072025_13_31_01_9529.jpg
/home/pi/Desktop/images/11072025/13/29/image_11072025_13_29_01_4152.jpg
/home/pi/Desktop/images/11072025/13/28/image_11072025_13_28_02_2040.jpg
/home/pi/Desktop/images/11072025/13/27/image_11072025_13_27_01_9186.jpg
/home/pi/Desktop/images/11072025/13/26/image_11072025_13_26_02_1278.jpg
/home/pi/Desktop/images/11072025/13/25/image_11072025_13_25_01_8426.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371603708","1371603772","1371603553","1371603570","1371603543","1371603630"],"photo_ids_order":["1371603543","1371603553","1371603570","1371603630","1371603708","1371603772"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/f1cdc4a2859f8cdf4c03a456c60cbcdf.jpg","text":"TemporaryFile(/tmp/multipartBody5975555537057996515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752243006589,"filename":"image_11072025_13_26_02_1278.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/77cdc5c2e8d3da007c1267d80729307e.jpg","text":"TemporaryFile(/tmp/multipartBody7509234501931203803asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752243006589,"filename":"image_11072025_13_25_01_8426.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/e92e884f09cb6bf362c2415e2b7442ea.jpg","text":"TemporaryFile(/tmp/multipartBody5375555991396580564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752243006589,"filename":"image_11072025_13_29_01_4152.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/23f7490e77eeb8886260d6f3da196125.jpg","text":"TemporaryFile(/tmp/multipartBody8755999562903798564asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752243006589,"filename":"image_11072025_13_28_02_2040.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/6ae6197ca8bebfabfd87709d2cb1b6d6.jpg","text":"TemporaryFile(/tmp/multipartBody1184253049150082009asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752243006589,"filename":"image_11072025_13_31_01_9529.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/70a2782db4abc936e76287e014d836c2.jpg","text":"TemporaryFile(/tmp/multipartBody1831744007394296298asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752243006589,"filename":"image_11072025_13_27_01_9186.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371603570","file1":"1371603553","file0":"1371603543","file4":"1371603708","file5":"1371603772","file3":"1371603630"},"map_files_photo_id_array":[{"photo_id":"1371603772","filename":"file5"},{"photo_id":"1371603570","filename":"file2"},{"photo_id":"1371603708","filename":"file4"},{"photo_id":"1371603553","filename":"file1"},{"photo_id":"1371603543","filename":"file0"},{"photo_id":"1371603630","filename":"file3"}],"portfolio_id":24815670,"hashtag_by_photo_ids":[{"1371603708":["hashtag1","hashtag2"]},{"1371603772":["hashtag1","hashtag2"]},{"1371603553":["hashtag1","hashtag2"]},{"1371603570":["hashtag1","hashtag2"]},{"1371603543":["hashtag1","hashtag2"]},{"1371603630":["hashtag1","hashtag2"]}],"comms":"Portfolio 24815670 used, photo_id : ArrayBuffer(1371603708, 1371603772, 1371603553, 1371603570, 1371603543, 1371603630)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 62.050230741500854 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 16:11:04.339299
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/13/23/image_11072025_13_23_01_3283.jpg', 2), ('/home/pi/Desktop/images/11072025/13/22/image_11072025_13_22_01_9208.jpg', 2), ('/home/pi/Desktop/images/11072025/13/21/image_11072025_13_21_01_5469.jpg', 2), ('/home/pi/Desktop/images/11072025/13/20/image_11072025_13_20_01_6504.jpg', 2), ('/home/pi/Desktop/images/11072025/13/19/image_11072025_13_19_01_4008.jpg', 2), ('/home/pi/Desktop/images/11072025/13/18/image_11072025_13_18_02_1589.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/13/23/image_11072025_13_23_01_3283.jpg', '/home/pi/Desktop/images/11072025/13/22/image_11072025_13_22_01_9208.jpg', '/home/pi/Desktop/images/11072025/13/21/image_11072025_13_21_01_5469.jpg', '/home/pi/Desktop/images/11072025/13/20/image_11072025_13_20_01_6504.jpg', '/home/pi/Desktop/images/11072025/13/19/image_11072025_13_19_01_4008.jpg', '/home/pi/Desktop/images/11072025/13/18/image_11072025_13_18_02_1589.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/13/23/image_11072025_13_23_01_3283.jpg
/home/pi/Desktop/images/11072025/13/22/image_11072025_13_22_01_9208.jpg
/home/pi/Desktop/images/11072025/13/21/image_11072025_13_21_01_5469.jpg
/home/pi/Desktop/images/11072025/13/20/image_11072025_13_20_01_6504.jpg
/home/pi/Desktop/images/11072025/13/19/image_11072025_13_19_01_4008.jpg
/home/pi/Desktop/images/11072025/13/18/image_11072025_13_18_02_1589.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371604142","1371604136","1371604147","1371604156","1371604128","1371604122"],"photo_ids_order":["1371604122","1371604128","1371604136","1371604142","1371604147","1371604156"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/f241d1b680e4ac97159bfa02c8719a52.jpg","text":"TemporaryFile(/tmp/multipartBody1744036115710973923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752243128072,"filename":"image_11072025_13_20_01_6504.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/d3896df4f1f5f4e0bf779b910a268df9.jpg","text":"TemporaryFile(/tmp/multipartBody8540868478247500869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752243128072,"filename":"image_11072025_13_21_01_5469.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/b04bb97365e6404ae39476ebcc35fe30.jpg","text":"TemporaryFile(/tmp/multipartBody6288581297514611439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752243128072,"filename":"image_11072025_13_19_01_4008.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/08092ef4d19118ddb8d5a7d5a5409ed8.jpg","text":"TemporaryFile(/tmp/multipartBody1717367295180806301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752243128072,"filename":"image_11072025_13_18_02_1589.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/6bb49d3ced005cba802e3b349e002ec2.jpg","text":"TemporaryFile(/tmp/multipartBody6157750914670145037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752243128072,"filename":"image_11072025_13_22_01_9208.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/e5b36b48a2711c7ab4576ec8ae7bf95a.jpg","text":"TemporaryFile(/tmp/multipartBody4900762757573394594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752243128072,"filename":"image_11072025_13_23_01_3283.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371604136","file1":"1371604128","file0":"1371604122","file4":"1371604147","file5":"1371604156","file3":"1371604142"},"map_files_photo_id_array":[{"photo_id":"1371604156","filename":"file5"},{"photo_id":"1371604136","filename":"file2"},{"photo_id":"1371604147","filename":"file4"},{"photo_id":"1371604128","filename":"file1"},{"photo_id":"1371604122","filename":"file0"},{"photo_id":"1371604142","filename":"file3"}],"portfolio_id":24815670,"hashtag_by_photo_ids":[{"1371604142":["hashtag1","hashtag2"]},{"1371604136":["hashtag1","hashtag2"]},{"1371604147":["hashtag1","hashtag2"]},{"1371604156":["hashtag1","hashtag2"]},{"1371604128":["hashtag1","hashtag2"]},{"1371604122":["hashtag1","hashtag2"]}],"comms":"Portfolio 24815670 used, photo_id : ArrayBuffer(1371604142, 1371604136, 1371604147, 1371604156, 1371604128, 1371604122)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 63.08474802970886 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 16:13:04.194635
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/13/16/image_11072025_13_16_01_8899.jpg', 2), ('/home/pi/Desktop/images/11072025/13/14/image_11072025_13_14_02_0390.jpg', 2), ('/home/pi/Desktop/images/11072025/13/12/image_11072025_13_12_01_7193.jpg', 2), ('/home/pi/Desktop/images/11072025/13/11/image_11072025_13_11_01_7243.jpg', 2), ('/home/pi/Desktop/images/11072025/13/10/image_11072025_13_10_01_9469.jpg', 2), ('/home/pi/Desktop/images/11072025/13/09/image_11072025_13_09_01_8537.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/13/16/image_11072025_13_16_01_8899.jpg', '/home/pi/Desktop/images/11072025/13/14/image_11072025_13_14_02_0390.jpg', '/home/pi/Desktop/images/11072025/13/12/image_11072025_13_12_01_7193.jpg', '/home/pi/Desktop/images/11072025/13/11/image_11072025_13_11_01_7243.jpg', '/home/pi/Desktop/images/11072025/13/10/image_11072025_13_10_01_9469.jpg', '/home/pi/Desktop/images/11072025/13/09/image_11072025_13_09_01_8537.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/13/16/image_11072025_13_16_01_8899.jpg
/home/pi/Desktop/images/11072025/13/14/image_11072025_13_14_02_0390.jpg
/home/pi/Desktop/images/11072025/13/12/image_11072025_13_12_01_7193.jpg
/home/pi/Desktop/images/11072025/13/11/image_11072025_13_11_01_7243.jpg
/home/pi/Desktop/images/11072025/13/10/image_11072025_13_10_01_9469.jpg
/home/pi/Desktop/images/11072025/13/09/image_11072025_13_09_01_8537.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371604244","1371604235","1371604258","1371604278","1371604272","1371604251"],"photo_ids_order":["1371604235","1371604244","1371604251","1371604258","1371604272","1371604278"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/3c1a696f0698132f0eccf9201ce557fe.jpg","text":"TemporaryFile(/tmp/multipartBody1948644104634171161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752243248214,"filename":"image_11072025_13_14_02_0390.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/d1d3188d729ea350f029510069f7bb1d.jpg","text":"TemporaryFile(/tmp/multipartBody8721765240993130439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752243248214,"filename":"image_11072025_13_16_01_8899.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/cc0b4b2bd7aa25fe5eb4fa75fcdd2f1b.jpg","text":"TemporaryFile(/tmp/multipartBody8576656450239038589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752243248214,"filename":"image_11072025_13_11_01_7243.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/b35e7b24d2c075eac1f79acb581e7d95.jpg","text":"TemporaryFile(/tmp/multipartBody4943150234035171060asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752243248214,"filename":"image_11072025_13_09_01_8537.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/57c45f3bd04a0cfc0b61840dbb5fe928.jpg","text":"TemporaryFile(/tmp/multipartBody8147919922132518567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752243248214,"filename":"image_11072025_13_10_01_9469.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/dc64ad2a03b76dcb497aeeae26d1c076.jpg","text":"TemporaryFile(/tmp/multipartBody2841684557317934347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752243248214,"filename":"image_11072025_13_12_01_7193.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371604251","file1":"1371604244","file0":"1371604235","file4":"1371604272","file5":"1371604278","file3":"1371604258"},"map_files_photo_id_array":[{"photo_id":"1371604278","filename":"file5"},{"photo_id":"1371604251","filename":"file2"},{"photo_id":"1371604272","filename":"file4"},{"photo_id":"1371604244","filename":"file1"},{"photo_id":"1371604235","filename":"file0"},{"photo_id":"1371604258","filename":"file3"}],"portfolio_id":24815670,"hashtag_by_photo_ids":[{"1371604244":["hashtag1","hashtag2"]},{"1371604235":["hashtag1","hashtag2"]},{"1371604258":["hashtag1","hashtag2"]},{"1371604278":["hashtag1","hashtag2"]},{"1371604272":["hashtag1","hashtag2"]},{"1371604251":["hashtag1","hashtag2"]}],"comms":"Portfolio 24815670 used, photo_id : ArrayBuffer(1371604244, 1371604235, 1371604258, 1371604278, 1371604272, 1371604251)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 65.08797287940979 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 16:15:03.905350
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/13/08/image_11072025_13_08_02_1391.jpg', 2), ('/home/pi/Desktop/images/11072025/13/07/image_11072025_13_07_01_3465.jpg', 2), ('/home/pi/Desktop/images/11072025/13/06/image_11072025_13_06_01_4488.jpg', 2), ('/home/pi/Desktop/images/11072025/13/04/image_11072025_13_04_01_5383.jpg', 2), ('/home/pi/Desktop/images/11072025/13/03/image_11072025_13_03_01_7791.jpg', 2), ('/home/pi/Desktop/images/11072025/13/02/image_11072025_13_02_02_1655.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/13/08/image_11072025_13_08_02_1391.jpg', '/home/pi/Desktop/images/11072025/13/07/image_11072025_13_07_01_3465.jpg', '/home/pi/Desktop/images/11072025/13/06/image_11072025_13_06_01_4488.jpg', '/home/pi/Desktop/images/11072025/13/04/image_11072025_13_04_01_5383.jpg', '/home/pi/Desktop/images/11072025/13/03/image_11072025_13_03_01_7791.jpg', '/home/pi/Desktop/images/11072025/13/02/image_11072025_13_02_02_1655.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/13/08/image_11072025_13_08_02_1391.jpg
/home/pi/Desktop/images/11072025/13/07/image_11072025_13_07_01_3465.jpg
/home/pi/Desktop/images/11072025/13/06/image_11072025_13_06_01_4488.jpg
/home/pi/Desktop/images/11072025/13/04/image_11072025_13_04_01_5383.jpg
/home/pi/Desktop/images/11072025/13/03/image_11072025_13_03_01_7791.jpg
/home/pi/Desktop/images/11072025/13/02/image_11072025_13_02_02_1655.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371604361","1371604378","1371604372","1371604354","1371604347","1371604397"],"photo_ids_order":["1371604347","1371604354","1371604361","1371604372","1371604378","1371604397"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/bb6ebef362498a5f684af75e41c63b5b.jpg","text":"TemporaryFile(/tmp/multipartBody5172797830253950411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752243367806,"filename":"image_11072025_13_06_01_4488.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/218ad3dcda6bc7cf846a8325eee6e0a9.jpg","text":"TemporaryFile(/tmp/multipartBody8081231209778298761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752243367806,"filename":"image_11072025_13_03_01_7791.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/2870306d05a6c41c273c4bc08672ce8e.jpg","text":"TemporaryFile(/tmp/multipartBody2099943135815732376asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752243367806,"filename":"image_11072025_13_04_01_5383.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/f87cea6d0a2eb170d9dc8315f9e10628.jpg","text":"TemporaryFile(/tmp/multipartBody4826576899612295618asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752243367806,"filename":"image_11072025_13_07_01_3465.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/972619f854a515f729d98f6779fc52f7.jpg","text":"TemporaryFile(/tmp/multipartBody5920641871531034884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752243367806,"filename":"image_11072025_13_08_02_1391.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/ce58d478a536f3b5c67043a0643d8c6a.jpg","text":"TemporaryFile(/tmp/multipartBody2433721544688931445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752243367806,"filename":"image_11072025_13_02_02_1655.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371604361","file1":"1371604354","file0":"1371604347","file4":"1371604378","file5":"1371604397","file3":"1371604372"},"map_files_photo_id_array":[{"photo_id":"1371604397","filename":"file5"},{"photo_id":"1371604361","filename":"file2"},{"photo_id":"1371604378","filename":"file4"},{"photo_id":"1371604354","filename":"file1"},{"photo_id":"1371604347","filename":"file0"},{"photo_id":"1371604372","filename":"file3"}],"portfolio_id":24815670,"hashtag_by_photo_ids":[{"1371604361":["hashtag1","hashtag2"]},{"1371604378":["hashtag1","hashtag2"]},{"1371604372":["hashtag1","hashtag2"]},{"1371604354":["hashtag1","hashtag2"]},{"1371604347":["hashtag1","hashtag2"]},{"1371604397":["hashtag1","hashtag2"]}],"comms":"Portfolio 24815670 used, photo_id : ArrayBuffer(1371604361, 1371604378, 1371604372, 1371604354, 1371604347, 1371604397)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 61.840237617492676 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 16:17:03.584910
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/13/01/image_11072025_13_01_01_7025.jpg', 2), ('/home/pi/Desktop/images/11072025/13/00/image_11072025_13_00_01_7028.jpg', 2), ('/home/pi/Desktop/images/11072025/12/59/image_11072025_12_59_01_9874.jpg', 2), ('/home/pi/Desktop/images/11072025/12/58/image_11072025_12_58_02_0255.jpg', 2), ('/home/pi/Desktop/images/11072025/12/57/image_11072025_12_57_01_6213.jpg', 2), ('/home/pi/Desktop/images/11072025/12/56/image_11072025_12_56_02_1171.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/13/01/image_11072025_13_01_01_7025.jpg', '/home/pi/Desktop/images/11072025/13/00/image_11072025_13_00_01_7028.jpg', '/home/pi/Desktop/images/11072025/12/59/image_11072025_12_59_01_9874.jpg', '/home/pi/Desktop/images/11072025/12/58/image_11072025_12_58_02_0255.jpg', '/home/pi/Desktop/images/11072025/12/57/image_11072025_12_57_01_6213.jpg', '/home/pi/Desktop/images/11072025/12/56/image_11072025_12_56_02_1171.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/13/01/image_11072025_13_01_01_7025.jpg
/home/pi/Desktop/images/11072025/13/00/image_11072025_13_00_01_7028.jpg
/home/pi/Desktop/images/11072025/12/59/image_11072025_12_59_01_9874.jpg
/home/pi/Desktop/images/11072025/12/58/image_11072025_12_58_02_0255.jpg
/home/pi/Desktop/images/11072025/12/57/image_11072025_12_57_01_6213.jpg
/home/pi/Desktop/images/11072025/12/56/image_11072025_12_56_02_1171.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371604844","1371605009","1371605359","1371604951","1371605242","1371605147"],"photo_ids_order":["1371604844","1371604951","1371605009","1371605147","1371605242","1371605359"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/9e3153a0d024af37b62fcd851fa120d0.jpg","text":"TemporaryFile(/tmp/multipartBody2196475111069637338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752243487559,"filename":"image_11072025_13_01_01_7025.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/a42c07ef3682ded390f9cfd690052411.jpg","text":"TemporaryFile(/tmp/multipartBody8832839072335105363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752243487559,"filename":"image_11072025_12_59_01_9874.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/d5dfc8e1bd9259954028d7f472629c65.jpg","text":"TemporaryFile(/tmp/multipartBody255001509919450512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752243487559,"filename":"image_11072025_12_56_02_1171.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/1aa471a3fb0a705cbb380ff9af9f6a70.jpg","text":"TemporaryFile(/tmp/multipartBody78067556771135736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752243487559,"filename":"image_11072025_13_00_01_7028.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/55643cca3cb39bf1b36ae6540fb82b52.jpg","text":"TemporaryFile(/tmp/multipartBody6666707966344055089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752243487559,"filename":"image_11072025_12_57_01_6213.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/5859de6a17a47bdc56d8562ea4dc4f58.jpg","text":"TemporaryFile(/tmp/multipartBody5848937640454590689asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752243487559,"filename":"image_11072025_12_58_02_0255.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371605009","file1":"1371604951","file0":"1371604844","file4":"1371605242","file5":"1371605359","file3":"1371605147"},"map_files_photo_id_array":[{"photo_id":"1371605359","filename":"file5"},{"photo_id":"1371605009","filename":"file2"},{"photo_id":"1371605242","filename":"file4"},{"photo_id":"1371604951","filename":"file1"},{"photo_id":"1371604844","filename":"file0"},{"photo_id":"1371605147","filename":"file3"}],"portfolio_id":24815670,"hashtag_by_photo_ids":[{"1371604844":["hashtag1","hashtag2"]},{"1371605009":["hashtag1","hashtag2"]},{"1371605359":["hashtag1","hashtag2"]},{"1371604951":["hashtag1","hashtag2"]},{"1371605242":["hashtag1","hashtag2"]},{"1371605147":["hashtag1","hashtag2"]}],"comms":"Portfolio 24815670 used, photo_id : ArrayBuffer(1371604844, 1371605009, 1371605359, 1371604951, 1371605242, 1371605147)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 59.38112449645996 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 16:19:03.946895
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/12/55/image_11072025_12_55_01_3735.jpg', 2), ('/home/pi/Desktop/images/11072025/12/54/image_11072025_12_54_01_7034.jpg', 2), ('/home/pi/Desktop/images/11072025/12/52/image_11072025_12_52_01_4146.jpg', 2), ('/home/pi/Desktop/images/11072025/12/51/image_11072025_12_51_01_4331.jpg', 2), ('/home/pi/Desktop/images/11072025/12/50/image_11072025_12_50_01_7371.jpg', 2), ('/home/pi/Desktop/images/11072025/12/49/image_11072025_12_49_02_2665.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/12/55/image_11072025_12_55_01_3735.jpg', '/home/pi/Desktop/images/11072025/12/54/image_11072025_12_54_01_7034.jpg', '/home/pi/Desktop/images/11072025/12/52/image_11072025_12_52_01_4146.jpg', '/home/pi/Desktop/images/11072025/12/51/image_11072025_12_51_01_4331.jpg', '/home/pi/Desktop/images/11072025/12/50/image_11072025_12_50_01_7371.jpg', '/home/pi/Desktop/images/11072025/12/49/image_11072025_12_49_02_2665.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/12/55/image_11072025_12_55_01_3735.jpg
/home/pi/Desktop/images/11072025/12/54/image_11072025_12_54_01_7034.jpg
/home/pi/Desktop/images/11072025/12/52/image_11072025_12_52_01_4146.jpg
/home/pi/Desktop/images/11072025/12/51/image_11072025_12_51_01_4331.jpg
/home/pi/Desktop/images/11072025/12/50/image_11072025_12_50_01_7371.jpg
/home/pi/Desktop/images/11072025/12/49/image_11072025_12_49_02_2665.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371605977","1371606109","1371605923","1371606071","1371606014","1371606023"],"photo_ids_order":["1371605923","1371605977","1371606014","1371606023","1371606071","1371606109"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/295048954d2d8f875615c4740b3344b4.jpg","text":"TemporaryFile(/tmp/multipartBody6869972892309374731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752243607922,"filename":"image_11072025_12_54_01_7034.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/c8fe1b205b90c3f57bdb58e7f50e2fd3.jpg","text":"TemporaryFile(/tmp/multipartBody7907368322099617210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752243607922,"filename":"image_11072025_12_49_02_2665.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/970eb7758bbd7458b1edd7812f64612b.jpg","text":"TemporaryFile(/tmp/multipartBody348913607050206386asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752243607922,"filename":"image_11072025_12_55_01_3735.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/dfb3205d43033d700a345c33c530716e.jpg","text":"TemporaryFile(/tmp/multipartBody2938012537258876382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752243607922,"filename":"image_11072025_12_50_01_7371.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/8bccd1777d6de9b214f08da1f5169dbe.jpg","text":"TemporaryFile(/tmp/multipartBody5909490521127803078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752243607922,"filename":"image_11072025_12_52_01_4146.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/8be81af9543435ee6b327735947dde32.jpg","text":"TemporaryFile(/tmp/multipartBody1743952860526844684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752243607922,"filename":"image_11072025_12_51_01_4331.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371606014","file1":"1371605977","file0":"1371605923","file4":"1371606071","file5":"1371606109","file3":"1371606023"},"map_files_photo_id_array":[{"photo_id":"1371606109","filename":"file5"},{"photo_id":"1371606014","filename":"file2"},{"photo_id":"1371606071","filename":"file4"},{"photo_id":"1371605977","filename":"file1"},{"photo_id":"1371605923","filename":"file0"},{"photo_id":"1371606023","filename":"file3"}],"portfolio_id":24815670,"hashtag_by_photo_ids":[{"1371605977":["hashtag1","hashtag2"]},{"1371606109":["hashtag1","hashtag2"]},{"1371605923":["hashtag1","hashtag2"]},{"1371606071":["hashtag1","hashtag2"]},{"1371606014":["hashtag1","hashtag2"]},{"1371606023":["hashtag1","hashtag2"]}],"comms":"Portfolio 24815670 used, photo_id : ArrayBuffer(1371605977, 1371606109, 1371605923, 1371606071, 1371606014, 1371606023)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 60.289451122283936 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 16:21:03.339618
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/12/48/image_11072025_12_48_01_6448.jpg', 2), ('/home/pi/Desktop/images/11072025/12/47/image_11072025_12_47_02_0871.jpg', 2), ('/home/pi/Desktop/images/11072025/12/46/image_11072025_12_46_01_9931.jpg', 2), ('/home/pi/Desktop/images/11072025/12/45/image_11072025_12_45_02_0037.jpg', 2), ('/home/pi/Desktop/images/11072025/12/44/image_11072025_12_44_01_5557.jpg', 2), ('/home/pi/Desktop/images/11072025/12/43/image_11072025_12_43_01_8500.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/12/48/image_11072025_12_48_01_6448.jpg', '/home/pi/Desktop/images/11072025/12/47/image_11072025_12_47_02_0871.jpg', '/home/pi/Desktop/images/11072025/12/46/image_11072025_12_46_01_9931.jpg', '/home/pi/Desktop/images/11072025/12/45/image_11072025_12_45_02_0037.jpg', '/home/pi/Desktop/images/11072025/12/44/image_11072025_12_44_01_5557.jpg', '/home/pi/Desktop/images/11072025/12/43/image_11072025_12_43_01_8500.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/12/48/image_11072025_12_48_01_6448.jpg
/home/pi/Desktop/images/11072025/12/47/image_11072025_12_47_02_0871.jpg
/home/pi/Desktop/images/11072025/12/46/image_11072025_12_46_01_9931.jpg
/home/pi/Desktop/images/11072025/12/45/image_11072025_12_45_02_0037.jpg
/home/pi/Desktop/images/11072025/12/44/image_11072025_12_44_01_5557.jpg
/home/pi/Desktop/images/11072025/12/43/image_11072025_12_43_01_8500.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371606234","1371606219","1371606251","1371606242","1371606224","1371606206"],"photo_ids_order":["1371606206","1371606219","1371606224","1371606234","1371606242","1371606251"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/977c4c393f67d29035cf2705e95ef574.jpg","text":"TemporaryFile(/tmp/multipartBody3813828649292691640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752243727314,"filename":"image_11072025_12_45_02_0037.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/25746bc11c1110b24f0792858c1e89bc.jpg","text":"TemporaryFile(/tmp/multipartBody2815242734790136470asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752243727314,"filename":"image_11072025_12_47_02_0871.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/a7e76425572e8596f102663088333f9d.jpg","text":"TemporaryFile(/tmp/multipartBody5499767164347929165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752243727314,"filename":"image_11072025_12_43_01_8500.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/88371735bea5d2d7a885f2ee8e22ed1e.jpg","text":"TemporaryFile(/tmp/multipartBody4412446751197696326asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752243727314,"filename":"image_11072025_12_44_01_5557.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/06f821acf196eed200063780745ed4c0.jpg","text":"TemporaryFile(/tmp/multipartBody8502977799688991823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752243727314,"filename":"image_11072025_12_46_01_9931.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/5b401737419c1e3c2ec52f70baa34d70.jpg","text":"TemporaryFile(/tmp/multipartBody3974079267517970714asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752243727314,"filename":"image_11072025_12_48_01_6448.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371606224","file1":"1371606219","file0":"1371606206","file4":"1371606242","file5":"1371606251","file3":"1371606234"},"map_files_photo_id_array":[{"photo_id":"1371606251","filename":"file5"},{"photo_id":"1371606224","filename":"file2"},{"photo_id":"1371606242","filename":"file4"},{"photo_id":"1371606219","filename":"file1"},{"photo_id":"1371606206","filename":"file0"},{"photo_id":"1371606234","filename":"file3"}],"portfolio_id":24815670,"hashtag_by_photo_ids":[{"1371606234":["hashtag1","hashtag2"]},{"1371606219":["hashtag1","hashtag2"]},{"1371606251":["hashtag1","hashtag2"]},{"1371606242":["hashtag1","hashtag2"]},{"1371606224":["hashtag1","hashtag2"]},{"1371606206":["hashtag1","hashtag2"]}],"comms":"Portfolio 24815670 used, photo_id : ArrayBuffer(1371606234, 1371606219, 1371606251, 1371606242, 1371606224, 1371606206)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 68.51216197013855 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 16:23:03.440636
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/12/42/image_11072025_12_42_02_1770.jpg', 2), ('/home/pi/Desktop/images/11072025/12/41/image_11072025_12_41_01_9887.jpg', 2), ('/home/pi/Desktop/images/11072025/12/39/image_11072025_12_39_01_2878.jpg', 2), ('/home/pi/Desktop/images/11072025/12/38/image_11072025_12_38_02_2441.jpg', 2), ('/home/pi/Desktop/images/11072025/12/37/image_11072025_12_37_01_7483.jpg', 2), ('/home/pi/Desktop/images/11072025/12/36/image_11072025_12_36_02_2594.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/12/42/image_11072025_12_42_02_1770.jpg', '/home/pi/Desktop/images/11072025/12/41/image_11072025_12_41_01_9887.jpg', '/home/pi/Desktop/images/11072025/12/39/image_11072025_12_39_01_2878.jpg', '/home/pi/Desktop/images/11072025/12/38/image_11072025_12_38_02_2441.jpg', '/home/pi/Desktop/images/11072025/12/37/image_11072025_12_37_01_7483.jpg', '/home/pi/Desktop/images/11072025/12/36/image_11072025_12_36_02_2594.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/12/42/image_11072025_12_42_02_1770.jpg
/home/pi/Desktop/images/11072025/12/41/image_11072025_12_41_01_9887.jpg
/home/pi/Desktop/images/11072025/12/39/image_11072025_12_39_01_2878.jpg
/home/pi/Desktop/images/11072025/12/38/image_11072025_12_38_02_2441.jpg
/home/pi/Desktop/images/11072025/12/37/image_11072025_12_37_01_7483.jpg
/home/pi/Desktop/images/11072025/12/36/image_11072025_12_36_02_2594.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371606736","1371606792","1371606852","1371606912","1371606967","1371606682"],"photo_ids_order":["1371606682","1371606736","1371606792","1371606852","1371606912","1371606967"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/35d85ee7ce04e7c3b630bf473e0e6874.jpg","text":"TemporaryFile(/tmp/multipartBody5045272781798413624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752243846733,"filename":"image_11072025_12_41_01_9887.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/51a1543b59ba18cc6ef75995f4a09cc6.jpg","text":"TemporaryFile(/tmp/multipartBody2307048052202038581asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752243846733,"filename":"image_11072025_12_39_01_2878.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/2c4b7253c38c3859bae475d5d4d88975.jpg","text":"TemporaryFile(/tmp/multipartBody2629507343155220296asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752243846733,"filename":"image_11072025_12_38_02_2441.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/d33052bbcc030836a6c42f47f1f6dc4f.jpg","text":"TemporaryFile(/tmp/multipartBody584573572417960454asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752243846733,"filename":"image_11072025_12_37_01_7483.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/4d62814f51f4a3348f2c6d710508d13a.jpg","text":"TemporaryFile(/tmp/multipartBody378382539418851585asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752243846733,"filename":"image_11072025_12_36_02_2594.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/f90faf62d1615d8d5443ff87701ae8e9.jpg","text":"TemporaryFile(/tmp/multipartBody5527098409796229760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752243846733,"filename":"image_11072025_12_42_02_1770.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371606792","file1":"1371606736","file0":"1371606682","file4":"1371606912","file5":"1371606967","file3":"1371606852"},"map_files_photo_id_array":[{"photo_id":"1371606967","filename":"file5"},{"photo_id":"1371606792","filename":"file2"},{"photo_id":"1371606912","filename":"file4"},{"photo_id":"1371606736","filename":"file1"},{"photo_id":"1371606682","filename":"file0"},{"photo_id":"1371606852","filename":"file3"}],"portfolio_id":24815670,"hashtag_by_photo_ids":[{"1371606736":["hashtag1","hashtag2"]},{"1371606792":["hashtag1","hashtag2"]},{"1371606852":["hashtag1","hashtag2"]},{"1371606912":["hashtag1","hashtag2"]},{"1371606967":["hashtag1","hashtag2"]},{"1371606682":["hashtag1","hashtag2"]}],"comms":"Portfolio 24815670 used, photo_id : ArrayBuffer(1371606736, 1371606792, 1371606852, 1371606912, 1371606967, 1371606682)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.339691162109375 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 16:24:03.870456
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/12/35/image_11072025_12_35_02_2443.jpg', 2), ('/home/pi/Desktop/images/11072025/12/34/image_11072025_12_34_02_3178.jpg', 2), ('/home/pi/Desktop/images/11072025/12/33/image_11072025_12_33_01_9569.jpg', 2), ('/home/pi/Desktop/images/11072025/12/32/image_11072025_12_32_01_9614.jpg', 2), ('/home/pi/Desktop/images/11072025/12/31/image_11072025_12_31_01_8989.jpg', 2), ('/home/pi/Desktop/images/11072025/12/30/image_11072025_12_30_02_0587.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/12/35/image_11072025_12_35_02_2443.jpg', '/home/pi/Desktop/images/11072025/12/34/image_11072025_12_34_02_3178.jpg', '/home/pi/Desktop/images/11072025/12/33/image_11072025_12_33_01_9569.jpg', '/home/pi/Desktop/images/11072025/12/32/image_11072025_12_32_01_9614.jpg', '/home/pi/Desktop/images/11072025/12/31/image_11072025_12_31_01_8989.jpg', '/home/pi/Desktop/images/11072025/12/30/image_11072025_12_30_02_0587.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/12/35/image_11072025_12_35_02_2443.jpg
/home/pi/Desktop/images/11072025/12/34/image_11072025_12_34_02_3178.jpg
/home/pi/Desktop/images/11072025/12/33/image_11072025_12_33_01_9569.jpg
/home/pi/Desktop/images/11072025/12/32/image_11072025_12_32_01_9614.jpg
/home/pi/Desktop/images/11072025/12/31/image_11072025_12_31_01_8989.jpg
/home/pi/Desktop/images/11072025/12/30/image_11072025_12_30_02_0587.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371607131","1371607011","1371607005","1371607070","1371606988","1371606997"],"photo_ids_order":["1371606988","1371606997","1371607005","1371607011","1371607070","1371607131"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/e93bfaefcdf10eddc7abab0e533a1fa5.jpg","text":"TemporaryFile(/tmp/multipartBody9107223781460359111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752243907510,"filename":"image_11072025_12_30_02_0587.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/6fb28abe10a39fdcc3b0d56222d6f6aa.jpg","text":"TemporaryFile(/tmp/multipartBody111770146813779734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752243907510,"filename":"image_11072025_12_32_01_9614.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/e34534e6b59c8b3dae65f4db535092ee.jpg","text":"TemporaryFile(/tmp/multipartBody3964372266509607147asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752243907510,"filename":"image_11072025_12_33_01_9569.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/ef8ab9d8e328b9c13eea22329e51fdf1.jpg","text":"TemporaryFile(/tmp/multipartBody1242745636790187954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752243907510,"filename":"image_11072025_12_31_01_8989.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/5132f09f3b374963808c95e763d03f11.jpg","text":"TemporaryFile(/tmp/multipartBody1807170808546806427asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752243907510,"filename":"image_11072025_12_35_02_2443.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/1fb29fe01346d1bdc27bdc689c7789b4.jpg","text":"TemporaryFile(/tmp/multipartBody5092681851854069117asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752243907510,"filename":"image_11072025_12_34_02_3178.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371607005","file1":"1371606997","file0":"1371606988","file4":"1371607070","file5":"1371607131","file3":"1371607011"},"map_files_photo_id_array":[{"photo_id":"1371607131","filename":"file5"},{"photo_id":"1371607005","filename":"file2"},{"photo_id":"1371607070","filename":"file4"},{"photo_id":"1371606997","filename":"file1"},{"photo_id":"1371606988","filename":"file0"},{"photo_id":"1371607011","filename":"file3"}],"portfolio_id":24815670,"hashtag_by_photo_ids":[{"1371607131":["hashtag1","hashtag2"]},{"1371607011":["hashtag1","hashtag2"]},{"1371607005":["hashtag1","hashtag2"]},{"1371607070":["hashtag1","hashtag2"]},{"1371606988":["hashtag1","hashtag2"]},{"1371606997":["hashtag1","hashtag2"]}],"comms":"Portfolio 24815670 used, photo_id : ArrayBuffer(1371607131, 1371607011, 1371607005, 1371607070, 1371606988, 1371606997)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 60.43851828575134 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 16:26:03.632828
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/12/29/image_11072025_12_29_01_8193.jpg', 2), ('/home/pi/Desktop/images/11072025/12/28/image_11072025_12_28_01_8976.jpg', 2), ('/home/pi/Desktop/images/11072025/12/27/image_11072025_12_27_01_5125.jpg', 2), ('/home/pi/Desktop/images/11072025/12/26/image_11072025_12_26_01_4280.jpg', 2), ('/home/pi/Desktop/images/11072025/12/25/image_11072025_12_25_02_0650.jpg', 2), ('/home/pi/Desktop/images/11072025/12/24/image_11072025_12_24_01_7687.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/12/29/image_11072025_12_29_01_8193.jpg', '/home/pi/Desktop/images/11072025/12/28/image_11072025_12_28_01_8976.jpg', '/home/pi/Desktop/images/11072025/12/27/image_11072025_12_27_01_5125.jpg', '/home/pi/Desktop/images/11072025/12/26/image_11072025_12_26_01_4280.jpg', '/home/pi/Desktop/images/11072025/12/25/image_11072025_12_25_02_0650.jpg', '/home/pi/Desktop/images/11072025/12/24/image_11072025_12_24_01_7687.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/12/29/image_11072025_12_29_01_8193.jpg
/home/pi/Desktop/images/11072025/12/28/image_11072025_12_28_01_8976.jpg
/home/pi/Desktop/images/11072025/12/27/image_11072025_12_27_01_5125.jpg
/home/pi/Desktop/images/11072025/12/26/image_11072025_12_26_01_4280.jpg
/home/pi/Desktop/images/11072025/12/25/image_11072025_12_25_02_0650.jpg
/home/pi/Desktop/images/11072025/12/24/image_11072025_12_24_01_7687.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371607377","1371607431","1371607490","1371607604","1371607618","1371607546"],"photo_ids_order":["1371607377","1371607431","1371607490","1371607546","1371607604","1371607618"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/404393adbef92ff7978f737f9369afa6.jpg","text":"TemporaryFile(/tmp/multipartBody5489416381683037641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752244027380,"filename":"image_11072025_12_29_01_8193.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/197094d0c172e72a6c3d9a9e1000cf20.jpg","text":"TemporaryFile(/tmp/multipartBody8072141983999859473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752244027380,"filename":"image_11072025_12_28_01_8976.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/3acbcb5584e8e34eb3ec9ea166ad2b62.jpg","text":"TemporaryFile(/tmp/multipartBody5406671254494413176asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752244027380,"filename":"image_11072025_12_27_01_5125.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/cd3add4e6adbf282a0245b173e0bd1a6.jpg","text":"TemporaryFile(/tmp/multipartBody663006577025321483asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752244027380,"filename":"image_11072025_12_25_02_0650.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/c40c90c948a09d8bc8fc06a0fc52054f.jpg","text":"TemporaryFile(/tmp/multipartBody654046942725162747asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752244027380,"filename":"image_11072025_12_24_01_7687.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/b93c2a019a161ed514fc3fe03ed8c05b.jpg","text":"TemporaryFile(/tmp/multipartBody265687314965910750asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752244027380,"filename":"image_11072025_12_26_01_4280.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371607490","file1":"1371607431","file0":"1371607377","file4":"1371607604","file5":"1371607618","file3":"1371607546"},"map_files_photo_id_array":[{"photo_id":"1371607618","filename":"file5"},{"photo_id":"1371607490","filename":"file2"},{"photo_id":"1371607604","filename":"file4"},{"photo_id":"1371607431","filename":"file1"},{"photo_id":"1371607377","filename":"file0"},{"photo_id":"1371607546","filename":"file3"}],"portfolio_id":24815670,"hashtag_by_photo_ids":[{"1371607377":["hashtag1","hashtag2"]},{"1371607431":["hashtag1","hashtag2"]},{"1371607490":["hashtag1","hashtag2"]},{"1371607604":["hashtag1","hashtag2"]},{"1371607618":["hashtag1","hashtag2"]},{"1371607546":["hashtag1","hashtag2"]}],"comms":"Portfolio 24815670 used, photo_id : ArrayBuffer(1371607377, 1371607431, 1371607490, 1371607604, 1371607618, 1371607546)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.07056164741516 secondes ---
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 16:28:02.673664
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/12/23/image_11072025_12_23_01_4051.jpg', 2), ('/home/pi/Desktop/images/11072025/12/21/image_11072025_12_21_01_6541.jpg', 2), ('/home/pi/Desktop/images/11072025/12/20/image_11072025_12_20_02_2191.jpg', 2), ('/home/pi/Desktop/images/11072025/12/19/image_11072025_12_19_01_7129.jpg', 2), ('/home/pi/Desktop/images/11072025/12/18/image_11072025_12_18_01_7349.jpg', 2), ('/home/pi/Desktop/images/11072025/12/17/image_11072025_12_17_02_2677.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/12/23/image_11072025_12_23_01_4051.jpg', '/home/pi/Desktop/images/11072025/12/21/image_11072025_12_21_01_6541.jpg', '/home/pi/Desktop/images/11072025/12/20/image_11072025_12_20_02_2191.jpg', '/home/pi/Desktop/images/11072025/12/19/image_11072025_12_19_01_7129.jpg', '/home/pi/Desktop/images/11072025/12/18/image_11072025_12_18_01_7349.jpg', '/home/pi/Desktop/images/11072025/12/17/image_11072025_12_17_02_2677.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/12/23/image_11072025_12_23_01_4051.jpg
/home/pi/Desktop/images/11072025/12/21/image_11072025_12_21_01_6541.jpg
/home/pi/Desktop/images/11072025/12/20/image_11072025_12_20_02_2191.jpg
/home/pi/Desktop/images/11072025/12/19/image_11072025_12_19_01_7129.jpg
/home/pi/Desktop/images/11072025/12/18/image_11072025_12_18_01_7349.jpg
/home/pi/Desktop/images/11072025/12/17/image_11072025_12_17_02_2677.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371607857","1371607889","1371607880","1371607877","1371607873","1371607867"],"photo_ids_order":["1371607857","1371607867","1371607873","1371607877","1371607880","1371607889"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/f1eb62c4ba3f1d039109e726dcd83d53.jpg","text":"TemporaryFile(/tmp/multipartBody1426758278858290222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752244146480,"filename":"image_11072025_12_23_01_4051.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/76551ea09c3fbf1ee00222f7b344fd25.jpg","text":"TemporaryFile(/tmp/multipartBody2738548627912256098asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752244146480,"filename":"image_11072025_12_17_02_2677.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/3eff3cc0065519317cfcfd3f525217cd.jpg","text":"TemporaryFile(/tmp/multipartBody3182319976160519635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752244146480,"filename":"image_11072025_12_18_01_7349.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/db035a9e256f3c36028db5629b944651.jpg","text":"TemporaryFile(/tmp/multipartBody3474240720241682263asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752244146480,"filename":"image_11072025_12_19_01_7129.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/94045da60d9cef04350ab51ddfe20699.jpg","text":"TemporaryFile(/tmp/multipartBody3026853907111573997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752244146480,"filename":"image_11072025_12_20_02_2191.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/cc88e05d9a5ffa41a038b201a56b6ab0.jpg","text":"TemporaryFile(/tmp/multipartBody4560154060117479644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752244146480,"filename":"image_11072025_12_21_01_6541.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371607873","file1":"1371607867","file0":"1371607857","file4":"1371607880","file5":"1371607889","file3":"1371607877"},"map_files_photo_id_array":[{"photo_id":"1371607889","filename":"file5"},{"photo_id":"1371607873","filename":"file2"},{"photo_id":"1371607880","filename":"file4"},{"photo_id":"1371607867","filename":"file1"},{"photo_id":"1371607857","filename":"file0"},{"photo_id":"1371607877","filename":"file3"}],"portfolio_id":24815670,"hashtag_by_photo_ids":[{"1371607857":["hashtag1","hashtag2"]},{"1371607889":["hashtag1","hashtag2"]},{"1371607880":["hashtag1","hashtag2"]},{"1371607877":["hashtag1","hashtag2"]},{"1371607873":["hashtag1","hashtag2"]},{"1371607867":["hashtag1","hashtag2"]}],"comms":"Portfolio 24815670 used, photo_id : ArrayBuffer(1371607857, 1371607889, 1371607880, 1371607877, 1371607873, 1371607867)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.541827917099 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 16:29:03.494479
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/12/16/image_11072025_12_16_02_0750.jpg', 2), ('/home/pi/Desktop/images/11072025/12/15/image_11072025_12_15_01_5057.jpg', 2), ('/home/pi/Desktop/images/11072025/12/14/image_11072025_12_14_01_4216.jpg', 2), ('/home/pi/Desktop/images/11072025/12/13/image_11072025_12_13_01_8885.jpg', 2), ('/home/pi/Desktop/images/11072025/12/12/image_11072025_12_12_01_3821.jpg', 2), ('/home/pi/Desktop/images/11072025/12/11/image_11072025_12_11_01_3353.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/12/16/image_11072025_12_16_02_0750.jpg', '/home/pi/Desktop/images/11072025/12/15/image_11072025_12_15_01_5057.jpg', '/home/pi/Desktop/images/11072025/12/14/image_11072025_12_14_01_4216.jpg', '/home/pi/Desktop/images/11072025/12/13/image_11072025_12_13_01_8885.jpg', '/home/pi/Desktop/images/11072025/12/12/image_11072025_12_12_01_3821.jpg', '/home/pi/Desktop/images/11072025/12/11/image_11072025_12_11_01_3353.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/12/16/image_11072025_12_16_02_0750.jpg
/home/pi/Desktop/images/11072025/12/15/image_11072025_12_15_01_5057.jpg
/home/pi/Desktop/images/11072025/12/14/image_11072025_12_14_01_4216.jpg
/home/pi/Desktop/images/11072025/12/13/image_11072025_12_13_01_8885.jpg
/home/pi/Desktop/images/11072025/12/12/image_11072025_12_12_01_3821.jpg
/home/pi/Desktop/images/11072025/12/11/image_11072025_12_11_01_3353.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371607938","1371607932","1371607920","1371607946","1371607925","1371607954"],"photo_ids_order":["1371607920","1371607925","1371607932","1371607938","1371607946","1371607954"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/6dce7538ff1bf48a8926f73e659583e5.jpg","text":"TemporaryFile(/tmp/multipartBody6098325709495633031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752244207235,"filename":"image_11072025_12_13_01_8885.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/4875519c2e4f81bb98ac70a6eead7e63.jpg","text":"TemporaryFile(/tmp/multipartBody4604857526200476111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752244207235,"filename":"image_11072025_12_14_01_4216.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/80cad7082fa2b15f50fbdd7c69a923ac.jpg","text":"TemporaryFile(/tmp/multipartBody2540621076253084005asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752244207235,"filename":"image_11072025_12_16_02_0750.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/5438436bb388a1c12b6361e999a7d720.jpg","text":"TemporaryFile(/tmp/multipartBody7131662252671284049asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752244207235,"filename":"image_11072025_12_12_01_3821.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/f3dee2b6e7a31ea9ff222d824bf02e5c.jpg","text":"TemporaryFile(/tmp/multipartBody3536333273565011128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752244207235,"filename":"image_11072025_12_15_01_5057.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/1948d3cab056559379afa729974cc351.jpg","text":"TemporaryFile(/tmp/multipartBody8621822776494434710asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752244207235,"filename":"image_11072025_12_11_01_3353.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371607932","file1":"1371607925","file0":"1371607920","file4":"1371607946","file5":"1371607954","file3":"1371607938"},"map_files_photo_id_array":[{"photo_id":"1371607954","filename":"file5"},{"photo_id":"1371607932","filename":"file2"},{"photo_id":"1371607946","filename":"file4"},{"photo_id":"1371607925","filename":"file1"},{"photo_id":"1371607920","filename":"file0"},{"photo_id":"1371607938","filename":"file3"}],"portfolio_id":24815670,"hashtag_by_photo_ids":[{"1371607938":["hashtag1","hashtag2"]},{"1371607932":["hashtag1","hashtag2"]},{"1371607920":["hashtag1","hashtag2"]},{"1371607946":["hashtag1","hashtag2"]},{"1371607925":["hashtag1","hashtag2"]},{"1371607954":["hashtag1","hashtag2"]}],"comms":"Portfolio 24815670 used, photo_id : ArrayBuffer(1371607938, 1371607932, 1371607920, 1371607946, 1371607925, 1371607954)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 61.23086619377136 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 16:31:03.864015
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/12/10/image_11072025_12_10_01_3202.jpg', 2), ('/home/pi/Desktop/images/11072025/12/09/image_11072025_12_09_02_2166.jpg', 2), ('/home/pi/Desktop/images/11072025/12/08/image_11072025_12_08_02_3032.jpg', 2), ('/home/pi/Desktop/images/11072025/12/07/image_11072025_12_07_02_1391.jpg', 2), ('/home/pi/Desktop/images/11072025/12/06/image_11072025_12_06_01_3140.jpg', 2), ('/home/pi/Desktop/images/11072025/12/05/image_11072025_12_05_01_5399.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/12/10/image_11072025_12_10_01_3202.jpg', '/home/pi/Desktop/images/11072025/12/09/image_11072025_12_09_02_2166.jpg', '/home/pi/Desktop/images/11072025/12/08/image_11072025_12_08_02_3032.jpg', '/home/pi/Desktop/images/11072025/12/07/image_11072025_12_07_02_1391.jpg', '/home/pi/Desktop/images/11072025/12/06/image_11072025_12_06_01_3140.jpg', '/home/pi/Desktop/images/11072025/12/05/image_11072025_12_05_01_5399.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/12/10/image_11072025_12_10_01_3202.jpg
/home/pi/Desktop/images/11072025/12/09/image_11072025_12_09_02_2166.jpg
/home/pi/Desktop/images/11072025/12/08/image_11072025_12_08_02_3032.jpg
/home/pi/Desktop/images/11072025/12/07/image_11072025_12_07_02_1391.jpg
/home/pi/Desktop/images/11072025/12/06/image_11072025_12_06_01_3140.jpg
/home/pi/Desktop/images/11072025/12/05/image_11072025_12_05_01_5399.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371608103","1371608087","1371608095","1371608083","1371608128","1371608122"],"photo_ids_order":["1371608083","1371608087","1371608095","1371608103","1371608122","1371608128"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/6b9b5933d12a569d5cc53845a3f46012.jpg","text":"TemporaryFile(/tmp/multipartBody3392446651134960440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752244327461,"filename":"image_11072025_12_07_02_1391.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/25db317e9df0bf5ada2f409d6dde285a.jpg","text":"TemporaryFile(/tmp/multipartBody184724579377518154asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752244327461,"filename":"image_11072025_12_09_02_2166.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/6c85cb82c4a93738f6a1e9b82a8ba56b.jpg","text":"TemporaryFile(/tmp/multipartBody2176855678568755920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752244327461,"filename":"image_11072025_12_08_02_3032.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/fdc4d0b250d9bce7b9c5ee6911efb8cb.jpg","text":"TemporaryFile(/tmp/multipartBody252956236321131144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752244327461,"filename":"image_11072025_12_10_01_3202.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/9f3cbfd6f1eec67a9c90c30387f1fb49.jpg","text":"TemporaryFile(/tmp/multipartBody1571508712606227982asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752244327461,"filename":"image_11072025_12_05_01_5399.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/090165e4ddc43f357ce137ad9cf8a7ed.jpg","text":"TemporaryFile(/tmp/multipartBody4377000693419109645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752244327461,"filename":"image_11072025_12_06_01_3140.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371608095","file1":"1371608087","file0":"1371608083","file4":"1371608122","file5":"1371608128","file3":"1371608103"},"map_files_photo_id_array":[{"photo_id":"1371608128","filename":"file5"},{"photo_id":"1371608095","filename":"file2"},{"photo_id":"1371608122","filename":"file4"},{"photo_id":"1371608087","filename":"file1"},{"photo_id":"1371608083","filename":"file0"},{"photo_id":"1371608103","filename":"file3"}],"portfolio_id":24815670,"hashtag_by_photo_ids":[{"1371608103":["hashtag1","hashtag2"]},{"1371608087":["hashtag1","hashtag2"]},{"1371608095":["hashtag1","hashtag2"]},{"1371608083":["hashtag1","hashtag2"]},{"1371608128":["hashtag1","hashtag2"]},{"1371608122":["hashtag1","hashtag2"]}],"comms":"Portfolio 24815670 used, photo_id : ArrayBuffer(1371608103, 1371608087, 1371608095, 1371608083, 1371608128, 1371608122)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 61.74049425125122 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 16:33:03.644015
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/12/04/image_11072025_12_04_01_8427.jpg', 2), ('/home/pi/Desktop/images/11072025/12/03/image_11072025_12_03_01_6458.jpg', 2), ('/home/pi/Desktop/images/11072025/12/02/image_11072025_12_02_01_6154.jpg', 2), ('/home/pi/Desktop/images/11072025/12/01/image_11072025_12_01_01_9760.jpg', 2), ('/home/pi/Desktop/images/11072025/11/59/image_11072025_11_59_01_5842.jpg', 2), ('/home/pi/Desktop/images/11072025/11/58/image_11072025_11_58_01_6268.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/12/04/image_11072025_12_04_01_8427.jpg', '/home/pi/Desktop/images/11072025/12/03/image_11072025_12_03_01_6458.jpg', '/home/pi/Desktop/images/11072025/12/02/image_11072025_12_02_01_6154.jpg', '/home/pi/Desktop/images/11072025/12/01/image_11072025_12_01_01_9760.jpg', '/home/pi/Desktop/images/11072025/11/59/image_11072025_11_59_01_5842.jpg', '/home/pi/Desktop/images/11072025/11/58/image_11072025_11_58_01_6268.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/12/04/image_11072025_12_04_01_8427.jpg
/home/pi/Desktop/images/11072025/12/03/image_11072025_12_03_01_6458.jpg
/home/pi/Desktop/images/11072025/12/02/image_11072025_12_02_01_6154.jpg
/home/pi/Desktop/images/11072025/12/01/image_11072025_12_01_01_9760.jpg
/home/pi/Desktop/images/11072025/11/59/image_11072025_11_59_01_5842.jpg
/home/pi/Desktop/images/11072025/11/58/image_11072025_11_58_01_6268.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371608265","1371608220","1371608239","1371608230","1371608224","1371608302"],"photo_ids_order":["1371608220","1371608224","1371608230","1371608239","1371608265","1371608302"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/237f45c45381e047b8a01919a5469378.jpg","text":"TemporaryFile(/tmp/multipartBody8185516080983519791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752244448023,"filename":"image_11072025_11_59_01_5842.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/e1ab4b6f049991dace19d030c90faadf.jpg","text":"TemporaryFile(/tmp/multipartBody3288700967005683174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752244448023,"filename":"image_11072025_12_04_01_8427.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/106e19d6c76bd900f93b606473d52cdb.jpg","text":"TemporaryFile(/tmp/multipartBody4658927856263111672asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752244448023,"filename":"image_11072025_12_01_01_9760.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/21266e6053122a9a6fb5b866c88a3832.jpg","text":"TemporaryFile(/tmp/multipartBody2927849240177076230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752244448023,"filename":"image_11072025_12_02_01_6154.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/20ee69541f8691b4b926891330eb8e0a.jpg","text":"TemporaryFile(/tmp/multipartBody7883215419690471888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752244448023,"filename":"image_11072025_12_03_01_6458.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/efaa364e5e0700addd8c9ddaa187285b.jpg","text":"TemporaryFile(/tmp/multipartBody5363962971217719214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752244448023,"filename":"image_11072025_11_58_01_6268.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371608230","file1":"1371608224","file0":"1371608220","file4":"1371608265","file5":"1371608302","file3":"1371608239"},"map_files_photo_id_array":[{"photo_id":"1371608302","filename":"file5"},{"photo_id":"1371608230","filename":"file2"},{"photo_id":"1371608265","filename":"file4"},{"photo_id":"1371608224","filename":"file1"},{"photo_id":"1371608220","filename":"file0"},{"photo_id":"1371608239","filename":"file3"}],"portfolio_id":24815670,"hashtag_by_photo_ids":[{"1371608265":["hashtag1","hashtag2"]},{"1371608220":["hashtag1","hashtag2"]},{"1371608239":["hashtag1","hashtag2"]},{"1371608230":["hashtag1","hashtag2"]},{"1371608224":["hashtag1","hashtag2"]},{"1371608302":["hashtag1","hashtag2"]}],"comms":"Portfolio 24815670 used, photo_id : ArrayBuffer(1371608265, 1371608220, 1371608239, 1371608230, 1371608224, 1371608302)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 60.1477837562561 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 16:35:03.403307
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/11/57/image_11072025_11_57_01_7877.jpg', 2), ('/home/pi/Desktop/images/11072025/11/56/image_11072025_11_56_02_2021.jpg', 2), ('/home/pi/Desktop/images/11072025/11/55/image_11072025_11_55_01_4201.jpg', 2), ('/home/pi/Desktop/images/11072025/11/54/image_11072025_11_54_02_0394.jpg', 2), ('/home/pi/Desktop/images/11072025/11/53/image_11072025_11_53_02_2319.jpg', 2), ('/home/pi/Desktop/images/11072025/11/52/image_11072025_11_52_01_6642.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/11/57/image_11072025_11_57_01_7877.jpg', '/home/pi/Desktop/images/11072025/11/56/image_11072025_11_56_02_2021.jpg', '/home/pi/Desktop/images/11072025/11/55/image_11072025_11_55_01_4201.jpg', '/home/pi/Desktop/images/11072025/11/54/image_11072025_11_54_02_0394.jpg', '/home/pi/Desktop/images/11072025/11/53/image_11072025_11_53_02_2319.jpg', '/home/pi/Desktop/images/11072025/11/52/image_11072025_11_52_01_6642.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/11/57/image_11072025_11_57_01_7877.jpg
/home/pi/Desktop/images/11072025/11/56/image_11072025_11_56_02_2021.jpg
/home/pi/Desktop/images/11072025/11/55/image_11072025_11_55_01_4201.jpg
/home/pi/Desktop/images/11072025/11/54/image_11072025_11_54_02_0394.jpg
/home/pi/Desktop/images/11072025/11/53/image_11072025_11_53_02_2319.jpg
/home/pi/Desktop/images/11072025/11/52/image_11072025_11_52_01_6642.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371608999","1371609008","1371609002","1371609022","1371608892","1371608952"],"photo_ids_order":["1371608892","1371608952","1371608999","1371609002","1371609008","1371609022"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/e1432772f5dd810a2145b8c8860e82dc.jpg","text":"TemporaryFile(/tmp/multipartBody7138236168926364199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752244567564,"filename":"image_11072025_11_55_01_4201.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/e9408de303b032976da41d524471dd1e.jpg","text":"TemporaryFile(/tmp/multipartBody6314412293903208790asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752244567564,"filename":"image_11072025_11_53_02_2319.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/3f5e84ecaf7fd88a20146718b9cf0b53.jpg","text":"TemporaryFile(/tmp/multipartBody4221254801756221800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752244567564,"filename":"image_11072025_11_54_02_0394.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/ec801c02bfd3821a51d4f34cba6d177e.jpg","text":"TemporaryFile(/tmp/multipartBody1505693439929299933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752244567564,"filename":"image_11072025_11_52_01_6642.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/f55c1a18e63b5e7414f911c41bdf4402.jpg","text":"TemporaryFile(/tmp/multipartBody8037572571909899093asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752244567564,"filename":"image_11072025_11_57_01_7877.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/9d06bbe9fa42f047eeac6df0d44dee17.jpg","text":"TemporaryFile(/tmp/multipartBody6556313468131940155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752244567564,"filename":"image_11072025_11_56_02_2021.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371608999","file1":"1371608952","file0":"1371608892","file4":"1371609008","file5":"1371609022","file3":"1371609002"},"map_files_photo_id_array":[{"photo_id":"1371609022","filename":"file5"},{"photo_id":"1371608999","filename":"file2"},{"photo_id":"1371609008","filename":"file4"},{"photo_id":"1371608952","filename":"file1"},{"photo_id":"1371608892","filename":"file0"},{"photo_id":"1371609002","filename":"file3"}],"portfolio_id":24815670,"hashtag_by_photo_ids":[{"1371608999":["hashtag1","hashtag2"]},{"1371609008":["hashtag1","hashtag2"]},{"1371609002":["hashtag1","hashtag2"]},{"1371609022":["hashtag1","hashtag2"]},{"1371608892":["hashtag1","hashtag2"]},{"1371608952":["hashtag1","hashtag2"]}],"comms":"Portfolio 24815670 used, photo_id : ArrayBuffer(1371608999, 1371609008, 1371609002, 1371609022, 1371608892, 1371608952)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.49854898452759 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 16:37:03.760460
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/11/51/image_11072025_11_51_01_7787.jpg', 2), ('/home/pi/Desktop/images/11072025/11/50/image_11072025_11_50_01_8358.jpg', 2), ('/home/pi/Desktop/images/11072025/11/49/image_11072025_11_49_01_5746.jpg', 2), ('/home/pi/Desktop/images/11072025/11/48/image_11072025_11_48_01_7082.jpg', 2), ('/home/pi/Desktop/images/11072025/11/47/image_11072025_11_47_01_5387.jpg', 2), ('/home/pi/Desktop/images/11072025/11/46/image_11072025_11_46_01_9784.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/11/51/image_11072025_11_51_01_7787.jpg', '/home/pi/Desktop/images/11072025/11/50/image_11072025_11_50_01_8358.jpg', '/home/pi/Desktop/images/11072025/11/49/image_11072025_11_49_01_5746.jpg', '/home/pi/Desktop/images/11072025/11/48/image_11072025_11_48_01_7082.jpg', '/home/pi/Desktop/images/11072025/11/47/image_11072025_11_47_01_5387.jpg', '/home/pi/Desktop/images/11072025/11/46/image_11072025_11_46_01_9784.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/11/51/image_11072025_11_51_01_7787.jpg
/home/pi/Desktop/images/11072025/11/50/image_11072025_11_50_01_8358.jpg
/home/pi/Desktop/images/11072025/11/49/image_11072025_11_49_01_5746.jpg
/home/pi/Desktop/images/11072025/11/48/image_11072025_11_48_01_7082.jpg
/home/pi/Desktop/images/11072025/11/47/image_11072025_11_47_01_5387.jpg
/home/pi/Desktop/images/11072025/11/46/image_11072025_11_46_01_9784.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371609488","1371609368","1371609425","1371609382","1371609375","1371609372"],"photo_ids_order":["1371609368","1371609372","1371609375","1371609382","1371609425","1371609488"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/7deeb11395fd2f5dde755344dbd9ddec.jpg","text":"TemporaryFile(/tmp/multipartBody3434963568045260512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752244687738,"filename":"image_11072025_11_46_01_9784.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/e3801e2ff83244d53db6e10eaffc066c.jpg","text":"TemporaryFile(/tmp/multipartBody4270416039787543202asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752244687738,"filename":"image_11072025_11_51_01_7787.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/13f58c5bc36cdd9f700f74df930918c6.jpg","text":"TemporaryFile(/tmp/multipartBody2383697021047942352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752244687738,"filename":"image_11072025_11_47_01_5387.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/b172de3446ac35b5376140bcc8f966e9.jpg","text":"TemporaryFile(/tmp/multipartBody4921936460543604149asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752244687738,"filename":"image_11072025_11_48_01_7082.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/b0b09ded9812217f1b7b900d49dbc11e.jpg","text":"TemporaryFile(/tmp/multipartBody8150416836972465584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752244687738,"filename":"image_11072025_11_49_01_5746.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/2b5ba9645cf14feb55ef07eb1505d642.jpg","text":"TemporaryFile(/tmp/multipartBody3249915935387830654asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752244687738,"filename":"image_11072025_11_50_01_8358.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371609375","file1":"1371609372","file0":"1371609368","file4":"1371609425","file5":"1371609488","file3":"1371609382"},"map_files_photo_id_array":[{"photo_id":"1371609488","filename":"file5"},{"photo_id":"1371609375","filename":"file2"},{"photo_id":"1371609425","filename":"file4"},{"photo_id":"1371609372","filename":"file1"},{"photo_id":"1371609368","filename":"file0"},{"photo_id":"1371609382","filename":"file3"}],"portfolio_id":24815670,"hashtag_by_photo_ids":[{"1371609488":["hashtag1","hashtag2"]},{"1371609368":["hashtag1","hashtag2"]},{"1371609425":["hashtag1","hashtag2"]},{"1371609382":["hashtag1","hashtag2"]},{"1371609375":["hashtag1","hashtag2"]},{"1371609372":["hashtag1","hashtag2"]}],"comms":"Portfolio 24815670 used, photo_id : ArrayBuffer(1371609488, 1371609368, 1371609425, 1371609382, 1371609375, 1371609372)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 66.84340524673462 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 16:39:03.838750
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/11/45/image_11072025_11_45_01_3593.jpg', 2), ('/home/pi/Desktop/images/11072025/11/43/image_11072025_11_43_01_4485.jpg', 2), ('/home/pi/Desktop/images/11072025/11/42/image_11072025_11_42_01_6125.jpg', 2), ('/home/pi/Desktop/images/11072025/11/41/image_11072025_11_41_01_5029.jpg', 2), ('/home/pi/Desktop/images/11072025/11/40/image_11072025_11_40_02_2123.jpg', 2), ('/home/pi/Desktop/images/11072025/11/39/image_11072025_11_39_02_1968.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/11/45/image_11072025_11_45_01_3593.jpg', '/home/pi/Desktop/images/11072025/11/43/image_11072025_11_43_01_4485.jpg', '/home/pi/Desktop/images/11072025/11/42/image_11072025_11_42_01_6125.jpg', '/home/pi/Desktop/images/11072025/11/41/image_11072025_11_41_01_5029.jpg', '/home/pi/Desktop/images/11072025/11/40/image_11072025_11_40_02_2123.jpg', '/home/pi/Desktop/images/11072025/11/39/image_11072025_11_39_02_1968.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/11/45/image_11072025_11_45_01_3593.jpg
/home/pi/Desktop/images/11072025/11/43/image_11072025_11_43_01_4485.jpg
/home/pi/Desktop/images/11072025/11/42/image_11072025_11_42_01_6125.jpg
/home/pi/Desktop/images/11072025/11/41/image_11072025_11_41_01_5029.jpg
/home/pi/Desktop/images/11072025/11/40/image_11072025_11_40_02_2123.jpg
/home/pi/Desktop/images/11072025/11/39/image_11072025_11_39_02_1968.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371609881","1371609866","1371609851","1371609803","1371609841","1371609831"],"photo_ids_order":["1371609803","1371609831","1371609841","1371609851","1371609866","1371609881"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/b9676c4b979bc9a139ad7b0eeb8c9711.jpg","text":"TemporaryFile(/tmp/multipartBody6479489532571958683asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752244807878,"filename":"image_11072025_11_39_02_1968.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/a323f60476c41a4c0cb924cd1371827d.jpg","text":"TemporaryFile(/tmp/multipartBody6470631861214915913asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752244807878,"filename":"image_11072025_11_40_02_2123.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/86480d086e5890d919f1e99626b36724.jpg","text":"TemporaryFile(/tmp/multipartBody5283531948289513374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752244807878,"filename":"image_11072025_11_41_01_5029.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/cdb9700f9dbd781985d0cdf3a939bffd.jpg","text":"TemporaryFile(/tmp/multipartBody6373303346600354657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752244807878,"filename":"image_11072025_11_45_01_3593.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/26d7f456708cfc15325090423246338f.jpg","text":"TemporaryFile(/tmp/multipartBody3080970687523189580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752244807878,"filename":"image_11072025_11_42_01_6125.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/f900329cbf4b831f0e9de60e76ca9347.jpg","text":"TemporaryFile(/tmp/multipartBody2469476931725483443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752244807878,"filename":"image_11072025_11_43_01_4485.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371609841","file1":"1371609831","file0":"1371609803","file4":"1371609866","file5":"1371609881","file3":"1371609851"},"map_files_photo_id_array":[{"photo_id":"1371609881","filename":"file5"},{"photo_id":"1371609841","filename":"file2"},{"photo_id":"1371609866","filename":"file4"},{"photo_id":"1371609831","filename":"file1"},{"photo_id":"1371609803","filename":"file0"},{"photo_id":"1371609851","filename":"file3"}],"portfolio_id":24815670,"hashtag_by_photo_ids":[{"1371609881":["hashtag1","hashtag2"]},{"1371609866":["hashtag1","hashtag2"]},{"1371609851":["hashtag1","hashtag2"]},{"1371609803":["hashtag1","hashtag2"]},{"1371609841":["hashtag1","hashtag2"]},{"1371609831":["hashtag1","hashtag2"]}],"comms":"Portfolio 24815670 used, photo_id : ArrayBuffer(1371609881, 1371609866, 1371609851, 1371609803, 1371609841, 1371609831)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 61.17646265029907 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 16:41:03.835476
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/11/38/image_11072025_11_38_01_8514.jpg', 2), ('/home/pi/Desktop/images/11072025/11/37/image_11072025_11_37_01_5350.jpg', 2), ('/home/pi/Desktop/images/11072025/11/36/image_11072025_11_36_01_7974.jpg', 2), ('/home/pi/Desktop/images/11072025/11/35/image_11072025_11_35_02_1693.jpg', 2), ('/home/pi/Desktop/images/11072025/11/34/image_11072025_11_34_02_2628.jpg', 2), ('/home/pi/Desktop/images/11072025/11/33/image_11072025_11_33_01_6025.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/11/38/image_11072025_11_38_01_8514.jpg', '/home/pi/Desktop/images/11072025/11/37/image_11072025_11_37_01_5350.jpg', '/home/pi/Desktop/images/11072025/11/36/image_11072025_11_36_01_7974.jpg', '/home/pi/Desktop/images/11072025/11/35/image_11072025_11_35_02_1693.jpg', '/home/pi/Desktop/images/11072025/11/34/image_11072025_11_34_02_2628.jpg', '/home/pi/Desktop/images/11072025/11/33/image_11072025_11_33_01_6025.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/11/38/image_11072025_11_38_01_8514.jpg
/home/pi/Desktop/images/11072025/11/37/image_11072025_11_37_01_5350.jpg
/home/pi/Desktop/images/11072025/11/36/image_11072025_11_36_01_7974.jpg
/home/pi/Desktop/images/11072025/11/35/image_11072025_11_35_02_1693.jpg
/home/pi/Desktop/images/11072025/11/34/image_11072025_11_34_02_2628.jpg
/home/pi/Desktop/images/11072025/11/33/image_11072025_11_33_01_6025.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371609968","1371609998","1371609977","1371609973","1371609982","1371610009"],"photo_ids_order":["1371609968","1371609973","1371609977","1371609982","1371609998","1371610009"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/f29eab0b25622a9778ec326b9ba56d7f.jpg","text":"TemporaryFile(/tmp/multipartBody3983232583011507440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752244927632,"filename":"image_11072025_11_38_01_8514.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/75d5444a8cfc016209f42be2ed8c20fa.jpg","text":"TemporaryFile(/tmp/multipartBody6361450298083173640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752244927632,"filename":"image_11072025_11_34_02_2628.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/10fee725d9063a80fed3ed71e50b1746.jpg","text":"TemporaryFile(/tmp/multipartBody4647698223458212554asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752244927632,"filename":"image_11072025_11_36_01_7974.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/a681e4f9a6693175aba8eb52584c9010.jpg","text":"TemporaryFile(/tmp/multipartBody6151581391754604279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752244927632,"filename":"image_11072025_11_37_01_5350.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/f49da4d08ec45ae242f820cb8dce7cc7.jpg","text":"TemporaryFile(/tmp/multipartBody1999193916405481519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752244927632,"filename":"image_11072025_11_35_02_1693.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/32c57d31ead70c583f2c9875af008e95.jpg","text":"TemporaryFile(/tmp/multipartBody8555052883256993311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752244927632,"filename":"image_11072025_11_33_01_6025.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371609977","file1":"1371609973","file0":"1371609968","file4":"1371609998","file5":"1371610009","file3":"1371609982"},"map_files_photo_id_array":[{"photo_id":"1371610009","filename":"file5"},{"photo_id":"1371609977","filename":"file2"},{"photo_id":"1371609998","filename":"file4"},{"photo_id":"1371609973","filename":"file1"},{"photo_id":"1371609968","filename":"file0"},{"photo_id":"1371609982","filename":"file3"}],"portfolio_id":24815670,"hashtag_by_photo_ids":[{"1371609968":["hashtag1","hashtag2"]},{"1371609998":["hashtag1","hashtag2"]},{"1371609977":["hashtag1","hashtag2"]},{"1371609973":["hashtag1","hashtag2"]},{"1371609982":["hashtag1","hashtag2"]},{"1371610009":["hashtag1","hashtag2"]}],"comms":"Portfolio 24815670 used, photo_id : ArrayBuffer(1371609968, 1371609998, 1371609977, 1371609973, 1371609982, 1371610009)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.02129340171814 secondes ---
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 16:43:04.122832
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/11/32/image_11072025_11_32_02_0040.jpg', 2), ('/home/pi/Desktop/images/11072025/11/31/image_11072025_11_31_02_0831.jpg', 2), ('/home/pi/Desktop/images/11072025/11/30/image_11072025_11_30_02_2819.jpg', 2), ('/home/pi/Desktop/images/11072025/11/29/image_11072025_11_29_01_4048.jpg', 2), ('/home/pi/Desktop/images/11072025/11/28/image_11072025_11_28_01_4034.jpg', 2), ('/home/pi/Desktop/images/11072025/11/27/image_11072025_11_27_02_1663.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/11/32/image_11072025_11_32_02_0040.jpg', '/home/pi/Desktop/images/11072025/11/31/image_11072025_11_31_02_0831.jpg', '/home/pi/Desktop/images/11072025/11/30/image_11072025_11_30_02_2819.jpg', '/home/pi/Desktop/images/11072025/11/29/image_11072025_11_29_01_4048.jpg', '/home/pi/Desktop/images/11072025/11/28/image_11072025_11_28_01_4034.jpg', '/home/pi/Desktop/images/11072025/11/27/image_11072025_11_27_02_1663.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/11/32/image_11072025_11_32_02_0040.jpg
/home/pi/Desktop/images/11072025/11/31/image_11072025_11_31_02_0831.jpg
/home/pi/Desktop/images/11072025/11/30/image_11072025_11_30_02_2819.jpg
/home/pi/Desktop/images/11072025/11/29/image_11072025_11_29_01_4048.jpg
/home/pi/Desktop/images/11072025/11/28/image_11072025_11_28_01_4034.jpg
/home/pi/Desktop/images/11072025/11/27/image_11072025_11_27_02_1663.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371610128","1371610118","1371610099","1371610138","1371610095","1371610108"],"photo_ids_order":["1371610095","1371610099","1371610108","1371610118","1371610128","1371610138"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/058c341dac0163a012ecd20695422474.jpg","text":"TemporaryFile(/tmp/multipartBody7920850480605160591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752245048298,"filename":"image_11072025_11_28_01_4034.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/1f1f34be6810fba44b987158220ea557.jpg","text":"TemporaryFile(/tmp/multipartBody2920126272205717928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752245048298,"filename":"image_11072025_11_29_01_4048.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/025dd2572cd40ba19153df17aed15ce8.jpg","text":"TemporaryFile(/tmp/multipartBody6186036432897822812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752245048298,"filename":"image_11072025_11_31_02_0831.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/916291d57ce29fcd905e2864952758dc.jpg","text":"TemporaryFile(/tmp/multipartBody5879031380260883738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752245048298,"filename":"image_11072025_11_27_02_1663.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/463808745b3f3728f819a13bb0a7f303.jpg","text":"TemporaryFile(/tmp/multipartBody540033339715371811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752245048298,"filename":"image_11072025_11_32_02_0040.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/994011483166702ef1f391b960aa0bd1.jpg","text":"TemporaryFile(/tmp/multipartBody7248310836331627764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752245048298,"filename":"image_11072025_11_30_02_2819.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371610108","file1":"1371610099","file0":"1371610095","file4":"1371610128","file5":"1371610138","file3":"1371610118"},"map_files_photo_id_array":[{"photo_id":"1371610138","filename":"file5"},{"photo_id":"1371610108","filename":"file2"},{"photo_id":"1371610128","filename":"file4"},{"photo_id":"1371610099","filename":"file1"},{"photo_id":"1371610095","filename":"file0"},{"photo_id":"1371610118","filename":"file3"}],"portfolio_id":24815670,"hashtag_by_photo_ids":[{"1371610128":["hashtag1","hashtag2"]},{"1371610118":["hashtag1","hashtag2"]},{"1371610099":["hashtag1","hashtag2"]},{"1371610138":["hashtag1","hashtag2"]},{"1371610095":["hashtag1","hashtag2"]},{"1371610108":["hashtag1","hashtag2"]}],"comms":"Portfolio 24815670 used, photo_id : ArrayBuffer(1371610128, 1371610118, 1371610099, 1371610138, 1371610095, 1371610108)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 57.80950975418091 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 16:45:04.200029
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/11/26/image_11072025_11_26_01_4998.jpg', 2), ('/home/pi/Desktop/images/11072025/11/25/image_11072025_11_25_01_8855.jpg', 2), ('/home/pi/Desktop/images/11072025/11/24/image_11072025_11_24_02_0151.jpg', 2), ('/home/pi/Desktop/images/11072025/11/23/image_11072025_11_23_02_1430.jpg', 2), ('/home/pi/Desktop/images/11072025/11/22/image_11072025_11_22_01_7245.jpg', 2), ('/home/pi/Desktop/images/11072025/11/21/image_11072025_11_21_01_6747.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/11/26/image_11072025_11_26_01_4998.jpg', '/home/pi/Desktop/images/11072025/11/25/image_11072025_11_25_01_8855.jpg', '/home/pi/Desktop/images/11072025/11/24/image_11072025_11_24_02_0151.jpg', '/home/pi/Desktop/images/11072025/11/23/image_11072025_11_23_02_1430.jpg', '/home/pi/Desktop/images/11072025/11/22/image_11072025_11_22_01_7245.jpg', '/home/pi/Desktop/images/11072025/11/21/image_11072025_11_21_01_6747.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/11/26/image_11072025_11_26_01_4998.jpg
/home/pi/Desktop/images/11072025/11/25/image_11072025_11_25_01_8855.jpg
/home/pi/Desktop/images/11072025/11/24/image_11072025_11_24_02_0151.jpg
/home/pi/Desktop/images/11072025/11/23/image_11072025_11_23_02_1430.jpg
/home/pi/Desktop/images/11072025/11/22/image_11072025_11_22_01_7245.jpg
/home/pi/Desktop/images/11072025/11/21/image_11072025_11_21_01_6747.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371610254","1371610262","1371610270","1371610300","1371610287","1371610275"],"photo_ids_order":["1371610254","1371610262","1371610270","1371610275","1371610287","1371610300"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/1a41e0702d15b145d35b39013b7ce200.jpg","text":"TemporaryFile(/tmp/multipartBody2323879303087082130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752245168400,"filename":"image_11072025_11_26_01_4998.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/0a86e8fa535a1c23b9c5534a26a722a6.jpg","text":"TemporaryFile(/tmp/multipartBody5283564525537621971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752245168400,"filename":"image_11072025_11_25_01_8855.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/e4a41a8df30ab91fe0a9a0fc64b1e939.jpg","text":"TemporaryFile(/tmp/multipartBody4816307158419328845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752245168400,"filename":"image_11072025_11_24_02_0151.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/38114d4ec360234351cb94d7c9cddfb9.jpg","text":"TemporaryFile(/tmp/multipartBody1252293415893522204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752245168400,"filename":"image_11072025_11_21_01_6747.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/1d76be60f7e7fffe3a0ecec951694a9f.jpg","text":"TemporaryFile(/tmp/multipartBody3762014118095436948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752245168400,"filename":"image_11072025_11_22_01_7245.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/c35f94ac587f4c55876c404b1193a719.jpg","text":"TemporaryFile(/tmp/multipartBody2806738939518454680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752245168400,"filename":"image_11072025_11_23_02_1430.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371610270","file1":"1371610262","file0":"1371610254","file4":"1371610287","file5":"1371610300","file3":"1371610275"},"map_files_photo_id_array":[{"photo_id":"1371610300","filename":"file5"},{"photo_id":"1371610270","filename":"file2"},{"photo_id":"1371610287","filename":"file4"},{"photo_id":"1371610262","filename":"file1"},{"photo_id":"1371610254","filename":"file0"},{"photo_id":"1371610275","filename":"file3"}],"portfolio_id":24815670,"hashtag_by_photo_ids":[{"1371610254":["hashtag1","hashtag2"]},{"1371610262":["hashtag1","hashtag2"]},{"1371610270":["hashtag1","hashtag2"]},{"1371610300":["hashtag1","hashtag2"]},{"1371610287":["hashtag1","hashtag2"]},{"1371610275":["hashtag1","hashtag2"]}],"comms":"Portfolio 24815670 used, photo_id : ArrayBuffer(1371610254, 1371610262, 1371610270, 1371610300, 1371610287, 1371610275)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 60.48062992095947 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 16:47:03.232989
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/11/20/image_11072025_11_20_01_8904.jpg', 2), ('/home/pi/Desktop/images/11072025/11/19/image_11072025_11_19_01_5536.jpg', 2), ('/home/pi/Desktop/images/11072025/11/18/image_11072025_11_18_02_1383.jpg', 2), ('/home/pi/Desktop/images/11072025/11/17/image_11072025_11_17_01_8793.jpg', 2), ('/home/pi/Desktop/images/11072025/11/16/image_11072025_11_16_02_1720.jpg', 2), ('/home/pi/Desktop/images/11072025/11/15/image_11072025_11_15_01_7269.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/11/20/image_11072025_11_20_01_8904.jpg', '/home/pi/Desktop/images/11072025/11/19/image_11072025_11_19_01_5536.jpg', '/home/pi/Desktop/images/11072025/11/18/image_11072025_11_18_02_1383.jpg', '/home/pi/Desktop/images/11072025/11/17/image_11072025_11_17_01_8793.jpg', '/home/pi/Desktop/images/11072025/11/16/image_11072025_11_16_02_1720.jpg', '/home/pi/Desktop/images/11072025/11/15/image_11072025_11_15_01_7269.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/11/20/image_11072025_11_20_01_8904.jpg
/home/pi/Desktop/images/11072025/11/19/image_11072025_11_19_01_5536.jpg
/home/pi/Desktop/images/11072025/11/18/image_11072025_11_18_02_1383.jpg
/home/pi/Desktop/images/11072025/11/17/image_11072025_11_17_01_8793.jpg
/home/pi/Desktop/images/11072025/11/16/image_11072025_11_16_02_1720.jpg
/home/pi/Desktop/images/11072025/11/15/image_11072025_11_15_01_7269.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371610403","1371610396","1371610387","1371610432","1371610408","1371610423"],"photo_ids_order":["1371610387","1371610396","1371610403","1371610408","1371610423","1371610432"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/93653f4d22aeca01ef6b78d04594c596.jpg","text":"TemporaryFile(/tmp/multipartBody3411461184721364101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752245287201,"filename":"image_11072025_11_18_02_1383.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/0c8c6e0dd63186f717249cf09920df25.jpg","text":"TemporaryFile(/tmp/multipartBody8950688104106440012asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752245287201,"filename":"image_11072025_11_19_01_5536.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/5e4c64cb4b02ddfcd27a3cce905ffad4.jpg","text":"TemporaryFile(/tmp/multipartBody7577771739060075111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752245287201,"filename":"image_11072025_11_20_01_8904.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/d246d0688a890e604fe20ec545ccb49d.jpg","text":"TemporaryFile(/tmp/multipartBody3297884909704274839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752245287201,"filename":"image_11072025_11_15_01_7269.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/1e7464ef7a3dc47f1fa8abced6b240ec.jpg","text":"TemporaryFile(/tmp/multipartBody8694871607422497144asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752245287201,"filename":"image_11072025_11_17_01_8793.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/7a4d92ab543b16ae24efa15a239a0920.jpg","text":"TemporaryFile(/tmp/multipartBody2349784596698142641asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752245287201,"filename":"image_11072025_11_16_02_1720.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371610403","file1":"1371610396","file0":"1371610387","file4":"1371610423","file5":"1371610432","file3":"1371610408"},"map_files_photo_id_array":[{"photo_id":"1371610432","filename":"file5"},{"photo_id":"1371610403","filename":"file2"},{"photo_id":"1371610423","filename":"file4"},{"photo_id":"1371610396","filename":"file1"},{"photo_id":"1371610387","filename":"file0"},{"photo_id":"1371610408","filename":"file3"}],"portfolio_id":24815670,"hashtag_by_photo_ids":[{"1371610403":["hashtag1","hashtag2"]},{"1371610396":["hashtag1","hashtag2"]},{"1371610387":["hashtag1","hashtag2"]},{"1371610432":["hashtag1","hashtag2"]},{"1371610408":["hashtag1","hashtag2"]},{"1371610423":["hashtag1","hashtag2"]}],"comms":"Portfolio 24815670 used, photo_id : ArrayBuffer(1371610403, 1371610396, 1371610387, 1371610432, 1371610408, 1371610423)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 59.58473038673401 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 16:49:03.989117
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
1 photos no longer on disk
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/16/50/image_11072025_16_50_02_1494.jpg', 2), ('/home/pi/Desktop/images/11072025/11/14/image_11072025_11_14_02_2061.jpg', 2), ('/home/pi/Desktop/images/11072025/11/13/image_11072025_11_13_02_2016.jpg', 2), ('/home/pi/Desktop/images/11072025/11/12/image_11072025_11_12_02_1703.jpg', 2), ('/home/pi/Desktop/images/11072025/11/11/image_11072025_11_11_02_2742.jpg', 2), ('/home/pi/Desktop/images/11072025/11/10/image_11072025_11_10_01_6151.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/11/14/image_11072025_11_14_02_2061.jpg', '/home/pi/Desktop/images/11072025/11/13/image_11072025_11_13_02_2016.jpg', '/home/pi/Desktop/images/11072025/11/12/image_11072025_11_12_02_1703.jpg', '/home/pi/Desktop/images/11072025/11/11/image_11072025_11_11_02_2742.jpg', '/home/pi/Desktop/images/11072025/11/10/image_11072025_11_10_01_6151.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/11/14/image_11072025_11_14_02_2061.jpg
/home/pi/Desktop/images/11072025/11/13/image_11072025_11_13_02_2016.jpg
/home/pi/Desktop/images/11072025/11/12/image_11072025_11_12_02_1703.jpg
/home/pi/Desktop/images/11072025/11/11/image_11072025_11_11_02_2742.jpg
/home/pi/Desktop/images/11072025/11/10/image_11072025_11_10_01_6151.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371610518","1371610568","1371610579","1371610549","1371610501"],"photo_ids_order":["1371610501","1371610518","1371610549","1371610568","1371610579"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/ab074f3d9594218de419e20d5b99dd6e.jpg","text":"TemporaryFile(/tmp/multipartBody7147168842383688365asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752245407649,"filename":"image_11072025_11_13_02_2016.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/770a19aacef69158b7a72a1c1bbe9b19.jpg","text":"TemporaryFile(/tmp/multipartBody7400696278689295279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752245407649,"filename":"image_11072025_11_11_02_2742.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/d9f2e240c7437b57a5fcfeeacff9c33c.jpg","text":"TemporaryFile(/tmp/multipartBody8876281773136644935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752245407649,"filename":"image_11072025_11_10_01_6151.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/54422264485afda689e273d4fc44315a.jpg","text":"TemporaryFile(/tmp/multipartBody7189525179369561197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752245407649,"filename":"image_11072025_11_12_02_1703.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/9c40cad2bff1e65d9b864768e54ddaf5.jpg","text":"TemporaryFile(/tmp/multipartBody1931072266506276622asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752245407649,"filename":"image_11072025_11_14_02_2061.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371610549","file1":"1371610518","file0":"1371610501","file4":"1371610579","file3":"1371610568"},"map_files_photo_id_array":[{"photo_id":"1371610549","filename":"file2"},{"photo_id":"1371610579","filename":"file4"},{"photo_id":"1371610518","filename":"file1"},{"photo_id":"1371610501","filename":"file0"},{"photo_id":"1371610568","filename":"file3"}],"portfolio_id":24815670,"hashtag_by_photo_ids":[{"1371610518":["hashtag1","hashtag2"]},{"1371610568":["hashtag1","hashtag2"]},{"1371610579":["hashtag1","hashtag2"]},{"1371610549":["hashtag1","hashtag2"]},{"1371610501":["hashtag1","hashtag2"]}],"comms":"Portfolio 24815670 used, photo_id : ArrayBuffer(1371610518, 1371610568, 1371610579, 1371610549, 1371610501)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 84.51736450195312 secondes ---
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 377, in upload_from_sqlite
    upload_photo_and_update_logs(files, lsr, port_id, datou_current_id, fc, hashtags = hashtags, verbose = verbose, nb_batch= nb_batch,batch_size=limit)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 74, in upload_photo_and_update_logs
    logger.info("no_longer_on_disk_list:",no_longer_on_disk_list)
Message: 'no_longer_on_disk_list:'
Arguments: (['/home/pi/Desktop/images/11072025/16/50/image_11072025_16_50_02_1494.jpg'],)
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 16:51:04.181772
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/11/09/image_11072025_11_09_01_4214.jpg', 2), ('/home/pi/Desktop/images/11072025/11/08/image_11072025_11_08_02_3052.jpg', 2), ('/home/pi/Desktop/images/11072025/11/07/image_11072025_11_07_02_1606.jpg', 2), ('/home/pi/Desktop/images/11072025/11/06/image_11072025_11_06_01_9364.jpg', 2), ('/home/pi/Desktop/images/11072025/11/05/image_11072025_11_05_01_9652.jpg', 2), ('/home/pi/Desktop/images/11072025/11/04/image_11072025_11_04_01_3407.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/11/09/image_11072025_11_09_01_4214.jpg', '/home/pi/Desktop/images/11072025/11/08/image_11072025_11_08_02_3052.jpg', '/home/pi/Desktop/images/11072025/11/07/image_11072025_11_07_02_1606.jpg', '/home/pi/Desktop/images/11072025/11/06/image_11072025_11_06_01_9364.jpg', '/home/pi/Desktop/images/11072025/11/05/image_11072025_11_05_01_9652.jpg', '/home/pi/Desktop/images/11072025/11/04/image_11072025_11_04_01_3407.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/11/09/image_11072025_11_09_01_4214.jpg
/home/pi/Desktop/images/11072025/11/08/image_11072025_11_08_02_3052.jpg
/home/pi/Desktop/images/11072025/11/07/image_11072025_11_07_02_1606.jpg
/home/pi/Desktop/images/11072025/11/06/image_11072025_11_06_01_9364.jpg
/home/pi/Desktop/images/11072025/11/05/image_11072025_11_05_01_9652.jpg
/home/pi/Desktop/images/11072025/11/04/image_11072025_11_04_01_3407.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371610638","1371610679","1371610660","1371610645","1371610671","1371610653"],"photo_ids_order":["1371610638","1371610645","1371610653","1371610660","1371610671","1371610679"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/a5cb2194ed378e75c92e4b35df73b916.jpg","text":"TemporaryFile(/tmp/multipartBody2872667784312858321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752245528392,"filename":"image_11072025_11_09_01_4214.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/3f19a9cbb0aa5720d71d6de406c5efc7.jpg","text":"TemporaryFile(/tmp/multipartBody3823931676621862428asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752245528392,"filename":"image_11072025_11_04_01_3407.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/256ec59336e3bad81592a2f26cc9956a.jpg","text":"TemporaryFile(/tmp/multipartBody6438220712226469412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752245528392,"filename":"image_11072025_11_06_01_9364.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/39bddd66724e0af63c9192ea6b57968f.jpg","text":"TemporaryFile(/tmp/multipartBody3527011064658942493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752245528392,"filename":"image_11072025_11_08_02_3052.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/e042427749defb06356170b30c445558.jpg","text":"TemporaryFile(/tmp/multipartBody6457587143744693860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752245528392,"filename":"image_11072025_11_05_01_9652.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/e39848960407e5faa18c53a7476f1ef2.jpg","text":"TemporaryFile(/tmp/multipartBody4740547663192837839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752245528392,"filename":"image_11072025_11_07_02_1606.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371610653","file1":"1371610645","file0":"1371610638","file4":"1371610671","file5":"1371610679","file3":"1371610660"},"map_files_photo_id_array":[{"photo_id":"1371610679","filename":"file5"},{"photo_id":"1371610653","filename":"file2"},{"photo_id":"1371610671","filename":"file4"},{"photo_id":"1371610645","filename":"file1"},{"photo_id":"1371610638","filename":"file0"},{"photo_id":"1371610660","filename":"file3"}],"portfolio_id":24815670,"hashtag_by_photo_ids":[{"1371610638":["hashtag1","hashtag2"]},{"1371610679":["hashtag1","hashtag2"]},{"1371610660":["hashtag1","hashtag2"]},{"1371610645":["hashtag1","hashtag2"]},{"1371610671":["hashtag1","hashtag2"]},{"1371610653":["hashtag1","hashtag2"]}],"comms":"Portfolio 24815670 used, photo_id : ArrayBuffer(1371610638, 1371610679, 1371610660, 1371610645, 1371610671, 1371610653)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 59.1588978767395 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 16:53:03.092024
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/11/03/image_11072025_11_03_01_9255.jpg', 2), ('/home/pi/Desktop/images/11072025/11/02/image_11072025_11_02_02_2205.jpg', 2), ('/home/pi/Desktop/images/11072025/11/01/image_11072025_11_01_01_5833.jpg', 2), ('/home/pi/Desktop/images/11072025/10/59/image_11072025_10_59_01_9711.jpg', 2), ('/home/pi/Desktop/images/11072025/10/58/image_11072025_10_58_01_7221.jpg', 2), ('/home/pi/Desktop/images/11072025/10/57/image_11072025_10_57_01_6288.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/11/03/image_11072025_11_03_01_9255.jpg', '/home/pi/Desktop/images/11072025/11/02/image_11072025_11_02_02_2205.jpg', '/home/pi/Desktop/images/11072025/11/01/image_11072025_11_01_01_5833.jpg', '/home/pi/Desktop/images/11072025/10/59/image_11072025_10_59_01_9711.jpg', '/home/pi/Desktop/images/11072025/10/58/image_11072025_10_58_01_7221.jpg', '/home/pi/Desktop/images/11072025/10/57/image_11072025_10_57_01_6288.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/11/03/image_11072025_11_03_01_9255.jpg
/home/pi/Desktop/images/11072025/11/02/image_11072025_11_02_02_2205.jpg
/home/pi/Desktop/images/11072025/11/01/image_11072025_11_01_01_5833.jpg
/home/pi/Desktop/images/11072025/10/59/image_11072025_10_59_01_9711.jpg
/home/pi/Desktop/images/11072025/10/58/image_11072025_10_58_01_7221.jpg
/home/pi/Desktop/images/11072025/10/57/image_11072025_10_57_01_6288.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371611194","1371611314","1371611076","1371611256","1371611019","1371611133"],"photo_ids_order":["1371611019","1371611076","1371611133","1371611194","1371611256","1371611314"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/6a58d7be6f6ce752f97dd45b64a95af0.jpg","text":"TemporaryFile(/tmp/multipartBody2383014150328926170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752245647244,"filename":"image_11072025_10_59_01_9711.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/f2e1be58d74e3525b54de28208f3b2e4.jpg","text":"TemporaryFile(/tmp/multipartBody8219009394343567334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752245647244,"filename":"image_11072025_10_57_01_6288.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/37b180fd58e2f192a28eedab86400b11.jpg","text":"TemporaryFile(/tmp/multipartBody7287272790928991607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752245647244,"filename":"image_11072025_11_02_02_2205.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/00bc16dad6c8a935af60c6bbaf6da470.jpg","text":"TemporaryFile(/tmp/multipartBody4428079028251389311asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752245647244,"filename":"image_11072025_10_58_01_7221.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/af5ef8f9a3c0675e1693ca5c92c7a4cc.jpg","text":"TemporaryFile(/tmp/multipartBody5258176840881699702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752245647244,"filename":"image_11072025_11_03_01_9255.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/718a1b0809c61b2b06697f4d2c98c5de.jpg","text":"TemporaryFile(/tmp/multipartBody6990527338638416850asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752245647244,"filename":"image_11072025_11_01_01_5833.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371611133","file1":"1371611076","file0":"1371611019","file4":"1371611256","file5":"1371611314","file3":"1371611194"},"map_files_photo_id_array":[{"photo_id":"1371611314","filename":"file5"},{"photo_id":"1371611133","filename":"file2"},{"photo_id":"1371611256","filename":"file4"},{"photo_id":"1371611076","filename":"file1"},{"photo_id":"1371611019","filename":"file0"},{"photo_id":"1371611194","filename":"file3"}],"portfolio_id":24815670,"hashtag_by_photo_ids":[{"1371611194":["hashtag1","hashtag2"]},{"1371611314":["hashtag1","hashtag2"]},{"1371611076":["hashtag1","hashtag2"]},{"1371611256":["hashtag1","hashtag2"]},{"1371611019":["hashtag1","hashtag2"]},{"1371611133":["hashtag1","hashtag2"]}],"comms":"Portfolio 24815670 used, photo_id : ArrayBuffer(1371611194, 1371611314, 1371611076, 1371611256, 1371611019, 1371611133)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.32536578178406 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 16:54:03.500510
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/10/56/image_11072025_10_56_02_0924.jpg', 2), ('/home/pi/Desktop/images/11072025/10/55/image_11072025_10_55_02_2524.jpg', 2), ('/home/pi/Desktop/images/11072025/10/54/image_11072025_10_54_02_0104.jpg', 2), ('/home/pi/Desktop/images/11072025/10/53/image_11072025_10_53_02_2018.jpg', 2), ('/home/pi/Desktop/images/11072025/10/52/image_11072025_10_52_01_9404.jpg', 2), ('/home/pi/Desktop/images/11072025/10/51/image_11072025_10_51_01_7452.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/10/56/image_11072025_10_56_02_0924.jpg', '/home/pi/Desktop/images/11072025/10/55/image_11072025_10_55_02_2524.jpg', '/home/pi/Desktop/images/11072025/10/54/image_11072025_10_54_02_0104.jpg', '/home/pi/Desktop/images/11072025/10/53/image_11072025_10_53_02_2018.jpg', '/home/pi/Desktop/images/11072025/10/52/image_11072025_10_52_01_9404.jpg', '/home/pi/Desktop/images/11072025/10/51/image_11072025_10_51_01_7452.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/10/56/image_11072025_10_56_02_0924.jpg
/home/pi/Desktop/images/11072025/10/55/image_11072025_10_55_02_2524.jpg
/home/pi/Desktop/images/11072025/10/54/image_11072025_10_54_02_0104.jpg
/home/pi/Desktop/images/11072025/10/53/image_11072025_10_53_02_2018.jpg
/home/pi/Desktop/images/11072025/10/52/image_11072025_10_52_01_9404.jpg
/home/pi/Desktop/images/11072025/10/51/image_11072025_10_51_01_7452.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371611462","1371611438","1371611476","1371611449","1371611470","1371611500"],"photo_ids_order":["1371611438","1371611449","1371611462","1371611470","1371611476","1371611500"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/76e845ac4606817d273d26c311be89bf.jpg","text":"TemporaryFile(/tmp/multipartBody5404180561053271128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752245707554,"filename":"image_11072025_10_54_02_0104.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/3b6202c472d081e182add4fdede81ae3.jpg","text":"TemporaryFile(/tmp/multipartBody3802043591999988337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752245707554,"filename":"image_11072025_10_56_02_0924.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/583499ad353cb997e53a5d5d1d8162f5.jpg","text":"TemporaryFile(/tmp/multipartBody1392159457687434228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752245707554,"filename":"image_11072025_10_52_01_9404.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/373bb1c9a3ed6901a02ddd743baccd38.jpg","text":"TemporaryFile(/tmp/multipartBody7120716002471393421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752245707554,"filename":"image_11072025_10_55_02_2524.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/f5d251391390db1679dc07989d14eedf.jpg","text":"TemporaryFile(/tmp/multipartBody7860263669083833890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752245707554,"filename":"image_11072025_10_53_02_2018.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/3988b7bdb5aba3251000b79667cc0a20.jpg","text":"TemporaryFile(/tmp/multipartBody5348197365322652295asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752245707554,"filename":"image_11072025_10_51_01_7452.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371611462","file1":"1371611449","file0":"1371611438","file4":"1371611476","file5":"1371611500","file3":"1371611470"},"map_files_photo_id_array":[{"photo_id":"1371611500","filename":"file5"},{"photo_id":"1371611462","filename":"file2"},{"photo_id":"1371611476","filename":"file4"},{"photo_id":"1371611449","filename":"file1"},{"photo_id":"1371611438","filename":"file0"},{"photo_id":"1371611470","filename":"file3"}],"portfolio_id":24815670,"hashtag_by_photo_ids":[{"1371611462":["hashtag1","hashtag2"]},{"1371611438":["hashtag1","hashtag2"]},{"1371611476":["hashtag1","hashtag2"]},{"1371611449":["hashtag1","hashtag2"]},{"1371611470":["hashtag1","hashtag2"]},{"1371611500":["hashtag1","hashtag2"]}],"comms":"Portfolio 24815670 used, photo_id : ArrayBuffer(1371611462, 1371611438, 1371611476, 1371611449, 1371611470, 1371611500)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 62.14876317977905 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 16:56:03.568568
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/10/50/image_11072025_10_50_02_1398.jpg', 2), ('/home/pi/Desktop/images/11072025/10/49/image_11072025_10_49_01_4277.jpg', 2), ('/home/pi/Desktop/images/11072025/10/48/image_11072025_10_48_01_6256.jpg', 2), ('/home/pi/Desktop/images/11072025/10/47/image_11072025_10_47_01_9614.jpg', 2), ('/home/pi/Desktop/images/11072025/10/46/image_11072025_10_46_01_7005.jpg', 2), ('/home/pi/Desktop/images/11072025/10/45/image_11072025_10_45_01_8348.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/10/50/image_11072025_10_50_02_1398.jpg', '/home/pi/Desktop/images/11072025/10/49/image_11072025_10_49_01_4277.jpg', '/home/pi/Desktop/images/11072025/10/48/image_11072025_10_48_01_6256.jpg', '/home/pi/Desktop/images/11072025/10/47/image_11072025_10_47_01_9614.jpg', '/home/pi/Desktop/images/11072025/10/46/image_11072025_10_46_01_7005.jpg', '/home/pi/Desktop/images/11072025/10/45/image_11072025_10_45_01_8348.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/10/50/image_11072025_10_50_02_1398.jpg
/home/pi/Desktop/images/11072025/10/49/image_11072025_10_49_01_4277.jpg
/home/pi/Desktop/images/11072025/10/48/image_11072025_10_48_01_6256.jpg
/home/pi/Desktop/images/11072025/10/47/image_11072025_10_47_01_9614.jpg
/home/pi/Desktop/images/11072025/10/46/image_11072025_10_46_01_7005.jpg
/home/pi/Desktop/images/11072025/10/45/image_11072025_10_45_01_8348.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371612577","1371612433","1371612354","1371612633","1371612516","1371612296"],"photo_ids_order":["1371612296","1371612354","1371612433","1371612516","1371612577","1371612633"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/42d68263930c4ada73029cd2577124a6.jpg","text":"TemporaryFile(/tmp/multipartBody5420218719437842902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752245827839,"filename":"image_11072025_10_46_01_7005.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/c8d49c843cc503ca35c3ba31376fe65b.jpg","text":"TemporaryFile(/tmp/multipartBody4961033852385111021asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752245827839,"filename":"image_11072025_10_48_01_6256.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/158f15eeb2e395587b60127c9c4d2848.jpg","text":"TemporaryFile(/tmp/multipartBody7301435283756719830asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752245827839,"filename":"image_11072025_10_49_01_4277.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/6a9e1b1fe5bb778386865818737cc3d2.jpg","text":"TemporaryFile(/tmp/multipartBody8655177939037130242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752245827839,"filename":"image_11072025_10_45_01_8348.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/0c754c35ebf303ea2f05bb40b9cfe9b0.jpg","text":"TemporaryFile(/tmp/multipartBody6294174755159699229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752245827839,"filename":"image_11072025_10_47_01_9614.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/d6cb768632d76eacbaf1193a0cad3fe7.jpg","text":"TemporaryFile(/tmp/multipartBody6358407881118910378asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752245827839,"filename":"image_11072025_10_50_02_1398.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371612433","file1":"1371612354","file0":"1371612296","file4":"1371612577","file5":"1371612633","file3":"1371612516"},"map_files_photo_id_array":[{"photo_id":"1371612633","filename":"file5"},{"photo_id":"1371612433","filename":"file2"},{"photo_id":"1371612577","filename":"file4"},{"photo_id":"1371612354","filename":"file1"},{"photo_id":"1371612296","filename":"file0"},{"photo_id":"1371612516","filename":"file3"}],"portfolio_id":24815670,"hashtag_by_photo_ids":[{"1371612577":["hashtag1","hashtag2"]},{"1371612433":["hashtag1","hashtag2"]},{"1371612354":["hashtag1","hashtag2"]},{"1371612633":["hashtag1","hashtag2"]},{"1371612516":["hashtag1","hashtag2"]},{"1371612296":["hashtag1","hashtag2"]}],"comms":"Portfolio 24815670 used, photo_id : ArrayBuffer(1371612577, 1371612433, 1371612354, 1371612633, 1371612516, 1371612296)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 59.28731608390808 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 16:59:03.265018
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/10/44/image_11072025_10_44_02_1300.jpg', 2), ('/home/pi/Desktop/images/11072025/10/43/image_11072025_10_43_01_6805.jpg', 2), ('/home/pi/Desktop/images/11072025/10/42/image_11072025_10_42_01_3308.jpg', 2), ('/home/pi/Desktop/images/11072025/10/41/image_11072025_10_41_01_5143.jpg', 2), ('/home/pi/Desktop/images/11072025/10/40/image_11072025_10_40_02_1878.jpg', 2), ('/home/pi/Desktop/images/11072025/10/39/image_11072025_10_39_01_5137.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/10/44/image_11072025_10_44_02_1300.jpg', '/home/pi/Desktop/images/11072025/10/43/image_11072025_10_43_01_6805.jpg', '/home/pi/Desktop/images/11072025/10/42/image_11072025_10_42_01_3308.jpg', '/home/pi/Desktop/images/11072025/10/41/image_11072025_10_41_01_5143.jpg', '/home/pi/Desktop/images/11072025/10/40/image_11072025_10_40_02_1878.jpg', '/home/pi/Desktop/images/11072025/10/39/image_11072025_10_39_01_5137.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/10/44/image_11072025_10_44_02_1300.jpg
/home/pi/Desktop/images/11072025/10/43/image_11072025_10_43_01_6805.jpg
/home/pi/Desktop/images/11072025/10/42/image_11072025_10_42_01_3308.jpg
/home/pi/Desktop/images/11072025/10/41/image_11072025_10_41_01_5143.jpg
/home/pi/Desktop/images/11072025/10/40/image_11072025_10_40_02_1878.jpg
/home/pi/Desktop/images/11072025/10/39/image_11072025_10_39_01_5137.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371614302","1371614151","1371614022","1371614192","1371614222","1371613922"],"photo_ids_order":["1371613922","1371614022","1371614151","1371614192","1371614222","1371614302"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/a9ec715e437c199789ddd54b6a8418be.jpg","text":"TemporaryFile(/tmp/multipartBody1372645795334816212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752246007262,"filename":"image_11072025_10_39_01_5137.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/bb968b1bd166444028d9b99b26145fee.jpg","text":"TemporaryFile(/tmp/multipartBody9159305671824586736asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752246007262,"filename":"image_11072025_10_42_01_3308.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/7bd6d85bcd48d5a6b0aa588a04bf9cda.jpg","text":"TemporaryFile(/tmp/multipartBody8047793925017859125asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752246007262,"filename":"image_11072025_10_43_01_6805.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/259725cdb7d888258b35ca77a2de002d.jpg","text":"TemporaryFile(/tmp/multipartBody4225364511386162609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752246007262,"filename":"image_11072025_10_41_01_5143.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/655d8ab724faa19996aac9b181f9ecef.jpg","text":"TemporaryFile(/tmp/multipartBody4995086376971698128asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752246007262,"filename":"image_11072025_10_40_02_1878.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/b7b092604290a7e66c2bff4c10f8f715.jpg","text":"TemporaryFile(/tmp/multipartBody2364251198928686216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752246007262,"filename":"image_11072025_10_44_02_1300.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371614151","file1":"1371614022","file0":"1371613922","file4":"1371614222","file5":"1371614302","file3":"1371614192"},"map_files_photo_id_array":[{"photo_id":"1371614302","filename":"file5"},{"photo_id":"1371614151","filename":"file2"},{"photo_id":"1371614222","filename":"file4"},{"photo_id":"1371614022","filename":"file1"},{"photo_id":"1371613922","filename":"file0"},{"photo_id":"1371614192","filename":"file3"}],"portfolio_id":24815670,"hashtag_by_photo_ids":[{"1371614302":["hashtag1","hashtag2"]},{"1371614151":["hashtag1","hashtag2"]},{"1371614022":["hashtag1","hashtag2"]},{"1371614192":["hashtag1","hashtag2"]},{"1371614222":["hashtag1","hashtag2"]},{"1371613922":["hashtag1","hashtag2"]}],"comms":"Portfolio 24815670 used, photo_id : ArrayBuffer(1371614302, 1371614151, 1371614022, 1371614192, 1371614222, 1371613922)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 62.58802556991577 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 17:01:04.206800
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/10/38/image_11072025_10_38_01_8019.jpg', 2), ('/home/pi/Desktop/images/11072025/10/37/image_11072025_10_37_01_9150.jpg', 2), ('/home/pi/Desktop/images/11072025/10/36/image_11072025_10_36_01_9416.jpg', 2), ('/home/pi/Desktop/images/11072025/10/35/image_11072025_10_35_01_3087.jpg', 2), ('/home/pi/Desktop/images/11072025/10/34/image_11072025_10_34_02_2619.jpg', 2), ('/home/pi/Desktop/images/11072025/10/33/image_11072025_10_33_02_2891.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/10/38/image_11072025_10_38_01_8019.jpg', '/home/pi/Desktop/images/11072025/10/37/image_11072025_10_37_01_9150.jpg', '/home/pi/Desktop/images/11072025/10/36/image_11072025_10_36_01_9416.jpg', '/home/pi/Desktop/images/11072025/10/35/image_11072025_10_35_01_3087.jpg', '/home/pi/Desktop/images/11072025/10/34/image_11072025_10_34_02_2619.jpg', '/home/pi/Desktop/images/11072025/10/33/image_11072025_10_33_02_2891.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/10/38/image_11072025_10_38_01_8019.jpg
/home/pi/Desktop/images/11072025/10/37/image_11072025_10_37_01_9150.jpg
/home/pi/Desktop/images/11072025/10/36/image_11072025_10_36_01_9416.jpg
/home/pi/Desktop/images/11072025/10/35/image_11072025_10_35_01_3087.jpg
/home/pi/Desktop/images/11072025/10/34/image_11072025_10_34_02_2619.jpg
/home/pi/Desktop/images/11072025/10/33/image_11072025_10_33_02_2891.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371615759","1371615342","1371615657","1371615546","1371615857","1371615434"],"photo_ids_order":["1371615342","1371615434","1371615546","1371615657","1371615759","1371615857"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/d3a7c1a9dbc777bfefd421ba2904be90.jpg","text":"TemporaryFile(/tmp/multipartBody7773716127589231395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752246128206,"filename":"image_11072025_10_34_02_2619.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/c59c6121a8914f67761d82763cbc2afa.jpg","text":"TemporaryFile(/tmp/multipartBody5940738544731074279asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752246128206,"filename":"image_11072025_10_38_01_8019.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/7e4f0051adcd900782d5f4e213bd3c8c.jpg","text":"TemporaryFile(/tmp/multipartBody8949140997766690876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752246128206,"filename":"image_11072025_10_35_01_3087.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/10cb9ad9e0dbda489320c178906f5101.jpg","text":"TemporaryFile(/tmp/multipartBody6259819390213392097asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752246128206,"filename":"image_11072025_10_36_01_9416.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/2c85e30b7cf4a9afc86284c892af559c.jpg","text":"TemporaryFile(/tmp/multipartBody7610138149515405776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752246128206,"filename":"image_11072025_10_33_02_2891.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/5168e69fe1b629ea2a58d2ae256d1f4e.jpg","text":"TemporaryFile(/tmp/multipartBody8561446007645465061asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752246128206,"filename":"image_11072025_10_37_01_9150.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371615546","file1":"1371615434","file0":"1371615342","file4":"1371615759","file5":"1371615857","file3":"1371615657"},"map_files_photo_id_array":[{"photo_id":"1371615857","filename":"file5"},{"photo_id":"1371615546","filename":"file2"},{"photo_id":"1371615759","filename":"file4"},{"photo_id":"1371615434","filename":"file1"},{"photo_id":"1371615342","filename":"file0"},{"photo_id":"1371615657","filename":"file3"}],"portfolio_id":24815670,"hashtag_by_photo_ids":[{"1371615759":["hashtag1","hashtag2"]},{"1371615342":["hashtag1","hashtag2"]},{"1371615657":["hashtag1","hashtag2"]},{"1371615546":["hashtag1","hashtag2"]},{"1371615857":["hashtag1","hashtag2"]},{"1371615434":["hashtag1","hashtag2"]}],"comms":"Portfolio 24815670 used, photo_id : ArrayBuffer(1371615759, 1371615342, 1371615657, 1371615546, 1371615857, 1371615434)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.83267092704773 secondes ---
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 17:03:03.277009
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/10/32/image_11072025_10_32_02_2799.jpg', 2), ('/home/pi/Desktop/images/11072025/10/31/image_11072025_10_31_01_4928.jpg', 2), ('/home/pi/Desktop/images/11072025/10/30/image_11072025_10_30_02_2233.jpg', 2), ('/home/pi/Desktop/images/11072025/10/29/image_11072025_10_29_01_4080.jpg', 2), ('/home/pi/Desktop/images/11072025/10/28/image_11072025_10_28_01_9955.jpg', 2), ('/home/pi/Desktop/images/11072025/10/27/image_11072025_10_27_02_1436.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/10/32/image_11072025_10_32_02_2799.jpg', '/home/pi/Desktop/images/11072025/10/31/image_11072025_10_31_01_4928.jpg', '/home/pi/Desktop/images/11072025/10/30/image_11072025_10_30_02_2233.jpg', '/home/pi/Desktop/images/11072025/10/29/image_11072025_10_29_01_4080.jpg', '/home/pi/Desktop/images/11072025/10/28/image_11072025_10_28_01_9955.jpg', '/home/pi/Desktop/images/11072025/10/27/image_11072025_10_27_02_1436.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/10/32/image_11072025_10_32_02_2799.jpg
/home/pi/Desktop/images/11072025/10/31/image_11072025_10_31_01_4928.jpg
/home/pi/Desktop/images/11072025/10/30/image_11072025_10_30_02_2233.jpg
/home/pi/Desktop/images/11072025/10/29/image_11072025_10_29_01_4080.jpg
/home/pi/Desktop/images/11072025/10/28/image_11072025_10_28_01_9955.jpg
/home/pi/Desktop/images/11072025/10/27/image_11072025_10_27_02_1436.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371616656","1371616574","1371616637","1371616811","1371616520","1371616692"],"photo_ids_order":["1371616520","1371616574","1371616637","1371616656","1371616692","1371616811"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/e5008892ea854766f12822b9b40e14b4.jpg","text":"TemporaryFile(/tmp/multipartBody3202178299750726785asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752246247361,"filename":"image_11072025_10_29_01_4080.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/fce13a39f7b1c3e0905a3c6115513d3d.jpg","text":"TemporaryFile(/tmp/multipartBody7991782933384463995asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752246247361,"filename":"image_11072025_10_31_01_4928.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/a63d1939480f49d64eba4425fd274c98.jpg","text":"TemporaryFile(/tmp/multipartBody6823314464680740019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752246247361,"filename":"image_11072025_10_30_02_2233.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/3dfc5ce2ec6d41543517c15388922d87.jpg","text":"TemporaryFile(/tmp/multipartBody6583511758556575954asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752246247361,"filename":"image_11072025_10_27_02_1436.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/b2aab6fbaee2d014096ad7845e968d11.jpg","text":"TemporaryFile(/tmp/multipartBody2831821032683918553asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752246247361,"filename":"image_11072025_10_32_02_2799.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/d2bfd1998a7567ef06a1d8df8f413f27.jpg","text":"TemporaryFile(/tmp/multipartBody3829234125013084621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752246247361,"filename":"image_11072025_10_28_01_9955.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371616637","file1":"1371616574","file0":"1371616520","file4":"1371616692","file5":"1371616811","file3":"1371616656"},"map_files_photo_id_array":[{"photo_id":"1371616811","filename":"file5"},{"photo_id":"1371616637","filename":"file2"},{"photo_id":"1371616692","filename":"file4"},{"photo_id":"1371616574","filename":"file1"},{"photo_id":"1371616520","filename":"file0"},{"photo_id":"1371616656","filename":"file3"}],"portfolio_id":24815670,"hashtag_by_photo_ids":[{"1371616656":["hashtag1","hashtag2"]},{"1371616574":["hashtag1","hashtag2"]},{"1371616637":["hashtag1","hashtag2"]},{"1371616811":["hashtag1","hashtag2"]},{"1371616520":["hashtag1","hashtag2"]},{"1371616692":["hashtag1","hashtag2"]}],"comms":"Portfolio 24815670 used, photo_id : ArrayBuffer(1371616656, 1371616574, 1371616637, 1371616811, 1371616520, 1371616692)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 61.57705807685852 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 17:05:03.542544
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/10/26/image_11072025_10_26_01_5377.jpg', 2), ('/home/pi/Desktop/images/11072025/10/25/image_11072025_10_25_01_6804.jpg', 2), ('/home/pi/Desktop/images/11072025/10/24/image_11072025_10_24_01_7435.jpg', 2), ('/home/pi/Desktop/images/11072025/10/23/image_11072025_10_23_01_9752.jpg', 2), ('/home/pi/Desktop/images/11072025/10/22/image_11072025_10_22_01_2913.jpg', 2), ('/home/pi/Desktop/images/11072025/10/21/image_11072025_10_21_01_5010.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/10/26/image_11072025_10_26_01_5377.jpg', '/home/pi/Desktop/images/11072025/10/25/image_11072025_10_25_01_6804.jpg', '/home/pi/Desktop/images/11072025/10/24/image_11072025_10_24_01_7435.jpg', '/home/pi/Desktop/images/11072025/10/23/image_11072025_10_23_01_9752.jpg', '/home/pi/Desktop/images/11072025/10/22/image_11072025_10_22_01_2913.jpg', '/home/pi/Desktop/images/11072025/10/21/image_11072025_10_21_01_5010.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/10/26/image_11072025_10_26_01_5377.jpg
/home/pi/Desktop/images/11072025/10/25/image_11072025_10_25_01_6804.jpg
/home/pi/Desktop/images/11072025/10/24/image_11072025_10_24_01_7435.jpg
/home/pi/Desktop/images/11072025/10/23/image_11072025_10_23_01_9752.jpg
/home/pi/Desktop/images/11072025/10/22/image_11072025_10_22_01_2913.jpg
/home/pi/Desktop/images/11072025/10/21/image_11072025_10_21_01_5010.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371617225","1371617254","1371617233","1371617265","1371617247","1371617238"],"photo_ids_order":["1371617225","1371617233","1371617238","1371617247","1371617254","1371617265"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/793137774af6c3990467b396c8fcb017.jpg","text":"TemporaryFile(/tmp/multipartBody1872038425537908834asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752246367596,"filename":"image_11072025_10_26_01_5377.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/78ed6f1da96a176951c31b793d88bed8.jpg","text":"TemporaryFile(/tmp/multipartBody3743000725910232583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752246367596,"filename":"image_11072025_10_22_01_2913.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/d548905951e7a9e50f686d07646bb9e0.jpg","text":"TemporaryFile(/tmp/multipartBody9142695956547075120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752246367596,"filename":"image_11072025_10_25_01_6804.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/63a7020ec736a3d558d42f29f2ac7611.jpg","text":"TemporaryFile(/tmp/multipartBody1141519736818590440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752246367596,"filename":"image_11072025_10_21_01_5010.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/60a88ff39fb01035875e747ca89f7dd0.jpg","text":"TemporaryFile(/tmp/multipartBody4016631436286644272asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752246367596,"filename":"image_11072025_10_23_01_9752.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/1a92de397857358462416605f6c46394.jpg","text":"TemporaryFile(/tmp/multipartBody1137245115902618186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752246367596,"filename":"image_11072025_10_24_01_7435.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371617238","file1":"1371617233","file0":"1371617225","file4":"1371617254","file5":"1371617265","file3":"1371617247"},"map_files_photo_id_array":[{"photo_id":"1371617265","filename":"file5"},{"photo_id":"1371617238","filename":"file2"},{"photo_id":"1371617254","filename":"file4"},{"photo_id":"1371617233","filename":"file1"},{"photo_id":"1371617225","filename":"file0"},{"photo_id":"1371617247","filename":"file3"}],"portfolio_id":24815670,"hashtag_by_photo_ids":[{"1371617225":["hashtag1","hashtag2"]},{"1371617254":["hashtag1","hashtag2"]},{"1371617233":["hashtag1","hashtag2"]},{"1371617265":["hashtag1","hashtag2"]},{"1371617247":["hashtag1","hashtag2"]},{"1371617238":["hashtag1","hashtag2"]}],"comms":"Portfolio 24815670 used, photo_id : ArrayBuffer(1371617225, 1371617254, 1371617233, 1371617265, 1371617247, 1371617238)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.80244517326355 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 17:06:02.901514
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/10/20/image_11072025_10_20_02_0476.jpg', 2), ('/home/pi/Desktop/images/11072025/10/19/image_11072025_10_19_01_5755.jpg', 2), ('/home/pi/Desktop/images/11072025/10/18/image_11072025_10_18_01_5400.jpg', 2), ('/home/pi/Desktop/images/11072025/10/17/image_11072025_10_17_01_6407.jpg', 2), ('/home/pi/Desktop/images/11072025/10/16/image_11072025_10_16_01_7284.jpg', 2), ('/home/pi/Desktop/images/11072025/10/15/image_11072025_10_15_02_1130.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/10/20/image_11072025_10_20_02_0476.jpg', '/home/pi/Desktop/images/11072025/10/19/image_11072025_10_19_01_5755.jpg', '/home/pi/Desktop/images/11072025/10/18/image_11072025_10_18_01_5400.jpg', '/home/pi/Desktop/images/11072025/10/17/image_11072025_10_17_01_6407.jpg', '/home/pi/Desktop/images/11072025/10/16/image_11072025_10_16_01_7284.jpg', '/home/pi/Desktop/images/11072025/10/15/image_11072025_10_15_02_1130.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/10/20/image_11072025_10_20_02_0476.jpg
/home/pi/Desktop/images/11072025/10/19/image_11072025_10_19_01_5755.jpg
/home/pi/Desktop/images/11072025/10/18/image_11072025_10_18_01_5400.jpg
/home/pi/Desktop/images/11072025/10/17/image_11072025_10_17_01_6407.jpg
/home/pi/Desktop/images/11072025/10/16/image_11072025_10_16_01_7284.jpg
/home/pi/Desktop/images/11072025/10/15/image_11072025_10_15_02_1130.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371617297","1371617309","1371617284","1371617326","1371617319","1371617288"],"photo_ids_order":["1371617284","1371617288","1371617297","1371617309","1371617319","1371617326"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/196bd4461368f7c172c1ebbbbaa62ddf.jpg","text":"TemporaryFile(/tmp/multipartBody8823948111740800632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752246426863,"filename":"image_11072025_10_18_01_5400.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/5ca91b994864aa2f205b60515f5fbf22.jpg","text":"TemporaryFile(/tmp/multipartBody5716562511710005597asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752246426863,"filename":"image_11072025_10_17_01_6407.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/e370ee69ef862d9345328cd525bfd626.jpg","text":"TemporaryFile(/tmp/multipartBody2820905503027379227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752246426863,"filename":"image_11072025_10_20_02_0476.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/6ba3b55dfe24feb93d627ac2a20f8ead.jpg","text":"TemporaryFile(/tmp/multipartBody6176783176584184292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752246426863,"filename":"image_11072025_10_15_02_1130.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/014066407b2cfb63008d5b46700b6928.jpg","text":"TemporaryFile(/tmp/multipartBody8157593357658352213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752246426863,"filename":"image_11072025_10_16_01_7284.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/9c04adaf057bc25986852612eb3ef4e3.jpg","text":"TemporaryFile(/tmp/multipartBody3329897895161604115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752246426863,"filename":"image_11072025_10_19_01_5755.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371617297","file1":"1371617288","file0":"1371617284","file4":"1371617319","file5":"1371617326","file3":"1371617309"},"map_files_photo_id_array":[{"photo_id":"1371617326","filename":"file5"},{"photo_id":"1371617297","filename":"file2"},{"photo_id":"1371617319","filename":"file4"},{"photo_id":"1371617288","filename":"file1"},{"photo_id":"1371617284","filename":"file0"},{"photo_id":"1371617309","filename":"file3"}],"portfolio_id":24815670,"hashtag_by_photo_ids":[{"1371617297":["hashtag1","hashtag2"]},{"1371617309":["hashtag1","hashtag2"]},{"1371617284":["hashtag1","hashtag2"]},{"1371617326":["hashtag1","hashtag2"]},{"1371617319":["hashtag1","hashtag2"]},{"1371617288":["hashtag1","hashtag2"]}],"comms":"Portfolio 24815670 used, photo_id : ArrayBuffer(1371617297, 1371617309, 1371617284, 1371617326, 1371617319, 1371617288)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 60.50036859512329 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 17:08:03.258359
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/10/14/image_11072025_10_14_01_9635.jpg', 2), ('/home/pi/Desktop/images/11072025/10/13/image_11072025_10_13_01_6222.jpg', 2), ('/home/pi/Desktop/images/11072025/10/12/image_11072025_10_12_01_4687.jpg', 2), ('/home/pi/Desktop/images/11072025/10/11/image_11072025_10_11_01_6251.jpg', 2), ('/home/pi/Desktop/images/11072025/10/10/image_11072025_10_10_01_9743.jpg', 2), ('/home/pi/Desktop/images/11072025/10/09/image_11072025_10_09_02_2067.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/10/14/image_11072025_10_14_01_9635.jpg', '/home/pi/Desktop/images/11072025/10/13/image_11072025_10_13_01_6222.jpg', '/home/pi/Desktop/images/11072025/10/12/image_11072025_10_12_01_4687.jpg', '/home/pi/Desktop/images/11072025/10/11/image_11072025_10_11_01_6251.jpg', '/home/pi/Desktop/images/11072025/10/10/image_11072025_10_10_01_9743.jpg', '/home/pi/Desktop/images/11072025/10/09/image_11072025_10_09_02_2067.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/10/14/image_11072025_10_14_01_9635.jpg
/home/pi/Desktop/images/11072025/10/13/image_11072025_10_13_01_6222.jpg
/home/pi/Desktop/images/11072025/10/12/image_11072025_10_12_01_4687.jpg
/home/pi/Desktop/images/11072025/10/11/image_11072025_10_11_01_6251.jpg
/home/pi/Desktop/images/11072025/10/10/image_11072025_10_10_01_9743.jpg
/home/pi/Desktop/images/11072025/10/09/image_11072025_10_09_02_2067.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371617406","1371617411","1371617435","1371617417","1371617428","1371617424"],"photo_ids_order":["1371617406","1371617411","1371617417","1371617424","1371617428","1371617435"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/d139b16b69c60ea46fe7b2ed5e1d0576.jpg","text":"TemporaryFile(/tmp/multipartBody6132823048938899237asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752246546997,"filename":"image_11072025_10_14_01_9635.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/1b95ff56309afb99828942b44b955d3d.jpg","text":"TemporaryFile(/tmp/multipartBody3731017466440318445asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752246546997,"filename":"image_11072025_10_13_01_6222.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/ef24cc10ee366899596c58345a13e498.jpg","text":"TemporaryFile(/tmp/multipartBody938173233633442764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752246546997,"filename":"image_11072025_10_09_02_2067.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/895ec1729e81077754730c7207d64e8c.jpg","text":"TemporaryFile(/tmp/multipartBody1607809860772818446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752246546997,"filename":"image_11072025_10_12_01_4687.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/d30a48f87c4a6f1542dbdc9325f9ce3c.jpg","text":"TemporaryFile(/tmp/multipartBody5567135872827131997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752246546997,"filename":"image_11072025_10_10_01_9743.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/0cc12b42451a5614ae49e9f5fd73913f.jpg","text":"TemporaryFile(/tmp/multipartBody3013114181249277213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752246546997,"filename":"image_11072025_10_11_01_6251.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371617417","file1":"1371617411","file0":"1371617406","file4":"1371617428","file5":"1371617435","file3":"1371617424"},"map_files_photo_id_array":[{"photo_id":"1371617435","filename":"file5"},{"photo_id":"1371617417","filename":"file2"},{"photo_id":"1371617428","filename":"file4"},{"photo_id":"1371617411","filename":"file1"},{"photo_id":"1371617406","filename":"file0"},{"photo_id":"1371617424","filename":"file3"}],"portfolio_id":24815670,"hashtag_by_photo_ids":[{"1371617406":["hashtag1","hashtag2"]},{"1371617411":["hashtag1","hashtag2"]},{"1371617435":["hashtag1","hashtag2"]},{"1371617417":["hashtag1","hashtag2"]},{"1371617428":["hashtag1","hashtag2"]},{"1371617424":["hashtag1","hashtag2"]}],"comms":"Portfolio 24815670 used, photo_id : ArrayBuffer(1371617406, 1371617411, 1371617435, 1371617417, 1371617428, 1371617424)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 67.65562748908997 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 17:10:03.420970
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/10/08/image_11072025_10_08_02_2778.jpg', 2), ('/home/pi/Desktop/images/11072025/10/07/image_11072025_10_07_01_6822.jpg', 2), ('/home/pi/Desktop/images/11072025/10/06/image_11072025_10_06_02_1043.jpg', 2), ('/home/pi/Desktop/images/11072025/10/05/image_11072025_10_05_01_3939.jpg', 2), ('/home/pi/Desktop/images/11072025/10/04/image_11072025_10_04_01_5121.jpg', 2), ('/home/pi/Desktop/images/11072025/10/03/image_11072025_10_03_02_1494.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/10/08/image_11072025_10_08_02_2778.jpg', '/home/pi/Desktop/images/11072025/10/07/image_11072025_10_07_01_6822.jpg', '/home/pi/Desktop/images/11072025/10/06/image_11072025_10_06_02_1043.jpg', '/home/pi/Desktop/images/11072025/10/05/image_11072025_10_05_01_3939.jpg', '/home/pi/Desktop/images/11072025/10/04/image_11072025_10_04_01_5121.jpg', '/home/pi/Desktop/images/11072025/10/03/image_11072025_10_03_02_1494.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/10/08/image_11072025_10_08_02_2778.jpg
/home/pi/Desktop/images/11072025/10/07/image_11072025_10_07_01_6822.jpg
/home/pi/Desktop/images/11072025/10/06/image_11072025_10_06_02_1043.jpg
/home/pi/Desktop/images/11072025/10/05/image_11072025_10_05_01_3939.jpg
/home/pi/Desktop/images/11072025/10/04/image_11072025_10_04_01_5121.jpg
/home/pi/Desktop/images/11072025/10/03/image_11072025_10_03_02_1494.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371617570","1371617587","1371617595","1371617565","1371617559","1371617579"],"photo_ids_order":["1371617559","1371617565","1371617570","1371617579","1371617587","1371617595"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/3801bcf94c4dd302faecf01eb264e3a9.jpg","text":"TemporaryFile(/tmp/multipartBody8220051536396122768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752246667279,"filename":"image_11072025_10_06_02_1043.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/ce7708ada86e7ab543f50475676cfa82.jpg","text":"TemporaryFile(/tmp/multipartBody3463819734614891550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752246667279,"filename":"image_11072025_10_04_01_5121.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/80ba6b37d970a7adb9388e8d8de3ce76.jpg","text":"TemporaryFile(/tmp/multipartBody2192477221592127214asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752246667279,"filename":"image_11072025_10_03_02_1494.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/9c461ce6ffefcaf53708da2e48cdc1d4.jpg","text":"TemporaryFile(/tmp/multipartBody8167380541982534481asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752246667279,"filename":"image_11072025_10_07_01_6822.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/94ac77108a3c0c6c30c3b67ace9a574d.jpg","text":"TemporaryFile(/tmp/multipartBody2849940906719703278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752246667279,"filename":"image_11072025_10_08_02_2778.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/b8ae77e73874e41759897e9a7c67a424.jpg","text":"TemporaryFile(/tmp/multipartBody8523034737790439514asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752246667279,"filename":"image_11072025_10_05_01_3939.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371617570","file1":"1371617565","file0":"1371617559","file4":"1371617587","file5":"1371617595","file3":"1371617579"},"map_files_photo_id_array":[{"photo_id":"1371617595","filename":"file5"},{"photo_id":"1371617570","filename":"file2"},{"photo_id":"1371617587","filename":"file4"},{"photo_id":"1371617565","filename":"file1"},{"photo_id":"1371617559","filename":"file0"},{"photo_id":"1371617579","filename":"file3"}],"portfolio_id":24815670,"hashtag_by_photo_ids":[{"1371617570":["hashtag1","hashtag2"]},{"1371617587":["hashtag1","hashtag2"]},{"1371617595":["hashtag1","hashtag2"]},{"1371617565":["hashtag1","hashtag2"]},{"1371617559":["hashtag1","hashtag2"]},{"1371617579":["hashtag1","hashtag2"]}],"comms":"Portfolio 24815670 used, photo_id : ArrayBuffer(1371617570, 1371617587, 1371617595, 1371617565, 1371617559, 1371617579)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 67.87062120437622 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 17:12:02.783778
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/10/02/image_11072025_10_02_01_7206.jpg', 2), ('/home/pi/Desktop/images/11072025/10/01/image_11072025_10_01_01_4480.jpg', 2), ('/home/pi/Desktop/images/11072025/10/00/image_11072025_10_00_01_4122.jpg', 2), ('/home/pi/Desktop/images/11072025/09/59/image_11072025_09_59_02_0043.jpg', 2), ('/home/pi/Desktop/images/11072025/09/58/image_11072025_09_58_01_5782.jpg', 2), ('/home/pi/Desktop/images/11072025/09/57/image_11072025_09_57_01_9500.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/10/02/image_11072025_10_02_01_7206.jpg', '/home/pi/Desktop/images/11072025/10/01/image_11072025_10_01_01_4480.jpg', '/home/pi/Desktop/images/11072025/10/00/image_11072025_10_00_01_4122.jpg', '/home/pi/Desktop/images/11072025/09/59/image_11072025_09_59_02_0043.jpg', '/home/pi/Desktop/images/11072025/09/58/image_11072025_09_58_01_5782.jpg', '/home/pi/Desktop/images/11072025/09/57/image_11072025_09_57_01_9500.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/10/02/image_11072025_10_02_01_7206.jpg
/home/pi/Desktop/images/11072025/10/01/image_11072025_10_01_01_4480.jpg
/home/pi/Desktop/images/11072025/10/00/image_11072025_10_00_01_4122.jpg
/home/pi/Desktop/images/11072025/09/59/image_11072025_09_59_02_0043.jpg
/home/pi/Desktop/images/11072025/09/58/image_11072025_09_58_01_5782.jpg
/home/pi/Desktop/images/11072025/09/57/image_11072025_09_57_01_9500.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371617714","1371617683","1371617686","1371617674","1371617728","1371617697"],"photo_ids_order":["1371617674","1371617683","1371617686","1371617697","1371617714","1371617728"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/a5b967555d5e9b89d0194a5d99ea6b72.jpg","text":"TemporaryFile(/tmp/multipartBody7085838975040050099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752246786879,"filename":"image_11072025_09_58_01_5782.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/81ef5e3b8cc7ca1dab24df5b6af89bf5.jpg","text":"TemporaryFile(/tmp/multipartBody6864822088782840823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752246786879,"filename":"image_11072025_10_01_01_4480.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/b1d858cfe5084a571662b1e0757103f6.jpg","text":"TemporaryFile(/tmp/multipartBody2568283649610070523asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752246786879,"filename":"image_11072025_10_00_01_4122.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/c4a51ad7603bfead3c3ff0f11d3e6328.jpg","text":"TemporaryFile(/tmp/multipartBody581736129737099126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752246786879,"filename":"image_11072025_10_02_01_7206.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/fd25625f73ace710738deca7ce07089b.jpg","text":"TemporaryFile(/tmp/multipartBody6354827083392382511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752246786879,"filename":"image_11072025_09_57_01_9500.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/fe1293f8f3c65164b6c27b5bdbb3f7a2.jpg","text":"TemporaryFile(/tmp/multipartBody4569817057973555558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752246786879,"filename":"image_11072025_09_59_02_0043.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371617686","file1":"1371617683","file0":"1371617674","file4":"1371617714","file5":"1371617728","file3":"1371617697"},"map_files_photo_id_array":[{"photo_id":"1371617728","filename":"file5"},{"photo_id":"1371617686","filename":"file2"},{"photo_id":"1371617714","filename":"file4"},{"photo_id":"1371617683","filename":"file1"},{"photo_id":"1371617674","filename":"file0"},{"photo_id":"1371617697","filename":"file3"}],"portfolio_id":24815670,"hashtag_by_photo_ids":[{"1371617714":["hashtag1","hashtag2"]},{"1371617683":["hashtag1","hashtag2"]},{"1371617686":["hashtag1","hashtag2"]},{"1371617674":["hashtag1","hashtag2"]},{"1371617728":["hashtag1","hashtag2"]},{"1371617697":["hashtag1","hashtag2"]}],"comms":"Portfolio 24815670 used, photo_id : ArrayBuffer(1371617714, 1371617683, 1371617686, 1371617674, 1371617728, 1371617697)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 62.75931978225708 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 17:14:02.980671
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/09/56/image_11072025_09_56_02_1933.jpg', 2), ('/home/pi/Desktop/images/11072025/09/55/image_11072025_09_55_01_4092.jpg', 2), ('/home/pi/Desktop/images/11072025/09/54/image_11072025_09_54_01_7467.jpg', 2), ('/home/pi/Desktop/images/11072025/09/52/image_11072025_09_52_01_6650.jpg', 2), ('/home/pi/Desktop/images/11072025/09/51/image_11072025_09_51_01_4296.jpg', 2), ('/home/pi/Desktop/images/11072025/09/50/image_11072025_09_50_01_9643.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/09/56/image_11072025_09_56_02_1933.jpg', '/home/pi/Desktop/images/11072025/09/55/image_11072025_09_55_01_4092.jpg', '/home/pi/Desktop/images/11072025/09/54/image_11072025_09_54_01_7467.jpg', '/home/pi/Desktop/images/11072025/09/52/image_11072025_09_52_01_6650.jpg', '/home/pi/Desktop/images/11072025/09/51/image_11072025_09_51_01_4296.jpg', '/home/pi/Desktop/images/11072025/09/50/image_11072025_09_50_01_9643.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/09/56/image_11072025_09_56_02_1933.jpg
/home/pi/Desktop/images/11072025/09/55/image_11072025_09_55_01_4092.jpg
/home/pi/Desktop/images/11072025/09/54/image_11072025_09_54_01_7467.jpg
/home/pi/Desktop/images/11072025/09/52/image_11072025_09_52_01_6650.jpg
/home/pi/Desktop/images/11072025/09/51/image_11072025_09_51_01_4296.jpg
/home/pi/Desktop/images/11072025/09/50/image_11072025_09_50_01_9643.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371617948","1371618076","1371618243","1371618126","1371618012","1371618179"],"photo_ids_order":["1371617948","1371618012","1371618076","1371618126","1371618179","1371618243"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/56d2784baac6252b078bcc4d98da6cfd.jpg","text":"TemporaryFile(/tmp/multipartBody7041606300926385536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752246906933,"filename":"image_11072025_09_56_02_1933.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/1d7cf7b7291be16179ba3844fa15ae55.jpg","text":"TemporaryFile(/tmp/multipartBody3994682492810008967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752246906933,"filename":"image_11072025_09_54_01_7467.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/aebcf4dc579cb7ef23e608af62a09194.jpg","text":"TemporaryFile(/tmp/multipartBody1339639015844645888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752246906933,"filename":"image_11072025_09_50_01_9643.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/147f9e87a6f34e79b7c2c0a59c935890.jpg","text":"TemporaryFile(/tmp/multipartBody385256638717777735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752246906933,"filename":"image_11072025_09_52_01_6650.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/eb093d0f7f6ed7d67d86c1c83b6565a4.jpg","text":"TemporaryFile(/tmp/multipartBody8789987571738720713asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752246906933,"filename":"image_11072025_09_55_01_4092.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/41286a9fb700bd69bbdc6e352c53da3d.jpg","text":"TemporaryFile(/tmp/multipartBody2736666927087454417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752246906933,"filename":"image_11072025_09_51_01_4296.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371618076","file1":"1371618012","file0":"1371617948","file4":"1371618179","file5":"1371618243","file3":"1371618126"},"map_files_photo_id_array":[{"photo_id":"1371618243","filename":"file5"},{"photo_id":"1371618076","filename":"file2"},{"photo_id":"1371618179","filename":"file4"},{"photo_id":"1371618012","filename":"file1"},{"photo_id":"1371617948","filename":"file0"},{"photo_id":"1371618126","filename":"file3"}],"portfolio_id":24815670,"hashtag_by_photo_ids":[{"1371617948":["hashtag1","hashtag2"]},{"1371618076":["hashtag1","hashtag2"]},{"1371618243":["hashtag1","hashtag2"]},{"1371618126":["hashtag1","hashtag2"]},{"1371618012":["hashtag1","hashtag2"]},{"1371618179":["hashtag1","hashtag2"]}],"comms":"Portfolio 24815670 used, photo_id : ArrayBuffer(1371617948, 1371618076, 1371618243, 1371618126, 1371618012, 1371618179)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 59.63597583770752 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 17:16:03.277463
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/09/49/image_11072025_09_49_01_4029.jpg', 2), ('/home/pi/Desktop/images/11072025/09/48/image_11072025_09_48_01_4158.jpg', 2), ('/home/pi/Desktop/images/11072025/09/47/image_11072025_09_47_01_8482.jpg', 2), ('/home/pi/Desktop/images/11072025/09/46/image_11072025_09_46_01_7236.jpg', 2), ('/home/pi/Desktop/images/11072025/09/45/image_11072025_09_45_01_9340.jpg', 2), ('/home/pi/Desktop/images/11072025/09/44/image_11072025_09_44_01_8266.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/09/49/image_11072025_09_49_01_4029.jpg', '/home/pi/Desktop/images/11072025/09/48/image_11072025_09_48_01_4158.jpg', '/home/pi/Desktop/images/11072025/09/47/image_11072025_09_47_01_8482.jpg', '/home/pi/Desktop/images/11072025/09/46/image_11072025_09_46_01_7236.jpg', '/home/pi/Desktop/images/11072025/09/45/image_11072025_09_45_01_9340.jpg', '/home/pi/Desktop/images/11072025/09/44/image_11072025_09_44_01_8266.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/09/49/image_11072025_09_49_01_4029.jpg
/home/pi/Desktop/images/11072025/09/48/image_11072025_09_48_01_4158.jpg
/home/pi/Desktop/images/11072025/09/47/image_11072025_09_47_01_8482.jpg
/home/pi/Desktop/images/11072025/09/46/image_11072025_09_46_01_7236.jpg
/home/pi/Desktop/images/11072025/09/45/image_11072025_09_45_01_9340.jpg
/home/pi/Desktop/images/11072025/09/44/image_11072025_09_44_01_8266.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371618742","1371618715","1371618678","1371618561","1371618621","1371618807"],"photo_ids_order":["1371618561","1371618621","1371618678","1371618715","1371618742","1371618807"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/68f7d7712e9e599e7e45fd9c4e8e32ac.jpg","text":"TemporaryFile(/tmp/multipartBody3201359160661164774asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752247027314,"filename":"image_11072025_09_45_01_9340.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/edb129b6e6582ab97632283cc030f555.jpg","text":"TemporaryFile(/tmp/multipartBody7121020868173784195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752247027314,"filename":"image_11072025_09_46_01_7236.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/f48c9a67f7da2e48483d509bfa55c324.jpg","text":"TemporaryFile(/tmp/multipartBody4451912487205871116asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752247027314,"filename":"image_11072025_09_47_01_8482.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/a203b14523e26026c78831ff3ab699bd.jpg","text":"TemporaryFile(/tmp/multipartBody6722602052383867194asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752247027314,"filename":"image_11072025_09_49_01_4029.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/2705de67541a01d96547f62729728df9.jpg","text":"TemporaryFile(/tmp/multipartBody3495706161629497848asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752247027314,"filename":"image_11072025_09_48_01_4158.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/f8e20ada1b5a60cf4e979d6ec7e141f4.jpg","text":"TemporaryFile(/tmp/multipartBody4590626818589678164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752247027314,"filename":"image_11072025_09_44_01_8266.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371618678","file1":"1371618621","file0":"1371618561","file4":"1371618742","file5":"1371618807","file3":"1371618715"},"map_files_photo_id_array":[{"photo_id":"1371618807","filename":"file5"},{"photo_id":"1371618678","filename":"file2"},{"photo_id":"1371618742","filename":"file4"},{"photo_id":"1371618621","filename":"file1"},{"photo_id":"1371618561","filename":"file0"},{"photo_id":"1371618715","filename":"file3"}],"portfolio_id":24815670,"hashtag_by_photo_ids":[{"1371618742":["hashtag1","hashtag2"]},{"1371618715":["hashtag1","hashtag2"]},{"1371618678":["hashtag1","hashtag2"]},{"1371618561":["hashtag1","hashtag2"]},{"1371618621":["hashtag1","hashtag2"]},{"1371618807":["hashtag1","hashtag2"]}],"comms":"Portfolio 24815670 used, photo_id : ArrayBuffer(1371618742, 1371618715, 1371618678, 1371618561, 1371618621, 1371618807)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.38374376296997 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 17:17:04.050676
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/09/43/image_11072025_09_43_01_4418.jpg', 2), ('/home/pi/Desktop/images/11072025/09/42/image_11072025_09_42_01_6189.jpg', 2), ('/home/pi/Desktop/images/11072025/09/41/image_11072025_09_41_02_0030.jpg', 2), ('/home/pi/Desktop/images/11072025/09/40/image_11072025_09_40_01_6086.jpg', 2), ('/home/pi/Desktop/images/11072025/09/39/image_11072025_09_39_01_5657.jpg', 2), ('/home/pi/Desktop/images/11072025/09/38/image_11072025_09_38_02_1518.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/09/43/image_11072025_09_43_01_4418.jpg', '/home/pi/Desktop/images/11072025/09/42/image_11072025_09_42_01_6189.jpg', '/home/pi/Desktop/images/11072025/09/41/image_11072025_09_41_02_0030.jpg', '/home/pi/Desktop/images/11072025/09/40/image_11072025_09_40_01_6086.jpg', '/home/pi/Desktop/images/11072025/09/39/image_11072025_09_39_01_5657.jpg', '/home/pi/Desktop/images/11072025/09/38/image_11072025_09_38_02_1518.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/09/43/image_11072025_09_43_01_4418.jpg
/home/pi/Desktop/images/11072025/09/42/image_11072025_09_42_01_6189.jpg
/home/pi/Desktop/images/11072025/09/41/image_11072025_09_41_02_0030.jpg
/home/pi/Desktop/images/11072025/09/40/image_11072025_09_40_01_6086.jpg
/home/pi/Desktop/images/11072025/09/39/image_11072025_09_39_01_5657.jpg
/home/pi/Desktop/images/11072025/09/38/image_11072025_09_38_02_1518.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371619342","1371619087","1371619606","1371619491","1371619670","1371619189"],"photo_ids_order":["1371619087","1371619189","1371619342","1371619491","1371619606","1371619670"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/ff67896c3008ecd6d33632738f25ce14.jpg","text":"TemporaryFile(/tmp/multipartBody9023272630894708210asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752247087655,"filename":"image_11072025_09_41_02_0030.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/c766c847c515fd296c1a4a1271782975.jpg","text":"TemporaryFile(/tmp/multipartBody8150950316568166528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752247087655,"filename":"image_11072025_09_43_01_4418.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/99063013fcfc39e77454e6e2954672b8.jpg","text":"TemporaryFile(/tmp/multipartBody4637869363287000868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752247087655,"filename":"image_11072025_09_39_01_5657.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/9a9657015c6e3ab32d1446d402bb09e6.jpg","text":"TemporaryFile(/tmp/multipartBody3545150009093659006asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752247087655,"filename":"image_11072025_09_40_01_6086.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/1da24cf021a71339aad221d10663fa8f.jpg","text":"TemporaryFile(/tmp/multipartBody2405221583126674001asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752247087655,"filename":"image_11072025_09_38_02_1518.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/c51289e5ce9089496ae5b0d091fd7ea3.jpg","text":"TemporaryFile(/tmp/multipartBody4812477098089126817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752247087655,"filename":"image_11072025_09_42_01_6189.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371619342","file1":"1371619189","file0":"1371619087","file4":"1371619606","file5":"1371619670","file3":"1371619491"},"map_files_photo_id_array":[{"photo_id":"1371619670","filename":"file5"},{"photo_id":"1371619342","filename":"file2"},{"photo_id":"1371619606","filename":"file4"},{"photo_id":"1371619189","filename":"file1"},{"photo_id":"1371619087","filename":"file0"},{"photo_id":"1371619491","filename":"file3"}],"portfolio_id":24815670,"hashtag_by_photo_ids":[{"1371619342":["hashtag1","hashtag2"]},{"1371619087":["hashtag1","hashtag2"]},{"1371619606":["hashtag1","hashtag2"]},{"1371619491":["hashtag1","hashtag2"]},{"1371619670":["hashtag1","hashtag2"]},{"1371619189":["hashtag1","hashtag2"]}],"comms":"Portfolio 24815670 used, photo_id : ArrayBuffer(1371619342, 1371619087, 1371619606, 1371619491, 1371619670, 1371619189)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.34036302566528 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 17:18:03.423339
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/09/37/image_11072025_09_37_01_3789.jpg', 2), ('/home/pi/Desktop/images/11072025/09/36/image_11072025_09_36_02_0621.jpg', 2), ('/home/pi/Desktop/images/11072025/09/35/image_11072025_09_35_01_8351.jpg', 2), ('/home/pi/Desktop/images/11072025/09/34/image_11072025_09_34_01_9341.jpg', 2), ('/home/pi/Desktop/images/11072025/09/33/image_11072025_09_33_01_5884.jpg', 2), ('/home/pi/Desktop/images/11072025/09/32/image_11072025_09_32_01_8133.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/09/37/image_11072025_09_37_01_3789.jpg', '/home/pi/Desktop/images/11072025/09/36/image_11072025_09_36_02_0621.jpg', '/home/pi/Desktop/images/11072025/09/35/image_11072025_09_35_01_8351.jpg', '/home/pi/Desktop/images/11072025/09/34/image_11072025_09_34_01_9341.jpg', '/home/pi/Desktop/images/11072025/09/33/image_11072025_09_33_01_5884.jpg', '/home/pi/Desktop/images/11072025/09/32/image_11072025_09_32_01_8133.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/09/37/image_11072025_09_37_01_3789.jpg
/home/pi/Desktop/images/11072025/09/36/image_11072025_09_36_02_0621.jpg
/home/pi/Desktop/images/11072025/09/35/image_11072025_09_35_01_8351.jpg
/home/pi/Desktop/images/11072025/09/34/image_11072025_09_34_01_9341.jpg
/home/pi/Desktop/images/11072025/09/33/image_11072025_09_33_01_5884.jpg
/home/pi/Desktop/images/11072025/09/32/image_11072025_09_32_01_8133.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371620134","1371619959","1371620160","1371619889","1371619862","1371620054"],"photo_ids_order":["1371619862","1371619889","1371619959","1371620054","1371620134","1371620160"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/93161ebfcb3bd52e955234477fd3095a.jpg","text":"TemporaryFile(/tmp/multipartBody2507415953328028552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752247146866,"filename":"image_11072025_09_33_01_5884.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/04ae0cbe4d7ca6c941a9707985bca31e.jpg","text":"TemporaryFile(/tmp/multipartBody5353365835169423167asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752247146866,"filename":"image_11072025_09_35_01_8351.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/3771c6ea6ce828a2c2b1c972749e1f18.jpg","text":"TemporaryFile(/tmp/multipartBody67419414295982178asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752247146866,"filename":"image_11072025_09_32_01_8133.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/838ba9eb244b5c1e0c3921b0b61b1377.jpg","text":"TemporaryFile(/tmp/multipartBody6776166181015793417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752247146866,"filename":"image_11072025_09_36_02_0621.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/132e2e9464bd07a9ed9afdb4e913672a.jpg","text":"TemporaryFile(/tmp/multipartBody2685439257722621662asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752247146866,"filename":"image_11072025_09_37_01_3789.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/cc83418ab94d544a228d10c730e4671d.jpg","text":"TemporaryFile(/tmp/multipartBody2004266803196238624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752247146866,"filename":"image_11072025_09_34_01_9341.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371619959","file1":"1371619889","file0":"1371619862","file4":"1371620134","file5":"1371620160","file3":"1371620054"},"map_files_photo_id_array":[{"photo_id":"1371620160","filename":"file5"},{"photo_id":"1371619959","filename":"file2"},{"photo_id":"1371620134","filename":"file4"},{"photo_id":"1371619889","filename":"file1"},{"photo_id":"1371619862","filename":"file0"},{"photo_id":"1371620054","filename":"file3"}],"portfolio_id":24815670,"hashtag_by_photo_ids":[{"1371620134":["hashtag1","hashtag2"]},{"1371619959":["hashtag1","hashtag2"]},{"1371620160":["hashtag1","hashtag2"]},{"1371619889":["hashtag1","hashtag2"]},{"1371619862":["hashtag1","hashtag2"]},{"1371620054":["hashtag1","hashtag2"]}],"comms":"Portfolio 24815670 used, photo_id : ArrayBuffer(1371620134, 1371619959, 1371620160, 1371619889, 1371619862, 1371620054)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.85987639427185 secondes ---
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 17:20:03.552506
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/09/31/image_11072025_09_31_02_0327.jpg', 2), ('/home/pi/Desktop/images/11072025/09/29/image_11072025_09_29_01_5780.jpg', 2), ('/home/pi/Desktop/images/11072025/09/28/image_11072025_09_28_01_5123.jpg', 2), ('/home/pi/Desktop/images/11072025/09/27/image_11072025_09_27_01_8251.jpg', 2), ('/home/pi/Desktop/images/11072025/09/24/image_11072025_09_24_01_9195.jpg', 2), ('/home/pi/Desktop/images/11072025/09/23/image_11072025_09_23_02_2055.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/09/31/image_11072025_09_31_02_0327.jpg', '/home/pi/Desktop/images/11072025/09/29/image_11072025_09_29_01_5780.jpg', '/home/pi/Desktop/images/11072025/09/28/image_11072025_09_28_01_5123.jpg', '/home/pi/Desktop/images/11072025/09/27/image_11072025_09_27_01_8251.jpg', '/home/pi/Desktop/images/11072025/09/24/image_11072025_09_24_01_9195.jpg', '/home/pi/Desktop/images/11072025/09/23/image_11072025_09_23_02_2055.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/09/31/image_11072025_09_31_02_0327.jpg
/home/pi/Desktop/images/11072025/09/29/image_11072025_09_29_01_5780.jpg
/home/pi/Desktop/images/11072025/09/28/image_11072025_09_28_01_5123.jpg
/home/pi/Desktop/images/11072025/09/27/image_11072025_09_27_01_8251.jpg
/home/pi/Desktop/images/11072025/09/24/image_11072025_09_24_01_9195.jpg
/home/pi/Desktop/images/11072025/09/23/image_11072025_09_23_02_2055.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371620299","1371620277","1371620286","1371620261","1371620273","1371620252"],"photo_ids_order":["1371620252","1371620261","1371620273","1371620277","1371620286","1371620299"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/1652e50133016ce4fe3afa85f1d30569.jpg","text":"TemporaryFile(/tmp/multipartBody5503355797160983922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752247267331,"filename":"image_11072025_09_23_02_2055.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/dd2fa3936a6779d678de0e51005c8f9c.jpg","text":"TemporaryFile(/tmp/multipartBody2179488379295512111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752247267331,"filename":"image_11072025_09_27_01_8251.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/d19efb8ef6aabbc491e9dcffba31b0f4.jpg","text":"TemporaryFile(/tmp/multipartBody5475641255288000822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752247267331,"filename":"image_11072025_09_24_01_9195.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/d55f48afcf8089523d66cbc7e4987378.jpg","text":"TemporaryFile(/tmp/multipartBody7228817909645605087asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752247267331,"filename":"image_11072025_09_29_01_5780.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/56f1ac10a944417d947cd37dd9d2eba3.jpg","text":"TemporaryFile(/tmp/multipartBody7328290188616698987asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752247267331,"filename":"image_11072025_09_28_01_5123.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/65e8aa1df4af5449333fe8c5e28418b5.jpg","text":"TemporaryFile(/tmp/multipartBody915091610382030299asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752247267331,"filename":"image_11072025_09_31_02_0327.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371620273","file1":"1371620261","file0":"1371620252","file4":"1371620286","file5":"1371620299","file3":"1371620277"},"map_files_photo_id_array":[{"photo_id":"1371620299","filename":"file5"},{"photo_id":"1371620273","filename":"file2"},{"photo_id":"1371620286","filename":"file4"},{"photo_id":"1371620261","filename":"file1"},{"photo_id":"1371620252","filename":"file0"},{"photo_id":"1371620277","filename":"file3"}],"portfolio_id":24815670,"hashtag_by_photo_ids":[{"1371620299":["hashtag1","hashtag2"]},{"1371620277":["hashtag1","hashtag2"]},{"1371620286":["hashtag1","hashtag2"]},{"1371620261":["hashtag1","hashtag2"]},{"1371620273":["hashtag1","hashtag2"]},{"1371620252":["hashtag1","hashtag2"]}],"comms":"Portfolio 24815670 used, photo_id : ArrayBuffer(1371620299, 1371620277, 1371620286, 1371620261, 1371620273, 1371620252)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 63.86562395095825 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 17:22:03.149436
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/09/21/image_11072025_09_21_01_9572.jpg', 2), ('/home/pi/Desktop/images/11072025/09/20/image_11072025_09_20_01_7303.jpg', 2), ('/home/pi/Desktop/images/11072025/09/18/image_11072025_09_18_01_4072.jpg', 2), ('/home/pi/Desktop/images/11072025/09/16/image_11072025_09_16_02_0052.jpg', 2), ('/home/pi/Desktop/images/11072025/09/12/image_11072025_09_12_01_9539.jpg', 2), ('/home/pi/Desktop/images/11072025/09/10/image_11072025_09_10_01_5896.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/09/21/image_11072025_09_21_01_9572.jpg', '/home/pi/Desktop/images/11072025/09/20/image_11072025_09_20_01_7303.jpg', '/home/pi/Desktop/images/11072025/09/18/image_11072025_09_18_01_4072.jpg', '/home/pi/Desktop/images/11072025/09/16/image_11072025_09_16_02_0052.jpg', '/home/pi/Desktop/images/11072025/09/12/image_11072025_09_12_01_9539.jpg', '/home/pi/Desktop/images/11072025/09/10/image_11072025_09_10_01_5896.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/09/21/image_11072025_09_21_01_9572.jpg
/home/pi/Desktop/images/11072025/09/20/image_11072025_09_20_01_7303.jpg
/home/pi/Desktop/images/11072025/09/18/image_11072025_09_18_01_4072.jpg
/home/pi/Desktop/images/11072025/09/16/image_11072025_09_16_02_0052.jpg
/home/pi/Desktop/images/11072025/09/12/image_11072025_09_12_01_9539.jpg
/home/pi/Desktop/images/11072025/09/10/image_11072025_09_10_01_5896.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371620405","1371620386","1371620422","1371620394","1371620413","1371620379"],"photo_ids_order":["1371620379","1371620386","1371620394","1371620405","1371620413","1371620422"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/aafb84f91285c50a70bb2386e0645e89.jpg","text":"TemporaryFile(/tmp/multipartBody4104926322824780807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752247386890,"filename":"image_11072025_09_16_02_0052.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/0c4b77ff0a57a1c937d1d21dd96a0893.jpg","text":"TemporaryFile(/tmp/multipartBody5089338677532610139asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752247386890,"filename":"image_11072025_09_20_01_7303.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/1482f9053a10df5b3364163b3f77bcef.jpg","text":"TemporaryFile(/tmp/multipartBody576618531150613059asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752247386890,"filename":"image_11072025_09_10_01_5896.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/5d40fa262cee0cb9c2c043bea25106b3.jpg","text":"TemporaryFile(/tmp/multipartBody8902959108863691653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752247386890,"filename":"image_11072025_09_18_01_4072.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/50119a59d2d4c2b1b0550b07c73e5022.jpg","text":"TemporaryFile(/tmp/multipartBody5208591471181867236asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752247386890,"filename":"image_11072025_09_12_01_9539.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/3e0d54ef8a77d148b70b59223a2cd643.jpg","text":"TemporaryFile(/tmp/multipartBody5248767484454985948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752247386890,"filename":"image_11072025_09_21_01_9572.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371620394","file1":"1371620386","file0":"1371620379","file4":"1371620413","file5":"1371620422","file3":"1371620405"},"map_files_photo_id_array":[{"photo_id":"1371620422","filename":"file5"},{"photo_id":"1371620394","filename":"file2"},{"photo_id":"1371620413","filename":"file4"},{"photo_id":"1371620386","filename":"file1"},{"photo_id":"1371620379","filename":"file0"},{"photo_id":"1371620405","filename":"file3"}],"portfolio_id":24815670,"hashtag_by_photo_ids":[{"1371620405":["hashtag1","hashtag2"]},{"1371620386":["hashtag1","hashtag2"]},{"1371620422":["hashtag1","hashtag2"]},{"1371620394":["hashtag1","hashtag2"]},{"1371620413":["hashtag1","hashtag2"]},{"1371620379":["hashtag1","hashtag2"]}],"comms":"Portfolio 24815670 used, photo_id : ArrayBuffer(1371620405, 1371620386, 1371620422, 1371620394, 1371620413, 1371620379)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 60.35113453865051 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 17:24:03.564250
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/09/09/image_11072025_09_09_02_2383.jpg', 2), ('/home/pi/Desktop/images/11072025/09/08/image_11072025_09_08_02_0545.jpg', 2), ('/home/pi/Desktop/images/11072025/09/07/image_11072025_09_07_02_1980.jpg', 2), ('/home/pi/Desktop/images/11072025/09/04/image_11072025_09_04_02_0548.jpg', 2), ('/home/pi/Desktop/images/11072025/09/02/image_11072025_09_02_01_9436.jpg', 2), ('/home/pi/Desktop/images/11072025/09/01/image_11072025_09_01_01_8133.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/09/09/image_11072025_09_09_02_2383.jpg', '/home/pi/Desktop/images/11072025/09/08/image_11072025_09_08_02_0545.jpg', '/home/pi/Desktop/images/11072025/09/07/image_11072025_09_07_02_1980.jpg', '/home/pi/Desktop/images/11072025/09/04/image_11072025_09_04_02_0548.jpg', '/home/pi/Desktop/images/11072025/09/02/image_11072025_09_02_01_9436.jpg', '/home/pi/Desktop/images/11072025/09/01/image_11072025_09_01_01_8133.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/09/09/image_11072025_09_09_02_2383.jpg
/home/pi/Desktop/images/11072025/09/08/image_11072025_09_08_02_0545.jpg
/home/pi/Desktop/images/11072025/09/07/image_11072025_09_07_02_1980.jpg
/home/pi/Desktop/images/11072025/09/04/image_11072025_09_04_02_0548.jpg
/home/pi/Desktop/images/11072025/09/02/image_11072025_09_02_01_9436.jpg
/home/pi/Desktop/images/11072025/09/01/image_11072025_09_01_01_8133.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371620516","1371620527","1371620535","1371620508","1371620502","1371620549"],"photo_ids_order":["1371620502","1371620508","1371620516","1371620527","1371620535","1371620549"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/9eee07fd8ece27528761c7cff1057afd.jpg","text":"TemporaryFile(/tmp/multipartBody7531570603700852506asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752247507508,"filename":"image_11072025_09_07_02_1980.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/097df6d5cacffaa03408a4477e44d3dd.jpg","text":"TemporaryFile(/tmp/multipartBody2516569373470030627asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752247507508,"filename":"image_11072025_09_04_02_0548.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/2e9a88068f0f36e066b540836d720003.jpg","text":"TemporaryFile(/tmp/multipartBody2050380238441957484asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752247507508,"filename":"image_11072025_09_02_01_9436.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/3ff40dcc6ce3a96f2105db9f74413af4.jpg","text":"TemporaryFile(/tmp/multipartBody9017121505287005366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752247507508,"filename":"image_11072025_09_08_02_0545.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/790e4a107fdec0f04cad83e50e9d2555.jpg","text":"TemporaryFile(/tmp/multipartBody7438999690422584733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752247507508,"filename":"image_11072025_09_09_02_2383.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/dc2144ebf8a35476c214beb7062bdefe.jpg","text":"TemporaryFile(/tmp/multipartBody6527846478265182397asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752247507508,"filename":"image_11072025_09_01_01_8133.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371620516","file1":"1371620508","file0":"1371620502","file4":"1371620535","file5":"1371620549","file3":"1371620527"},"map_files_photo_id_array":[{"photo_id":"1371620549","filename":"file5"},{"photo_id":"1371620516","filename":"file2"},{"photo_id":"1371620535","filename":"file4"},{"photo_id":"1371620508","filename":"file1"},{"photo_id":"1371620502","filename":"file0"},{"photo_id":"1371620527","filename":"file3"}],"portfolio_id":24815670,"hashtag_by_photo_ids":[{"1371620516":["hashtag1","hashtag2"]},{"1371620527":["hashtag1","hashtag2"]},{"1371620535":["hashtag1","hashtag2"]},{"1371620508":["hashtag1","hashtag2"]},{"1371620502":["hashtag1","hashtag2"]},{"1371620549":["hashtag1","hashtag2"]}],"comms":"Portfolio 24815670 used, photo_id : ArrayBuffer(1371620516, 1371620527, 1371620535, 1371620508, 1371620502, 1371620549)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 61.71341943740845 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 17:26:02.894197
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/08/57/image_11072025_08_57_01_3617.jpg', 2), ('/home/pi/Desktop/images/11072025/08/46/image_11072025_08_46_01_6800.jpg', 2), ('/home/pi/Desktop/images/11072025/08/41/image_11072025_08_41_01_8049.jpg', 2), ('/home/pi/Desktop/images/11072025/08/40/image_11072025_08_40_01_8101.jpg', 2), ('/home/pi/Desktop/images/11072025/08/38/image_11072025_08_38_01_7893.jpg', 2), ('/home/pi/Desktop/images/11072025/08/37/image_11072025_08_37_02_1987.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/08/57/image_11072025_08_57_01_3617.jpg', '/home/pi/Desktop/images/11072025/08/46/image_11072025_08_46_01_6800.jpg', '/home/pi/Desktop/images/11072025/08/41/image_11072025_08_41_01_8049.jpg', '/home/pi/Desktop/images/11072025/08/40/image_11072025_08_40_01_8101.jpg', '/home/pi/Desktop/images/11072025/08/38/image_11072025_08_38_01_7893.jpg', '/home/pi/Desktop/images/11072025/08/37/image_11072025_08_37_02_1987.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/08/57/image_11072025_08_57_01_3617.jpg
/home/pi/Desktop/images/11072025/08/46/image_11072025_08_46_01_6800.jpg
/home/pi/Desktop/images/11072025/08/41/image_11072025_08_41_01_8049.jpg
/home/pi/Desktop/images/11072025/08/40/image_11072025_08_40_01_8101.jpg
/home/pi/Desktop/images/11072025/08/38/image_11072025_08_38_01_7893.jpg
/home/pi/Desktop/images/11072025/08/37/image_11072025_08_37_02_1987.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371620645","1371620653","1371620629","1371620637","1371620678","1371620663"],"photo_ids_order":["1371620629","1371620637","1371620645","1371620653","1371620663","1371620678"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/d7b03936d12ccd465d84c42657b88211.jpg","text":"TemporaryFile(/tmp/multipartBody4250490559600443420asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752247626589,"filename":"image_11072025_08_41_01_8049.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/eb1a9212265c18cbbf9ff62f033a920f.jpg","text":"TemporaryFile(/tmp/multipartBody244608263993209255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752247626589,"filename":"image_11072025_08_40_01_8101.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/f97736d3d5ef75707587090b97a8b546.jpg","text":"TemporaryFile(/tmp/multipartBody3436059003725889854asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752247626589,"filename":"image_11072025_08_57_01_3617.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/b58a0ea11975728bd54d0eb99a59cc42.jpg","text":"TemporaryFile(/tmp/multipartBody3111639356576272162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752247626589,"filename":"image_11072025_08_46_01_6800.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/c56d22521aaaef8acaea4070f48e6e39.jpg","text":"TemporaryFile(/tmp/multipartBody4518144306899827565asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752247626589,"filename":"image_11072025_08_37_02_1987.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/21d154e4c7c736e438b02cac3da4ea78.jpg","text":"TemporaryFile(/tmp/multipartBody7797959737133922224asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752247626589,"filename":"image_11072025_08_38_01_7893.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371620645","file1":"1371620637","file0":"1371620629","file4":"1371620663","file5":"1371620678","file3":"1371620653"},"map_files_photo_id_array":[{"photo_id":"1371620678","filename":"file5"},{"photo_id":"1371620645","filename":"file2"},{"photo_id":"1371620663","filename":"file4"},{"photo_id":"1371620637","filename":"file1"},{"photo_id":"1371620629","filename":"file0"},{"photo_id":"1371620653","filename":"file3"}],"portfolio_id":24815670,"hashtag_by_photo_ids":[{"1371620645":["hashtag1","hashtag2"]},{"1371620653":["hashtag1","hashtag2"]},{"1371620629":["hashtag1","hashtag2"]},{"1371620637":["hashtag1","hashtag2"]},{"1371620678":["hashtag1","hashtag2"]},{"1371620663":["hashtag1","hashtag2"]}],"comms":"Portfolio 24815670 used, photo_id : ArrayBuffer(1371620645, 1371620653, 1371620629, 1371620637, 1371620678, 1371620663)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 60.33206224441528 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 17:28:02.721663
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/08/35/image_11072025_08_35_01_4134.jpg', 2), ('/home/pi/Desktop/images/11072025/08/34/image_11072025_08_34_01_5753.jpg', 2), ('/home/pi/Desktop/images/11072025/08/30/image_11072025_08_30_01_9442.jpg', 2), ('/home/pi/Desktop/images/11072025/08/29/image_11072025_08_29_01_8054.jpg', 2), ('/home/pi/Desktop/images/11072025/08/27/image_11072025_08_27_01_5780.jpg', 2), ('/home/pi/Desktop/images/11072025/08/26/image_11072025_08_26_01_6827.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/08/35/image_11072025_08_35_01_4134.jpg', '/home/pi/Desktop/images/11072025/08/34/image_11072025_08_34_01_5753.jpg', '/home/pi/Desktop/images/11072025/08/30/image_11072025_08_30_01_9442.jpg', '/home/pi/Desktop/images/11072025/08/29/image_11072025_08_29_01_8054.jpg', '/home/pi/Desktop/images/11072025/08/27/image_11072025_08_27_01_5780.jpg', '/home/pi/Desktop/images/11072025/08/26/image_11072025_08_26_01_6827.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/08/35/image_11072025_08_35_01_4134.jpg
/home/pi/Desktop/images/11072025/08/34/image_11072025_08_34_01_5753.jpg
/home/pi/Desktop/images/11072025/08/30/image_11072025_08_30_01_9442.jpg
/home/pi/Desktop/images/11072025/08/29/image_11072025_08_29_01_8054.jpg
/home/pi/Desktop/images/11072025/08/27/image_11072025_08_27_01_5780.jpg
/home/pi/Desktop/images/11072025/08/26/image_11072025_08_26_01_6827.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371620794","1371620797","1371620809","1371620817","1371620879","1371620802"],"photo_ids_order":["1371620794","1371620797","1371620802","1371620809","1371620817","1371620879"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/fc59f39dc546ed41f3abac2e9a8ae1db.jpg","text":"TemporaryFile(/tmp/multipartBody1550794245234410970asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752247746506,"filename":"image_11072025_08_35_01_4134.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/4c3e44d81c4cc190d63243b86f4eab57.jpg","text":"TemporaryFile(/tmp/multipartBody7816516641384616595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752247746506,"filename":"image_11072025_08_34_01_5753.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/42acc9b13c1b7bfdb48f27d484d3dad6.jpg","text":"TemporaryFile(/tmp/multipartBody2994445285728290306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752247746506,"filename":"image_11072025_08_29_01_8054.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/a747b78742ab3ec04ea9aee6d98d3c7a.jpg","text":"TemporaryFile(/tmp/multipartBody5585997795986485702asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752247746506,"filename":"image_11072025_08_27_01_5780.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/66d0142e345be78de6cb5190a29aaf5a.jpg","text":"TemporaryFile(/tmp/multipartBody4916200449427965322asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752247746506,"filename":"image_11072025_08_26_01_6827.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/856d3ffcc5d96a352d91e961e9ef7e33.jpg","text":"TemporaryFile(/tmp/multipartBody4168758684051384999asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752247746506,"filename":"image_11072025_08_30_01_9442.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371620802","file1":"1371620797","file0":"1371620794","file4":"1371620817","file5":"1371620879","file3":"1371620809"},"map_files_photo_id_array":[{"photo_id":"1371620879","filename":"file5"},{"photo_id":"1371620802","filename":"file2"},{"photo_id":"1371620817","filename":"file4"},{"photo_id":"1371620797","filename":"file1"},{"photo_id":"1371620794","filename":"file0"},{"photo_id":"1371620809","filename":"file3"}],"portfolio_id":24815670,"hashtag_by_photo_ids":[{"1371620794":["hashtag1","hashtag2"]},{"1371620797":["hashtag1","hashtag2"]},{"1371620809":["hashtag1","hashtag2"]},{"1371620817":["hashtag1","hashtag2"]},{"1371620879":["hashtag1","hashtag2"]},{"1371620802":["hashtag1","hashtag2"]}],"comms":"Portfolio 24815670 used, photo_id : ArrayBuffer(1371620794, 1371620797, 1371620809, 1371620817, 1371620879, 1371620802)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 66.67960786819458 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 17:30:02.890677
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/08/25/image_11072025_08_25_01_5065.jpg', 2), ('/home/pi/Desktop/images/11072025/08/24/image_11072025_08_24_01_6155.jpg', 2), ('/home/pi/Desktop/images/11072025/08/21/image_11072025_08_21_01_4322.jpg', 2), ('/home/pi/Desktop/images/11072025/08/18/image_11072025_08_18_01_3994.jpg', 2), ('/home/pi/Desktop/images/11072025/08/17/image_11072025_08_17_01_8727.jpg', 2), ('/home/pi/Desktop/images/11072025/08/16/image_11072025_08_16_01_3262.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/08/25/image_11072025_08_25_01_5065.jpg', '/home/pi/Desktop/images/11072025/08/24/image_11072025_08_24_01_6155.jpg', '/home/pi/Desktop/images/11072025/08/21/image_11072025_08_21_01_4322.jpg', '/home/pi/Desktop/images/11072025/08/18/image_11072025_08_18_01_3994.jpg', '/home/pi/Desktop/images/11072025/08/17/image_11072025_08_17_01_8727.jpg', '/home/pi/Desktop/images/11072025/08/16/image_11072025_08_16_01_3262.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/08/25/image_11072025_08_25_01_5065.jpg
/home/pi/Desktop/images/11072025/08/24/image_11072025_08_24_01_6155.jpg
/home/pi/Desktop/images/11072025/08/21/image_11072025_08_21_01_4322.jpg
/home/pi/Desktop/images/11072025/08/18/image_11072025_08_18_01_3994.jpg
/home/pi/Desktop/images/11072025/08/17/image_11072025_08_17_01_8727.jpg
/home/pi/Desktop/images/11072025/08/16/image_11072025_08_16_01_3262.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371621118","1371621099","1371621078","1371621126","1371621111","1371621085"],"photo_ids_order":["1371621078","1371621085","1371621099","1371621111","1371621118","1371621126"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/7ac864d79cc76367f9d9aff77df8ec40.jpg","text":"TemporaryFile(/tmp/multipartBody5863945339198683509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752247866635,"filename":"image_11072025_08_17_01_8727.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/5df18d3c1e7801b46f996b60fac93c1e.jpg","text":"TemporaryFile(/tmp/multipartBody1850498510702558639asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752247866635,"filename":"image_11072025_08_21_01_4322.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/0e081bac959fef5e0178c91db813fd60.jpg","text":"TemporaryFile(/tmp/multipartBody2619510727966741794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752247866635,"filename":"image_11072025_08_25_01_5065.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/6c09a4ae1675a156fcba1604769d5a47.jpg","text":"TemporaryFile(/tmp/multipartBody3976593504411153089asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752247866635,"filename":"image_11072025_08_16_01_3262.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/400d0491273664ec99eb826d4dcc7244.jpg","text":"TemporaryFile(/tmp/multipartBody4625195559219185957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752247866635,"filename":"image_11072025_08_18_01_3994.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/a8973d3835fe4ed6cc50b8aacf7a9ee9.jpg","text":"TemporaryFile(/tmp/multipartBody5170438087258510411asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752247866635,"filename":"image_11072025_08_24_01_6155.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371621099","file1":"1371621085","file0":"1371621078","file4":"1371621118","file5":"1371621126","file3":"1371621111"},"map_files_photo_id_array":[{"photo_id":"1371621126","filename":"file5"},{"photo_id":"1371621099","filename":"file2"},{"photo_id":"1371621118","filename":"file4"},{"photo_id":"1371621085","filename":"file1"},{"photo_id":"1371621078","filename":"file0"},{"photo_id":"1371621111","filename":"file3"}],"portfolio_id":24815670,"hashtag_by_photo_ids":[{"1371621118":["hashtag1","hashtag2"]},{"1371621099":["hashtag1","hashtag2"]},{"1371621078":["hashtag1","hashtag2"]},{"1371621126":["hashtag1","hashtag2"]},{"1371621111":["hashtag1","hashtag2"]},{"1371621085":["hashtag1","hashtag2"]}],"comms":"Portfolio 24815670 used, photo_id : ArrayBuffer(1371621118, 1371621099, 1371621078, 1371621126, 1371621111, 1371621085)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 60.26107048988342 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 17:32:02.994670
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/08/15/image_11072025_08_15_01_7448.jpg', 2), ('/home/pi/Desktop/images/11072025/08/14/image_11072025_08_14_02_1139.jpg', 2), ('/home/pi/Desktop/images/11072025/08/13/image_11072025_08_13_02_0120.jpg', 2), ('/home/pi/Desktop/images/11072025/08/12/image_11072025_08_12_02_1445.jpg', 2), ('/home/pi/Desktop/images/11072025/08/11/image_11072025_08_11_01_8545.jpg', 2), ('/home/pi/Desktop/images/11072025/08/09/image_11072025_08_09_01_4071.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/08/15/image_11072025_08_15_01_7448.jpg', '/home/pi/Desktop/images/11072025/08/14/image_11072025_08_14_02_1139.jpg', '/home/pi/Desktop/images/11072025/08/13/image_11072025_08_13_02_0120.jpg', '/home/pi/Desktop/images/11072025/08/12/image_11072025_08_12_02_1445.jpg', '/home/pi/Desktop/images/11072025/08/11/image_11072025_08_11_01_8545.jpg', '/home/pi/Desktop/images/11072025/08/09/image_11072025_08_09_01_4071.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/08/15/image_11072025_08_15_01_7448.jpg
/home/pi/Desktop/images/11072025/08/14/image_11072025_08_14_02_1139.jpg
/home/pi/Desktop/images/11072025/08/13/image_11072025_08_13_02_0120.jpg
/home/pi/Desktop/images/11072025/08/12/image_11072025_08_12_02_1445.jpg
/home/pi/Desktop/images/11072025/08/11/image_11072025_08_11_01_8545.jpg
/home/pi/Desktop/images/11072025/08/09/image_11072025_08_09_01_4071.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 3.588637113571167 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 17:33:04.147804
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/08/15/image_11072025_08_15_01_7448.jpg', 2), ('/home/pi/Desktop/images/11072025/08/14/image_11072025_08_14_02_1139.jpg', 2), ('/home/pi/Desktop/images/11072025/08/13/image_11072025_08_13_02_0120.jpg', 2), ('/home/pi/Desktop/images/11072025/08/12/image_11072025_08_12_02_1445.jpg', 2), ('/home/pi/Desktop/images/11072025/08/11/image_11072025_08_11_01_8545.jpg', 2), ('/home/pi/Desktop/images/11072025/08/09/image_11072025_08_09_01_4071.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/08/15/image_11072025_08_15_01_7448.jpg', '/home/pi/Desktop/images/11072025/08/14/image_11072025_08_14_02_1139.jpg', '/home/pi/Desktop/images/11072025/08/13/image_11072025_08_13_02_0120.jpg', '/home/pi/Desktop/images/11072025/08/12/image_11072025_08_12_02_1445.jpg', '/home/pi/Desktop/images/11072025/08/11/image_11072025_08_11_01_8545.jpg', '/home/pi/Desktop/images/11072025/08/09/image_11072025_08_09_01_4071.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/08/15/image_11072025_08_15_01_7448.jpg
/home/pi/Desktop/images/11072025/08/14/image_11072025_08_14_02_1139.jpg
/home/pi/Desktop/images/11072025/08/13/image_11072025_08_13_02_0120.jpg
/home/pi/Desktop/images/11072025/08/12/image_11072025_08_12_02_1445.jpg
/home/pi/Desktop/images/11072025/08/11/image_11072025_08_11_01_8545.jpg
/home/pi/Desktop/images/11072025/08/09/image_11072025_08_09_01_4071.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371621622","1371621384","1371621330","1371621566","1371621440","1371621500"],"photo_ids_order":["1371621330","1371621384","1371621440","1371621500","1371621566","1371621622"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/96663fb1fe7cee62b1af46e45eefadb7.jpg","text":"TemporaryFile(/tmp/multipartBody980552777371819634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752248046801,"filename":"image_11072025_08_09_01_4071.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/7b77e315b134c10801760f28ad2c6091.jpg","text":"TemporaryFile(/tmp/multipartBody8300772509523904686asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752248046801,"filename":"image_11072025_08_14_02_1139.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/9690b7202adbf1615e3f61ec100c2b26.jpg","text":"TemporaryFile(/tmp/multipartBody2285352864041795509asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752248046801,"filename":"image_11072025_08_15_01_7448.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/ede0f55e927ec8babdb7296835eb0db7.jpg","text":"TemporaryFile(/tmp/multipartBody5500582103758597589asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752248046801,"filename":"image_11072025_08_11_01_8545.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/a4e3d634e137e8a62eaf65cbb88c9b70.jpg","text":"TemporaryFile(/tmp/multipartBody5696201647108749078asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752248046801,"filename":"image_11072025_08_13_02_0120.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/47eb167f6a11d4dbf84f1152a0567b4b.jpg","text":"TemporaryFile(/tmp/multipartBody6169742610622755369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752248046801,"filename":"image_11072025_08_12_02_1445.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371621440","file1":"1371621384","file0":"1371621330","file4":"1371621566","file5":"1371621622","file3":"1371621500"},"map_files_photo_id_array":[{"photo_id":"1371621622","filename":"file5"},{"photo_id":"1371621440","filename":"file2"},{"photo_id":"1371621566","filename":"file4"},{"photo_id":"1371621384","filename":"file1"},{"photo_id":"1371621330","filename":"file0"},{"photo_id":"1371621500","filename":"file3"}],"portfolio_id":24815670,"hashtag_by_photo_ids":[{"1371621622":["hashtag1","hashtag2"]},{"1371621384":["hashtag1","hashtag2"]},{"1371621330":["hashtag1","hashtag2"]},{"1371621566":["hashtag1","hashtag2"]},{"1371621440":["hashtag1","hashtag2"]},{"1371621500":["hashtag1","hashtag2"]}],"comms":"Portfolio 24815670 used, photo_id : ArrayBuffer(1371621622, 1371621384, 1371621330, 1371621566, 1371621440, 1371621500)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.78946661949158 secondes ---
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 17:35:04.129465
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/08/08/image_11072025_08_08_02_0022.jpg', 2), ('/home/pi/Desktop/images/11072025/08/07/image_11072025_08_07_01_6277.jpg', 2), ('/home/pi/Desktop/images/11072025/08/06/image_11072025_08_06_02_1792.jpg', 2), ('/home/pi/Desktop/images/11072025/08/05/image_11072025_08_05_01_5218.jpg', 2), ('/home/pi/Desktop/images/11072025/08/04/image_11072025_08_04_01_9359.jpg', 2), ('/home/pi/Desktop/images/11072025/08/03/image_11072025_08_03_01_8900.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/08/08/image_11072025_08_08_02_0022.jpg', '/home/pi/Desktop/images/11072025/08/07/image_11072025_08_07_01_6277.jpg', '/home/pi/Desktop/images/11072025/08/06/image_11072025_08_06_02_1792.jpg', '/home/pi/Desktop/images/11072025/08/05/image_11072025_08_05_01_5218.jpg', '/home/pi/Desktop/images/11072025/08/04/image_11072025_08_04_01_9359.jpg', '/home/pi/Desktop/images/11072025/08/03/image_11072025_08_03_01_8900.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/08/08/image_11072025_08_08_02_0022.jpg
/home/pi/Desktop/images/11072025/08/07/image_11072025_08_07_01_6277.jpg
/home/pi/Desktop/images/11072025/08/06/image_11072025_08_06_02_1792.jpg
/home/pi/Desktop/images/11072025/08/05/image_11072025_08_05_01_5218.jpg
/home/pi/Desktop/images/11072025/08/04/image_11072025_08_04_01_9359.jpg
/home/pi/Desktop/images/11072025/08/03/image_11072025_08_03_01_8900.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371622057","1371622230","1371622134","1371622113","1371622041","1371622208"],"photo_ids_order":["1371622041","1371622057","1371622113","1371622134","1371622208","1371622230"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/bdedfbf4bd9036114812c78a77de3aff.jpg","text":"TemporaryFile(/tmp/multipartBody2966704249128461739asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752248167912,"filename":"image_11072025_08_07_01_6277.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/bb1697777765b04f00aa20a0a942a694.jpg","text":"TemporaryFile(/tmp/multipartBody7794321272204205177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752248167912,"filename":"image_11072025_08_03_01_8900.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/7701d4565343b42d849cc1976ea7e39c.jpg","text":"TemporaryFile(/tmp/multipartBody6386701448209097991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752248167912,"filename":"image_11072025_08_05_01_5218.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/3f1df2c6061a7f0460d344d40313f959.jpg","text":"TemporaryFile(/tmp/multipartBody8443163091801121254asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752248167912,"filename":"image_11072025_08_06_02_1792.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/92d354f400272904edffe8e845e72421.jpg","text":"TemporaryFile(/tmp/multipartBody282758084621407024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752248167912,"filename":"image_11072025_08_08_02_0022.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/18e7064ae264870355120a9cd4017d2b.jpg","text":"TemporaryFile(/tmp/multipartBody6080265491608246416asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752248167912,"filename":"image_11072025_08_04_01_9359.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371622113","file1":"1371622057","file0":"1371622041","file4":"1371622208","file5":"1371622230","file3":"1371622134"},"map_files_photo_id_array":[{"photo_id":"1371622230","filename":"file5"},{"photo_id":"1371622113","filename":"file2"},{"photo_id":"1371622208","filename":"file4"},{"photo_id":"1371622057","filename":"file1"},{"photo_id":"1371622041","filename":"file0"},{"photo_id":"1371622134","filename":"file3"}],"portfolio_id":24815670,"hashtag_by_photo_ids":[{"1371622057":["hashtag1","hashtag2"]},{"1371622230":["hashtag1","hashtag2"]},{"1371622134":["hashtag1","hashtag2"]},{"1371622113":["hashtag1","hashtag2"]},{"1371622041":["hashtag1","hashtag2"]},{"1371622208":["hashtag1","hashtag2"]}],"comms":"Portfolio 24815670 used, photo_id : ArrayBuffer(1371622057, 1371622230, 1371622134, 1371622113, 1371622041, 1371622208)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.77082395553589 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 17:37:03.412554
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/08/02/image_11072025_08_02_02_1718.jpg', 2), ('/home/pi/Desktop/images/11072025/08/01/image_11072025_08_01_02_1458.jpg', 2), ('/home/pi/Desktop/images/11072025/08/00/image_11072025_08_00_02_2839.jpg', 2), ('/home/pi/Desktop/images/11072025/07/59/image_11072025_07_59_01_6993.jpg', 2), ('/home/pi/Desktop/images/11072025/07/58/image_11072025_07_58_01_9087.jpg', 2), ('/home/pi/Desktop/images/11072025/07/57/image_11072025_07_57_02_1660.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/08/02/image_11072025_08_02_02_1718.jpg', '/home/pi/Desktop/images/11072025/08/01/image_11072025_08_01_02_1458.jpg', '/home/pi/Desktop/images/11072025/08/00/image_11072025_08_00_02_2839.jpg', '/home/pi/Desktop/images/11072025/07/59/image_11072025_07_59_01_6993.jpg', '/home/pi/Desktop/images/11072025/07/58/image_11072025_07_58_01_9087.jpg', '/home/pi/Desktop/images/11072025/07/57/image_11072025_07_57_02_1660.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/08/02/image_11072025_08_02_02_1718.jpg
/home/pi/Desktop/images/11072025/08/01/image_11072025_08_01_02_1458.jpg
/home/pi/Desktop/images/11072025/08/00/image_11072025_08_00_02_2839.jpg
/home/pi/Desktop/images/11072025/07/59/image_11072025_07_59_01_6993.jpg
/home/pi/Desktop/images/11072025/07/58/image_11072025_07_58_01_9087.jpg
/home/pi/Desktop/images/11072025/07/57/image_11072025_07_57_02_1660.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371622618","1371622737","1371622566","1371622682","1371622850","1371622795"],"photo_ids_order":["1371622566","1371622618","1371622682","1371622737","1371622795","1371622850"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/e66a4b2a6b03f07c80e3f83b5cf08fcc.jpg","text":"TemporaryFile(/tmp/multipartBody4438709396591131573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752248286551,"filename":"image_11072025_08_01_02_1458.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/5dc8f56ee5b078d61bce44cdd0933bed.jpg","text":"TemporaryFile(/tmp/multipartBody8691636695676631779asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752248286551,"filename":"image_11072025_07_59_01_6993.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/1e8c1675f69222acfe42a315e038624a.jpg","text":"TemporaryFile(/tmp/multipartBody5353738965771585226asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752248286551,"filename":"image_11072025_08_02_02_1718.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/1b2eeae1c456575c88c05d09e570cf83.jpg","text":"TemporaryFile(/tmp/multipartBody8681080831420741208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752248286551,"filename":"image_11072025_08_00_02_2839.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/e2520a60889150cdd331d49032eada21.jpg","text":"TemporaryFile(/tmp/multipartBody1049601034233315312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752248286551,"filename":"image_11072025_07_57_02_1660.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/284b790fe221538d4f020219fc4e5154.jpg","text":"TemporaryFile(/tmp/multipartBody3120975775975469442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752248286551,"filename":"image_11072025_07_58_01_9087.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371622682","file1":"1371622618","file0":"1371622566","file4":"1371622795","file5":"1371622850","file3":"1371622737"},"map_files_photo_id_array":[{"photo_id":"1371622850","filename":"file5"},{"photo_id":"1371622682","filename":"file2"},{"photo_id":"1371622795","filename":"file4"},{"photo_id":"1371622618","filename":"file1"},{"photo_id":"1371622566","filename":"file0"},{"photo_id":"1371622737","filename":"file3"}],"portfolio_id":24815670,"hashtag_by_photo_ids":[{"1371622618":["hashtag1","hashtag2"]},{"1371622737":["hashtag1","hashtag2"]},{"1371622566":["hashtag1","hashtag2"]},{"1371622682":["hashtag1","hashtag2"]},{"1371622850":["hashtag1","hashtag2"]},{"1371622795":["hashtag1","hashtag2"]}],"comms":"Portfolio 24815670 used, photo_id : ArrayBuffer(1371622618, 1371622737, 1371622566, 1371622682, 1371622850, 1371622795)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.5670530796051 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 17:38:02.842523
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/07/56/image_11072025_07_56_01_8685.jpg', 2), ('/home/pi/Desktop/images/11072025/07/55/image_11072025_07_55_01_9667.jpg', 2), ('/home/pi/Desktop/images/11072025/07/54/image_11072025_07_54_01_8476.jpg', 2), ('/home/pi/Desktop/images/11072025/07/53/image_11072025_07_53_01_7683.jpg', 2), ('/home/pi/Desktop/images/11072025/07/52/image_11072025_07_52_01_3497.jpg', 2), ('/home/pi/Desktop/images/11072025/07/51/image_11072025_07_51_01_4701.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/07/56/image_11072025_07_56_01_8685.jpg', '/home/pi/Desktop/images/11072025/07/55/image_11072025_07_55_01_9667.jpg', '/home/pi/Desktop/images/11072025/07/54/image_11072025_07_54_01_8476.jpg', '/home/pi/Desktop/images/11072025/07/53/image_11072025_07_53_01_7683.jpg', '/home/pi/Desktop/images/11072025/07/52/image_11072025_07_52_01_3497.jpg', '/home/pi/Desktop/images/11072025/07/51/image_11072025_07_51_01_4701.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/07/56/image_11072025_07_56_01_8685.jpg
/home/pi/Desktop/images/11072025/07/55/image_11072025_07_55_01_9667.jpg
/home/pi/Desktop/images/11072025/07/54/image_11072025_07_54_01_8476.jpg
/home/pi/Desktop/images/11072025/07/53/image_11072025_07_53_01_7683.jpg
/home/pi/Desktop/images/11072025/07/52/image_11072025_07_52_01_3497.jpg
/home/pi/Desktop/images/11072025/07/51/image_11072025_07_51_01_4701.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371623076","1371623043","1371623093","1371623086","1371623119","1371623134"],"photo_ids_order":["1371623043","1371623076","1371623086","1371623093","1371623119","1371623134"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/3dcccbbe7a5740831e57b00497839eb5.jpg","text":"TemporaryFile(/tmp/multipartBody1165975675929738805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752248345035,"filename":"image_11072025_07_55_01_9667.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/baa44719f6a8f5952cdcb58e46458862.jpg","text":"TemporaryFile(/tmp/multipartBody6282386772196877842asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752248345035,"filename":"image_11072025_07_56_01_8685.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/55f70f25cb4d337b5c8190cf5195b624.jpg","text":"TemporaryFile(/tmp/multipartBody7529580824880137734asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752248345035,"filename":"image_11072025_07_53_01_7683.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/dbb058252f43865396e743af0e6efbba.jpg","text":"TemporaryFile(/tmp/multipartBody7794029326777270671asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752248345035,"filename":"image_11072025_07_54_01_8476.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/64906cde72b5a986c22200eb3c6117ba.jpg","text":"TemporaryFile(/tmp/multipartBody8201025910705631814asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752248345035,"filename":"image_11072025_07_52_01_3497.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/b0c68487bc25310f828f1a45ef601a35.jpg","text":"TemporaryFile(/tmp/multipartBody6999125591790396291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752248345035,"filename":"image_11072025_07_51_01_4701.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371623086","file1":"1371623076","file0":"1371623043","file4":"1371623119","file5":"1371623134","file3":"1371623093"},"map_files_photo_id_array":[{"photo_id":"1371623134","filename":"file5"},{"photo_id":"1371623086","filename":"file2"},{"photo_id":"1371623119","filename":"file4"},{"photo_id":"1371623076","filename":"file1"},{"photo_id":"1371623043","filename":"file0"},{"photo_id":"1371623093","filename":"file3"}],"portfolio_id":24815670,"hashtag_by_photo_ids":[{"1371623076":["hashtag1","hashtag2"]},{"1371623043":["hashtag1","hashtag2"]},{"1371623093":["hashtag1","hashtag2"]},{"1371623086":["hashtag1","hashtag2"]},{"1371623119":["hashtag1","hashtag2"]},{"1371623134":["hashtag1","hashtag2"]}],"comms":"Portfolio 24815670 used, photo_id : ArrayBuffer(1371623076, 1371623043, 1371623093, 1371623086, 1371623119, 1371623134)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 53.88246035575867 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 17:39:03.716541
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
1 photos no longer on disk
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/17/40/image_11072025_17_40_01_6083.jpg', 2), ('/home/pi/Desktop/images/11072025/07/50/image_11072025_07_50_02_1436.jpg', 2), ('/home/pi/Desktop/images/11072025/07/49/image_11072025_07_49_02_2077.jpg', 2), ('/home/pi/Desktop/images/11072025/07/48/image_11072025_07_48_02_3236.jpg', 2), ('/home/pi/Desktop/images/11072025/07/47/image_11072025_07_47_01_4032.jpg', 2), ('/home/pi/Desktop/images/11072025/07/46/image_11072025_07_46_01_8570.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/07/50/image_11072025_07_50_02_1436.jpg', '/home/pi/Desktop/images/11072025/07/49/image_11072025_07_49_02_2077.jpg', '/home/pi/Desktop/images/11072025/07/48/image_11072025_07_48_02_3236.jpg', '/home/pi/Desktop/images/11072025/07/47/image_11072025_07_47_01_4032.jpg', '/home/pi/Desktop/images/11072025/07/46/image_11072025_07_46_01_8570.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/07/50/image_11072025_07_50_02_1436.jpg
/home/pi/Desktop/images/11072025/07/49/image_11072025_07_49_02_2077.jpg
/home/pi/Desktop/images/11072025/07/48/image_11072025_07_48_02_3236.jpg
/home/pi/Desktop/images/11072025/07/47/image_11072025_07_47_01_4032.jpg
/home/pi/Desktop/images/11072025/07/46/image_11072025_07_46_01_8570.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371623235","1371623409","1371623477","1371623348","1371623204"],"photo_ids_order":["1371623204","1371623235","1371623348","1371623409","1371623477"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/359e7ca62f9a152a24507a37a1d5089a.jpg","text":"TemporaryFile(/tmp/multipartBody4948867223124140818asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752248407594,"filename":"image_11072025_07_49_02_2077.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/efd67ff54c09663b970621a8a43c5d1f.jpg","text":"TemporaryFile(/tmp/multipartBody2562998217163878063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752248407594,"filename":"image_11072025_07_47_01_4032.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/abb44308889163c464ea8dd497fcf573.jpg","text":"TemporaryFile(/tmp/multipartBody388645071234391906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752248407594,"filename":"image_11072025_07_46_01_8570.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/036c185f7e3a43ecec5246b79c63b112.jpg","text":"TemporaryFile(/tmp/multipartBody3167666645336332997asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752248407594,"filename":"image_11072025_07_48_02_3236.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/7480e43c64f926978d1c89318934d5fb.jpg","text":"TemporaryFile(/tmp/multipartBody8036574291707489274asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752248407594,"filename":"image_11072025_07_50_02_1436.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371623348","file1":"1371623235","file0":"1371623204","file4":"1371623477","file3":"1371623409"},"map_files_photo_id_array":[{"photo_id":"1371623348","filename":"file2"},{"photo_id":"1371623477","filename":"file4"},{"photo_id":"1371623235","filename":"file1"},{"photo_id":"1371623204","filename":"file0"},{"photo_id":"1371623409","filename":"file3"}],"portfolio_id":24815670,"hashtag_by_photo_ids":[{"1371623235":["hashtag1","hashtag2"]},{"1371623409":["hashtag1","hashtag2"]},{"1371623477":["hashtag1","hashtag2"]},{"1371623348":["hashtag1","hashtag2"]},{"1371623204":["hashtag1","hashtag2"]}],"comms":"Portfolio 24815670 used, photo_id : ArrayBuffer(1371623235, 1371623409, 1371623477, 1371623348, 1371623204)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 53.729435443878174 secondes ---
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 377, in upload_from_sqlite
    upload_photo_and_update_logs(files, lsr, port_id, datou_current_id, fc, hashtags = hashtags, verbose = verbose, nb_batch= nb_batch,batch_size=limit)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 74, in upload_photo_and_update_logs
    logger.info("no_longer_on_disk_list:",no_longer_on_disk_list)
Message: 'no_longer_on_disk_list:'
Arguments: (['/home/pi/Desktop/images/11072025/17/40/image_11072025_17_40_01_6083.jpg'],)
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 17:40:03.603709
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/07/45/image_11072025_07_45_02_1865.jpg', 2), ('/home/pi/Desktop/images/11072025/07/44/image_11072025_07_44_01_3004.jpg', 2), ('/home/pi/Desktop/images/11072025/07/43/image_11072025_07_43_01_4419.jpg', 2), ('/home/pi/Desktop/images/11072025/07/41/image_11072025_07_41_01_6196.jpg', 2), ('/home/pi/Desktop/images/11072025/07/40/image_11072025_07_40_01_4144.jpg', 2), ('/home/pi/Desktop/images/11072025/07/39/image_11072025_07_39_01_8671.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/07/45/image_11072025_07_45_02_1865.jpg', '/home/pi/Desktop/images/11072025/07/44/image_11072025_07_44_01_3004.jpg', '/home/pi/Desktop/images/11072025/07/43/image_11072025_07_43_01_4419.jpg', '/home/pi/Desktop/images/11072025/07/41/image_11072025_07_41_01_6196.jpg', '/home/pi/Desktop/images/11072025/07/40/image_11072025_07_40_01_4144.jpg', '/home/pi/Desktop/images/11072025/07/39/image_11072025_07_39_01_8671.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/07/45/image_11072025_07_45_02_1865.jpg
/home/pi/Desktop/images/11072025/07/44/image_11072025_07_44_01_3004.jpg
/home/pi/Desktop/images/11072025/07/43/image_11072025_07_43_01_4419.jpg
/home/pi/Desktop/images/11072025/07/41/image_11072025_07_41_01_6196.jpg
/home/pi/Desktop/images/11072025/07/40/image_11072025_07_40_01_4144.jpg
/home/pi/Desktop/images/11072025/07/39/image_11072025_07_39_01_8671.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371623813","1371623837","1371623872","1371623788","1371623944","1371623725"],"photo_ids_order":["1371623725","1371623788","1371623813","1371623837","1371623872","1371623944"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/8f5f775848a54064a7fe4f61fe50fc69.jpg","text":"TemporaryFile(/tmp/multipartBody3966810185823547635asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752248467874,"filename":"image_11072025_07_43_01_4419.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/10a706af31b3caa024e7eb5110f49266.jpg","text":"TemporaryFile(/tmp/multipartBody8688793152545339003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752248467874,"filename":"image_11072025_07_41_01_6196.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/b28515be5a46f9b5660d7207259c3075.jpg","text":"TemporaryFile(/tmp/multipartBody7284581931313877648asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752248467874,"filename":"image_11072025_07_40_01_4144.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/dc45ee6483ba6111f9746d5aa30dde76.jpg","text":"TemporaryFile(/tmp/multipartBody7412312327609429177asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752248467874,"filename":"image_11072025_07_44_01_3004.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/9edf333708a073c825cfd0a15e602a0a.jpg","text":"TemporaryFile(/tmp/multipartBody2224392423463705937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752248467874,"filename":"image_11072025_07_39_01_8671.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/88214e3fb10d29bdadfd13ba4b9274c7.jpg","text":"TemporaryFile(/tmp/multipartBody747622994623051092asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752248467874,"filename":"image_11072025_07_45_02_1865.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371623813","file1":"1371623788","file0":"1371623725","file4":"1371623872","file5":"1371623944","file3":"1371623837"},"map_files_photo_id_array":[{"photo_id":"1371623944","filename":"file5"},{"photo_id":"1371623813","filename":"file2"},{"photo_id":"1371623872","filename":"file4"},{"photo_id":"1371623788","filename":"file1"},{"photo_id":"1371623725","filename":"file0"},{"photo_id":"1371623837","filename":"file3"}],"portfolio_id":24815670,"hashtag_by_photo_ids":[{"1371623813":["hashtag1","hashtag2"]},{"1371623837":["hashtag1","hashtag2"]},{"1371623872":["hashtag1","hashtag2"]},{"1371623788":["hashtag1","hashtag2"]},{"1371623944":["hashtag1","hashtag2"]},{"1371623725":["hashtag1","hashtag2"]}],"comms":"Portfolio 24815670 used, photo_id : ArrayBuffer(1371623813, 1371623837, 1371623872, 1371623788, 1371623944, 1371623725)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 63.52069282531738 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 17:42:02.857315
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/07/35/image_11072025_07_35_01_7002.jpg', 2), ('/home/pi/Desktop/images/11072025/07/30/image_11072025_07_30_01_8596.jpg', 2), ('/home/pi/Desktop/images/11072025/07/29/image_11072025_07_29_01_8456.jpg', 2), ('/home/pi/Desktop/images/11072025/07/28/image_11072025_07_28_01_4322.jpg', 2), ('/home/pi/Desktop/images/11072025/07/27/image_11072025_07_27_01_9695.jpg', 2), ('/home/pi/Desktop/images/11072025/07/24/image_11072025_07_24_01_9154.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/07/35/image_11072025_07_35_01_7002.jpg', '/home/pi/Desktop/images/11072025/07/30/image_11072025_07_30_01_8596.jpg', '/home/pi/Desktop/images/11072025/07/29/image_11072025_07_29_01_8456.jpg', '/home/pi/Desktop/images/11072025/07/28/image_11072025_07_28_01_4322.jpg', '/home/pi/Desktop/images/11072025/07/27/image_11072025_07_27_01_9695.jpg', '/home/pi/Desktop/images/11072025/07/24/image_11072025_07_24_01_9154.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/07/35/image_11072025_07_35_01_7002.jpg
/home/pi/Desktop/images/11072025/07/30/image_11072025_07_30_01_8596.jpg
/home/pi/Desktop/images/11072025/07/29/image_11072025_07_29_01_8456.jpg
/home/pi/Desktop/images/11072025/07/28/image_11072025_07_28_01_4322.jpg
/home/pi/Desktop/images/11072025/07/27/image_11072025_07_27_01_9695.jpg
/home/pi/Desktop/images/11072025/07/24/image_11072025_07_24_01_9154.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371624816","1371624630","1371624525","1371624705","1371624843","1371624768"],"photo_ids_order":["1371624525","1371624630","1371624705","1371624768","1371624816","1371624843"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/2c2aa92e62cdf152ea59f1f3159cad6b.jpg","text":"TemporaryFile(/tmp/multipartBody4234504595301313479asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752248587083,"filename":"image_11072025_07_27_01_9695.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/c9a782069f4f347eb634211fdaecc3c7.jpg","text":"TemporaryFile(/tmp/multipartBody6599742103929106127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752248587083,"filename":"image_11072025_07_30_01_8596.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/11b28956f46c3e27652a3e77713d959b.jpg","text":"TemporaryFile(/tmp/multipartBody4416677309902337063asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752248587083,"filename":"image_11072025_07_35_01_7002.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/a9dac6084fd2f114fea441753cbfc067.jpg","text":"TemporaryFile(/tmp/multipartBody8135310319110176197asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752248587083,"filename":"image_11072025_07_29_01_8456.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/fddfede834d10b1424c061745fd28bc2.jpg","text":"TemporaryFile(/tmp/multipartBody4326850058221172865asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752248587083,"filename":"image_11072025_07_24_01_9154.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/491ca0f55c6857e1170f01caf48beeee.jpg","text":"TemporaryFile(/tmp/multipartBody7729100301215027357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752248587083,"filename":"image_11072025_07_28_01_4322.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371624705","file1":"1371624630","file0":"1371624525","file4":"1371624816","file5":"1371624843","file3":"1371624768"},"map_files_photo_id_array":[{"photo_id":"1371624843","filename":"file5"},{"photo_id":"1371624705","filename":"file2"},{"photo_id":"1371624816","filename":"file4"},{"photo_id":"1371624630","filename":"file1"},{"photo_id":"1371624525","filename":"file0"},{"photo_id":"1371624768","filename":"file3"}],"portfolio_id":24815670,"hashtag_by_photo_ids":[{"1371624816":["hashtag1","hashtag2"]},{"1371624630":["hashtag1","hashtag2"]},{"1371624525":["hashtag1","hashtag2"]},{"1371624705":["hashtag1","hashtag2"]},{"1371624843":["hashtag1","hashtag2"]},{"1371624768":["hashtag1","hashtag2"]}],"comms":"Portfolio 24815670 used, photo_id : ArrayBuffer(1371624816, 1371624630, 1371624525, 1371624705, 1371624843, 1371624768)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 64.08589625358582 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 17:44:02.904145
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/07/23/image_11072025_07_23_01_7857.jpg', 2), ('/home/pi/Desktop/images/11072025/07/22/image_11072025_07_22_01_7213.jpg', 2), ('/home/pi/Desktop/images/11072025/07/21/image_11072025_07_21_01_4572.jpg', 2), ('/home/pi/Desktop/images/11072025/07/20/image_11072025_07_20_01_3789.jpg', 2), ('/home/pi/Desktop/images/11072025/07/19/image_11072025_07_19_01_7120.jpg', 2), ('/home/pi/Desktop/images/11072025/07/18/image_11072025_07_18_02_2252.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/07/23/image_11072025_07_23_01_7857.jpg', '/home/pi/Desktop/images/11072025/07/22/image_11072025_07_22_01_7213.jpg', '/home/pi/Desktop/images/11072025/07/21/image_11072025_07_21_01_4572.jpg', '/home/pi/Desktop/images/11072025/07/20/image_11072025_07_20_01_3789.jpg', '/home/pi/Desktop/images/11072025/07/19/image_11072025_07_19_01_7120.jpg', '/home/pi/Desktop/images/11072025/07/18/image_11072025_07_18_02_2252.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/07/23/image_11072025_07_23_01_7857.jpg
/home/pi/Desktop/images/11072025/07/22/image_11072025_07_22_01_7213.jpg
/home/pi/Desktop/images/11072025/07/21/image_11072025_07_21_01_4572.jpg
/home/pi/Desktop/images/11072025/07/20/image_11072025_07_20_01_3789.jpg
/home/pi/Desktop/images/11072025/07/19/image_11072025_07_19_01_7120.jpg
/home/pi/Desktop/images/11072025/07/18/image_11072025_07_18_02_2252.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 4.243784189224243 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 17:45:03.608465
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/07/23/image_11072025_07_23_01_7857.jpg', 2), ('/home/pi/Desktop/images/11072025/07/22/image_11072025_07_22_01_7213.jpg', 2), ('/home/pi/Desktop/images/11072025/07/21/image_11072025_07_21_01_4572.jpg', 2), ('/home/pi/Desktop/images/11072025/07/20/image_11072025_07_20_01_3789.jpg', 2), ('/home/pi/Desktop/images/11072025/07/19/image_11072025_07_19_01_7120.jpg', 2), ('/home/pi/Desktop/images/11072025/07/18/image_11072025_07_18_02_2252.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/07/23/image_11072025_07_23_01_7857.jpg', '/home/pi/Desktop/images/11072025/07/22/image_11072025_07_22_01_7213.jpg', '/home/pi/Desktop/images/11072025/07/21/image_11072025_07_21_01_4572.jpg', '/home/pi/Desktop/images/11072025/07/20/image_11072025_07_20_01_3789.jpg', '/home/pi/Desktop/images/11072025/07/19/image_11072025_07_19_01_7120.jpg', '/home/pi/Desktop/images/11072025/07/18/image_11072025_07_18_02_2252.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/07/23/image_11072025_07_23_01_7857.jpg
/home/pi/Desktop/images/11072025/07/22/image_11072025_07_22_01_7213.jpg
/home/pi/Desktop/images/11072025/07/21/image_11072025_07_21_01_4572.jpg
/home/pi/Desktop/images/11072025/07/20/image_11072025_07_20_01_3789.jpg
/home/pi/Desktop/images/11072025/07/19/image_11072025_07_19_01_7120.jpg
/home/pi/Desktop/images/11072025/07/18/image_11072025_07_18_02_2252.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371625133","1371625139","1371625057","1371625144","1371625122","1371625101"],"photo_ids_order":["1371625057","1371625101","1371625122","1371625133","1371625139","1371625144"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/ff61277a526098fed01ea61da152372b.jpg","text":"TemporaryFile(/tmp/multipartBody8288152490745070584asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752248766805,"filename":"image_11072025_07_20_01_3789.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/a65d95754ef91e3e3996c6096fbb6ac2.jpg","text":"TemporaryFile(/tmp/multipartBody5188447081008845746asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752248766805,"filename":"image_11072025_07_19_01_7120.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/3d324f0c5e79807f67f3260b756d00ea.jpg","text":"TemporaryFile(/tmp/multipartBody172914116973367124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752248766805,"filename":"image_11072025_07_23_01_7857.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/6fc1d096a0a8f5aa7f526d43fea1466f.jpg","text":"TemporaryFile(/tmp/multipartBody4155599359813290573asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752248766805,"filename":"image_11072025_07_18_02_2252.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/08258975bff68ef2f72bfeba2b866750.jpg","text":"TemporaryFile(/tmp/multipartBody8661380996969374903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752248766805,"filename":"image_11072025_07_21_01_4572.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/5b1daad7687eb3389628d747e84ede06.jpg","text":"TemporaryFile(/tmp/multipartBody7067381978985275463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752248766805,"filename":"image_11072025_07_22_01_7213.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371625122","file1":"1371625101","file0":"1371625057","file4":"1371625139","file5":"1371625144","file3":"1371625133"},"map_files_photo_id_array":[{"photo_id":"1371625144","filename":"file5"},{"photo_id":"1371625122","filename":"file2"},{"photo_id":"1371625139","filename":"file4"},{"photo_id":"1371625101","filename":"file1"},{"photo_id":"1371625057","filename":"file0"},{"photo_id":"1371625133","filename":"file3"}],"portfolio_id":24815670,"hashtag_by_photo_ids":[{"1371625133":["hashtag1","hashtag2"]},{"1371625139":["hashtag1","hashtag2"]},{"1371625057":["hashtag1","hashtag2"]},{"1371625144":["hashtag1","hashtag2"]},{"1371625122":["hashtag1","hashtag2"]},{"1371625101":["hashtag1","hashtag2"]}],"comms":"Portfolio 24815670 used, photo_id : ArrayBuffer(1371625133, 1371625139, 1371625057, 1371625144, 1371625122, 1371625101)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 84.09283781051636 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 17:47:03.694496
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/07/17/image_11072025_07_17_02_2894.jpg', 2), ('/home/pi/Desktop/images/11072025/07/14/image_11072025_07_14_01_4722.jpg', 2), ('/home/pi/Desktop/images/11072025/07/13/image_11072025_07_13_01_6127.jpg', 2), ('/home/pi/Desktop/images/11072025/07/12/image_11072025_07_12_01_9366.jpg', 2), ('/home/pi/Desktop/images/11072025/07/11/image_11072025_07_11_02_0295.jpg', 2), ('/home/pi/Desktop/images/11072025/07/09/image_11072025_07_09_01_9069.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/07/17/image_11072025_07_17_02_2894.jpg', '/home/pi/Desktop/images/11072025/07/14/image_11072025_07_14_01_4722.jpg', '/home/pi/Desktop/images/11072025/07/13/image_11072025_07_13_01_6127.jpg', '/home/pi/Desktop/images/11072025/07/12/image_11072025_07_12_01_9366.jpg', '/home/pi/Desktop/images/11072025/07/11/image_11072025_07_11_02_0295.jpg', '/home/pi/Desktop/images/11072025/07/09/image_11072025_07_09_01_9069.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/07/17/image_11072025_07_17_02_2894.jpg
/home/pi/Desktop/images/11072025/07/14/image_11072025_07_14_01_4722.jpg
/home/pi/Desktop/images/11072025/07/13/image_11072025_07_13_01_6127.jpg
/home/pi/Desktop/images/11072025/07/12/image_11072025_07_12_01_9366.jpg
/home/pi/Desktop/images/11072025/07/11/image_11072025_07_11_02_0295.jpg
/home/pi/Desktop/images/11072025/07/09/image_11072025_07_09_01_9069.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371625775","1371625937","1371625834","1371625707","1371626012","1371625595"],"photo_ids_order":["1371625595","1371625707","1371625775","1371625834","1371625937","1371626012"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/3843bfb5d6a9976e7160aff8189b17e0.jpg","text":"TemporaryFile(/tmp/multipartBody8052599263407692102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752248888092,"filename":"image_11072025_07_13_01_6127.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/c478f0d89d6eda7d8d156923e934a8be.jpg","text":"TemporaryFile(/tmp/multipartBody8510954547401865256asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752248888092,"filename":"image_11072025_07_11_02_0295.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/5661ba0ec9729b121edb5025384ca8a3.jpg","text":"TemporaryFile(/tmp/multipartBody6057359159971401853asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752248888092,"filename":"image_11072025_07_12_01_9366.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/a92dfa42c3c978ce62d7528ac0098602.jpg","text":"TemporaryFile(/tmp/multipartBody8762576911384736306asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752248888092,"filename":"image_11072025_07_14_01_4722.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/91405883c0b07142328073184cf16274.jpg","text":"TemporaryFile(/tmp/multipartBody6482646793847791725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752248888092,"filename":"image_11072025_07_09_01_9069.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/e82e7d53ec326a7502ffd9ed9f3bd74d.jpg","text":"TemporaryFile(/tmp/multipartBody1867947210352583658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752248888092,"filename":"image_11072025_07_17_02_2894.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371625775","file1":"1371625707","file0":"1371625595","file4":"1371625937","file5":"1371626012","file3":"1371625834"},"map_files_photo_id_array":[{"photo_id":"1371626012","filename":"file5"},{"photo_id":"1371625775","filename":"file2"},{"photo_id":"1371625937","filename":"file4"},{"photo_id":"1371625707","filename":"file1"},{"photo_id":"1371625595","filename":"file0"},{"photo_id":"1371625834","filename":"file3"}],"portfolio_id":24815670,"hashtag_by_photo_ids":[{"1371625775":["hashtag1","hashtag2"]},{"1371625937":["hashtag1","hashtag2"]},{"1371625834":["hashtag1","hashtag2"]},{"1371625707":["hashtag1","hashtag2"]},{"1371626012":["hashtag1","hashtag2"]},{"1371625595":["hashtag1","hashtag2"]}],"comms":"Portfolio 24815670 used, photo_id : ArrayBuffer(1371625775, 1371625937, 1371625834, 1371625707, 1371626012, 1371625595)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 59.31527256965637 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 17:49:04.060292
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/07/06/image_11072025_07_06_01_4932.jpg', 2), ('/home/pi/Desktop/images/11072025/07/02/image_11072025_07_02_01_5085.jpg', 2), ('/home/pi/Desktop/images/11072025/07/00/image_11072025_07_00_01_4504.jpg', 2), ('/home/pi/Desktop/images/11072025/06/59/image_11072025_06_59_01_7459.jpg', 2), ('/home/pi/Desktop/images/11072025/06/58/image_11072025_06_58_01_4489.jpg', 2), ('/home/pi/Desktop/images/11072025/06/57/image_11072025_06_57_02_2047.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/07/06/image_11072025_07_06_01_4932.jpg', '/home/pi/Desktop/images/11072025/07/02/image_11072025_07_02_01_5085.jpg', '/home/pi/Desktop/images/11072025/07/00/image_11072025_07_00_01_4504.jpg', '/home/pi/Desktop/images/11072025/06/59/image_11072025_06_59_01_7459.jpg', '/home/pi/Desktop/images/11072025/06/58/image_11072025_06_58_01_4489.jpg', '/home/pi/Desktop/images/11072025/06/57/image_11072025_06_57_02_2047.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/07/06/image_11072025_07_06_01_4932.jpg
/home/pi/Desktop/images/11072025/07/02/image_11072025_07_02_01_5085.jpg
/home/pi/Desktop/images/11072025/07/00/image_11072025_07_00_01_4504.jpg
/home/pi/Desktop/images/11072025/06/59/image_11072025_06_59_01_7459.jpg
/home/pi/Desktop/images/11072025/06/58/image_11072025_06_58_01_4489.jpg
/home/pi/Desktop/images/11072025/06/57/image_11072025_06_57_02_2047.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371626797","1371626757","1371626736","1371626786","1371626744","1371626729"],"photo_ids_order":["1371626729","1371626736","1371626744","1371626757","1371626786","1371626797"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/f03ec45a398e419b1c5556a549d8d7b1.jpg","text":"TemporaryFile(/tmp/multipartBody9115139411044968255asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752249008446,"filename":"image_11072025_06_57_02_2047.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/7a9c4b2f6abce20677b4fb4809d3d482.jpg","text":"TemporaryFile(/tmp/multipartBody8820003361622042676asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752249008446,"filename":"image_11072025_06_59_01_7459.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/03810d4cbd63c58076b8ac1a1c92fc34.jpg","text":"TemporaryFile(/tmp/multipartBody545133058655507936asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752249008446,"filename":"image_11072025_07_02_01_5085.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/69e532226cca8e8980c26ba522e90eab.jpg","text":"TemporaryFile(/tmp/multipartBody4038593813650190860asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752249008446,"filename":"image_11072025_06_58_01_4489.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/c144c29932cea9a20a1f340a69d4b6e1.jpg","text":"TemporaryFile(/tmp/multipartBody2708552789101357383asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752249008446,"filename":"image_11072025_07_00_01_4504.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/4e33d322dfe8c702dc17208e9e88bbc3.jpg","text":"TemporaryFile(/tmp/multipartBody4031110579429397738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752249008446,"filename":"image_11072025_07_06_01_4932.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371626744","file1":"1371626736","file0":"1371626729","file4":"1371626786","file5":"1371626797","file3":"1371626757"},"map_files_photo_id_array":[{"photo_id":"1371626797","filename":"file5"},{"photo_id":"1371626744","filename":"file2"},{"photo_id":"1371626786","filename":"file4"},{"photo_id":"1371626736","filename":"file1"},{"photo_id":"1371626729","filename":"file0"},{"photo_id":"1371626757","filename":"file3"}],"portfolio_id":24815670,"hashtag_by_photo_ids":[{"1371626797":["hashtag1","hashtag2"]},{"1371626757":["hashtag1","hashtag2"]},{"1371626736":["hashtag1","hashtag2"]},{"1371626786":["hashtag1","hashtag2"]},{"1371626744":["hashtag1","hashtag2"]},{"1371626729":["hashtag1","hashtag2"]}],"comms":"Portfolio 24815670 used, photo_id : ArrayBuffer(1371626797, 1371626757, 1371626736, 1371626786, 1371626744, 1371626729)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 64.21415519714355 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 17:51:03.384452
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/06/56/image_11072025_06_56_01_4917.jpg', 2), ('/home/pi/Desktop/images/11072025/06/55/image_11072025_06_55_01_2467.jpg', 2), ('/home/pi/Desktop/images/11072025/06/52/image_11072025_06_52_01_6976.jpg', 2), ('/home/pi/Desktop/images/11072025/06/50/image_11072025_06_50_01_8221.jpg', 2), ('/home/pi/Desktop/images/11072025/06/48/image_11072025_06_48_02_1939.jpg', 2), ('/home/pi/Desktop/images/11072025/06/47/image_11072025_06_47_01_5629.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/06/56/image_11072025_06_56_01_4917.jpg', '/home/pi/Desktop/images/11072025/06/55/image_11072025_06_55_01_2467.jpg', '/home/pi/Desktop/images/11072025/06/52/image_11072025_06_52_01_6976.jpg', '/home/pi/Desktop/images/11072025/06/50/image_11072025_06_50_01_8221.jpg', '/home/pi/Desktop/images/11072025/06/48/image_11072025_06_48_02_1939.jpg', '/home/pi/Desktop/images/11072025/06/47/image_11072025_06_47_01_5629.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/06/56/image_11072025_06_56_01_4917.jpg
/home/pi/Desktop/images/11072025/06/55/image_11072025_06_55_01_2467.jpg
/home/pi/Desktop/images/11072025/06/52/image_11072025_06_52_01_6976.jpg
/home/pi/Desktop/images/11072025/06/50/image_11072025_06_50_01_8221.jpg
/home/pi/Desktop/images/11072025/06/48/image_11072025_06_48_02_1939.jpg
/home/pi/Desktop/images/11072025/06/47/image_11072025_06_47_01_5629.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371627109","1371627285","1371627276","1371627162","1371627263","1371627227"],"photo_ids_order":["1371627109","1371627162","1371627227","1371627263","1371627276","1371627285"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/88631d827b78b8763d0ebd549319afb0.jpg","text":"TemporaryFile(/tmp/multipartBody5368477760526388058asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752249127694,"filename":"image_11072025_06_56_01_4917.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/eba6cb7fe6f74ea27c0f05f00a1959e1.jpg","text":"TemporaryFile(/tmp/multipartBody2367392285626471140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752249127694,"filename":"image_11072025_06_47_01_5629.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/a60dc17c4750b41f6841dcd69ec058f8.jpg","text":"TemporaryFile(/tmp/multipartBody4363426343037051752asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752249127694,"filename":"image_11072025_06_48_02_1939.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/f2e7cbd82dd47d6e55c23196f50b731d.jpg","text":"TemporaryFile(/tmp/multipartBody2109653883118429526asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752249127694,"filename":"image_11072025_06_55_01_2467.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/2bda92cd47277ad70c8b4618c046737d.jpg","text":"TemporaryFile(/tmp/multipartBody5566415025292101578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752249127694,"filename":"image_11072025_06_50_01_8221.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/b690c1e0aaa7cb179b7abcbbe1c6cfd3.jpg","text":"TemporaryFile(/tmp/multipartBody1131921249466941014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752249127694,"filename":"image_11072025_06_52_01_6976.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371627227","file1":"1371627162","file0":"1371627109","file4":"1371627276","file5":"1371627285","file3":"1371627263"},"map_files_photo_id_array":[{"photo_id":"1371627285","filename":"file5"},{"photo_id":"1371627227","filename":"file2"},{"photo_id":"1371627276","filename":"file4"},{"photo_id":"1371627162","filename":"file1"},{"photo_id":"1371627109","filename":"file0"},{"photo_id":"1371627263","filename":"file3"}],"portfolio_id":24815670,"hashtag_by_photo_ids":[{"1371627109":["hashtag1","hashtag2"]},{"1371627285":["hashtag1","hashtag2"]},{"1371627276":["hashtag1","hashtag2"]},{"1371627162":["hashtag1","hashtag2"]},{"1371627263":["hashtag1","hashtag2"]},{"1371627227":["hashtag1","hashtag2"]}],"comms":"Portfolio 24815670 used, photo_id : ArrayBuffer(1371627109, 1371627285, 1371627276, 1371627162, 1371627263, 1371627227)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 64.28408598899841 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 17:53:03.642261
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/06/46/image_11072025_06_46_01_9005.jpg', 2), ('/home/pi/Desktop/images/11072025/06/44/image_11072025_06_44_02_0038.jpg', 2), ('/home/pi/Desktop/images/11072025/06/43/image_11072025_06_43_01_8259.jpg', 2), ('/home/pi/Desktop/images/11072025/06/39/image_11072025_06_39_01_4127.jpg', 2), ('/home/pi/Desktop/images/11072025/06/38/image_11072025_06_38_02_0979.jpg', 2), ('/home/pi/Desktop/images/11072025/06/37/image_11072025_06_37_02_2152.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/06/46/image_11072025_06_46_01_9005.jpg', '/home/pi/Desktop/images/11072025/06/44/image_11072025_06_44_02_0038.jpg', '/home/pi/Desktop/images/11072025/06/43/image_11072025_06_43_01_8259.jpg', '/home/pi/Desktop/images/11072025/06/39/image_11072025_06_39_01_4127.jpg', '/home/pi/Desktop/images/11072025/06/38/image_11072025_06_38_02_0979.jpg', '/home/pi/Desktop/images/11072025/06/37/image_11072025_06_37_02_2152.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/06/46/image_11072025_06_46_01_9005.jpg
/home/pi/Desktop/images/11072025/06/44/image_11072025_06_44_02_0038.jpg
/home/pi/Desktop/images/11072025/06/43/image_11072025_06_43_01_8259.jpg
/home/pi/Desktop/images/11072025/06/39/image_11072025_06_39_01_4127.jpg
/home/pi/Desktop/images/11072025/06/38/image_11072025_06_38_02_0979.jpg
/home/pi/Desktop/images/11072025/06/37/image_11072025_06_37_02_2152.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371627391","1371627448","1371627415","1371627386","1371627437","1371627401"],"photo_ids_order":["1371627386","1371627391","1371627401","1371627415","1371627437","1371627448"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/26f7f488e826ce3f4f2245e2f6c962be.jpg","text":"TemporaryFile(/tmp/multipartBody6137450120433142090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752249248185,"filename":"image_11072025_06_44_02_0038.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/54bfdabbdab3f33c6e0b7fd0ac52b432.jpg","text":"TemporaryFile(/tmp/multipartBody4250025700071321979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752249248185,"filename":"image_11072025_06_37_02_2152.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/2c7e4d96ea634e2bd229d2a1af63846e.jpg","text":"TemporaryFile(/tmp/multipartBody6183646375724632517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752249248185,"filename":"image_11072025_06_39_01_4127.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/44f8929bc827531d41e4a66c14d88261.jpg","text":"TemporaryFile(/tmp/multipartBody4620635935826309751asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752249248185,"filename":"image_11072025_06_46_01_9005.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/d740f18982260894850e2d687e8d99ae.jpg","text":"TemporaryFile(/tmp/multipartBody6377254972649380623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752249248185,"filename":"image_11072025_06_38_02_0979.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/57545f9a45b39ebd3bfc08cb42cb268d.jpg","text":"TemporaryFile(/tmp/multipartBody3245220693089578285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752249248185,"filename":"image_11072025_06_43_01_8259.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371627401","file1":"1371627391","file0":"1371627386","file4":"1371627437","file5":"1371627448","file3":"1371627415"},"map_files_photo_id_array":[{"photo_id":"1371627448","filename":"file5"},{"photo_id":"1371627401","filename":"file2"},{"photo_id":"1371627437","filename":"file4"},{"photo_id":"1371627391","filename":"file1"},{"photo_id":"1371627386","filename":"file0"},{"photo_id":"1371627415","filename":"file3"}],"portfolio_id":24815670,"hashtag_by_photo_ids":[{"1371627391":["hashtag1","hashtag2"]},{"1371627448":["hashtag1","hashtag2"]},{"1371627415":["hashtag1","hashtag2"]},{"1371627386":["hashtag1","hashtag2"]},{"1371627437":["hashtag1","hashtag2"]},{"1371627401":["hashtag1","hashtag2"]}],"comms":"Portfolio 24815670 used, photo_id : ArrayBuffer(1371627391, 1371627448, 1371627415, 1371627386, 1371627437, 1371627401)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 60.01951241493225 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 17:55:04.100047
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/06/36/image_11072025_06_36_01_9433.jpg', 2), ('/home/pi/Desktop/images/11072025/06/34/image_11072025_06_34_01_7320.jpg', 2), ('/home/pi/Desktop/images/11072025/06/33/image_11072025_06_33_01_4293.jpg', 2), ('/home/pi/Desktop/images/11072025/06/32/image_11072025_06_32_01_5989.jpg', 2), ('/home/pi/Desktop/images/11072025/06/31/image_11072025_06_31_02_2683.jpg', 2), ('/home/pi/Desktop/images/11072025/06/30/image_11072025_06_30_01_9588.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/06/36/image_11072025_06_36_01_9433.jpg', '/home/pi/Desktop/images/11072025/06/34/image_11072025_06_34_01_7320.jpg', '/home/pi/Desktop/images/11072025/06/33/image_11072025_06_33_01_4293.jpg', '/home/pi/Desktop/images/11072025/06/32/image_11072025_06_32_01_5989.jpg', '/home/pi/Desktop/images/11072025/06/31/image_11072025_06_31_02_2683.jpg', '/home/pi/Desktop/images/11072025/06/30/image_11072025_06_30_01_9588.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/06/36/image_11072025_06_36_01_9433.jpg
/home/pi/Desktop/images/11072025/06/34/image_11072025_06_34_01_7320.jpg
/home/pi/Desktop/images/11072025/06/33/image_11072025_06_33_01_4293.jpg
/home/pi/Desktop/images/11072025/06/32/image_11072025_06_32_01_5989.jpg
/home/pi/Desktop/images/11072025/06/31/image_11072025_06_31_02_2683.jpg
/home/pi/Desktop/images/11072025/06/30/image_11072025_06_30_01_9588.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371627640","1371627963","1371627878","1371627758","1371627697","1371627815"],"photo_ids_order":["1371627640","1371627697","1371627758","1371627815","1371627878","1371627963"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/6ed896e47116c49fc2cd8eb8beab16e4.jpg","text":"TemporaryFile(/tmp/multipartBody6733183137249595161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752249368467,"filename":"image_11072025_06_36_01_9433.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/b9575f655cc75b401e30444681c1b88d.jpg","text":"TemporaryFile(/tmp/multipartBody2499812181257376297asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752249368467,"filename":"image_11072025_06_30_01_9588.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/2c8c5f18251c385239924aefded43803.jpg","text":"TemporaryFile(/tmp/multipartBody4505588760171287131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752249368467,"filename":"image_11072025_06_31_02_2683.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/6ee0bc2aea6b8e1593ce6e06094f1a64.jpg","text":"TemporaryFile(/tmp/multipartBody5530140889736555168asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752249368467,"filename":"image_11072025_06_33_01_4293.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/9578a0be1ceb783cefdbf343c41b098e.jpg","text":"TemporaryFile(/tmp/multipartBody660434743252652897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752249368467,"filename":"image_11072025_06_34_01_7320.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/f426cefb7494257cfb4b72268731a011.jpg","text":"TemporaryFile(/tmp/multipartBody9024125463633532307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752249368467,"filename":"image_11072025_06_32_01_5989.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371627758","file1":"1371627697","file0":"1371627640","file4":"1371627878","file5":"1371627963","file3":"1371627815"},"map_files_photo_id_array":[{"photo_id":"1371627963","filename":"file5"},{"photo_id":"1371627758","filename":"file2"},{"photo_id":"1371627878","filename":"file4"},{"photo_id":"1371627697","filename":"file1"},{"photo_id":"1371627640","filename":"file0"},{"photo_id":"1371627815","filename":"file3"}],"portfolio_id":24815670,"hashtag_by_photo_ids":[{"1371627640":["hashtag1","hashtag2"]},{"1371627963":["hashtag1","hashtag2"]},{"1371627878":["hashtag1","hashtag2"]},{"1371627758":["hashtag1","hashtag2"]},{"1371627697":["hashtag1","hashtag2"]},{"1371627815":["hashtag1","hashtag2"]}],"comms":"Portfolio 24815670 used, photo_id : ArrayBuffer(1371627640, 1371627963, 1371627878, 1371627758, 1371627697, 1371627815)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 61.51770353317261 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 17:57:04.201398
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/06/29/image_11072025_06_29_01_5029.jpg', 2), ('/home/pi/Desktop/images/11072025/06/28/image_11072025_06_28_01_7416.jpg', 2), ('/home/pi/Desktop/images/11072025/06/27/image_11072025_06_27_01_4122.jpg', 2), ('/home/pi/Desktop/images/11072025/06/26/image_11072025_06_26_01_5008.jpg', 2), ('/home/pi/Desktop/images/11072025/06/25/image_11072025_06_25_01_5432.jpg', 2), ('/home/pi/Desktop/images/11072025/06/24/image_11072025_06_24_01_3617.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/06/29/image_11072025_06_29_01_5029.jpg', '/home/pi/Desktop/images/11072025/06/28/image_11072025_06_28_01_7416.jpg', '/home/pi/Desktop/images/11072025/06/27/image_11072025_06_27_01_4122.jpg', '/home/pi/Desktop/images/11072025/06/26/image_11072025_06_26_01_5008.jpg', '/home/pi/Desktop/images/11072025/06/25/image_11072025_06_25_01_5432.jpg', '/home/pi/Desktop/images/11072025/06/24/image_11072025_06_24_01_3617.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/06/29/image_11072025_06_29_01_5029.jpg
/home/pi/Desktop/images/11072025/06/28/image_11072025_06_28_01_7416.jpg
/home/pi/Desktop/images/11072025/06/27/image_11072025_06_27_01_4122.jpg
/home/pi/Desktop/images/11072025/06/26/image_11072025_06_26_01_5008.jpg
/home/pi/Desktop/images/11072025/06/25/image_11072025_06_25_01_5432.jpg
/home/pi/Desktop/images/11072025/06/24/image_11072025_06_24_01_3617.jpg
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 17:59:03.451085
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/06/29/image_11072025_06_29_01_5029.jpg', 2), ('/home/pi/Desktop/images/11072025/06/28/image_11072025_06_28_01_7416.jpg', 2), ('/home/pi/Desktop/images/11072025/06/27/image_11072025_06_27_01_4122.jpg', 2), ('/home/pi/Desktop/images/11072025/06/26/image_11072025_06_26_01_5008.jpg', 2), ('/home/pi/Desktop/images/11072025/06/25/image_11072025_06_25_01_5432.jpg', 2), ('/home/pi/Desktop/images/11072025/06/24/image_11072025_06_24_01_3617.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/06/29/image_11072025_06_29_01_5029.jpg', '/home/pi/Desktop/images/11072025/06/28/image_11072025_06_28_01_7416.jpg', '/home/pi/Desktop/images/11072025/06/27/image_11072025_06_27_01_4122.jpg', '/home/pi/Desktop/images/11072025/06/26/image_11072025_06_26_01_5008.jpg', '/home/pi/Desktop/images/11072025/06/25/image_11072025_06_25_01_5432.jpg', '/home/pi/Desktop/images/11072025/06/24/image_11072025_06_24_01_3617.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/06/29/image_11072025_06_29_01_5029.jpg
/home/pi/Desktop/images/11072025/06/28/image_11072025_06_28_01_7416.jpg
/home/pi/Desktop/images/11072025/06/27/image_11072025_06_27_01_4122.jpg
/home/pi/Desktop/images/11072025/06/26/image_11072025_06_26_01_5008.jpg
/home/pi/Desktop/images/11072025/06/25/image_11072025_06_25_01_5432.jpg
/home/pi/Desktop/images/11072025/06/24/image_11072025_06_24_01_3617.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371629910","1371630086","1371629741","1371630353","1371630434","1371630209"],"photo_ids_order":["1371629741","1371629910","1371630086","1371630209","1371630353","1371630434"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/365f65a6a1da21badda8061ed7522f69.jpg","text":"TemporaryFile(/tmp/multipartBody2202853763301295400asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752249606512,"filename":"image_11072025_06_28_01_7416.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/07cc69b7c466ec9ddf84c7f2c56951b7.jpg","text":"TemporaryFile(/tmp/multipartBody1433842710452513417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752249606512,"filename":"image_11072025_06_27_01_4122.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/97ddc1a1b7558f466e0e234c32f2740c.jpg","text":"TemporaryFile(/tmp/multipartBody2378025598322376651asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752249606512,"filename":"image_11072025_06_29_01_5029.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/2171d2577ffbd00fc1a7a9b52f09c9da.jpg","text":"TemporaryFile(/tmp/multipartBody6567101401721352273asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752249606512,"filename":"image_11072025_06_25_01_5432.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/16ac68dc8b9f402cafdc615bd951d021.jpg","text":"TemporaryFile(/tmp/multipartBody638926386957072329asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752249606512,"filename":"image_11072025_06_24_01_3617.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/2de617a2c85229db2a83930e2d7d5ae6.jpg","text":"TemporaryFile(/tmp/multipartBody2197868841392808357asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752249606512,"filename":"image_11072025_06_26_01_5008.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371630086","file1":"1371629910","file0":"1371629741","file4":"1371630353","file5":"1371630434","file3":"1371630209"},"map_files_photo_id_array":[{"photo_id":"1371630434","filename":"file5"},{"photo_id":"1371630086","filename":"file2"},{"photo_id":"1371630353","filename":"file4"},{"photo_id":"1371629910","filename":"file1"},{"photo_id":"1371629741","filename":"file0"},{"photo_id":"1371630209","filename":"file3"}],"portfolio_id":24815670,"hashtag_by_photo_ids":[{"1371629910":["hashtag1","hashtag2"]},{"1371630086":["hashtag1","hashtag2"]},{"1371629741":["hashtag1","hashtag2"]},{"1371630353":["hashtag1","hashtag2"]},{"1371630434":["hashtag1","hashtag2"]},{"1371630209":["hashtag1","hashtag2"]}],"comms":"Portfolio 24815670 used, photo_id : ArrayBuffer(1371629910, 1371630086, 1371629741, 1371630353, 1371630434, 1371630209)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 64.173832654953 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 18:01:03.808428
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/06/23/image_11072025_06_23_01_3737.jpg', 2), ('/home/pi/Desktop/images/11072025/06/22/image_11072025_06_22_01_7517.jpg', 2), ('/home/pi/Desktop/images/11072025/06/21/image_11072025_06_21_01_4547.jpg', 2), ('/home/pi/Desktop/images/11072025/06/20/image_11072025_06_20_01_9668.jpg', 2), ('/home/pi/Desktop/images/11072025/06/18/image_11072025_06_18_01_3430.jpg', 2), ('/home/pi/Desktop/images/11072025/06/17/image_11072025_06_17_01_9720.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/06/23/image_11072025_06_23_01_3737.jpg', '/home/pi/Desktop/images/11072025/06/22/image_11072025_06_22_01_7517.jpg', '/home/pi/Desktop/images/11072025/06/21/image_11072025_06_21_01_4547.jpg', '/home/pi/Desktop/images/11072025/06/20/image_11072025_06_20_01_9668.jpg', '/home/pi/Desktop/images/11072025/06/18/image_11072025_06_18_01_3430.jpg', '/home/pi/Desktop/images/11072025/06/17/image_11072025_06_17_01_9720.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/06/23/image_11072025_06_23_01_3737.jpg
/home/pi/Desktop/images/11072025/06/22/image_11072025_06_22_01_7517.jpg
/home/pi/Desktop/images/11072025/06/21/image_11072025_06_21_01_4547.jpg
/home/pi/Desktop/images/11072025/06/20/image_11072025_06_20_01_9668.jpg
/home/pi/Desktop/images/11072025/06/18/image_11072025_06_18_01_3430.jpg
/home/pi/Desktop/images/11072025/06/17/image_11072025_06_17_01_9720.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 4.347670793533325 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 18:02:03.039368
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/06/23/image_11072025_06_23_01_3737.jpg', 2), ('/home/pi/Desktop/images/11072025/06/22/image_11072025_06_22_01_7517.jpg', 2), ('/home/pi/Desktop/images/11072025/06/21/image_11072025_06_21_01_4547.jpg', 2), ('/home/pi/Desktop/images/11072025/06/20/image_11072025_06_20_01_9668.jpg', 2), ('/home/pi/Desktop/images/11072025/06/18/image_11072025_06_18_01_3430.jpg', 2), ('/home/pi/Desktop/images/11072025/06/17/image_11072025_06_17_01_9720.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/06/23/image_11072025_06_23_01_3737.jpg', '/home/pi/Desktop/images/11072025/06/22/image_11072025_06_22_01_7517.jpg', '/home/pi/Desktop/images/11072025/06/21/image_11072025_06_21_01_4547.jpg', '/home/pi/Desktop/images/11072025/06/20/image_11072025_06_20_01_9668.jpg', '/home/pi/Desktop/images/11072025/06/18/image_11072025_06_18_01_3430.jpg', '/home/pi/Desktop/images/11072025/06/17/image_11072025_06_17_01_9720.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/06/23/image_11072025_06_23_01_3737.jpg
/home/pi/Desktop/images/11072025/06/22/image_11072025_06_22_01_7517.jpg
/home/pi/Desktop/images/11072025/06/21/image_11072025_06_21_01_4547.jpg
/home/pi/Desktop/images/11072025/06/20/image_11072025_06_20_01_9668.jpg
/home/pi/Desktop/images/11072025/06/18/image_11072025_06_18_01_3430.jpg
/home/pi/Desktop/images/11072025/06/17/image_11072025_06_17_01_9720.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371631682","1371631625","1371631861","1371631879","1371631801","1371631740"],"photo_ids_order":["1371631625","1371631682","1371631740","1371631801","1371631861","1371631879"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/288e938c5a478724393c4d27d8d171d4.jpg","text":"TemporaryFile(/tmp/multipartBody7117003269303746459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752249786557,"filename":"image_11072025_06_22_01_7517.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/b86faa776c80b29d26b132153e103c92.jpg","text":"TemporaryFile(/tmp/multipartBody3448259032617062277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752249786557,"filename":"image_11072025_06_23_01_3737.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/5f003d7a0cb2f4095f7ef0f9c6efd44e.jpg","text":"TemporaryFile(/tmp/multipartBody7774594746763109630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752249786557,"filename":"image_11072025_06_18_01_3430.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/b8a9e1c7795c7ab1ee5aefaee54dc4ed.jpg","text":"TemporaryFile(/tmp/multipartBody6039335952702178225asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752249786557,"filename":"image_11072025_06_17_01_9720.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/8e32d96f4156b993b4fbf5da34372812.jpg","text":"TemporaryFile(/tmp/multipartBody5263577896354682207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752249786557,"filename":"image_11072025_06_20_01_9668.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/d20705ed7231fead8b33a4a6d1f98fe8.jpg","text":"TemporaryFile(/tmp/multipartBody47640111359856976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752249786557,"filename":"image_11072025_06_21_01_4547.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371631740","file1":"1371631682","file0":"1371631625","file4":"1371631861","file5":"1371631879","file3":"1371631801"},"map_files_photo_id_array":[{"photo_id":"1371631879","filename":"file5"},{"photo_id":"1371631740","filename":"file2"},{"photo_id":"1371631861","filename":"file4"},{"photo_id":"1371631682","filename":"file1"},{"photo_id":"1371631625","filename":"file0"},{"photo_id":"1371631801","filename":"file3"}],"portfolio_id":24815670,"hashtag_by_photo_ids":[{"1371631682":["hashtag1","hashtag2"]},{"1371631625":["hashtag1","hashtag2"]},{"1371631861":["hashtag1","hashtag2"]},{"1371631879":["hashtag1","hashtag2"]},{"1371631801":["hashtag1","hashtag2"]},{"1371631740":["hashtag1","hashtag2"]}],"comms":"Portfolio 24815670 used, photo_id : ArrayBuffer(1371631682, 1371631625, 1371631861, 1371631879, 1371631801, 1371631740)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 59.985989809036255 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 18:04:03.233641
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/06/16/image_11072025_06_16_02_1198.jpg', 2), ('/home/pi/Desktop/images/11072025/06/15/image_11072025_06_15_01_8031.jpg', 2), ('/home/pi/Desktop/images/11072025/06/14/image_11072025_06_14_01_7549.jpg', 2), ('/home/pi/Desktop/images/11072025/06/12/image_11072025_06_12_01_5634.jpg', 2), ('/home/pi/Desktop/images/11072025/06/11/image_11072025_06_11_02_0017.jpg', 2), ('/home/pi/Desktop/images/11072025/06/09/image_11072025_06_09_02_1532.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/06/16/image_11072025_06_16_02_1198.jpg', '/home/pi/Desktop/images/11072025/06/15/image_11072025_06_15_01_8031.jpg', '/home/pi/Desktop/images/11072025/06/14/image_11072025_06_14_01_7549.jpg', '/home/pi/Desktop/images/11072025/06/12/image_11072025_06_12_01_5634.jpg', '/home/pi/Desktop/images/11072025/06/11/image_11072025_06_11_02_0017.jpg', '/home/pi/Desktop/images/11072025/06/09/image_11072025_06_09_02_1532.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/06/16/image_11072025_06_16_02_1198.jpg
/home/pi/Desktop/images/11072025/06/15/image_11072025_06_15_01_8031.jpg
/home/pi/Desktop/images/11072025/06/14/image_11072025_06_14_01_7549.jpg
/home/pi/Desktop/images/11072025/06/12/image_11072025_06_12_01_5634.jpg
/home/pi/Desktop/images/11072025/06/11/image_11072025_06_11_02_0017.jpg
/home/pi/Desktop/images/11072025/06/09/image_11072025_06_09_02_1532.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371632189","1371632140","1371632164","1371632143","1371632178","1371632151"],"photo_ids_order":["1371632140","1371632143","1371632151","1371632164","1371632178","1371632189"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/a3fad960283bde808a63fc64a76702d6.jpg","text":"TemporaryFile(/tmp/multipartBody5137485672842955491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752249907751,"filename":"image_11072025_06_09_02_1532.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/3f801e42ecbcb140ac8312ba7db487c9.jpg","text":"TemporaryFile(/tmp/multipartBody4668172148372057885asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752249907751,"filename":"image_11072025_06_16_02_1198.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/fba1b36bbe899f90fb03fd7149646335.jpg","text":"TemporaryFile(/tmp/multipartBody4016659615868868023asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752249907751,"filename":"image_11072025_06_12_01_5634.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/85c71503e0ae3a7f74f2c375da3ea064.jpg","text":"TemporaryFile(/tmp/multipartBody8211120247160922334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752249907751,"filename":"image_11072025_06_15_01_8031.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/72bd20073451440aec443553142bb2ea.jpg","text":"TemporaryFile(/tmp/multipartBody1519691476853856232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752249907751,"filename":"image_11072025_06_11_02_0017.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/fbad23d20299a4a6c2ed5c563aa0856e.jpg","text":"TemporaryFile(/tmp/multipartBody8328929866692887630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752249907751,"filename":"image_11072025_06_14_01_7549.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371632151","file1":"1371632143","file0":"1371632140","file4":"1371632178","file5":"1371632189","file3":"1371632164"},"map_files_photo_id_array":[{"photo_id":"1371632189","filename":"file5"},{"photo_id":"1371632151","filename":"file2"},{"photo_id":"1371632178","filename":"file4"},{"photo_id":"1371632143","filename":"file1"},{"photo_id":"1371632140","filename":"file0"},{"photo_id":"1371632164","filename":"file3"}],"portfolio_id":24815670,"hashtag_by_photo_ids":[{"1371632189":["hashtag1","hashtag2"]},{"1371632140":["hashtag1","hashtag2"]},{"1371632164":["hashtag1","hashtag2"]},{"1371632143":["hashtag1","hashtag2"]},{"1371632178":["hashtag1","hashtag2"]},{"1371632151":["hashtag1","hashtag2"]}],"comms":"Portfolio 24815670 used, photo_id : ArrayBuffer(1371632189, 1371632140, 1371632164, 1371632143, 1371632178, 1371632151)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.50019335746765 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 18:05:04.091500
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/06/08/image_11072025_06_08_01_6483.jpg', 2), ('/home/pi/Desktop/images/11072025/06/07/image_11072025_06_07_01_6873.jpg', 2), ('/home/pi/Desktop/images/11072025/06/06/image_11072025_06_06_01_5292.jpg', 2), ('/home/pi/Desktop/images/11072025/06/05/image_11072025_06_05_02_2106.jpg', 2), ('/home/pi/Desktop/images/11072025/06/04/image_11072025_06_04_02_0003.jpg', 2), ('/home/pi/Desktop/images/11072025/06/03/image_11072025_06_03_01_8105.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/06/08/image_11072025_06_08_01_6483.jpg', '/home/pi/Desktop/images/11072025/06/07/image_11072025_06_07_01_6873.jpg', '/home/pi/Desktop/images/11072025/06/06/image_11072025_06_06_01_5292.jpg', '/home/pi/Desktop/images/11072025/06/05/image_11072025_06_05_02_2106.jpg', '/home/pi/Desktop/images/11072025/06/04/image_11072025_06_04_02_0003.jpg', '/home/pi/Desktop/images/11072025/06/03/image_11072025_06_03_01_8105.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/06/08/image_11072025_06_08_01_6483.jpg
/home/pi/Desktop/images/11072025/06/07/image_11072025_06_07_01_6873.jpg
/home/pi/Desktop/images/11072025/06/06/image_11072025_06_06_01_5292.jpg
/home/pi/Desktop/images/11072025/06/05/image_11072025_06_05_02_2106.jpg
/home/pi/Desktop/images/11072025/06/04/image_11072025_06_04_02_0003.jpg
/home/pi/Desktop/images/11072025/06/03/image_11072025_06_03_01_8105.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371632255","1371632222","1371632234","1371632272","1371632227","1371632244"],"photo_ids_order":["1371632222","1371632227","1371632234","1371632244","1371632255","1371632272"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/47a8cb052b6d5aca69470421297b19c3.jpg","text":"TemporaryFile(/tmp/multipartBody903001031734502504asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752249968667,"filename":"image_11072025_06_04_02_0003.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/f57d2f0c70e4e912dfbe5c0029c17e01.jpg","text":"TemporaryFile(/tmp/multipartBody622673565081961666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752249968667,"filename":"image_11072025_06_08_01_6483.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/298597817967e9e2b709cf9940bf563e.jpg","text":"TemporaryFile(/tmp/multipartBody6776619589040519056asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752249968667,"filename":"image_11072025_06_06_01_5292.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/e911828ddaa895f327b65b9754b967ea.jpg","text":"TemporaryFile(/tmp/multipartBody7459481629440039127asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752249968667,"filename":"image_11072025_06_03_01_8105.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/301e80c7f0713c58335d444199197891.jpg","text":"TemporaryFile(/tmp/multipartBody1950335517030876727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752249968667,"filename":"image_11072025_06_07_01_6873.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/f3bc6fadcca243e60b1d8e2d203d5f64.jpg","text":"TemporaryFile(/tmp/multipartBody7499356411839606443asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752249968667,"filename":"image_11072025_06_05_02_2106.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371632234","file1":"1371632227","file0":"1371632222","file4":"1371632255","file5":"1371632272","file3":"1371632244"},"map_files_photo_id_array":[{"photo_id":"1371632272","filename":"file5"},{"photo_id":"1371632234","filename":"file2"},{"photo_id":"1371632255","filename":"file4"},{"photo_id":"1371632227","filename":"file1"},{"photo_id":"1371632222","filename":"file0"},{"photo_id":"1371632244","filename":"file3"}],"portfolio_id":24815670,"hashtag_by_photo_ids":[{"1371632255":["hashtag1","hashtag2"]},{"1371632222":["hashtag1","hashtag2"]},{"1371632234":["hashtag1","hashtag2"]},{"1371632272":["hashtag1","hashtag2"]},{"1371632227":["hashtag1","hashtag2"]},{"1371632244":["hashtag1","hashtag2"]}],"comms":"Portfolio 24815670 used, photo_id : ArrayBuffer(1371632255, 1371632222, 1371632234, 1371632272, 1371632227, 1371632244)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 59.29319620132446 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 18:07:03.020189
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/06/02/image_11072025_06_02_01_8018.jpg', 2), ('/home/pi/Desktop/images/11072025/06/01/image_11072025_06_01_02_0436.jpg', 2), ('/home/pi/Desktop/images/11072025/05/59/image_11072025_05_59_02_2275.jpg', 2), ('/home/pi/Desktop/images/11072025/05/58/image_11072025_05_58_01_3688.jpg', 2), ('/home/pi/Desktop/images/11072025/05/56/image_11072025_05_56_01_9175.jpg', 2), ('/home/pi/Desktop/images/11072025/05/55/image_11072025_05_55_01_4133.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/06/02/image_11072025_06_02_01_8018.jpg', '/home/pi/Desktop/images/11072025/06/01/image_11072025_06_01_02_0436.jpg', '/home/pi/Desktop/images/11072025/05/59/image_11072025_05_59_02_2275.jpg', '/home/pi/Desktop/images/11072025/05/58/image_11072025_05_58_01_3688.jpg', '/home/pi/Desktop/images/11072025/05/56/image_11072025_05_56_01_9175.jpg', '/home/pi/Desktop/images/11072025/05/55/image_11072025_05_55_01_4133.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/06/02/image_11072025_06_02_01_8018.jpg
/home/pi/Desktop/images/11072025/06/01/image_11072025_06_01_02_0436.jpg
/home/pi/Desktop/images/11072025/05/59/image_11072025_05_59_02_2275.jpg
/home/pi/Desktop/images/11072025/05/58/image_11072025_05_58_01_3688.jpg
/home/pi/Desktop/images/11072025/05/56/image_11072025_05_56_01_9175.jpg
/home/pi/Desktop/images/11072025/05/55/image_11072025_05_55_01_4133.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371632468","1371632444","1371632431","1371632410","1371632388","1371632439"],"photo_ids_order":["1371632388","1371632410","1371632431","1371632439","1371632444","1371632468"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/c82a58e3a9d32838c18f6a68b58309d9.jpg","text":"TemporaryFile(/tmp/multipartBody4070825583105662307asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752250087433,"filename":"image_11072025_05_55_01_4133.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/7a299e80d02784078b3c15342717ab5b.jpg","text":"TemporaryFile(/tmp/multipartBody4396738674016862071asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752250087433,"filename":"image_11072025_05_56_01_9175.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/15912f19ab36569f886f0ed59cfaf69e.jpg","text":"TemporaryFile(/tmp/multipartBody9049688418360265111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752250087433,"filename":"image_11072025_05_59_02_2275.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/7ded4ddd6d6324426ba1876d7457689c.jpg","text":"TemporaryFile(/tmp/multipartBody5143856136227364495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752250087433,"filename":"image_11072025_06_01_02_0436.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/f78d54f9a3de5cfba08d05eeed86987a.jpg","text":"TemporaryFile(/tmp/multipartBody6115205926052112588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752250087433,"filename":"image_11072025_06_02_01_8018.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/4b68334cdde43a64fdaa5b50a4f9f019.jpg","text":"TemporaryFile(/tmp/multipartBody4469392279285150353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752250087433,"filename":"image_11072025_05_58_01_3688.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371632431","file1":"1371632410","file0":"1371632388","file4":"1371632444","file5":"1371632468","file3":"1371632439"},"map_files_photo_id_array":[{"photo_id":"1371632468","filename":"file5"},{"photo_id":"1371632431","filename":"file2"},{"photo_id":"1371632444","filename":"file4"},{"photo_id":"1371632410","filename":"file1"},{"photo_id":"1371632388","filename":"file0"},{"photo_id":"1371632439","filename":"file3"}],"portfolio_id":24815670,"hashtag_by_photo_ids":[{"1371632468":["hashtag1","hashtag2"]},{"1371632444":["hashtag1","hashtag2"]},{"1371632431":["hashtag1","hashtag2"]},{"1371632410":["hashtag1","hashtag2"]},{"1371632388":["hashtag1","hashtag2"]},{"1371632439":["hashtag1","hashtag2"]}],"comms":"Portfolio 24815670 used, photo_id : ArrayBuffer(1371632468, 1371632444, 1371632431, 1371632410, 1371632388, 1371632439)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 59.229785203933716 secondes ---
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 18:09:03.594328
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/05/54/image_11072025_05_54_02_1678.jpg', 2), ('/home/pi/Desktop/images/11072025/05/53/image_11072025_05_53_01_5037.jpg', 2), ('/home/pi/Desktop/images/11072025/05/51/image_11072025_05_51_01_5673.jpg', 2), ('/home/pi/Desktop/images/11072025/05/48/image_11072025_05_48_02_0647.jpg', 2), ('/home/pi/Desktop/images/11072025/05/47/image_11072025_05_47_01_5343.jpg', 2), ('/home/pi/Desktop/images/11072025/05/46/image_11072025_05_46_01_9334.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/05/54/image_11072025_05_54_02_1678.jpg', '/home/pi/Desktop/images/11072025/05/53/image_11072025_05_53_01_5037.jpg', '/home/pi/Desktop/images/11072025/05/51/image_11072025_05_51_01_5673.jpg', '/home/pi/Desktop/images/11072025/05/48/image_11072025_05_48_02_0647.jpg', '/home/pi/Desktop/images/11072025/05/47/image_11072025_05_47_01_5343.jpg', '/home/pi/Desktop/images/11072025/05/46/image_11072025_05_46_01_9334.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/05/54/image_11072025_05_54_02_1678.jpg
/home/pi/Desktop/images/11072025/05/53/image_11072025_05_53_01_5037.jpg
/home/pi/Desktop/images/11072025/05/51/image_11072025_05_51_01_5673.jpg
/home/pi/Desktop/images/11072025/05/48/image_11072025_05_48_02_0647.jpg
/home/pi/Desktop/images/11072025/05/47/image_11072025_05_47_01_5343.jpg
/home/pi/Desktop/images/11072025/05/46/image_11072025_05_46_01_9334.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371632573","1371632560","1371632677","1371632611","1371632554","1371632586"],"photo_ids_order":["1371632554","1371632560","1371632573","1371632586","1371632611","1371632677"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/15d06943b3c39b3d399544a0b72d5642.jpg","text":"TemporaryFile(/tmp/multipartBody7468763910067897417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752250207730,"filename":"image_11072025_05_51_01_5673.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/7c77b8de46d0ec5cc68e11047270961c.jpg","text":"TemporaryFile(/tmp/multipartBody6172787195658032998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752250207730,"filename":"image_11072025_05_53_01_5037.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/529d801c536b0fd9e181ffe4194107b5.jpg","text":"TemporaryFile(/tmp/multipartBody8880454068015875935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752250207730,"filename":"image_11072025_05_46_01_9334.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/f70d34d57a71ea5561363db095bca544.jpg","text":"TemporaryFile(/tmp/multipartBody7520833904812354401asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752250207730,"filename":"image_11072025_05_47_01_5343.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/178d97911e94cbc5248cb5992bea7024.jpg","text":"TemporaryFile(/tmp/multipartBody6224257799095614004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752250207730,"filename":"image_11072025_05_54_02_1678.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/f6675443bc2bd8a8cdbd67c7adc8e040.jpg","text":"TemporaryFile(/tmp/multipartBody3770228552160487025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752250207730,"filename":"image_11072025_05_48_02_0647.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371632573","file1":"1371632560","file0":"1371632554","file4":"1371632611","file5":"1371632677","file3":"1371632586"},"map_files_photo_id_array":[{"photo_id":"1371632677","filename":"file5"},{"photo_id":"1371632573","filename":"file2"},{"photo_id":"1371632611","filename":"file4"},{"photo_id":"1371632560","filename":"file1"},{"photo_id":"1371632554","filename":"file0"},{"photo_id":"1371632586","filename":"file3"}],"portfolio_id":24815670,"hashtag_by_photo_ids":[{"1371632573":["hashtag1","hashtag2"]},{"1371632560":["hashtag1","hashtag2"]},{"1371632677":["hashtag1","hashtag2"]},{"1371632611":["hashtag1","hashtag2"]},{"1371632554":["hashtag1","hashtag2"]},{"1371632586":["hashtag1","hashtag2"]}],"comms":"Portfolio 24815670 used, photo_id : ArrayBuffer(1371632573, 1371632560, 1371632677, 1371632611, 1371632554, 1371632586)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 60.66746950149536 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 18:11:03.944333
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/05/45/image_11072025_05_45_01_3926.jpg', 2), ('/home/pi/Desktop/images/11072025/05/44/image_11072025_05_44_02_0042.jpg', 2), ('/home/pi/Desktop/images/11072025/05/43/image_11072025_05_43_01_7790.jpg', 2), ('/home/pi/Desktop/images/11072025/05/42/image_11072025_05_42_02_0894.jpg', 2), ('/home/pi/Desktop/images/11072025/05/41/image_11072025_05_41_01_9433.jpg', 2), ('/home/pi/Desktop/images/11072025/05/40/image_11072025_05_40_02_0584.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/05/45/image_11072025_05_45_01_3926.jpg', '/home/pi/Desktop/images/11072025/05/44/image_11072025_05_44_02_0042.jpg', '/home/pi/Desktop/images/11072025/05/43/image_11072025_05_43_01_7790.jpg', '/home/pi/Desktop/images/11072025/05/42/image_11072025_05_42_02_0894.jpg', '/home/pi/Desktop/images/11072025/05/41/image_11072025_05_41_01_9433.jpg', '/home/pi/Desktop/images/11072025/05/40/image_11072025_05_40_02_0584.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/05/45/image_11072025_05_45_01_3926.jpg
/home/pi/Desktop/images/11072025/05/44/image_11072025_05_44_02_0042.jpg
/home/pi/Desktop/images/11072025/05/43/image_11072025_05_43_01_7790.jpg
/home/pi/Desktop/images/11072025/05/42/image_11072025_05_42_02_0894.jpg
/home/pi/Desktop/images/11072025/05/41/image_11072025_05_41_01_9433.jpg
/home/pi/Desktop/images/11072025/05/40/image_11072025_05_40_02_0584.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371632972","1371632981","1371632794","1371632926","1371632856","1371632990"],"photo_ids_order":["1371632794","1371632856","1371632926","1371632972","1371632981","1371632990"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/597aa932695bcef16c22587ba3fadfaf.jpg","text":"TemporaryFile(/tmp/multipartBody8449359598425878542asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752250328175,"filename":"image_11072025_05_42_02_0894.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/fffaaae5d5674d18870f5c2776125781.jpg","text":"TemporaryFile(/tmp/multipartBody4329701708217356591asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752250328175,"filename":"image_11072025_05_41_01_9433.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/d01e449997aae6a87aa11c19c01a6aef.jpg","text":"TemporaryFile(/tmp/multipartBody3764361763986735723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752250328175,"filename":"image_11072025_05_45_01_3926.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/21287543d5727d096c3218005132dc95.jpg","text":"TemporaryFile(/tmp/multipartBody8884651566522341180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752250328175,"filename":"image_11072025_05_43_01_7790.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/a68fdadde5195337828c0cb0ca2c496e.jpg","text":"TemporaryFile(/tmp/multipartBody5655388789930314731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752250328175,"filename":"image_11072025_05_44_02_0042.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/d8b2d4d8b43a3cf33b7870a3749550e0.jpg","text":"TemporaryFile(/tmp/multipartBody2621070865494474229asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752250328175,"filename":"image_11072025_05_40_02_0584.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371632926","file1":"1371632856","file0":"1371632794","file4":"1371632981","file5":"1371632990","file3":"1371632972"},"map_files_photo_id_array":[{"photo_id":"1371632990","filename":"file5"},{"photo_id":"1371632926","filename":"file2"},{"photo_id":"1371632981","filename":"file4"},{"photo_id":"1371632856","filename":"file1"},{"photo_id":"1371632794","filename":"file0"},{"photo_id":"1371632972","filename":"file3"}],"portfolio_id":24815670,"hashtag_by_photo_ids":[{"1371632972":["hashtag1","hashtag2"]},{"1371632981":["hashtag1","hashtag2"]},{"1371632794":["hashtag1","hashtag2"]},{"1371632926":["hashtag1","hashtag2"]},{"1371632856":["hashtag1","hashtag2"]},{"1371632990":["hashtag1","hashtag2"]}],"comms":"Portfolio 24815670 used, photo_id : ArrayBuffer(1371632972, 1371632981, 1371632794, 1371632926, 1371632856, 1371632990)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 61.457011222839355 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 18:13:03.323198
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/05/39/image_11072025_05_39_01_4270.jpg', 2), ('/home/pi/Desktop/images/11072025/05/38/image_11072025_05_38_01_6803.jpg', 2), ('/home/pi/Desktop/images/11072025/05/37/image_11072025_05_37_01_5928.jpg', 2), ('/home/pi/Desktop/images/11072025/05/36/image_11072025_05_36_02_1529.jpg', 2), ('/home/pi/Desktop/images/11072025/05/33/image_11072025_05_33_01_8412.jpg', 2), ('/home/pi/Desktop/images/11072025/05/32/image_11072025_05_32_01_5654.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/05/39/image_11072025_05_39_01_4270.jpg', '/home/pi/Desktop/images/11072025/05/38/image_11072025_05_38_01_6803.jpg', '/home/pi/Desktop/images/11072025/05/37/image_11072025_05_37_01_5928.jpg', '/home/pi/Desktop/images/11072025/05/36/image_11072025_05_36_02_1529.jpg', '/home/pi/Desktop/images/11072025/05/33/image_11072025_05_33_01_8412.jpg', '/home/pi/Desktop/images/11072025/05/32/image_11072025_05_32_01_5654.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/05/39/image_11072025_05_39_01_4270.jpg
/home/pi/Desktop/images/11072025/05/38/image_11072025_05_38_01_6803.jpg
/home/pi/Desktop/images/11072025/05/37/image_11072025_05_37_01_5928.jpg
/home/pi/Desktop/images/11072025/05/36/image_11072025_05_36_02_1529.jpg
/home/pi/Desktop/images/11072025/05/33/image_11072025_05_33_01_8412.jpg
/home/pi/Desktop/images/11072025/05/32/image_11072025_05_32_01_5654.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371633143","1371633175","1371633211","1371633148","1371633118","1371633201"],"photo_ids_order":["1371633118","1371633143","1371633148","1371633175","1371633201","1371633211"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/18c9d002343b0250ef4ea1aa97b56a24.jpg","text":"TemporaryFile(/tmp/multipartBody7030623369283908122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752250447554,"filename":"image_11072025_05_38_01_6803.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/8d3116e0affd9f69a16227ed1540f336.jpg","text":"TemporaryFile(/tmp/multipartBody8829004601087575829asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752250447554,"filename":"image_11072025_05_36_02_1529.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/0113e1fe715639795a3de69129fc8c1a.jpg","text":"TemporaryFile(/tmp/multipartBody7654318044735719719asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752250447554,"filename":"image_11072025_05_32_01_5654.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/1fea0ca84107fe96eab8b21a354376ec.jpg","text":"TemporaryFile(/tmp/multipartBody3962261572906857845asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752250447554,"filename":"image_11072025_05_37_01_5928.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/db433fae00bd697d0dd574140e596d32.jpg","text":"TemporaryFile(/tmp/multipartBody2294128026557298664asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752250447554,"filename":"image_11072025_05_39_01_4270.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/9d5166db8d25879bba3bc5b9471cb839.jpg","text":"TemporaryFile(/tmp/multipartBody6581163212559014442asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752250447554,"filename":"image_11072025_05_33_01_8412.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371633148","file1":"1371633143","file0":"1371633118","file4":"1371633201","file5":"1371633211","file3":"1371633175"},"map_files_photo_id_array":[{"photo_id":"1371633211","filename":"file5"},{"photo_id":"1371633148","filename":"file2"},{"photo_id":"1371633201","filename":"file4"},{"photo_id":"1371633143","filename":"file1"},{"photo_id":"1371633118","filename":"file0"},{"photo_id":"1371633175","filename":"file3"}],"portfolio_id":24815670,"hashtag_by_photo_ids":[{"1371633143":["hashtag1","hashtag2"]},{"1371633175":["hashtag1","hashtag2"]},{"1371633211":["hashtag1","hashtag2"]},{"1371633148":["hashtag1","hashtag2"]},{"1371633118":["hashtag1","hashtag2"]},{"1371633201":["hashtag1","hashtag2"]}],"comms":"Portfolio 24815670 used, photo_id : ArrayBuffer(1371633143, 1371633175, 1371633211, 1371633148, 1371633118, 1371633201)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 63.91364789009094 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 18:15:03.613736
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/05/31/image_11072025_05_31_01_6003.jpg', 2), ('/home/pi/Desktop/images/11072025/05/30/image_11072025_05_30_01_8185.jpg', 2), ('/home/pi/Desktop/images/11072025/05/29/image_11072025_05_29_02_0934.jpg', 2), ('/home/pi/Desktop/images/11072025/05/28/image_11072025_05_28_01_8465.jpg', 2), ('/home/pi/Desktop/images/11072025/05/27/image_11072025_05_27_01_6635.jpg', 2), ('/home/pi/Desktop/images/11072025/05/26/image_11072025_05_26_01_8988.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/05/31/image_11072025_05_31_01_6003.jpg', '/home/pi/Desktop/images/11072025/05/30/image_11072025_05_30_01_8185.jpg', '/home/pi/Desktop/images/11072025/05/29/image_11072025_05_29_02_0934.jpg', '/home/pi/Desktop/images/11072025/05/28/image_11072025_05_28_01_8465.jpg', '/home/pi/Desktop/images/11072025/05/27/image_11072025_05_27_01_6635.jpg', '/home/pi/Desktop/images/11072025/05/26/image_11072025_05_26_01_8988.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/05/31/image_11072025_05_31_01_6003.jpg
/home/pi/Desktop/images/11072025/05/30/image_11072025_05_30_01_8185.jpg
/home/pi/Desktop/images/11072025/05/29/image_11072025_05_29_02_0934.jpg
/home/pi/Desktop/images/11072025/05/28/image_11072025_05_28_01_8465.jpg
/home/pi/Desktop/images/11072025/05/27/image_11072025_05_27_01_6635.jpg
/home/pi/Desktop/images/11072025/05/26/image_11072025_05_26_01_8988.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371633332","1371633311","1371633343","1371633297","1371633321","1371633287"],"photo_ids_order":["1371633287","1371633297","1371633311","1371633321","1371633332","1371633343"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/967b0cc20e1335131f70315de1cb53bf.jpg","text":"TemporaryFile(/tmp/multipartBody387704587199053195asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752250568040,"filename":"image_11072025_05_27_01_6635.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/c7793658916628a08f6dc4ba80b23798.jpg","text":"TemporaryFile(/tmp/multipartBody3493001953632566586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752250568040,"filename":"image_11072025_05_29_02_0934.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/6a10638b40f5ec59a4ce45399280b865.jpg","text":"TemporaryFile(/tmp/multipartBody3628170641689031906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752250568040,"filename":"image_11072025_05_26_01_8988.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/0b659fba21982a3460907102869bf546.jpg","text":"TemporaryFile(/tmp/multipartBody62566773968804489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752250568040,"filename":"image_11072025_05_30_01_8185.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/12d5a9b8231095533e3f46bcf694e69d.jpg","text":"TemporaryFile(/tmp/multipartBody4197716100299835382asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752250568040,"filename":"image_11072025_05_28_01_8465.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/db59d900a8dcbdc82902020bb7431fe8.jpg","text":"TemporaryFile(/tmp/multipartBody6059456569573165516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752250568040,"filename":"image_11072025_05_31_01_6003.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371633311","file1":"1371633297","file0":"1371633287","file4":"1371633332","file5":"1371633343","file3":"1371633321"},"map_files_photo_id_array":[{"photo_id":"1371633343","filename":"file5"},{"photo_id":"1371633311","filename":"file2"},{"photo_id":"1371633332","filename":"file4"},{"photo_id":"1371633297","filename":"file1"},{"photo_id":"1371633287","filename":"file0"},{"photo_id":"1371633321","filename":"file3"}],"portfolio_id":24815670,"hashtag_by_photo_ids":[{"1371633332":["hashtag1","hashtag2"]},{"1371633311":["hashtag1","hashtag2"]},{"1371633343":["hashtag1","hashtag2"]},{"1371633297":["hashtag1","hashtag2"]},{"1371633321":["hashtag1","hashtag2"]},{"1371633287":["hashtag1","hashtag2"]}],"comms":"Portfolio 24815670 used, photo_id : ArrayBuffer(1371633332, 1371633311, 1371633343, 1371633297, 1371633321, 1371633287)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 64.98218774795532 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 18:17:03.863760
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/05/25/image_11072025_05_25_01_5426.jpg', 2), ('/home/pi/Desktop/images/11072025/05/24/image_11072025_05_24_01_5427.jpg', 2), ('/home/pi/Desktop/images/11072025/05/23/image_11072025_05_23_01_7645.jpg', 2), ('/home/pi/Desktop/images/11072025/05/22/image_11072025_05_22_02_2692.jpg', 2), ('/home/pi/Desktop/images/11072025/05/21/image_11072025_05_21_01_8854.jpg', 2), ('/home/pi/Desktop/images/11072025/05/19/image_11072025_05_19_01_4353.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/05/25/image_11072025_05_25_01_5426.jpg', '/home/pi/Desktop/images/11072025/05/24/image_11072025_05_24_01_5427.jpg', '/home/pi/Desktop/images/11072025/05/23/image_11072025_05_23_01_7645.jpg', '/home/pi/Desktop/images/11072025/05/22/image_11072025_05_22_02_2692.jpg', '/home/pi/Desktop/images/11072025/05/21/image_11072025_05_21_01_8854.jpg', '/home/pi/Desktop/images/11072025/05/19/image_11072025_05_19_01_4353.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/05/25/image_11072025_05_25_01_5426.jpg
/home/pi/Desktop/images/11072025/05/24/image_11072025_05_24_01_5427.jpg
/home/pi/Desktop/images/11072025/05/23/image_11072025_05_23_01_7645.jpg
/home/pi/Desktop/images/11072025/05/22/image_11072025_05_22_02_2692.jpg
/home/pi/Desktop/images/11072025/05/21/image_11072025_05_21_01_8854.jpg
/home/pi/Desktop/images/11072025/05/19/image_11072025_05_19_01_4353.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371633815","1371633766","1371633730","1371633747","1371633714","1371633723"],"photo_ids_order":["1371633714","1371633723","1371633730","1371633747","1371633766","1371633815"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/be6dbae33c04ca00b33181fa3c9ce2e4.jpg","text":"TemporaryFile(/tmp/multipartBody7491090744935465107asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752250688336,"filename":"image_11072025_05_19_01_4353.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/69547266fcb68012ed7724826ede2782.jpg","text":"TemporaryFile(/tmp/multipartBody8775294594536945016asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752250688336,"filename":"image_11072025_05_21_01_8854.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/96798e855feb9b2e1f1026e710727a87.jpg","text":"TemporaryFile(/tmp/multipartBody7329461197434770753asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752250688336,"filename":"image_11072025_05_23_01_7645.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/ea9637dc064830426395254003d47a2c.jpg","text":"TemporaryFile(/tmp/multipartBody4145375332506660969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752250688336,"filename":"image_11072025_05_22_02_2692.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/3ebb79cf820a1b706a5f1781750a00bb.jpg","text":"TemporaryFile(/tmp/multipartBody5585436627203368505asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752250688336,"filename":"image_11072025_05_25_01_5426.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/c48273074abe318b74539f852c830ea1.jpg","text":"TemporaryFile(/tmp/multipartBody2708522263051535027asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752250688336,"filename":"image_11072025_05_24_01_5427.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371633730","file1":"1371633723","file0":"1371633714","file4":"1371633766","file5":"1371633815","file3":"1371633747"},"map_files_photo_id_array":[{"photo_id":"1371633815","filename":"file5"},{"photo_id":"1371633730","filename":"file2"},{"photo_id":"1371633766","filename":"file4"},{"photo_id":"1371633723","filename":"file1"},{"photo_id":"1371633714","filename":"file0"},{"photo_id":"1371633747","filename":"file3"}],"portfolio_id":24815670,"hashtag_by_photo_ids":[{"1371633815":["hashtag1","hashtag2"]},{"1371633766":["hashtag1","hashtag2"]},{"1371633730":["hashtag1","hashtag2"]},{"1371633747":["hashtag1","hashtag2"]},{"1371633714":["hashtag1","hashtag2"]},{"1371633723":["hashtag1","hashtag2"]}],"comms":"Portfolio 24815670 used, photo_id : ArrayBuffer(1371633815, 1371633766, 1371633730, 1371633747, 1371633714, 1371633723)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 61.803576707839966 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 18:19:03.985613
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/05/17/image_11072025_05_17_01_6297.jpg', 2), ('/home/pi/Desktop/images/11072025/05/16/image_11072025_05_16_02_0779.jpg', 2), ('/home/pi/Desktop/images/11072025/05/15/image_11072025_05_15_01_8816.jpg', 2), ('/home/pi/Desktop/images/11072025/05/14/image_11072025_05_14_01_8839.jpg', 2), ('/home/pi/Desktop/images/11072025/05/13/image_11072025_05_13_01_5426.jpg', 2), ('/home/pi/Desktop/images/11072025/05/12/image_11072025_05_12_01_9384.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/05/17/image_11072025_05_17_01_6297.jpg', '/home/pi/Desktop/images/11072025/05/16/image_11072025_05_16_02_0779.jpg', '/home/pi/Desktop/images/11072025/05/15/image_11072025_05_15_01_8816.jpg', '/home/pi/Desktop/images/11072025/05/14/image_11072025_05_14_01_8839.jpg', '/home/pi/Desktop/images/11072025/05/13/image_11072025_05_13_01_5426.jpg', '/home/pi/Desktop/images/11072025/05/12/image_11072025_05_12_01_9384.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/05/17/image_11072025_05_17_01_6297.jpg
/home/pi/Desktop/images/11072025/05/16/image_11072025_05_16_02_0779.jpg
/home/pi/Desktop/images/11072025/05/15/image_11072025_05_15_01_8816.jpg
/home/pi/Desktop/images/11072025/05/14/image_11072025_05_14_01_8839.jpg
/home/pi/Desktop/images/11072025/05/13/image_11072025_05_13_01_5426.jpg
/home/pi/Desktop/images/11072025/05/12/image_11072025_05_12_01_9384.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371634218","1371634289","1371634166","1371634451","1371634532","1371634349"],"photo_ids_order":["1371634166","1371634218","1371634289","1371634349","1371634451","1371634532"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/e4a1dffbe8919585525d17d032be00be.jpg","text":"TemporaryFile(/tmp/multipartBody595270107389352347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752250808417,"filename":"image_11072025_05_16_02_0779.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/eafbb6196f2c36c9708ab3e6d6d03374.jpg","text":"TemporaryFile(/tmp/multipartBody7629983653863248333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752250808417,"filename":"image_11072025_05_15_01_8816.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/863ace9eaab5594db68295ee25f6ff9d.jpg","text":"TemporaryFile(/tmp/multipartBody3629517563455516952asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752250808417,"filename":"image_11072025_05_17_01_6297.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/7b15b4fd5d5a2572554496f8e6160237.jpg","text":"TemporaryFile(/tmp/multipartBody650450161398779770asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752250808417,"filename":"image_11072025_05_13_01_5426.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/1ad5e513e615b5e5d7a9bb2da901df74.jpg","text":"TemporaryFile(/tmp/multipartBody6586066574024637775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752250808417,"filename":"image_11072025_05_12_01_9384.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/76c2b41615b6c906486026a762ea6f16.jpg","text":"TemporaryFile(/tmp/multipartBody6045707474917142621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752250808417,"filename":"image_11072025_05_14_01_8839.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371634289","file1":"1371634218","file0":"1371634166","file4":"1371634451","file5":"1371634532","file3":"1371634349"},"map_files_photo_id_array":[{"photo_id":"1371634532","filename":"file5"},{"photo_id":"1371634289","filename":"file2"},{"photo_id":"1371634451","filename":"file4"},{"photo_id":"1371634218","filename":"file1"},{"photo_id":"1371634166","filename":"file0"},{"photo_id":"1371634349","filename":"file3"}],"portfolio_id":24815670,"hashtag_by_photo_ids":[{"1371634218":["hashtag1","hashtag2"]},{"1371634289":["hashtag1","hashtag2"]},{"1371634166":["hashtag1","hashtag2"]},{"1371634451":["hashtag1","hashtag2"]},{"1371634532":["hashtag1","hashtag2"]},{"1371634349":["hashtag1","hashtag2"]}],"comms":"Portfolio 24815670 used, photo_id : ArrayBuffer(1371634218, 1371634289, 1371634166, 1371634451, 1371634532, 1371634349)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 63.21046209335327 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 18:21:03.539211
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/05/10/image_11072025_05_10_02_0578.jpg', 2), ('/home/pi/Desktop/images/11072025/05/07/image_11072025_05_07_02_2767.jpg', 2), ('/home/pi/Desktop/images/11072025/05/06/image_11072025_05_06_01_9435.jpg', 2), ('/home/pi/Desktop/images/11072025/05/05/image_11072025_05_05_01_4561.jpg', 2), ('/home/pi/Desktop/images/11072025/04/54/image_11072025_04_54_01_7226.jpg', 2), ('/home/pi/Desktop/images/11072025/04/53/image_11072025_04_53_01_8452.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/05/10/image_11072025_05_10_02_0578.jpg', '/home/pi/Desktop/images/11072025/05/07/image_11072025_05_07_02_2767.jpg', '/home/pi/Desktop/images/11072025/05/06/image_11072025_05_06_01_9435.jpg', '/home/pi/Desktop/images/11072025/05/05/image_11072025_05_05_01_4561.jpg', '/home/pi/Desktop/images/11072025/04/54/image_11072025_04_54_01_7226.jpg', '/home/pi/Desktop/images/11072025/04/53/image_11072025_04_53_01_8452.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/05/10/image_11072025_05_10_02_0578.jpg
/home/pi/Desktop/images/11072025/05/07/image_11072025_05_07_02_2767.jpg
/home/pi/Desktop/images/11072025/05/06/image_11072025_05_06_01_9435.jpg
/home/pi/Desktop/images/11072025/05/05/image_11072025_05_05_01_4561.jpg
/home/pi/Desktop/images/11072025/04/54/image_11072025_04_54_01_7226.jpg
/home/pi/Desktop/images/11072025/04/53/image_11072025_04_53_01_8452.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371634873","1371634698","1371634941","1371634685","1371634757","1371634817"],"photo_ids_order":["1371634685","1371634698","1371634757","1371634817","1371634873","1371634941"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/65775da447b19400b8372b08e1264897.jpg","text":"TemporaryFile(/tmp/multipartBody3582446912999516085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752250927853,"filename":"image_11072025_04_54_01_7226.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/23b5d679807011aecdc8cd6107ad605a.jpg","text":"TemporaryFile(/tmp/multipartBody337312653581269963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752250927853,"filename":"image_11072025_05_07_02_2767.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/4204018b75dd635e44cb39925cf916c8.jpg","text":"TemporaryFile(/tmp/multipartBody4891241198062695574asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752250927853,"filename":"image_11072025_04_53_01_8452.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/b7211832ab9c1dac878a6cecfccc8792.jpg","text":"TemporaryFile(/tmp/multipartBody1877748092232366064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752250927853,"filename":"image_11072025_05_10_02_0578.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/6c35093d8524abf89e1ac206b9e649a0.jpg","text":"TemporaryFile(/tmp/multipartBody8174081050549242687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752250927853,"filename":"image_11072025_05_06_01_9435.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/1b98cb5fa4c7a0f652a0a1b76010c4ff.jpg","text":"TemporaryFile(/tmp/multipartBody1302446640326816555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752250927853,"filename":"image_11072025_05_05_01_4561.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371634757","file1":"1371634698","file0":"1371634685","file4":"1371634873","file5":"1371634941","file3":"1371634817"},"map_files_photo_id_array":[{"photo_id":"1371634941","filename":"file5"},{"photo_id":"1371634757","filename":"file2"},{"photo_id":"1371634873","filename":"file4"},{"photo_id":"1371634698","filename":"file1"},{"photo_id":"1371634685","filename":"file0"},{"photo_id":"1371634817","filename":"file3"}],"portfolio_id":24815670,"hashtag_by_photo_ids":[{"1371634873":["hashtag1","hashtag2"]},{"1371634698":["hashtag1","hashtag2"]},{"1371634941":["hashtag1","hashtag2"]},{"1371634685":["hashtag1","hashtag2"]},{"1371634757":["hashtag1","hashtag2"]},{"1371634817":["hashtag1","hashtag2"]}],"comms":"Portfolio 24815670 used, photo_id : ArrayBuffer(1371634873, 1371634698, 1371634941, 1371634685, 1371634757, 1371634817)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 61.38579535484314 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 18:23:03.816883
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/04/52/image_11072025_04_52_02_1078.jpg', 2), ('/home/pi/Desktop/images/11072025/04/48/image_11072025_04_48_02_1136.jpg', 2), ('/home/pi/Desktop/images/11072025/04/46/image_11072025_04_46_01_6402.jpg', 2), ('/home/pi/Desktop/images/11072025/04/45/image_11072025_04_45_01_7730.jpg', 2), ('/home/pi/Desktop/images/11072025/04/44/image_11072025_04_44_01_6373.jpg', 2), ('/home/pi/Desktop/images/11072025/04/43/image_11072025_04_43_01_9796.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/04/52/image_11072025_04_52_02_1078.jpg', '/home/pi/Desktop/images/11072025/04/48/image_11072025_04_48_02_1136.jpg', '/home/pi/Desktop/images/11072025/04/46/image_11072025_04_46_01_6402.jpg', '/home/pi/Desktop/images/11072025/04/45/image_11072025_04_45_01_7730.jpg', '/home/pi/Desktop/images/11072025/04/44/image_11072025_04_44_01_6373.jpg', '/home/pi/Desktop/images/11072025/04/43/image_11072025_04_43_01_9796.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/04/52/image_11072025_04_52_02_1078.jpg
/home/pi/Desktop/images/11072025/04/48/image_11072025_04_48_02_1136.jpg
/home/pi/Desktop/images/11072025/04/46/image_11072025_04_46_01_6402.jpg
/home/pi/Desktop/images/11072025/04/45/image_11072025_04_45_01_7730.jpg
/home/pi/Desktop/images/11072025/04/44/image_11072025_04_44_01_6373.jpg
/home/pi/Desktop/images/11072025/04/43/image_11072025_04_43_01_9796.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371635368","1371635341","1371635280","1371635360","1371635315","1371635278"],"photo_ids_order":["1371635278","1371635280","1371635315","1371635341","1371635360","1371635368"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/265e0cead2670ee48184da7fca7a1b7b.jpg","text":"TemporaryFile(/tmp/multipartBody7717453064121390399asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752251048068,"filename":"image_11072025_04_43_01_9796.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/5cac08c0f07cc9c7c6a12338626ef21b.jpg","text":"TemporaryFile(/tmp/multipartBody1573468606420066482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752251048068,"filename":"image_11072025_04_45_01_7730.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/1d1a9abc79e41b9f8565d71ece08f99c.jpg","text":"TemporaryFile(/tmp/multipartBody4690629836400888062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752251048068,"filename":"image_11072025_04_48_02_1136.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/dbeda07ac24a85afd68d19895bb784ce.jpg","text":"TemporaryFile(/tmp/multipartBody2635830309788772000asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752251048068,"filename":"image_11072025_04_44_01_6373.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/1517e5ec986a03dd71a3b76d72d9418e.jpg","text":"TemporaryFile(/tmp/multipartBody6496955044280157912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752251048068,"filename":"image_11072025_04_46_01_6402.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/44ec43f6758258a31524fe37f8f80e98.jpg","text":"TemporaryFile(/tmp/multipartBody7261396890625921166asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752251048068,"filename":"image_11072025_04_52_02_1078.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371635315","file1":"1371635280","file0":"1371635278","file4":"1371635360","file5":"1371635368","file3":"1371635341"},"map_files_photo_id_array":[{"photo_id":"1371635368","filename":"file5"},{"photo_id":"1371635315","filename":"file2"},{"photo_id":"1371635360","filename":"file4"},{"photo_id":"1371635280","filename":"file1"},{"photo_id":"1371635278","filename":"file0"},{"photo_id":"1371635341","filename":"file3"}],"portfolio_id":24815670,"hashtag_by_photo_ids":[{"1371635368":["hashtag1","hashtag2"]},{"1371635341":["hashtag1","hashtag2"]},{"1371635280":["hashtag1","hashtag2"]},{"1371635360":["hashtag1","hashtag2"]},{"1371635315":["hashtag1","hashtag2"]},{"1371635278":["hashtag1","hashtag2"]}],"comms":"Portfolio 24815670 used, photo_id : ArrayBuffer(1371635368, 1371635341, 1371635280, 1371635360, 1371635315, 1371635278)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 59.85992956161499 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 18:25:06.194690
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/04/36/image_11072025_04_36_01_5311.jpg', 2), ('/home/pi/Desktop/images/11072025/04/34/image_11072025_04_34_02_2740.jpg', 2), ('/home/pi/Desktop/images/11072025/04/33/image_11072025_04_33_01_4714.jpg', 2), ('/home/pi/Desktop/images/11072025/04/32/image_11072025_04_32_01_4318.jpg', 2), ('/home/pi/Desktop/images/11072025/04/31/image_11072025_04_31_01_7137.jpg', 2), ('/home/pi/Desktop/images/11072025/04/30/image_11072025_04_30_01_8622.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/04/36/image_11072025_04_36_01_5311.jpg', '/home/pi/Desktop/images/11072025/04/34/image_11072025_04_34_02_2740.jpg', '/home/pi/Desktop/images/11072025/04/33/image_11072025_04_33_01_4714.jpg', '/home/pi/Desktop/images/11072025/04/32/image_11072025_04_32_01_4318.jpg', '/home/pi/Desktop/images/11072025/04/31/image_11072025_04_31_01_7137.jpg', '/home/pi/Desktop/images/11072025/04/30/image_11072025_04_30_01_8622.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/04/36/image_11072025_04_36_01_5311.jpg
/home/pi/Desktop/images/11072025/04/34/image_11072025_04_34_02_2740.jpg
/home/pi/Desktop/images/11072025/04/33/image_11072025_04_33_01_4714.jpg
/home/pi/Desktop/images/11072025/04/32/image_11072025_04_32_01_4318.jpg
/home/pi/Desktop/images/11072025/04/31/image_11072025_04_31_01_7137.jpg
/home/pi/Desktop/images/11072025/04/30/image_11072025_04_30_01_8622.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371635758","1371635710","1371635742","1371635700","1371635696","1371635720"],"photo_ids_order":["1371635696","1371635700","1371635710","1371635720","1371635742","1371635758"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/d057df9cd917a17c2c6cf34e9387946f.jpg","text":"TemporaryFile(/tmp/multipartBody4875774985574480733asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752251171456,"filename":"image_11072025_04_30_01_8622.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/3d3d2507344406344cc29f9c87d68d1b.jpg","text":"TemporaryFile(/tmp/multipartBody3146750981373745577asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752251171456,"filename":"image_11072025_04_33_01_4714.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/f5859875477e7c4816d648550af7dcd8.jpg","text":"TemporaryFile(/tmp/multipartBody8292328166189654992asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752251171456,"filename":"image_11072025_04_31_01_7137.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/571663a186eae69736dbd150e6573ebf.jpg","text":"TemporaryFile(/tmp/multipartBody2311410838072576285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752251171456,"filename":"image_11072025_04_34_02_2740.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/92fbe064ad5647c0fc4ef01216db939f.jpg","text":"TemporaryFile(/tmp/multipartBody2348556446564053222asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752251171456,"filename":"image_11072025_04_36_01_5311.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/66b5231e5e15637a09cf7762557b07de.jpg","text":"TemporaryFile(/tmp/multipartBody7459915162379857857asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752251171456,"filename":"image_11072025_04_32_01_4318.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371635710","file1":"1371635700","file0":"1371635696","file4":"1371635742","file5":"1371635758","file3":"1371635720"},"map_files_photo_id_array":[{"photo_id":"1371635758","filename":"file5"},{"photo_id":"1371635710","filename":"file2"},{"photo_id":"1371635742","filename":"file4"},{"photo_id":"1371635700","filename":"file1"},{"photo_id":"1371635696","filename":"file0"},{"photo_id":"1371635720","filename":"file3"}],"portfolio_id":24815670,"hashtag_by_photo_ids":[{"1371635758":["hashtag1","hashtag2"]},{"1371635710":["hashtag1","hashtag2"]},{"1371635742":["hashtag1","hashtag2"]},{"1371635700":["hashtag1","hashtag2"]},{"1371635696":["hashtag1","hashtag2"]},{"1371635720":["hashtag1","hashtag2"]}],"comms":"Portfolio 24815670 used, photo_id : ArrayBuffer(1371635758, 1371635710, 1371635742, 1371635700, 1371635696, 1371635720)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 59.4242639541626 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 18:27:03.742498
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/04/29/image_11072025_04_29_01_6864.jpg', 2), ('/home/pi/Desktop/images/11072025/04/28/image_11072025_04_28_01_3439.jpg', 2), ('/home/pi/Desktop/images/11072025/04/27/image_11072025_04_27_01_6936.jpg', 2), ('/home/pi/Desktop/images/11072025/04/24/image_11072025_04_24_01_9830.jpg', 2), ('/home/pi/Desktop/images/11072025/04/23/image_11072025_04_23_01_4508.jpg', 2), ('/home/pi/Desktop/images/11072025/04/22/image_11072025_04_22_01_5911.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/04/29/image_11072025_04_29_01_6864.jpg', '/home/pi/Desktop/images/11072025/04/28/image_11072025_04_28_01_3439.jpg', '/home/pi/Desktop/images/11072025/04/27/image_11072025_04_27_01_6936.jpg', '/home/pi/Desktop/images/11072025/04/24/image_11072025_04_24_01_9830.jpg', '/home/pi/Desktop/images/11072025/04/23/image_11072025_04_23_01_4508.jpg', '/home/pi/Desktop/images/11072025/04/22/image_11072025_04_22_01_5911.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/04/29/image_11072025_04_29_01_6864.jpg
/home/pi/Desktop/images/11072025/04/28/image_11072025_04_28_01_3439.jpg
/home/pi/Desktop/images/11072025/04/27/image_11072025_04_27_01_6936.jpg
/home/pi/Desktop/images/11072025/04/24/image_11072025_04_24_01_9830.jpg
/home/pi/Desktop/images/11072025/04/23/image_11072025_04_23_01_4508.jpg
/home/pi/Desktop/images/11072025/04/22/image_11072025_04_22_01_5911.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371635883","1371635871","1371635843","1371635837","1371635831","1371635854"],"photo_ids_order":["1371635831","1371635837","1371635843","1371635854","1371635871","1371635883"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/50f4cc4bd7427139271d2159bb77dfa9.jpg","text":"TemporaryFile(/tmp/multipartBody8613798733510727034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752251288065,"filename":"image_11072025_04_22_01_5911.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/694889a088608a6125a9b8061205cee3.jpg","text":"TemporaryFile(/tmp/multipartBody5749995791942894621asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752251288065,"filename":"image_11072025_04_23_01_4508.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/d7f8ed6efd30c83be14629ea60db3bbc.jpg","text":"TemporaryFile(/tmp/multipartBody2501023675696158953asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752251288065,"filename":"image_11072025_04_27_01_6936.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/7504ddcd76eacf726ca3a3fd7f371802.jpg","text":"TemporaryFile(/tmp/multipartBody6870593869511476451asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752251288065,"filename":"image_11072025_04_28_01_3439.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/32bbe68d9876465e07961a5806376c70.jpg","text":"TemporaryFile(/tmp/multipartBody7872286895661910013asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752251288065,"filename":"image_11072025_04_29_01_6864.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/f123d2972d13051b56023d40795bd1d0.jpg","text":"TemporaryFile(/tmp/multipartBody6207629193163068015asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752251288065,"filename":"image_11072025_04_24_01_9830.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371635843","file1":"1371635837","file0":"1371635831","file4":"1371635871","file5":"1371635883","file3":"1371635854"},"map_files_photo_id_array":[{"photo_id":"1371635883","filename":"file5"},{"photo_id":"1371635843","filename":"file2"},{"photo_id":"1371635871","filename":"file4"},{"photo_id":"1371635837","filename":"file1"},{"photo_id":"1371635831","filename":"file0"},{"photo_id":"1371635854","filename":"file3"}],"portfolio_id":24815670,"hashtag_by_photo_ids":[{"1371635883":["hashtag1","hashtag2"]},{"1371635871":["hashtag1","hashtag2"]},{"1371635843":["hashtag1","hashtag2"]},{"1371635837":["hashtag1","hashtag2"]},{"1371635831":["hashtag1","hashtag2"]},{"1371635854":["hashtag1","hashtag2"]}],"comms":"Portfolio 24815670 used, photo_id : ArrayBuffer(1371635883, 1371635871, 1371635843, 1371635837, 1371635831, 1371635854)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 62.60241627693176 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 18:29:04.105205
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
1 photos no longer on disk
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/18/30/image_11072025_18_30_02_3642.jpg', 2), ('/home/pi/Desktop/images/11072025/04/20/image_11072025_04_20_02_0890.jpg', 2), ('/home/pi/Desktop/images/11072025/04/19/image_11072025_04_19_01_8341.jpg', 2), ('/home/pi/Desktop/images/11072025/04/14/image_11072025_04_14_01_9048.jpg', 2), ('/home/pi/Desktop/images/11072025/04/13/image_11072025_04_13_01_7120.jpg', 2), ('/home/pi/Desktop/images/11072025/04/12/image_11072025_04_12_01_5348.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/04/20/image_11072025_04_20_02_0890.jpg', '/home/pi/Desktop/images/11072025/04/19/image_11072025_04_19_01_8341.jpg', '/home/pi/Desktop/images/11072025/04/14/image_11072025_04_14_01_9048.jpg', '/home/pi/Desktop/images/11072025/04/13/image_11072025_04_13_01_7120.jpg', '/home/pi/Desktop/images/11072025/04/12/image_11072025_04_12_01_5348.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/04/20/image_11072025_04_20_02_0890.jpg
/home/pi/Desktop/images/11072025/04/19/image_11072025_04_19_01_8341.jpg
/home/pi/Desktop/images/11072025/04/14/image_11072025_04_14_01_9048.jpg
/home/pi/Desktop/images/11072025/04/13/image_11072025_04_13_01_7120.jpg
/home/pi/Desktop/images/11072025/04/12/image_11072025_04_12_01_5348.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371635952","1371635946","1371635998","1371635959","1371635968"],"photo_ids_order":["1371635946","1371635952","1371635959","1371635968","1371635998"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/ba8ebe21f90a3c322ccc977e163cc0a1.jpg","text":"TemporaryFile(/tmp/multipartBody3827103915332842631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752251408024,"filename":"image_11072025_04_19_01_8341.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/088ef03d17587fd04a462e4b3e8518b0.jpg","text":"TemporaryFile(/tmp/multipartBody6132082509422770866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752251408024,"filename":"image_11072025_04_20_02_0890.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/078e637e4a8ba17ad2bb77cbbfb9602d.jpg","text":"TemporaryFile(/tmp/multipartBody5185436036424306861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752251408024,"filename":"image_11072025_04_12_01_5348.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/364af8d1136d207dcb75a8f9b0d68297.jpg","text":"TemporaryFile(/tmp/multipartBody5321430820336668998asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752251408024,"filename":"image_11072025_04_14_01_9048.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/45f13dd87e61990bcd66a0949aabb865.jpg","text":"TemporaryFile(/tmp/multipartBody8919935266367932498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752251408024,"filename":"image_11072025_04_13_01_7120.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371635959","file1":"1371635952","file0":"1371635946","file4":"1371635998","file3":"1371635968"},"map_files_photo_id_array":[{"photo_id":"1371635959","filename":"file2"},{"photo_id":"1371635998","filename":"file4"},{"photo_id":"1371635952","filename":"file1"},{"photo_id":"1371635946","filename":"file0"},{"photo_id":"1371635968","filename":"file3"}],"portfolio_id":24815670,"hashtag_by_photo_ids":[{"1371635952":["hashtag1","hashtag2"]},{"1371635946":["hashtag1","hashtag2"]},{"1371635998":["hashtag1","hashtag2"]},{"1371635959":["hashtag1","hashtag2"]},{"1371635968":["hashtag1","hashtag2"]}],"comms":"Portfolio 24815670 used, photo_id : ArrayBuffer(1371635952, 1371635946, 1371635998, 1371635959, 1371635968)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 5 photos
time to upload: 53.69842052459717 secondes ---
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 377, in upload_from_sqlite
    upload_photo_and_update_logs(files, lsr, port_id, datou_current_id, fc, hashtags = hashtags, verbose = verbose, nb_batch= nb_batch,batch_size=limit)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 74, in upload_photo_and_update_logs
    logger.info("no_longer_on_disk_list:",no_longer_on_disk_list)
Message: 'no_longer_on_disk_list:'
Arguments: (['/home/pi/Desktop/images/11072025/18/30/image_11072025_18_30_02_3642.jpg'],)
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 18:30:03.555974
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/04/11/image_11072025_04_11_01_7032.jpg', 2), ('/home/pi/Desktop/images/11072025/04/05/image_11072025_04_05_02_0727.jpg', 2), ('/home/pi/Desktop/images/11072025/04/04/image_11072025_04_04_01_5294.jpg', 2), ('/home/pi/Desktop/images/11072025/04/01/image_11072025_04_01_02_1067.jpg', 2), ('/home/pi/Desktop/images/11072025/03/59/image_11072025_03_59_01_9562.jpg', 2), ('/home/pi/Desktop/images/11072025/03/58/image_11072025_03_58_01_8894.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/04/11/image_11072025_04_11_01_7032.jpg', '/home/pi/Desktop/images/11072025/04/05/image_11072025_04_05_02_0727.jpg', '/home/pi/Desktop/images/11072025/04/04/image_11072025_04_04_01_5294.jpg', '/home/pi/Desktop/images/11072025/04/01/image_11072025_04_01_02_1067.jpg', '/home/pi/Desktop/images/11072025/03/59/image_11072025_03_59_01_9562.jpg', '/home/pi/Desktop/images/11072025/03/58/image_11072025_03_58_01_8894.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/04/11/image_11072025_04_11_01_7032.jpg
/home/pi/Desktop/images/11072025/04/05/image_11072025_04_05_02_0727.jpg
/home/pi/Desktop/images/11072025/04/04/image_11072025_04_04_01_5294.jpg
/home/pi/Desktop/images/11072025/04/01/image_11072025_04_01_02_1067.jpg
/home/pi/Desktop/images/11072025/03/59/image_11072025_03_59_01_9562.jpg
/home/pi/Desktop/images/11072025/03/58/image_11072025_03_58_01_8894.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 4.143391370773315 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 18:31:03.582354
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/04/11/image_11072025_04_11_01_7032.jpg', 2), ('/home/pi/Desktop/images/11072025/04/05/image_11072025_04_05_02_0727.jpg', 2), ('/home/pi/Desktop/images/11072025/04/04/image_11072025_04_04_01_5294.jpg', 2), ('/home/pi/Desktop/images/11072025/04/01/image_11072025_04_01_02_1067.jpg', 2), ('/home/pi/Desktop/images/11072025/03/59/image_11072025_03_59_01_9562.jpg', 2), ('/home/pi/Desktop/images/11072025/03/58/image_11072025_03_58_01_8894.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/04/11/image_11072025_04_11_01_7032.jpg', '/home/pi/Desktop/images/11072025/04/05/image_11072025_04_05_02_0727.jpg', '/home/pi/Desktop/images/11072025/04/04/image_11072025_04_04_01_5294.jpg', '/home/pi/Desktop/images/11072025/04/01/image_11072025_04_01_02_1067.jpg', '/home/pi/Desktop/images/11072025/03/59/image_11072025_03_59_01_9562.jpg', '/home/pi/Desktop/images/11072025/03/58/image_11072025_03_58_01_8894.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/04/11/image_11072025_04_11_01_7032.jpg
/home/pi/Desktop/images/11072025/04/05/image_11072025_04_05_02_0727.jpg
/home/pi/Desktop/images/11072025/04/04/image_11072025_04_04_01_5294.jpg
/home/pi/Desktop/images/11072025/04/01/image_11072025_04_01_02_1067.jpg
/home/pi/Desktop/images/11072025/03/59/image_11072025_03_59_01_9562.jpg
/home/pi/Desktop/images/11072025/03/58/image_11072025_03_58_01_8894.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371636165","1371636146","1371636137","1371636122","1371636178","1371636130"],"photo_ids_order":["1371636122","1371636130","1371636137","1371636146","1371636165","1371636178"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/98c7e24f06c544f8bcc769edc41864d2.jpg","text":"TemporaryFile(/tmp/multipartBody5294505155519655387asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752251526626,"filename":"image_11072025_03_59_01_9562.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/3e792fe6a4d1871e6cf80e6ae32685dd.jpg","text":"TemporaryFile(/tmp/multipartBody7136202451186524291asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752251526626,"filename":"image_11072025_04_01_02_1067.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/e58f4374bdf72c6f60f9ae24b927bbc3.jpg","text":"TemporaryFile(/tmp/multipartBody8561874886399595907asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752251526626,"filename":"image_11072025_04_04_01_5294.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/3ff97fc36698b205c52e76b19f999ff9.jpg","text":"TemporaryFile(/tmp/multipartBody9150444772756088355asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752251526626,"filename":"image_11072025_04_11_01_7032.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/4ddc87433be1e6cc4e6616834b4db87c.jpg","text":"TemporaryFile(/tmp/multipartBody5899679917084610608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752251526626,"filename":"image_11072025_03_58_01_8894.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/eab96db6c780d44d48dcba089e41a6d5.jpg","text":"TemporaryFile(/tmp/multipartBody3592252423077460003asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752251526626,"filename":"image_11072025_04_05_02_0727.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371636137","file1":"1371636130","file0":"1371636122","file4":"1371636165","file5":"1371636178","file3":"1371636146"},"map_files_photo_id_array":[{"photo_id":"1371636178","filename":"file5"},{"photo_id":"1371636137","filename":"file2"},{"photo_id":"1371636165","filename":"file4"},{"photo_id":"1371636130","filename":"file1"},{"photo_id":"1371636122","filename":"file0"},{"photo_id":"1371636146","filename":"file3"}],"portfolio_id":24815670,"hashtag_by_photo_ids":[{"1371636165":["hashtag1","hashtag2"]},{"1371636146":["hashtag1","hashtag2"]},{"1371636137":["hashtag1","hashtag2"]},{"1371636122":["hashtag1","hashtag2"]},{"1371636178":["hashtag1","hashtag2"]},{"1371636130":["hashtag1","hashtag2"]}],"comms":"Portfolio 24815670 used, photo_id : ArrayBuffer(1371636165, 1371636146, 1371636137, 1371636122, 1371636178, 1371636130)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 60.437413692474365 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 18:33:03.527857
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/03/55/image_11072025_03_55_01_9905.jpg', 2), ('/home/pi/Desktop/images/11072025/03/54/image_11072025_03_54_01_8890.jpg', 2), ('/home/pi/Desktop/images/11072025/03/53/image_11072025_03_53_02_2952.jpg', 2), ('/home/pi/Desktop/images/11072025/03/47/image_11072025_03_47_01_5847.jpg', 2), ('/home/pi/Desktop/images/11072025/03/44/image_11072025_03_44_01_4500.jpg', 2), ('/home/pi/Desktop/images/11072025/03/42/image_11072025_03_42_01_9380.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/03/55/image_11072025_03_55_01_9905.jpg', '/home/pi/Desktop/images/11072025/03/54/image_11072025_03_54_01_8890.jpg', '/home/pi/Desktop/images/11072025/03/53/image_11072025_03_53_02_2952.jpg', '/home/pi/Desktop/images/11072025/03/47/image_11072025_03_47_01_5847.jpg', '/home/pi/Desktop/images/11072025/03/44/image_11072025_03_44_01_4500.jpg', '/home/pi/Desktop/images/11072025/03/42/image_11072025_03_42_01_9380.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/03/55/image_11072025_03_55_01_9905.jpg
/home/pi/Desktop/images/11072025/03/54/image_11072025_03_54_01_8890.jpg
/home/pi/Desktop/images/11072025/03/53/image_11072025_03_53_02_2952.jpg
/home/pi/Desktop/images/11072025/03/47/image_11072025_03_47_01_5847.jpg
/home/pi/Desktop/images/11072025/03/44/image_11072025_03_44_01_4500.jpg
/home/pi/Desktop/images/11072025/03/42/image_11072025_03_42_01_9380.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371636261","1371636300","1371636266","1371636275","1371636292","1371636283"],"photo_ids_order":["1371636261","1371636266","1371636275","1371636283","1371636292","1371636300"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/f47801847e256e6503ad9d05181e556e.jpg","text":"TemporaryFile(/tmp/multipartBody2735999142066328930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752251647928,"filename":"image_11072025_03_55_01_9905.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/b191aafb37c7365a1463a742fd89511a.jpg","text":"TemporaryFile(/tmp/multipartBody4370197905713696557asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752251647928,"filename":"image_11072025_03_42_01_9380.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/a1eb450f343d3746609a3d184be8ee84.jpg","text":"TemporaryFile(/tmp/multipartBody1624080167336682082asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752251647928,"filename":"image_11072025_03_54_01_8890.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/af70b5c3dd9fa96586998862029c7dc8.jpg","text":"TemporaryFile(/tmp/multipartBody2329539443180942792asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752251647928,"filename":"image_11072025_03_53_02_2952.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/168144033aca54851caf5623dbb57990.jpg","text":"TemporaryFile(/tmp/multipartBody7723364413333238333asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752251647928,"filename":"image_11072025_03_44_01_4500.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/34836c0bae8bbfffc18bf4a568c00d14.jpg","text":"TemporaryFile(/tmp/multipartBody6069367179232888760asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752251647928,"filename":"image_11072025_03_47_01_5847.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371636275","file1":"1371636266","file0":"1371636261","file4":"1371636292","file5":"1371636300","file3":"1371636283"},"map_files_photo_id_array":[{"photo_id":"1371636300","filename":"file5"},{"photo_id":"1371636275","filename":"file2"},{"photo_id":"1371636292","filename":"file4"},{"photo_id":"1371636266","filename":"file1"},{"photo_id":"1371636261","filename":"file0"},{"photo_id":"1371636283","filename":"file3"}],"portfolio_id":24815670,"hashtag_by_photo_ids":[{"1371636261":["hashtag1","hashtag2"]},{"1371636300":["hashtag1","hashtag2"]},{"1371636266":["hashtag1","hashtag2"]},{"1371636275":["hashtag1","hashtag2"]},{"1371636292":["hashtag1","hashtag2"]},{"1371636283":["hashtag1","hashtag2"]}],"comms":"Portfolio 24815670 used, photo_id : ArrayBuffer(1371636261, 1371636300, 1371636266, 1371636275, 1371636292, 1371636283)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 66.27896237373352 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 18:35:03.926460
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/03/39/image_11072025_03_39_01_5321.jpg', 2), ('/home/pi/Desktop/images/11072025/03/37/image_11072025_03_37_01_4194.jpg', 2), ('/home/pi/Desktop/images/11072025/03/36/image_11072025_03_36_01_3663.jpg', 2), ('/home/pi/Desktop/images/11072025/03/35/image_11072025_03_35_01_3330.jpg', 2), ('/home/pi/Desktop/images/11072025/03/34/image_11072025_03_34_01_5449.jpg', 2), ('/home/pi/Desktop/images/11072025/03/32/image_11072025_03_32_01_3629.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/03/39/image_11072025_03_39_01_5321.jpg', '/home/pi/Desktop/images/11072025/03/37/image_11072025_03_37_01_4194.jpg', '/home/pi/Desktop/images/11072025/03/36/image_11072025_03_36_01_3663.jpg', '/home/pi/Desktop/images/11072025/03/35/image_11072025_03_35_01_3330.jpg', '/home/pi/Desktop/images/11072025/03/34/image_11072025_03_34_01_5449.jpg', '/home/pi/Desktop/images/11072025/03/32/image_11072025_03_32_01_3629.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/03/39/image_11072025_03_39_01_5321.jpg
/home/pi/Desktop/images/11072025/03/37/image_11072025_03_37_01_4194.jpg
/home/pi/Desktop/images/11072025/03/36/image_11072025_03_36_01_3663.jpg
/home/pi/Desktop/images/11072025/03/35/image_11072025_03_35_01_3330.jpg
/home/pi/Desktop/images/11072025/03/34/image_11072025_03_34_01_5449.jpg
/home/pi/Desktop/images/11072025/03/32/image_11072025_03_32_01_3629.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371636398","1371636431","1371636413","1371636493","1371636535","1371636439"],"photo_ids_order":["1371636398","1371636413","1371636431","1371636439","1371636493","1371636535"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/fdd744bd9e5a2790572161f5c14a7f99.jpg","text":"TemporaryFile(/tmp/multipartBody3680782960958961020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752251768212,"filename":"image_11072025_03_39_01_5321.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/45ed979ca812774e963a7c2073635155.jpg","text":"TemporaryFile(/tmp/multipartBody4167837550818981363asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752251768212,"filename":"image_11072025_03_36_01_3663.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/eac6bccdd176b3223bac760f0c94c38e.jpg","text":"TemporaryFile(/tmp/multipartBody5339916528365978473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752251768212,"filename":"image_11072025_03_37_01_4194.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/a3cf765fa601ba1046f1cf2d0c7ffc9f.jpg","text":"TemporaryFile(/tmp/multipartBody3002474584888487403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752251768212,"filename":"image_11072025_03_34_01_5449.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/b7caa17a035f410363ef9e12def84a78.jpg","text":"TemporaryFile(/tmp/multipartBody8885833806870790345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752251768212,"filename":"image_11072025_03_32_01_3629.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/b4cd50c462bfea5fa6613b1e494fda1f.jpg","text":"TemporaryFile(/tmp/multipartBody2837827448121915425asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752251768212,"filename":"image_11072025_03_35_01_3330.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371636431","file1":"1371636413","file0":"1371636398","file4":"1371636493","file5":"1371636535","file3":"1371636439"},"map_files_photo_id_array":[{"photo_id":"1371636535","filename":"file5"},{"photo_id":"1371636431","filename":"file2"},{"photo_id":"1371636493","filename":"file4"},{"photo_id":"1371636413","filename":"file1"},{"photo_id":"1371636398","filename":"file0"},{"photo_id":"1371636439","filename":"file3"}],"portfolio_id":24815670,"hashtag_by_photo_ids":[{"1371636398":["hashtag1","hashtag2"]},{"1371636431":["hashtag1","hashtag2"]},{"1371636413":["hashtag1","hashtag2"]},{"1371636493":["hashtag1","hashtag2"]},{"1371636535":["hashtag1","hashtag2"]},{"1371636439":["hashtag1","hashtag2"]}],"comms":"Portfolio 24815670 used, photo_id : ArrayBuffer(1371636398, 1371636431, 1371636413, 1371636493, 1371636535, 1371636439)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 64.95632648468018 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 18:37:03.824295
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/03/31/image_11072025_03_31_01_9640.jpg', 2), ('/home/pi/Desktop/images/11072025/03/30/image_11072025_03_30_01_6640.jpg', 2), ('/home/pi/Desktop/images/11072025/03/29/image_11072025_03_29_01_8334.jpg', 2), ('/home/pi/Desktop/images/11072025/03/28/image_11072025_03_28_02_1343.jpg', 2), ('/home/pi/Desktop/images/11072025/03/27/image_11072025_03_27_01_6053.jpg', 2), ('/home/pi/Desktop/images/11072025/03/26/image_11072025_03_26_01_7125.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/03/31/image_11072025_03_31_01_9640.jpg', '/home/pi/Desktop/images/11072025/03/30/image_11072025_03_30_01_6640.jpg', '/home/pi/Desktop/images/11072025/03/29/image_11072025_03_29_01_8334.jpg', '/home/pi/Desktop/images/11072025/03/28/image_11072025_03_28_02_1343.jpg', '/home/pi/Desktop/images/11072025/03/27/image_11072025_03_27_01_6053.jpg', '/home/pi/Desktop/images/11072025/03/26/image_11072025_03_26_01_7125.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/03/31/image_11072025_03_31_01_9640.jpg
/home/pi/Desktop/images/11072025/03/30/image_11072025_03_30_01_6640.jpg
/home/pi/Desktop/images/11072025/03/29/image_11072025_03_29_01_8334.jpg
/home/pi/Desktop/images/11072025/03/28/image_11072025_03_28_02_1343.jpg
/home/pi/Desktop/images/11072025/03/27/image_11072025_03_27_01_6053.jpg
/home/pi/Desktop/images/11072025/03/26/image_11072025_03_26_01_7125.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371636680","1371636670","1371636646","1371636655","1371636640","1371636622"],"photo_ids_order":["1371636622","1371636640","1371636646","1371636655","1371636670","1371636680"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/837a7db6e50b87bef1ffcf635540b112.jpg","text":"TemporaryFile(/tmp/multipartBody4165998147638625727asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752251888165,"filename":"image_11072025_03_26_01_7125.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/be95d4ad75efdd8b1e04f1b23423ea9d.jpg","text":"TemporaryFile(/tmp/multipartBody6390278418450578047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752251888165,"filename":"image_11072025_03_27_01_6053.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/ab17c583ca31152c2be8d6e9ae17b2b3.jpg","text":"TemporaryFile(/tmp/multipartBody5783916323710221207asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752251888165,"filename":"image_11072025_03_29_01_8334.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/d8fcc6a30adedf17d441c6d5fd4139de.jpg","text":"TemporaryFile(/tmp/multipartBody349157836573895607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752251888165,"filename":"image_11072025_03_28_02_1343.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/4a67b5e0394019cfd695427304373c78.jpg","text":"TemporaryFile(/tmp/multipartBody156789772453999978asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752251888165,"filename":"image_11072025_03_30_01_6640.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/98b8e7078b170dbc470ccb6e14afa55e.jpg","text":"TemporaryFile(/tmp/multipartBody3304503383772971776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752251888165,"filename":"image_11072025_03_31_01_9640.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371636646","file1":"1371636640","file0":"1371636622","file4":"1371636670","file5":"1371636680","file3":"1371636655"},"map_files_photo_id_array":[{"photo_id":"1371636680","filename":"file5"},{"photo_id":"1371636646","filename":"file2"},{"photo_id":"1371636670","filename":"file4"},{"photo_id":"1371636640","filename":"file1"},{"photo_id":"1371636622","filename":"file0"},{"photo_id":"1371636655","filename":"file3"}],"portfolio_id":24815670,"hashtag_by_photo_ids":[{"1371636680":["hashtag1","hashtag2"]},{"1371636670":["hashtag1","hashtag2"]},{"1371636646":["hashtag1","hashtag2"]},{"1371636655":["hashtag1","hashtag2"]},{"1371636640":["hashtag1","hashtag2"]},{"1371636622":["hashtag1","hashtag2"]}],"comms":"Portfolio 24815670 used, photo_id : ArrayBuffer(1371636680, 1371636670, 1371636646, 1371636655, 1371636640, 1371636622)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.96756982803345 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 18:39:03.488679
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/03/25/image_11072025_03_25_02_2852.jpg', 2), ('/home/pi/Desktop/images/11072025/03/21/image_11072025_03_21_02_0606.jpg', 2), ('/home/pi/Desktop/images/11072025/03/19/image_11072025_03_19_02_2112.jpg', 2), ('/home/pi/Desktop/images/11072025/03/17/image_11072025_03_17_01_4253.jpg', 2), ('/home/pi/Desktop/images/11072025/03/15/image_11072025_03_15_01_9787.jpg', 2), ('/home/pi/Desktop/images/11072025/03/14/image_11072025_03_14_02_2951.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/03/25/image_11072025_03_25_02_2852.jpg', '/home/pi/Desktop/images/11072025/03/21/image_11072025_03_21_02_0606.jpg', '/home/pi/Desktop/images/11072025/03/19/image_11072025_03_19_02_2112.jpg', '/home/pi/Desktop/images/11072025/03/17/image_11072025_03_17_01_4253.jpg', '/home/pi/Desktop/images/11072025/03/15/image_11072025_03_15_01_9787.jpg', '/home/pi/Desktop/images/11072025/03/14/image_11072025_03_14_02_2951.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/03/25/image_11072025_03_25_02_2852.jpg
/home/pi/Desktop/images/11072025/03/21/image_11072025_03_21_02_0606.jpg
/home/pi/Desktop/images/11072025/03/19/image_11072025_03_19_02_2112.jpg
/home/pi/Desktop/images/11072025/03/17/image_11072025_03_17_01_4253.jpg
/home/pi/Desktop/images/11072025/03/15/image_11072025_03_15_01_9787.jpg
/home/pi/Desktop/images/11072025/03/14/image_11072025_03_14_02_2951.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371636768","1371636840","1371636777","1371636762","1371636799","1371636757"],"photo_ids_order":["1371636757","1371636762","1371636768","1371636777","1371636799","1371636840"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/b8a93d5db9335198f8ebad4b0779da2f.jpg","text":"TemporaryFile(/tmp/multipartBody1006093852602806213asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752252008109,"filename":"image_11072025_03_19_02_2112.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/1775ac79f9017e5f53e23f814302d236.jpg","text":"TemporaryFile(/tmp/multipartBody2067700006200899303asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752252008109,"filename":"image_11072025_03_14_02_2951.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/dbe0515a9acbc1d8ed7f2cff833477a8.jpg","text":"TemporaryFile(/tmp/multipartBody6477507656518616280asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752252008109,"filename":"image_11072025_03_17_01_4253.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/247afeef2bf6868c51d0318052318945.jpg","text":"TemporaryFile(/tmp/multipartBody5253570276009409888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752252008109,"filename":"image_11072025_03_21_02_0606.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/0f0ee0b60c574c86e42f692a46e64248.jpg","text":"TemporaryFile(/tmp/multipartBody680398893833257130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752252008109,"filename":"image_11072025_03_15_01_9787.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/e0dd5fd6eda1bbc512a992df31468034.jpg","text":"TemporaryFile(/tmp/multipartBody2687728072856742933asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752252008109,"filename":"image_11072025_03_25_02_2852.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371636768","file1":"1371636762","file0":"1371636757","file4":"1371636799","file5":"1371636840","file3":"1371636777"},"map_files_photo_id_array":[{"photo_id":"1371636840","filename":"file5"},{"photo_id":"1371636768","filename":"file2"},{"photo_id":"1371636799","filename":"file4"},{"photo_id":"1371636762","filename":"file1"},{"photo_id":"1371636757","filename":"file0"},{"photo_id":"1371636777","filename":"file3"}],"portfolio_id":24815670,"hashtag_by_photo_ids":[{"1371636768":["hashtag1","hashtag2"]},{"1371636840":["hashtag1","hashtag2"]},{"1371636777":["hashtag1","hashtag2"]},{"1371636762":["hashtag1","hashtag2"]},{"1371636799":["hashtag1","hashtag2"]},{"1371636757":["hashtag1","hashtag2"]}],"comms":"Portfolio 24815670 used, photo_id : ArrayBuffer(1371636768, 1371636840, 1371636777, 1371636762, 1371636799, 1371636757)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 59.52276659011841 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 18:41:03.571957
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/03/13/image_11072025_03_13_01_3890.jpg', 2), ('/home/pi/Desktop/images/11072025/03/12/image_11072025_03_12_01_7355.jpg', 2), ('/home/pi/Desktop/images/11072025/03/11/image_11072025_03_11_01_3891.jpg', 2), ('/home/pi/Desktop/images/11072025/03/09/image_11072025_03_09_02_2508.jpg', 2), ('/home/pi/Desktop/images/11072025/03/07/image_11072025_03_07_02_1609.jpg', 2), ('/home/pi/Desktop/images/11072025/03/06/image_11072025_03_06_02_1923.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/03/13/image_11072025_03_13_01_3890.jpg', '/home/pi/Desktop/images/11072025/03/12/image_11072025_03_12_01_7355.jpg', '/home/pi/Desktop/images/11072025/03/11/image_11072025_03_11_01_3891.jpg', '/home/pi/Desktop/images/11072025/03/09/image_11072025_03_09_02_2508.jpg', '/home/pi/Desktop/images/11072025/03/07/image_11072025_03_07_02_1609.jpg', '/home/pi/Desktop/images/11072025/03/06/image_11072025_03_06_02_1923.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/03/13/image_11072025_03_13_01_3890.jpg
/home/pi/Desktop/images/11072025/03/12/image_11072025_03_12_01_7355.jpg
/home/pi/Desktop/images/11072025/03/11/image_11072025_03_11_01_3891.jpg
/home/pi/Desktop/images/11072025/03/09/image_11072025_03_09_02_2508.jpg
/home/pi/Desktop/images/11072025/03/07/image_11072025_03_07_02_1609.jpg
/home/pi/Desktop/images/11072025/03/06/image_11072025_03_06_02_1923.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371636969","1371636977","1371636991","1371637012","1371636985","1371637000"],"photo_ids_order":["1371636969","1371636977","1371636985","1371636991","1371637000","1371637012"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/5220ac19538b3844e48675186146f897.jpg","text":"TemporaryFile(/tmp/multipartBody3713453898073260327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752252128089,"filename":"image_11072025_03_13_01_3890.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/d4442dad03363e2fface8ab88f2593aa.jpg","text":"TemporaryFile(/tmp/multipartBody6657004483030065836asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752252128089,"filename":"image_11072025_03_12_01_7355.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/d98cc70a06561382608caf3e7ef3f079.jpg","text":"TemporaryFile(/tmp/multipartBody3277219609272366209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752252128089,"filename":"image_11072025_03_09_02_2508.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/a4f98a9a6a78bcd047f0320a096cfc1a.jpg","text":"TemporaryFile(/tmp/multipartBody6368852804233764314asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752252128089,"filename":"image_11072025_03_06_02_1923.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/624e0ceafd54a460c7cb0eff13d5f3db.jpg","text":"TemporaryFile(/tmp/multipartBody3890583008790694228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752252128089,"filename":"image_11072025_03_11_01_3891.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/4aaa44967544028607057500dafc44fd.jpg","text":"TemporaryFile(/tmp/multipartBody1456238374659183825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752252128089,"filename":"image_11072025_03_07_02_1609.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371636985","file1":"1371636977","file0":"1371636969","file4":"1371637000","file5":"1371637012","file3":"1371636991"},"map_files_photo_id_array":[{"photo_id":"1371637012","filename":"file5"},{"photo_id":"1371636985","filename":"file2"},{"photo_id":"1371637000","filename":"file4"},{"photo_id":"1371636977","filename":"file1"},{"photo_id":"1371636969","filename":"file0"},{"photo_id":"1371636991","filename":"file3"}],"portfolio_id":24815670,"hashtag_by_photo_ids":[{"1371636969":["hashtag1","hashtag2"]},{"1371636977":["hashtag1","hashtag2"]},{"1371636991":["hashtag1","hashtag2"]},{"1371637012":["hashtag1","hashtag2"]},{"1371636985":["hashtag1","hashtag2"]},{"1371637000":["hashtag1","hashtag2"]}],"comms":"Portfolio 24815670 used, photo_id : ArrayBuffer(1371636969, 1371636977, 1371636991, 1371637012, 1371636985, 1371637000)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.685898542404175 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 18:43:03.711847
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/03/05/image_11072025_03_05_01_7072.jpg', 2), ('/home/pi/Desktop/images/11072025/03/01/image_11072025_03_01_02_2403.jpg', 2), ('/home/pi/Desktop/images/11072025/02/57/image_11072025_02_57_01_4147.jpg', 2), ('/home/pi/Desktop/images/11072025/02/54/image_11072025_02_54_01_6173.jpg', 2), ('/home/pi/Desktop/images/11072025/02/53/image_11072025_02_53_02_1212.jpg', 2), ('/home/pi/Desktop/images/11072025/02/52/image_11072025_02_52_01_7961.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/03/05/image_11072025_03_05_01_7072.jpg', '/home/pi/Desktop/images/11072025/03/01/image_11072025_03_01_02_2403.jpg', '/home/pi/Desktop/images/11072025/02/57/image_11072025_02_57_01_4147.jpg', '/home/pi/Desktop/images/11072025/02/54/image_11072025_02_54_01_6173.jpg', '/home/pi/Desktop/images/11072025/02/53/image_11072025_02_53_02_1212.jpg', '/home/pi/Desktop/images/11072025/02/52/image_11072025_02_52_01_7961.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/03/05/image_11072025_03_05_01_7072.jpg
/home/pi/Desktop/images/11072025/03/01/image_11072025_03_01_02_2403.jpg
/home/pi/Desktop/images/11072025/02/57/image_11072025_02_57_01_4147.jpg
/home/pi/Desktop/images/11072025/02/54/image_11072025_02_54_01_6173.jpg
/home/pi/Desktop/images/11072025/02/53/image_11072025_02_53_02_1212.jpg
/home/pi/Desktop/images/11072025/02/52/image_11072025_02_52_01_7961.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371637110","1371637094","1371637136","1371637103","1371637126","1371637089"],"photo_ids_order":["1371637089","1371637094","1371637103","1371637110","1371637126","1371637136"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/59cfab52f87b1e89ffd8d8622908ded9.jpg","text":"TemporaryFile(/tmp/multipartBody472602380110783884asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752252248000,"filename":"image_11072025_02_54_01_6173.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/472fcf57535df54324dcfd7f60f31bc3.jpg","text":"TemporaryFile(/tmp/multipartBody5271392089989289882asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752252248000,"filename":"image_11072025_03_01_02_2403.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/8321c007d3e52461e2efa100e4be9afb.jpg","text":"TemporaryFile(/tmp/multipartBody8869981719725425608asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752252248000,"filename":"image_11072025_02_52_01_7961.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/2014223d4cf743d584fbb0cfb474f45d.jpg","text":"TemporaryFile(/tmp/multipartBody1561692971669518465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752252248000,"filename":"image_11072025_02_57_01_4147.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/c5fdd745230f515dd397d254b9165ea1.jpg","text":"TemporaryFile(/tmp/multipartBody6598900691521518351asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752252248000,"filename":"image_11072025_02_53_02_1212.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/41afba0b9fff513a53f46ca987e545f2.jpg","text":"TemporaryFile(/tmp/multipartBody8310877506580178173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752252248000,"filename":"image_11072025_03_05_01_7072.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371637103","file1":"1371637094","file0":"1371637089","file4":"1371637126","file5":"1371637136","file3":"1371637110"},"map_files_photo_id_array":[{"photo_id":"1371637136","filename":"file5"},{"photo_id":"1371637103","filename":"file2"},{"photo_id":"1371637126","filename":"file4"},{"photo_id":"1371637094","filename":"file1"},{"photo_id":"1371637089","filename":"file0"},{"photo_id":"1371637110","filename":"file3"}],"portfolio_id":24815670,"hashtag_by_photo_ids":[{"1371637110":["hashtag1","hashtag2"]},{"1371637094":["hashtag1","hashtag2"]},{"1371637136":["hashtag1","hashtag2"]},{"1371637103":["hashtag1","hashtag2"]},{"1371637126":["hashtag1","hashtag2"]},{"1371637089":["hashtag1","hashtag2"]}],"comms":"Portfolio 24815670 used, photo_id : ArrayBuffer(1371637110, 1371637094, 1371637136, 1371637103, 1371637126, 1371637089)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.15425658226013 secondes ---
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 18:45:04.030639
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/02/51/image_11072025_02_51_02_2028.jpg', 2), ('/home/pi/Desktop/images/11072025/02/50/image_11072025_02_50_02_2154.jpg', 2), ('/home/pi/Desktop/images/11072025/02/49/image_11072025_02_49_01_5801.jpg', 2), ('/home/pi/Desktop/images/11072025/02/48/image_11072025_02_48_02_0050.jpg', 2), ('/home/pi/Desktop/images/11072025/02/47/image_11072025_02_47_01_9776.jpg', 2), ('/home/pi/Desktop/images/11072025/02/46/image_11072025_02_46_01_6070.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/02/51/image_11072025_02_51_02_2028.jpg', '/home/pi/Desktop/images/11072025/02/50/image_11072025_02_50_02_2154.jpg', '/home/pi/Desktop/images/11072025/02/49/image_11072025_02_49_01_5801.jpg', '/home/pi/Desktop/images/11072025/02/48/image_11072025_02_48_02_0050.jpg', '/home/pi/Desktop/images/11072025/02/47/image_11072025_02_47_01_9776.jpg', '/home/pi/Desktop/images/11072025/02/46/image_11072025_02_46_01_6070.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/02/51/image_11072025_02_51_02_2028.jpg
/home/pi/Desktop/images/11072025/02/50/image_11072025_02_50_02_2154.jpg
/home/pi/Desktop/images/11072025/02/49/image_11072025_02_49_01_5801.jpg
/home/pi/Desktop/images/11072025/02/48/image_11072025_02_48_02_0050.jpg
/home/pi/Desktop/images/11072025/02/47/image_11072025_02_47_01_9776.jpg
/home/pi/Desktop/images/11072025/02/46/image_11072025_02_46_01_6070.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371637242","1371637262","1371637232","1371637226","1371637309","1371637251"],"photo_ids_order":["1371637226","1371637232","1371637242","1371637251","1371637262","1371637309"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/8528b95a28a9b4e42d7b90b7ec0d0667.jpg","text":"TemporaryFile(/tmp/multipartBody4673634694178177488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752252368436,"filename":"image_11072025_02_49_01_5801.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/cc3e960d71267291b5a63b735fd00951.jpg","text":"TemporaryFile(/tmp/multipartBody7173816452190572293asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752252368436,"filename":"image_11072025_02_47_01_9776.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/1705922fe9d03cbbb478516a46eb9b29.jpg","text":"TemporaryFile(/tmp/multipartBody4102124235165643800asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752252368436,"filename":"image_11072025_02_50_02_2154.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/7f6eb19b2090c10d283ac2b0c562b324.jpg","text":"TemporaryFile(/tmp/multipartBody6105439327868326524asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752252368436,"filename":"image_11072025_02_51_02_2028.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/9bed1356792cc8a4e29702cc17118644.jpg","text":"TemporaryFile(/tmp/multipartBody2419613408011496245asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752252368436,"filename":"image_11072025_02_46_01_6070.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/5ddea6051f1b3a37a9fe35fc68bd359a.jpg","text":"TemporaryFile(/tmp/multipartBody4352368659569700520asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752252368436,"filename":"image_11072025_02_48_02_0050.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371637242","file1":"1371637232","file0":"1371637226","file4":"1371637262","file5":"1371637309","file3":"1371637251"},"map_files_photo_id_array":[{"photo_id":"1371637309","filename":"file5"},{"photo_id":"1371637242","filename":"file2"},{"photo_id":"1371637262","filename":"file4"},{"photo_id":"1371637232","filename":"file1"},{"photo_id":"1371637226","filename":"file0"},{"photo_id":"1371637251","filename":"file3"}],"portfolio_id":24815670,"hashtag_by_photo_ids":[{"1371637242":["hashtag1","hashtag2"]},{"1371637262":["hashtag1","hashtag2"]},{"1371637232":["hashtag1","hashtag2"]},{"1371637226":["hashtag1","hashtag2"]},{"1371637309":["hashtag1","hashtag2"]},{"1371637251":["hashtag1","hashtag2"]}],"comms":"Portfolio 24815670 used, photo_id : ArrayBuffer(1371637242, 1371637262, 1371637232, 1371637226, 1371637309, 1371637251)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 61.03449511528015 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 18:47:03.076573
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/02/45/image_11072025_02_45_01_7379.jpg', 2), ('/home/pi/Desktop/images/11072025/02/44/image_11072025_02_44_01_7148.jpg', 2), ('/home/pi/Desktop/images/11072025/02/42/image_11072025_02_42_02_2320.jpg', 2), ('/home/pi/Desktop/images/11072025/02/40/image_11072025_02_40_01_6949.jpg', 2), ('/home/pi/Desktop/images/11072025/02/37/image_11072025_02_37_01_9974.jpg', 2), ('/home/pi/Desktop/images/11072025/02/28/image_11072025_02_28_01_9430.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/02/45/image_11072025_02_45_01_7379.jpg', '/home/pi/Desktop/images/11072025/02/44/image_11072025_02_44_01_7148.jpg', '/home/pi/Desktop/images/11072025/02/42/image_11072025_02_42_02_2320.jpg', '/home/pi/Desktop/images/11072025/02/40/image_11072025_02_40_01_6949.jpg', '/home/pi/Desktop/images/11072025/02/37/image_11072025_02_37_01_9974.jpg', '/home/pi/Desktop/images/11072025/02/28/image_11072025_02_28_01_9430.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/02/45/image_11072025_02_45_01_7379.jpg
/home/pi/Desktop/images/11072025/02/44/image_11072025_02_44_01_7148.jpg
/home/pi/Desktop/images/11072025/02/42/image_11072025_02_42_02_2320.jpg
/home/pi/Desktop/images/11072025/02/40/image_11072025_02_40_01_6949.jpg
/home/pi/Desktop/images/11072025/02/37/image_11072025_02_37_01_9974.jpg
/home/pi/Desktop/images/11072025/02/28/image_11072025_02_28_01_9430.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371637895","1371637940","1371637888","1371637876","1371637927","1371637906"],"photo_ids_order":["1371637876","1371637888","1371637895","1371637906","1371637927","1371637940"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/ab26e30f790df8eb3a3903fe522ba4cd.jpg","text":"TemporaryFile(/tmp/multipartBody7496083573996248334asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752252487132,"filename":"image_11072025_02_42_02_2320.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/467a7d302fea1973d94c5366498961fe.jpg","text":"TemporaryFile(/tmp/multipartBody8510153096392012034asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752252487132,"filename":"image_11072025_02_28_01_9430.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/9d4521317217361e5889ee4bff07c9d5.jpg","text":"TemporaryFile(/tmp/multipartBody138547814382028795asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752252487132,"filename":"image_11072025_02_44_01_7148.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/b3d70efee58c31f62288b38d8324f9ab.jpg","text":"TemporaryFile(/tmp/multipartBody7191891664404699439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752252487132,"filename":"image_11072025_02_45_01_7379.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/ef7fd5f3507d10355afa5ea0fc5acc1d.jpg","text":"TemporaryFile(/tmp/multipartBody3340303620302799890asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752252487132,"filename":"image_11072025_02_37_01_9974.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/6e0c9107f80ca84707c27d11870f3e64.jpg","text":"TemporaryFile(/tmp/multipartBody4018150652338668625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752252487132,"filename":"image_11072025_02_40_01_6949.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371637895","file1":"1371637888","file0":"1371637876","file4":"1371637927","file5":"1371637940","file3":"1371637906"},"map_files_photo_id_array":[{"photo_id":"1371637940","filename":"file5"},{"photo_id":"1371637895","filename":"file2"},{"photo_id":"1371637927","filename":"file4"},{"photo_id":"1371637888","filename":"file1"},{"photo_id":"1371637876","filename":"file0"},{"photo_id":"1371637906","filename":"file3"}],"portfolio_id":24815670,"hashtag_by_photo_ids":[{"1371637895":["hashtag1","hashtag2"]},{"1371637940":["hashtag1","hashtag2"]},{"1371637888":["hashtag1","hashtag2"]},{"1371637876":["hashtag1","hashtag2"]},{"1371637927":["hashtag1","hashtag2"]},{"1371637906":["hashtag1","hashtag2"]}],"comms":"Portfolio 24815670 used, photo_id : ArrayBuffer(1371637895, 1371637940, 1371637888, 1371637876, 1371637927, 1371637906)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 60.50440502166748 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 18:49:04.099709
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/02/27/image_11072025_02_27_01_6017.jpg', 2), ('/home/pi/Desktop/images/11072025/02/26/image_11072025_02_26_02_3750.jpg', 2), ('/home/pi/Desktop/images/11072025/02/25/image_11072025_02_25_02_3011.jpg', 2), ('/home/pi/Desktop/images/11072025/02/24/image_11072025_02_24_02_1351.jpg', 2), ('/home/pi/Desktop/images/11072025/02/23/image_11072025_02_23_01_9987.jpg', 2), ('/home/pi/Desktop/images/11072025/02/22/image_11072025_02_22_01_9930.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/02/27/image_11072025_02_27_01_6017.jpg', '/home/pi/Desktop/images/11072025/02/26/image_11072025_02_26_02_3750.jpg', '/home/pi/Desktop/images/11072025/02/25/image_11072025_02_25_02_3011.jpg', '/home/pi/Desktop/images/11072025/02/24/image_11072025_02_24_02_1351.jpg', '/home/pi/Desktop/images/11072025/02/23/image_11072025_02_23_01_9987.jpg', '/home/pi/Desktop/images/11072025/02/22/image_11072025_02_22_01_9930.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/02/27/image_11072025_02_27_01_6017.jpg
/home/pi/Desktop/images/11072025/02/26/image_11072025_02_26_02_3750.jpg
/home/pi/Desktop/images/11072025/02/25/image_11072025_02_25_02_3011.jpg
/home/pi/Desktop/images/11072025/02/24/image_11072025_02_24_02_1351.jpg
/home/pi/Desktop/images/11072025/02/23/image_11072025_02_23_01_9987.jpg
/home/pi/Desktop/images/11072025/02/22/image_11072025_02_22_01_9930.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371639035","1371638780","1371638855","1371638864","1371638944","1371638790"],"photo_ids_order":["1371638780","1371638790","1371638855","1371638864","1371638944","1371639035"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/88cfb1e9b7506c4022a95202cac9ba1f.jpg","text":"TemporaryFile(/tmp/multipartBody659167438364569741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752252608403,"filename":"image_11072025_02_22_01_9930.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/b922a43e2cd6c42c6822fb010b0dc13b.jpg","text":"TemporaryFile(/tmp/multipartBody701808554529351745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752252608403,"filename":"image_11072025_02_27_01_6017.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/5c3082ef37a042df4bb8c033879c984a.jpg","text":"TemporaryFile(/tmp/multipartBody6748990281347769449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752252608403,"filename":"image_11072025_02_25_02_3011.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/f9e05bdc1c9838eb67f43e7e0754a4e3.jpg","text":"TemporaryFile(/tmp/multipartBody6510999081932816309asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752252608403,"filename":"image_11072025_02_24_02_1351.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/cfc7be0a0f51c4fa28edf8bfbe762712.jpg","text":"TemporaryFile(/tmp/multipartBody5836199125533458238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752252608403,"filename":"image_11072025_02_23_01_9987.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/4f673393b445a36f5791ebdf95f86145.jpg","text":"TemporaryFile(/tmp/multipartBody1416628771892770266asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752252608403,"filename":"image_11072025_02_26_02_3750.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371638855","file1":"1371638790","file0":"1371638780","file4":"1371638944","file5":"1371639035","file3":"1371638864"},"map_files_photo_id_array":[{"photo_id":"1371639035","filename":"file5"},{"photo_id":"1371638855","filename":"file2"},{"photo_id":"1371638944","filename":"file4"},{"photo_id":"1371638790","filename":"file1"},{"photo_id":"1371638780","filename":"file0"},{"photo_id":"1371638864","filename":"file3"}],"portfolio_id":24815670,"hashtag_by_photo_ids":[{"1371639035":["hashtag1","hashtag2"]},{"1371638780":["hashtag1","hashtag2"]},{"1371638855":["hashtag1","hashtag2"]},{"1371638864":["hashtag1","hashtag2"]},{"1371638944":["hashtag1","hashtag2"]},{"1371638790":["hashtag1","hashtag2"]}],"comms":"Portfolio 24815670 used, photo_id : ArrayBuffer(1371639035, 1371638780, 1371638855, 1371638864, 1371638944, 1371638790)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 60.353891372680664 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 18:51:03.501716
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/02/21/image_11072025_02_21_01_9253.jpg', 2), ('/home/pi/Desktop/images/11072025/02/19/image_11072025_02_19_01_5703.jpg', 2), ('/home/pi/Desktop/images/11072025/02/18/image_11072025_02_18_02_1050.jpg', 2), ('/home/pi/Desktop/images/11072025/02/16/image_11072025_02_16_01_8914.jpg', 2), ('/home/pi/Desktop/images/11072025/02/15/image_11072025_02_15_01_8480.jpg', 2), ('/home/pi/Desktop/images/11072025/02/14/image_11072025_02_14_01_7540.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/02/21/image_11072025_02_21_01_9253.jpg', '/home/pi/Desktop/images/11072025/02/19/image_11072025_02_19_01_5703.jpg', '/home/pi/Desktop/images/11072025/02/18/image_11072025_02_18_02_1050.jpg', '/home/pi/Desktop/images/11072025/02/16/image_11072025_02_16_01_8914.jpg', '/home/pi/Desktop/images/11072025/02/15/image_11072025_02_15_01_8480.jpg', '/home/pi/Desktop/images/11072025/02/14/image_11072025_02_14_01_7540.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/02/21/image_11072025_02_21_01_9253.jpg
/home/pi/Desktop/images/11072025/02/19/image_11072025_02_19_01_5703.jpg
/home/pi/Desktop/images/11072025/02/18/image_11072025_02_18_02_1050.jpg
/home/pi/Desktop/images/11072025/02/16/image_11072025_02_16_01_8914.jpg
/home/pi/Desktop/images/11072025/02/15/image_11072025_02_15_01_8480.jpg
/home/pi/Desktop/images/11072025/02/14/image_11072025_02_14_01_7540.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371639650","1371639763","1371639588","1371639714","1371639749","1371639734"],"photo_ids_order":["1371639588","1371639650","1371639714","1371639734","1371639749","1371639763"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/9da11620ec64bf721023dc194ba56bee.jpg","text":"TemporaryFile(/tmp/multipartBody5594307961084785385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752252728526,"filename":"image_11072025_02_19_01_5703.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/9bc89f947d438e28698dd28ff861ade2.jpg","text":"TemporaryFile(/tmp/multipartBody112071984578884989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752252728526,"filename":"image_11072025_02_14_01_7540.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/e51e5060325f2f8ec4b1cf2305720fc5.jpg","text":"TemporaryFile(/tmp/multipartBody6182966802290955694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752252728526,"filename":"image_11072025_02_21_01_9253.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/2fd8e1ad9faf598779c1be7699331855.jpg","text":"TemporaryFile(/tmp/multipartBody5920133639489651624asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752252728526,"filename":"image_11072025_02_18_02_1050.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/1c24d062bd8b813e11818593d15a7c32.jpg","text":"TemporaryFile(/tmp/multipartBody6986849848794666264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752252728526,"filename":"image_11072025_02_15_01_8480.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/5082f5ecfa7d5bee5d6f7085607021ba.jpg","text":"TemporaryFile(/tmp/multipartBody6793444016122746094asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752252728526,"filename":"image_11072025_02_16_01_8914.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371639714","file1":"1371639650","file0":"1371639588","file4":"1371639749","file5":"1371639763","file3":"1371639734"},"map_files_photo_id_array":[{"photo_id":"1371639763","filename":"file5"},{"photo_id":"1371639714","filename":"file2"},{"photo_id":"1371639749","filename":"file4"},{"photo_id":"1371639650","filename":"file1"},{"photo_id":"1371639588","filename":"file0"},{"photo_id":"1371639734","filename":"file3"}],"portfolio_id":24815670,"hashtag_by_photo_ids":[{"1371639650":["hashtag1","hashtag2"]},{"1371639763":["hashtag1","hashtag2"]},{"1371639588":["hashtag1","hashtag2"]},{"1371639714":["hashtag1","hashtag2"]},{"1371639749":["hashtag1","hashtag2"]},{"1371639734":["hashtag1","hashtag2"]}],"comms":"Portfolio 24815670 used, photo_id : ArrayBuffer(1371639650, 1371639763, 1371639588, 1371639714, 1371639749, 1371639734)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 62.31114673614502 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 18:53:03.603145
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/02/13/image_11072025_02_13_01_4080.jpg', 2), ('/home/pi/Desktop/images/11072025/02/12/image_11072025_02_12_02_1856.jpg', 2), ('/home/pi/Desktop/images/11072025/01/56/image_11072025_01_56_01_3581.jpg', 2), ('/home/pi/Desktop/images/11072025/01/51/image_11072025_01_51_01_7007.jpg', 2), ('/home/pi/Desktop/images/11072025/01/50/image_11072025_01_50_01_7567.jpg', 2), ('/home/pi/Desktop/images/11072025/01/49/image_11072025_01_49_02_0236.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/02/13/image_11072025_02_13_01_4080.jpg', '/home/pi/Desktop/images/11072025/02/12/image_11072025_02_12_02_1856.jpg', '/home/pi/Desktop/images/11072025/01/56/image_11072025_01_56_01_3581.jpg', '/home/pi/Desktop/images/11072025/01/51/image_11072025_01_51_01_7007.jpg', '/home/pi/Desktop/images/11072025/01/50/image_11072025_01_50_01_7567.jpg', '/home/pi/Desktop/images/11072025/01/49/image_11072025_01_49_02_0236.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/02/13/image_11072025_02_13_01_4080.jpg
/home/pi/Desktop/images/11072025/02/12/image_11072025_02_12_02_1856.jpg
/home/pi/Desktop/images/11072025/01/56/image_11072025_01_56_01_3581.jpg
/home/pi/Desktop/images/11072025/01/51/image_11072025_01_51_01_7007.jpg
/home/pi/Desktop/images/11072025/01/50/image_11072025_01_50_01_7567.jpg
/home/pi/Desktop/images/11072025/01/49/image_11072025_01_49_02_0236.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371639914","1371639857","1371639838","1371639891","1371639843","1371639875"],"photo_ids_order":["1371639838","1371639843","1371639857","1371639875","1371639891","1371639914"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/4eaa2f1cc9824f753c05a0670c1dcf8d.jpg","text":"TemporaryFile(/tmp/multipartBody5302554362266174380asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752252847945,"filename":"image_11072025_01_49_02_0236.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/f77d2cea47aebdfaf55cec85c269e9f1.jpg","text":"TemporaryFile(/tmp/multipartBody2640098796201101684asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752252847945,"filename":"image_11072025_01_56_01_3581.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/e0893b802f9e7c01c59f563430d325c2.jpg","text":"TemporaryFile(/tmp/multipartBody7772024131385428612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752252847945,"filename":"image_11072025_02_13_01_4080.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/93aaa418caa2c969b1313db04a131bd8.jpg","text":"TemporaryFile(/tmp/multipartBody6388586206486951246asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752252847945,"filename":"image_11072025_01_50_01_7567.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/ad056d50d945118fcf9ccad535220402.jpg","text":"TemporaryFile(/tmp/multipartBody2928131041199970374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752252847945,"filename":"image_11072025_02_12_02_1856.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/4d6ecaf39f5e194521a7b03410715ca4.jpg","text":"TemporaryFile(/tmp/multipartBody998087026155886704asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752252847945,"filename":"image_11072025_01_51_01_7007.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371639857","file1":"1371639843","file0":"1371639838","file4":"1371639891","file5":"1371639914","file3":"1371639875"},"map_files_photo_id_array":[{"photo_id":"1371639914","filename":"file5"},{"photo_id":"1371639857","filename":"file2"},{"photo_id":"1371639891","filename":"file4"},{"photo_id":"1371639843","filename":"file1"},{"photo_id":"1371639838","filename":"file0"},{"photo_id":"1371639875","filename":"file3"}],"portfolio_id":24815670,"hashtag_by_photo_ids":[{"1371639914":["hashtag1","hashtag2"]},{"1371639857":["hashtag1","hashtag2"]},{"1371639838":["hashtag1","hashtag2"]},{"1371639891":["hashtag1","hashtag2"]},{"1371639843":["hashtag1","hashtag2"]},{"1371639875":["hashtag1","hashtag2"]}],"comms":"Portfolio 24815670 used, photo_id : ArrayBuffer(1371639914, 1371639857, 1371639838, 1371639891, 1371639843, 1371639875)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 59.653372287750244 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 18:55:04.060105
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/01/48/image_11072025_01_48_02_1192.jpg', 2), ('/home/pi/Desktop/images/11072025/01/47/image_11072025_01_47_01_5730.jpg', 2), ('/home/pi/Desktop/images/11072025/01/46/image_11072025_01_46_02_0060.jpg', 2), ('/home/pi/Desktop/images/11072025/01/45/image_11072025_01_45_01_6239.jpg', 2), ('/home/pi/Desktop/images/11072025/01/44/image_11072025_01_44_01_7736.jpg', 2), ('/home/pi/Desktop/images/11072025/01/43/image_11072025_01_43_01_4695.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/01/48/image_11072025_01_48_02_1192.jpg', '/home/pi/Desktop/images/11072025/01/47/image_11072025_01_47_01_5730.jpg', '/home/pi/Desktop/images/11072025/01/46/image_11072025_01_46_02_0060.jpg', '/home/pi/Desktop/images/11072025/01/45/image_11072025_01_45_01_6239.jpg', '/home/pi/Desktop/images/11072025/01/44/image_11072025_01_44_01_7736.jpg', '/home/pi/Desktop/images/11072025/01/43/image_11072025_01_43_01_4695.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/01/48/image_11072025_01_48_02_1192.jpg
/home/pi/Desktop/images/11072025/01/47/image_11072025_01_47_01_5730.jpg
/home/pi/Desktop/images/11072025/01/46/image_11072025_01_46_02_0060.jpg
/home/pi/Desktop/images/11072025/01/45/image_11072025_01_45_01_6239.jpg
/home/pi/Desktop/images/11072025/01/44/image_11072025_01_44_01_7736.jpg
/home/pi/Desktop/images/11072025/01/43/image_11072025_01_43_01_4695.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371640085","1371640073","1371640049","1371640040","1371640060","1371640054"],"photo_ids_order":["1371640040","1371640049","1371640054","1371640060","1371640073","1371640085"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/52efb12b61af39bdb6a6d3b8053db068.jpg","text":"TemporaryFile(/tmp/multipartBody5532336079726068761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752252968534,"filename":"image_11072025_01_43_01_4695.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/b5c2f747b1f013df2fd1edfcb97cfcfe.jpg","text":"TemporaryFile(/tmp/multipartBody6697438673511671199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752252968534,"filename":"image_11072025_01_44_01_7736.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/399f4e609b3b2ec367c49ee51a1071a3.jpg","text":"TemporaryFile(/tmp/multipartBody7147082923969185869asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752252968534,"filename":"image_11072025_01_47_01_5730.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/36e08e99abc2538318bcac1f178b4bba.jpg","text":"TemporaryFile(/tmp/multipartBody1671401616984131310asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752252968534,"filename":"image_11072025_01_48_02_1192.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/ca92e3c9b13fc1e69b8db9ed9c761c61.jpg","text":"TemporaryFile(/tmp/multipartBody2875561850362170361asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752252968534,"filename":"image_11072025_01_45_01_6239.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/574a66009e58ca48bd58af8b5b8d77c2.jpg","text":"TemporaryFile(/tmp/multipartBody1879728280527158765asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752252968534,"filename":"image_11072025_01_46_02_0060.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371640054","file1":"1371640049","file0":"1371640040","file4":"1371640073","file5":"1371640085","file3":"1371640060"},"map_files_photo_id_array":[{"photo_id":"1371640085","filename":"file5"},{"photo_id":"1371640054","filename":"file2"},{"photo_id":"1371640073","filename":"file4"},{"photo_id":"1371640049","filename":"file1"},{"photo_id":"1371640040","filename":"file0"},{"photo_id":"1371640060","filename":"file3"}],"portfolio_id":24815670,"hashtag_by_photo_ids":[{"1371640085":["hashtag1","hashtag2"]},{"1371640073":["hashtag1","hashtag2"]},{"1371640049":["hashtag1","hashtag2"]},{"1371640040":["hashtag1","hashtag2"]},{"1371640060":["hashtag1","hashtag2"]},{"1371640054":["hashtag1","hashtag2"]}],"comms":"Portfolio 24815670 used, photo_id : ArrayBuffer(1371640085, 1371640073, 1371640049, 1371640040, 1371640060, 1371640054)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 61.84903883934021 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 18:57:04.113764
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/01/40/image_11072025_01_40_02_0274.jpg', 2), ('/home/pi/Desktop/images/11072025/01/29/image_11072025_01_29_01_9540.jpg', 2), ('/home/pi/Desktop/images/11072025/01/24/image_11072025_01_24_02_2280.jpg', 2), ('/home/pi/Desktop/images/11072025/01/23/image_11072025_01_23_02_2917.jpg', 2), ('/home/pi/Desktop/images/11072025/01/22/image_11072025_01_22_01_4809.jpg', 2), ('/home/pi/Desktop/images/11072025/01/21/image_11072025_01_21_01_9005.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/01/40/image_11072025_01_40_02_0274.jpg', '/home/pi/Desktop/images/11072025/01/29/image_11072025_01_29_01_9540.jpg', '/home/pi/Desktop/images/11072025/01/24/image_11072025_01_24_02_2280.jpg', '/home/pi/Desktop/images/11072025/01/23/image_11072025_01_23_02_2917.jpg', '/home/pi/Desktop/images/11072025/01/22/image_11072025_01_22_01_4809.jpg', '/home/pi/Desktop/images/11072025/01/21/image_11072025_01_21_01_9005.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/01/40/image_11072025_01_40_02_0274.jpg
/home/pi/Desktop/images/11072025/01/29/image_11072025_01_29_01_9540.jpg
/home/pi/Desktop/images/11072025/01/24/image_11072025_01_24_02_2280.jpg
/home/pi/Desktop/images/11072025/01/23/image_11072025_01_23_02_2917.jpg
/home/pi/Desktop/images/11072025/01/22/image_11072025_01_22_01_4809.jpg
/home/pi/Desktop/images/11072025/01/21/image_11072025_01_21_01_9005.jpg
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 18:59:03.356193
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/01/40/image_11072025_01_40_02_0274.jpg', 2), ('/home/pi/Desktop/images/11072025/01/29/image_11072025_01_29_01_9540.jpg', 2), ('/home/pi/Desktop/images/11072025/01/24/image_11072025_01_24_02_2280.jpg', 2), ('/home/pi/Desktop/images/11072025/01/23/image_11072025_01_23_02_2917.jpg', 2), ('/home/pi/Desktop/images/11072025/01/22/image_11072025_01_22_01_4809.jpg', 2), ('/home/pi/Desktop/images/11072025/01/21/image_11072025_01_21_01_9005.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/01/40/image_11072025_01_40_02_0274.jpg', '/home/pi/Desktop/images/11072025/01/29/image_11072025_01_29_01_9540.jpg', '/home/pi/Desktop/images/11072025/01/24/image_11072025_01_24_02_2280.jpg', '/home/pi/Desktop/images/11072025/01/23/image_11072025_01_23_02_2917.jpg', '/home/pi/Desktop/images/11072025/01/22/image_11072025_01_22_01_4809.jpg', '/home/pi/Desktop/images/11072025/01/21/image_11072025_01_21_01_9005.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/01/40/image_11072025_01_40_02_0274.jpg
/home/pi/Desktop/images/11072025/01/29/image_11072025_01_29_01_9540.jpg
/home/pi/Desktop/images/11072025/01/24/image_11072025_01_24_02_2280.jpg
/home/pi/Desktop/images/11072025/01/23/image_11072025_01_23_02_2917.jpg
/home/pi/Desktop/images/11072025/01/22/image_11072025_01_22_01_4809.jpg
/home/pi/Desktop/images/11072025/01/21/image_11072025_01_21_01_9005.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371642305","1371641846","1371641621","1371641740","1371641967","1371642143"],"photo_ids_order":["1371641621","1371641740","1371641846","1371641967","1371642143","1371642305"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/fcf7bfda9f51098f2fd9b166c50b19b7.jpg","text":"TemporaryFile(/tmp/multipartBody902434073233999634asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752253206269,"filename":"image_11072025_01_21_01_9005.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/0e6cc51a435e7cf67e48f04a71143388.jpg","text":"TemporaryFile(/tmp/multipartBody7515473381176373745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752253206269,"filename":"image_11072025_01_24_02_2280.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/39a6b9f13d69fb9f0d89490b9839e138.jpg","text":"TemporaryFile(/tmp/multipartBody950524082497484203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752253206269,"filename":"image_11072025_01_40_02_0274.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/d8da22c0ea3c4deec56e09c6cfc77f4a.jpg","text":"TemporaryFile(/tmp/multipartBody2502047472309241463asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752253206269,"filename":"image_11072025_01_29_01_9540.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/60d96847b212958a9669226c8230a23c.jpg","text":"TemporaryFile(/tmp/multipartBody2714999871584124230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752253206269,"filename":"image_11072025_01_23_02_2917.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/6a2a3271533fdba02661871ec21bd917.jpg","text":"TemporaryFile(/tmp/multipartBody8193380625841396906asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752253206269,"filename":"image_11072025_01_22_01_4809.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371641846","file1":"1371641740","file0":"1371641621","file4":"1371642143","file5":"1371642305","file3":"1371641967"},"map_files_photo_id_array":[{"photo_id":"1371642305","filename":"file5"},{"photo_id":"1371641846","filename":"file2"},{"photo_id":"1371642143","filename":"file4"},{"photo_id":"1371641740","filename":"file1"},{"photo_id":"1371641621","filename":"file0"},{"photo_id":"1371641967","filename":"file3"}],"portfolio_id":24815670,"hashtag_by_photo_ids":[{"1371642305":["hashtag1","hashtag2"]},{"1371641846":["hashtag1","hashtag2"]},{"1371641621":["hashtag1","hashtag2"]},{"1371641740":["hashtag1","hashtag2"]},{"1371641967":["hashtag1","hashtag2"]},{"1371642143":["hashtag1","hashtag2"]}],"comms":"Portfolio 24815670 used, photo_id : ArrayBuffer(1371642305, 1371641846, 1371641621, 1371641740, 1371641967, 1371642143)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 63.30572056770325 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 19:01:03.529680
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/01/20/image_11072025_01_20_01_5025.jpg', 2), ('/home/pi/Desktop/images/11072025/01/19/image_11072025_01_19_01_8134.jpg', 2), ('/home/pi/Desktop/images/11072025/01/18/image_11072025_01_18_02_0583.jpg', 2), ('/home/pi/Desktop/images/11072025/01/17/image_11072025_01_17_01_9442.jpg', 2), ('/home/pi/Desktop/images/11072025/01/16/image_11072025_01_16_01_7584.jpg', 2), ('/home/pi/Desktop/images/11072025/01/15/image_11072025_01_15_02_1568.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/01/20/image_11072025_01_20_01_5025.jpg', '/home/pi/Desktop/images/11072025/01/19/image_11072025_01_19_01_8134.jpg', '/home/pi/Desktop/images/11072025/01/18/image_11072025_01_18_02_0583.jpg', '/home/pi/Desktop/images/11072025/01/17/image_11072025_01_17_01_9442.jpg', '/home/pi/Desktop/images/11072025/01/16/image_11072025_01_16_01_7584.jpg', '/home/pi/Desktop/images/11072025/01/15/image_11072025_01_15_02_1568.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/01/20/image_11072025_01_20_01_5025.jpg
/home/pi/Desktop/images/11072025/01/19/image_11072025_01_19_01_8134.jpg
/home/pi/Desktop/images/11072025/01/18/image_11072025_01_18_02_0583.jpg
/home/pi/Desktop/images/11072025/01/17/image_11072025_01_17_01_9442.jpg
/home/pi/Desktop/images/11072025/01/16/image_11072025_01_16_01_7584.jpg
/home/pi/Desktop/images/11072025/01/15/image_11072025_01_15_02_1568.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371643108","1371642951","1371643016","1371643063","1371643042","1371642895"],"photo_ids_order":["1371642895","1371642951","1371643016","1371643042","1371643063","1371643108"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/62029187f57044be639356e12f035540.jpg","text":"TemporaryFile(/tmp/multipartBody8836113121121551010asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752253327655,"filename":"image_11072025_01_15_02_1568.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/0eb1787418b176ebd580d6c7b225fac1.jpg","text":"TemporaryFile(/tmp/multipartBody2592506903868641327asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752253327655,"filename":"image_11072025_01_19_01_8134.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/bb840524a50ec4c24e2c9ea2eca69e54.jpg","text":"TemporaryFile(/tmp/multipartBody5495319466613710434asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752253327655,"filename":"image_11072025_01_18_02_0583.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/af9e94d04552fac37337728974b80b9e.jpg","text":"TemporaryFile(/tmp/multipartBody7483444580477046973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752253327655,"filename":"image_11072025_01_16_01_7584.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/9b0bdff74490cd365aafab8b3064b147.jpg","text":"TemporaryFile(/tmp/multipartBody7576796177961953986asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752253327655,"filename":"image_11072025_01_17_01_9442.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/c3d300d1fa308a1b2ecd059ba515df5f.jpg","text":"TemporaryFile(/tmp/multipartBody2108051184646491799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752253327655,"filename":"image_11072025_01_20_01_5025.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371643016","file1":"1371642951","file0":"1371642895","file4":"1371643063","file5":"1371643108","file3":"1371643042"},"map_files_photo_id_array":[{"photo_id":"1371643108","filename":"file5"},{"photo_id":"1371643016","filename":"file2"},{"photo_id":"1371643063","filename":"file4"},{"photo_id":"1371642951","filename":"file1"},{"photo_id":"1371642895","filename":"file0"},{"photo_id":"1371643042","filename":"file3"}],"portfolio_id":24815670,"hashtag_by_photo_ids":[{"1371643108":["hashtag1","hashtag2"]},{"1371642951":["hashtag1","hashtag2"]},{"1371643016":["hashtag1","hashtag2"]},{"1371643063":["hashtag1","hashtag2"]},{"1371643042":["hashtag1","hashtag2"]},{"1371642895":["hashtag1","hashtag2"]}],"comms":"Portfolio 24815670 used, photo_id : ArrayBuffer(1371643108, 1371642951, 1371643016, 1371643063, 1371643042, 1371642895)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 66.93284678459167 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 19:03:03.771183
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/01/14/image_11072025_01_14_01_5281.jpg', 2), ('/home/pi/Desktop/images/11072025/01/13/image_11072025_01_13_02_0561.jpg', 2), ('/home/pi/Desktop/images/11072025/01/12/image_11072025_01_12_01_7328.jpg', 2), ('/home/pi/Desktop/images/11072025/01/11/image_11072025_01_11_01_6164.jpg', 2), ('/home/pi/Desktop/images/11072025/01/10/image_11072025_01_10_02_0389.jpg', 2), ('/home/pi/Desktop/images/11072025/01/09/image_11072025_01_09_02_2640.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/01/14/image_11072025_01_14_01_5281.jpg', '/home/pi/Desktop/images/11072025/01/13/image_11072025_01_13_02_0561.jpg', '/home/pi/Desktop/images/11072025/01/12/image_11072025_01_12_01_7328.jpg', '/home/pi/Desktop/images/11072025/01/11/image_11072025_01_11_01_6164.jpg', '/home/pi/Desktop/images/11072025/01/10/image_11072025_01_10_02_0389.jpg', '/home/pi/Desktop/images/11072025/01/09/image_11072025_01_09_02_2640.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/01/14/image_11072025_01_14_01_5281.jpg
/home/pi/Desktop/images/11072025/01/13/image_11072025_01_13_02_0561.jpg
/home/pi/Desktop/images/11072025/01/12/image_11072025_01_12_01_7328.jpg
/home/pi/Desktop/images/11072025/01/11/image_11072025_01_11_01_6164.jpg
/home/pi/Desktop/images/11072025/01/10/image_11072025_01_10_02_0389.jpg
/home/pi/Desktop/images/11072025/01/09/image_11072025_01_09_02_2640.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371643237","1371643259","1371643229","1371643220","1371643214","1371643249"],"photo_ids_order":["1371643214","1371643220","1371643229","1371643237","1371643249","1371643259"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/e6e8ac9afaef3a8a673f88ece7f3ff9a.jpg","text":"TemporaryFile(/tmp/multipartBody3583443131784821775asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752253447996,"filename":"image_11072025_01_11_01_6164.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/eaa9c6ce115c0407dd179751f06b46e6.jpg","text":"TemporaryFile(/tmp/multipartBody4061516470784074065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752253447996,"filename":"image_11072025_01_09_02_2640.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/4b45cd3abdbd5dea108e14414f9f2a86.jpg","text":"TemporaryFile(/tmp/multipartBody7026540431728839896asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752253447996,"filename":"image_11072025_01_12_01_7328.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/da2947a15e07cea5612cf64ee6cdaab4.jpg","text":"TemporaryFile(/tmp/multipartBody5389192426310107457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752253447996,"filename":"image_11072025_01_13_02_0561.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/34d1169c627041f6325e527bec19a7dc.jpg","text":"TemporaryFile(/tmp/multipartBody4478546491746514069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752253447996,"filename":"image_11072025_01_14_01_5281.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/8f8aee24c1e9bc19e3ff285f2c2da20e.jpg","text":"TemporaryFile(/tmp/multipartBody3149443457642696866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752253447996,"filename":"image_11072025_01_10_02_0389.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371643229","file1":"1371643220","file0":"1371643214","file4":"1371643249","file5":"1371643259","file3":"1371643237"},"map_files_photo_id_array":[{"photo_id":"1371643259","filename":"file5"},{"photo_id":"1371643229","filename":"file2"},{"photo_id":"1371643249","filename":"file4"},{"photo_id":"1371643220","filename":"file1"},{"photo_id":"1371643214","filename":"file0"},{"photo_id":"1371643237","filename":"file3"}],"portfolio_id":24815670,"hashtag_by_photo_ids":[{"1371643237":["hashtag1","hashtag2"]},{"1371643259":["hashtag1","hashtag2"]},{"1371643229":["hashtag1","hashtag2"]},{"1371643220":["hashtag1","hashtag2"]},{"1371643214":["hashtag1","hashtag2"]},{"1371643249":["hashtag1","hashtag2"]}],"comms":"Portfolio 24815670 used, photo_id : ArrayBuffer(1371643237, 1371643259, 1371643229, 1371643220, 1371643214, 1371643249)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 59.41165375709534 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 19:05:04.357565
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/01/04/image_11072025_01_04_01_2879.jpg', 2), ('/home/pi/Desktop/images/11072025/01/03/image_11072025_01_03_02_0596.jpg', 2), ('/home/pi/Desktop/images/11072025/01/02/image_11072025_01_02_01_3695.jpg', 2), ('/home/pi/Desktop/images/11072025/01/01/image_11072025_01_01_02_1351.jpg', 2), ('/home/pi/Desktop/images/11072025/00/50/image_11072025_00_50_01_3227.jpg', 2), ('/home/pi/Desktop/images/11072025/00/49/image_11072025_00_49_01_5363.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/01/04/image_11072025_01_04_01_2879.jpg', '/home/pi/Desktop/images/11072025/01/03/image_11072025_01_03_02_0596.jpg', '/home/pi/Desktop/images/11072025/01/02/image_11072025_01_02_01_3695.jpg', '/home/pi/Desktop/images/11072025/01/01/image_11072025_01_01_02_1351.jpg', '/home/pi/Desktop/images/11072025/00/50/image_11072025_00_50_01_3227.jpg', '/home/pi/Desktop/images/11072025/00/49/image_11072025_00_49_01_5363.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/01/04/image_11072025_01_04_01_2879.jpg
/home/pi/Desktop/images/11072025/01/03/image_11072025_01_03_02_0596.jpg
/home/pi/Desktop/images/11072025/01/02/image_11072025_01_02_01_3695.jpg
/home/pi/Desktop/images/11072025/01/01/image_11072025_01_01_02_1351.jpg
/home/pi/Desktop/images/11072025/00/50/image_11072025_00_50_01_3227.jpg
/home/pi/Desktop/images/11072025/00/49/image_11072025_00_49_01_5363.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371643405","1371643367","1371643454","1371643358","1371643396","1371643468"],"photo_ids_order":["1371643358","1371643367","1371643396","1371643405","1371643454","1371643468"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/54e3118535cde90b4aa2e0437f17dccb.jpg","text":"TemporaryFile(/tmp/multipartBody5123175741584471053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752253568483,"filename":"image_11072025_01_01_02_1351.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/02e348d384520d0baf255a21f58b172a.jpg","text":"TemporaryFile(/tmp/multipartBody6498109294236692511asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752253568483,"filename":"image_11072025_01_03_02_0596.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/203c9cb3d678c3e421ffa29e62e67e06.jpg","text":"TemporaryFile(/tmp/multipartBody543925136302836288asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752253568483,"filename":"image_11072025_00_50_01_3227.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/43c820d80a7a8b708a724cfa8af90bd5.jpg","text":"TemporaryFile(/tmp/multipartBody722866164284016181asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752253568483,"filename":"image_11072025_01_04_01_2879.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/85a552cae1e94fea04f765cb7d0c4dab.jpg","text":"TemporaryFile(/tmp/multipartBody7495203043813799716asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752253568483,"filename":"image_11072025_01_02_01_3695.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/8f16f77268f91fe05d17daf99e94ff8b.jpg","text":"TemporaryFile(/tmp/multipartBody7987776123864165019asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752253568483,"filename":"image_11072025_00_49_01_5363.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371643396","file1":"1371643367","file0":"1371643358","file4":"1371643454","file5":"1371643468","file3":"1371643405"},"map_files_photo_id_array":[{"photo_id":"1371643468","filename":"file5"},{"photo_id":"1371643396","filename":"file2"},{"photo_id":"1371643454","filename":"file4"},{"photo_id":"1371643367","filename":"file1"},{"photo_id":"1371643358","filename":"file0"},{"photo_id":"1371643405","filename":"file3"}],"portfolio_id":24815670,"hashtag_by_photo_ids":[{"1371643405":["hashtag1","hashtag2"]},{"1371643367":["hashtag1","hashtag2"]},{"1371643454":["hashtag1","hashtag2"]},{"1371643358":["hashtag1","hashtag2"]},{"1371643396":["hashtag1","hashtag2"]},{"1371643468":["hashtag1","hashtag2"]}],"comms":"Portfolio 24815670 used, photo_id : ArrayBuffer(1371643405, 1371643367, 1371643454, 1371643358, 1371643396, 1371643468)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 59.70461940765381 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 19:07:03.707741
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/00/48/image_11072025_00_48_01_7356.jpg', 2), ('/home/pi/Desktop/images/11072025/00/47/image_11072025_00_47_01_4360.jpg', 2), ('/home/pi/Desktop/images/11072025/00/45/image_11072025_00_45_01_3020.jpg', 2), ('/home/pi/Desktop/images/11072025/00/43/image_11072025_00_43_02_0619.jpg', 2), ('/home/pi/Desktop/images/11072025/00/42/image_11072025_00_42_02_0900.jpg', 2), ('/home/pi/Desktop/images/11072025/00/41/image_11072025_00_41_01_9180.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/00/48/image_11072025_00_48_01_7356.jpg', '/home/pi/Desktop/images/11072025/00/47/image_11072025_00_47_01_4360.jpg', '/home/pi/Desktop/images/11072025/00/45/image_11072025_00_45_01_3020.jpg', '/home/pi/Desktop/images/11072025/00/43/image_11072025_00_43_02_0619.jpg', '/home/pi/Desktop/images/11072025/00/42/image_11072025_00_42_02_0900.jpg', '/home/pi/Desktop/images/11072025/00/41/image_11072025_00_41_01_9180.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/00/48/image_11072025_00_48_01_7356.jpg
/home/pi/Desktop/images/11072025/00/47/image_11072025_00_47_01_4360.jpg
/home/pi/Desktop/images/11072025/00/45/image_11072025_00_45_01_3020.jpg
/home/pi/Desktop/images/11072025/00/43/image_11072025_00_43_02_0619.jpg
/home/pi/Desktop/images/11072025/00/42/image_11072025_00_42_02_0900.jpg
/home/pi/Desktop/images/11072025/00/41/image_11072025_00_41_01_9180.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371643606","1371643599","1371643635","1371643614","1371643592","1371643646"],"photo_ids_order":["1371643592","1371643599","1371643606","1371643614","1371643635","1371643646"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/88edee552899dca3875e1534cb4ade92.jpg","text":"TemporaryFile(/tmp/multipartBody6081822146177019810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752253687851,"filename":"image_11072025_00_45_01_3020.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/8588b6b9154d15bce3750a38592ba186.jpg","text":"TemporaryFile(/tmp/multipartBody5113722443017895807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752253687851,"filename":"image_11072025_00_47_01_4360.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/0bf4a9f20cb30ad87509a0cef4a1fc2b.jpg","text":"TemporaryFile(/tmp/multipartBody1125966030354104878asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752253687851,"filename":"image_11072025_00_42_02_0900.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/082601032d37191d30383fd59b30f5b7.jpg","text":"TemporaryFile(/tmp/multipartBody2150261748339679862asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752253687851,"filename":"image_11072025_00_43_02_0619.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/061b27797d9df291ed149543a001c9bc.jpg","text":"TemporaryFile(/tmp/multipartBody9002732253687935374asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752253687851,"filename":"image_11072025_00_48_01_7356.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/c899716eacf7aab0fc0b9985283c359b.jpg","text":"TemporaryFile(/tmp/multipartBody4925233641599980186asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752253687851,"filename":"image_11072025_00_41_01_9180.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371643606","file1":"1371643599","file0":"1371643592","file4":"1371643635","file5":"1371643646","file3":"1371643614"},"map_files_photo_id_array":[{"photo_id":"1371643646","filename":"file5"},{"photo_id":"1371643606","filename":"file2"},{"photo_id":"1371643635","filename":"file4"},{"photo_id":"1371643599","filename":"file1"},{"photo_id":"1371643592","filename":"file0"},{"photo_id":"1371643614","filename":"file3"}],"portfolio_id":24815670,"hashtag_by_photo_ids":[{"1371643606":["hashtag1","hashtag2"]},{"1371643599":["hashtag1","hashtag2"]},{"1371643635":["hashtag1","hashtag2"]},{"1371643614":["hashtag1","hashtag2"]},{"1371643592":["hashtag1","hashtag2"]},{"1371643646":["hashtag1","hashtag2"]}],"comms":"Portfolio 24815670 used, photo_id : ArrayBuffer(1371643606, 1371643599, 1371643635, 1371643614, 1371643592, 1371643646)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 61.900546073913574 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 19:09:03.712175
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/00/40/image_11072025_00_40_02_0342.jpg', 2), ('/home/pi/Desktop/images/11072025/00/39/image_11072025_00_39_01_9525.jpg', 2), ('/home/pi/Desktop/images/11072025/00/28/image_11072025_00_28_01_3447.jpg', 2), ('/home/pi/Desktop/images/11072025/00/27/image_11072025_00_27_01_8598.jpg', 2), ('/home/pi/Desktop/images/11072025/00/26/image_11072025_00_26_01_7704.jpg', 2), ('/home/pi/Desktop/images/11072025/00/25/image_11072025_00_25_01_7607.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/00/40/image_11072025_00_40_02_0342.jpg', '/home/pi/Desktop/images/11072025/00/39/image_11072025_00_39_01_9525.jpg', '/home/pi/Desktop/images/11072025/00/28/image_11072025_00_28_01_3447.jpg', '/home/pi/Desktop/images/11072025/00/27/image_11072025_00_27_01_8598.jpg', '/home/pi/Desktop/images/11072025/00/26/image_11072025_00_26_01_7704.jpg', '/home/pi/Desktop/images/11072025/00/25/image_11072025_00_25_01_7607.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/00/40/image_11072025_00_40_02_0342.jpg
/home/pi/Desktop/images/11072025/00/39/image_11072025_00_39_01_9525.jpg
/home/pi/Desktop/images/11072025/00/28/image_11072025_00_28_01_3447.jpg
/home/pi/Desktop/images/11072025/00/27/image_11072025_00_27_01_8598.jpg
/home/pi/Desktop/images/11072025/00/26/image_11072025_00_26_01_7704.jpg
/home/pi/Desktop/images/11072025/00/25/image_11072025_00_25_01_7607.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371643770","1371643755","1371643716","1371643707","1371643733","1371643724"],"photo_ids_order":["1371643707","1371643716","1371643724","1371643733","1371643755","1371643770"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/0041e88c5f06eeb6f2fc7384c8a78008.jpg","text":"TemporaryFile(/tmp/multipartBody3764963514627654347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752253808004,"filename":"image_11072025_00_25_01_7607.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/ebb885297a6951aa348e5628da8c3ed3.jpg","text":"TemporaryFile(/tmp/multipartBody2440074031177313786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752253808004,"filename":"image_11072025_00_26_01_7704.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/f828d355f08d32b12daaec8c7173c4e8.jpg","text":"TemporaryFile(/tmp/multipartBody8930529410484948347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752253808004,"filename":"image_11072025_00_39_01_9525.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/7e787e5c0a67cb7abda1004202a45a32.jpg","text":"TemporaryFile(/tmp/multipartBody8878383895713554935asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752253808004,"filename":"image_11072025_00_40_02_0342.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/e2ce4d2eba52aafab44d50f4f82cef8f.jpg","text":"TemporaryFile(/tmp/multipartBody5560720145544159849asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752253808004,"filename":"image_11072025_00_27_01_8598.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/b3c5f14f7e001cb8c3b02bc2993006ab.jpg","text":"TemporaryFile(/tmp/multipartBody6906913771174907582asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752253808004,"filename":"image_11072025_00_28_01_3447.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371643724","file1":"1371643716","file0":"1371643707","file4":"1371643755","file5":"1371643770","file3":"1371643733"},"map_files_photo_id_array":[{"photo_id":"1371643770","filename":"file5"},{"photo_id":"1371643724","filename":"file2"},{"photo_id":"1371643755","filename":"file4"},{"photo_id":"1371643716","filename":"file1"},{"photo_id":"1371643707","filename":"file0"},{"photo_id":"1371643733","filename":"file3"}],"portfolio_id":24815670,"hashtag_by_photo_ids":[{"1371643770":["hashtag1","hashtag2"]},{"1371643755":["hashtag1","hashtag2"]},{"1371643716":["hashtag1","hashtag2"]},{"1371643707":["hashtag1","hashtag2"]},{"1371643733":["hashtag1","hashtag2"]},{"1371643724":["hashtag1","hashtag2"]}],"comms":"Portfolio 24815670 used, photo_id : ArrayBuffer(1371643770, 1371643755, 1371643716, 1371643707, 1371643733, 1371643724)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 61.643320083618164 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 19:11:03.296932
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/00/24/image_11072025_00_24_02_2582.jpg', 2), ('/home/pi/Desktop/images/11072025/00/23/image_11072025_00_23_01_5022.jpg', 2), ('/home/pi/Desktop/images/11072025/00/19/image_11072025_00_19_01_8887.jpg', 2), ('/home/pi/Desktop/images/11072025/00/18/image_11072025_00_18_01_9055.jpg', 2), ('/home/pi/Desktop/images/11072025/00/17/image_11072025_00_17_01_6460.jpg', 2), ('/home/pi/Desktop/images/11072025/00/16/image_11072025_00_16_01_7844.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/00/24/image_11072025_00_24_02_2582.jpg', '/home/pi/Desktop/images/11072025/00/23/image_11072025_00_23_01_5022.jpg', '/home/pi/Desktop/images/11072025/00/19/image_11072025_00_19_01_8887.jpg', '/home/pi/Desktop/images/11072025/00/18/image_11072025_00_18_01_9055.jpg', '/home/pi/Desktop/images/11072025/00/17/image_11072025_00_17_01_6460.jpg', '/home/pi/Desktop/images/11072025/00/16/image_11072025_00_16_01_7844.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/00/24/image_11072025_00_24_02_2582.jpg
/home/pi/Desktop/images/11072025/00/23/image_11072025_00_23_01_5022.jpg
/home/pi/Desktop/images/11072025/00/19/image_11072025_00_19_01_8887.jpg
/home/pi/Desktop/images/11072025/00/18/image_11072025_00_18_01_9055.jpg
/home/pi/Desktop/images/11072025/00/17/image_11072025_00_17_01_6460.jpg
/home/pi/Desktop/images/11072025/00/16/image_11072025_00_16_01_7844.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371643893","1371643869","1371643848","1371643882","1371643861","1371643855"],"photo_ids_order":["1371643848","1371643855","1371643861","1371643869","1371643882","1371643893"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/2103b4f8953e66736b9c3ea16dd35951.jpg","text":"TemporaryFile(/tmp/multipartBody6341342277126746228asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752253927608,"filename":"image_11072025_00_16_01_7844.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/034c288b8fa379623dbd03ec05fb074f.jpg","text":"TemporaryFile(/tmp/multipartBody600809431459654145asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752253927608,"filename":"image_11072025_00_18_01_9055.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/f0e2c8c93ef41559cc66f76baa4127dc.jpg","text":"TemporaryFile(/tmp/multipartBody7628151784194943366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752253927608,"filename":"image_11072025_00_24_02_2582.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/2074065cb19ee314922c69e1ea1876bd.jpg","text":"TemporaryFile(/tmp/multipartBody6349289079597340312asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752253927608,"filename":"image_11072025_00_17_01_6460.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/5807c3ad8caa232d45ec27c80c22335e.jpg","text":"TemporaryFile(/tmp/multipartBody1347691758089570824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752253927608,"filename":"image_11072025_00_19_01_8887.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/03b9462b2d0a4962aa1f361c1ecd2492.jpg","text":"TemporaryFile(/tmp/multipartBody2113254231473582419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752253927608,"filename":"image_11072025_00_23_01_5022.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371643861","file1":"1371643855","file0":"1371643848","file4":"1371643882","file5":"1371643893","file3":"1371643869"},"map_files_photo_id_array":[{"photo_id":"1371643893","filename":"file5"},{"photo_id":"1371643861","filename":"file2"},{"photo_id":"1371643882","filename":"file4"},{"photo_id":"1371643855","filename":"file1"},{"photo_id":"1371643848","filename":"file0"},{"photo_id":"1371643869","filename":"file3"}],"portfolio_id":24815670,"hashtag_by_photo_ids":[{"1371643893":["hashtag1","hashtag2"]},{"1371643869":["hashtag1","hashtag2"]},{"1371643848":["hashtag1","hashtag2"]},{"1371643882":["hashtag1","hashtag2"]},{"1371643861":["hashtag1","hashtag2"]},{"1371643855":["hashtag1","hashtag2"]}],"comms":"Portfolio 24815670 used, photo_id : ArrayBuffer(1371643893, 1371643869, 1371643848, 1371643882, 1371643861, 1371643855)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 59.36860704421997 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 19:13:03.517066
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/00/15/image_11072025_00_15_01_9846.jpg', 2), ('/home/pi/Desktop/images/11072025/00/12/image_11072025_00_12_01_7414.jpg', 2), ('/home/pi/Desktop/images/11072025/00/09/image_11072025_00_09_01_7751.jpg', 2), ('/home/pi/Desktop/images/11072025/00/08/image_11072025_00_08_01_2840.jpg', 2), ('/home/pi/Desktop/images/11072025/00/07/image_11072025_00_07_01_8253.jpg', 2), ('/home/pi/Desktop/images/11072025/00/01/image_11072025_00_01_02_1166.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/11072025/00/15/image_11072025_00_15_01_9846.jpg', '/home/pi/Desktop/images/11072025/00/12/image_11072025_00_12_01_7414.jpg', '/home/pi/Desktop/images/11072025/00/09/image_11072025_00_09_01_7751.jpg', '/home/pi/Desktop/images/11072025/00/08/image_11072025_00_08_01_2840.jpg', '/home/pi/Desktop/images/11072025/00/07/image_11072025_00_07_01_8253.jpg', '/home/pi/Desktop/images/11072025/00/01/image_11072025_00_01_02_1166.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3267800&datou=0
/home/pi/Desktop/images/11072025/00/15/image_11072025_00_15_01_9846.jpg
/home/pi/Desktop/images/11072025/00/12/image_11072025_00_12_01_7414.jpg
/home/pi/Desktop/images/11072025/00/09/image_11072025_00_09_01_7751.jpg
/home/pi/Desktop/images/11072025/00/08/image_11072025_00_08_01_2840.jpg
/home/pi/Desktop/images/11072025/00/07/image_11072025_00_07_01_8253.jpg
/home/pi/Desktop/images/11072025/00/01/image_11072025_00_01_02_1166.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371643977","1371644013","1371643994","1371643973","1371644021","1371643984"],"photo_ids_order":["1371643973","1371643977","1371643984","1371643994","1371644013","1371644021"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/62a098703625495c7561179fd2e7a41c.jpg","text":"TemporaryFile(/tmp/multipartBody6432232906840973519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752254047911,"filename":"image_11072025_00_12_01_7414.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/8b01bc9f13a8d9f7279d931c1c19602b.jpg","text":"TemporaryFile(/tmp/multipartBody4197610031370719469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752254047911,"filename":"image_11072025_00_07_01_8253.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/8015f6904bf3462a9ec6a55d242f92f5.jpg","text":"TemporaryFile(/tmp/multipartBody5586386883711059644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752254047911,"filename":"image_11072025_00_08_01_2840.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/3b4a84b5620dacf9d5cdcfb041635a34.jpg","text":"TemporaryFile(/tmp/multipartBody2654123911912880687asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752254047911,"filename":"image_11072025_00_15_01_9846.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/8c879bc08b4600df32b28bb571dc8b4c.jpg","text":"TemporaryFile(/tmp/multipartBody7217224636093965458asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752254047911,"filename":"image_11072025_00_01_02_1166.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/46797ce934d77dab23d019819a18b451.jpg","text":"TemporaryFile(/tmp/multipartBody6181484298430345994asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752254047911,"filename":"image_11072025_00_09_01_7751.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371643984","file1":"1371643977","file0":"1371643973","file4":"1371644013","file5":"1371644021","file3":"1371643994"},"map_files_photo_id_array":[{"photo_id":"1371644021","filename":"file5"},{"photo_id":"1371643984","filename":"file2"},{"photo_id":"1371644013","filename":"file4"},{"photo_id":"1371643977","filename":"file1"},{"photo_id":"1371643973","filename":"file0"},{"photo_id":"1371643994","filename":"file3"}],"portfolio_id":24815670,"hashtag_by_photo_ids":[{"1371643977":["hashtag1","hashtag2"]},{"1371644013":["hashtag1","hashtag2"]},{"1371643994":["hashtag1","hashtag2"]},{"1371643973":["hashtag1","hashtag2"]},{"1371644021":["hashtag1","hashtag2"]},{"1371643984":["hashtag1","hashtag2"]}],"comms":"Portfolio 24815670 used, photo_id : ArrayBuffer(1371643977, 1371644013, 1371643994, 1371643973, 1371644021, 1371643984)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 60.39938259124756 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 19:15:04.080203
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/23/56/image_10072025_23_56_02_2866.jpg', 2), ('/home/pi/Desktop/images/10072025/23/53/image_10072025_23_53_01_6659.jpg', 2), ('/home/pi/Desktop/images/10072025/23/52/image_10072025_23_52_02_1821.jpg', 2), ('/home/pi/Desktop/images/10072025/23/51/image_10072025_23_51_01_8267.jpg', 2), ('/home/pi/Desktop/images/10072025/23/50/image_10072025_23_50_01_8446.jpg', 2), ('/home/pi/Desktop/images/10072025/23/49/image_10072025_23_49_01_9276.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/23/56/image_10072025_23_56_02_2866.jpg', '/home/pi/Desktop/images/10072025/23/53/image_10072025_23_53_01_6659.jpg', '/home/pi/Desktop/images/10072025/23/52/image_10072025_23_52_02_1821.jpg', '/home/pi/Desktop/images/10072025/23/51/image_10072025_23_51_01_8267.jpg', '/home/pi/Desktop/images/10072025/23/50/image_10072025_23_50_01_8446.jpg', '/home/pi/Desktop/images/10072025/23/49/image_10072025_23_49_01_9276.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/23/56/image_10072025_23_56_02_2866.jpg
/home/pi/Desktop/images/10072025/23/53/image_10072025_23_53_01_6659.jpg
/home/pi/Desktop/images/10072025/23/52/image_10072025_23_52_02_1821.jpg
/home/pi/Desktop/images/10072025/23/51/image_10072025_23_51_01_8267.jpg
/home/pi/Desktop/images/10072025/23/50/image_10072025_23_50_01_8446.jpg
/home/pi/Desktop/images/10072025/23/49/image_10072025_23_49_01_9276.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371644139","1371644106","1371644099","1371644117","1371644155","1371644125"],"photo_ids_order":["1371644099","1371644106","1371644117","1371644125","1371644139","1371644155"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/62936e22af4a776d10780e2e27811605.jpg","text":"TemporaryFile(/tmp/multipartBody1329424429499585826asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752254169112,"filename":"image_10072025_23_50_01_8446.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/053ea3d0cd064b8b788dfbe862f32979.jpg","text":"TemporaryFile(/tmp/multipartBody5379292048170000403asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752254169112,"filename":"image_10072025_23_53_01_6659.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/ee774a2bd65e6626b235133c8851a163.jpg","text":"TemporaryFile(/tmp/multipartBody2489922403070466347asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752254169112,"filename":"image_10072025_23_56_02_2866.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/1cbb247f1440eae021e3eb1c4f49c96d.jpg","text":"TemporaryFile(/tmp/multipartBody2447044543620786659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752254169112,"filename":"image_10072025_23_52_02_1821.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/8cc7c616ad75a825e142c02328d18c2c.jpg","text":"TemporaryFile(/tmp/multipartBody7828491120071229674asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752254169112,"filename":"image_10072025_23_49_01_9276.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/4aaf9bc9aec2398939853b5376ee63e9.jpg","text":"TemporaryFile(/tmp/multipartBody7134341605942248515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752254169112,"filename":"image_10072025_23_51_01_8267.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371644117","file1":"1371644106","file0":"1371644099","file4":"1371644139","file5":"1371644155","file3":"1371644125"},"map_files_photo_id_array":[{"photo_id":"1371644155","filename":"file5"},{"photo_id":"1371644117","filename":"file2"},{"photo_id":"1371644139","filename":"file4"},{"photo_id":"1371644106","filename":"file1"},{"photo_id":"1371644099","filename":"file0"},{"photo_id":"1371644125","filename":"file3"}],"portfolio_id":24773944,"hashtag_by_photo_ids":[{"1371644139":["hashtag1","hashtag2"]},{"1371644106":["hashtag1","hashtag2"]},{"1371644099":["hashtag1","hashtag2"]},{"1371644117":["hashtag1","hashtag2"]},{"1371644155":["hashtag1","hashtag2"]},{"1371644125":["hashtag1","hashtag2"]}],"comms":"Portfolio 24773944 used, photo_id : ArrayBuffer(1371644139, 1371644106, 1371644099, 1371644117, 1371644155, 1371644125)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 62.965643644332886 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 19:17:03.463543
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/23/48/image_10072025_23_48_01_9189.jpg', 2), ('/home/pi/Desktop/images/10072025/23/47/image_10072025_23_47_02_1380.jpg', 2), ('/home/pi/Desktop/images/10072025/23/41/image_10072025_23_41_02_0851.jpg', 2), ('/home/pi/Desktop/images/10072025/23/35/image_10072025_23_35_02_1484.jpg', 2), ('/home/pi/Desktop/images/10072025/23/33/image_10072025_23_33_01_5360.jpg', 2), ('/home/pi/Desktop/images/10072025/23/32/image_10072025_23_32_01_9033.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/23/48/image_10072025_23_48_01_9189.jpg', '/home/pi/Desktop/images/10072025/23/47/image_10072025_23_47_02_1380.jpg', '/home/pi/Desktop/images/10072025/23/41/image_10072025_23_41_02_0851.jpg', '/home/pi/Desktop/images/10072025/23/35/image_10072025_23_35_02_1484.jpg', '/home/pi/Desktop/images/10072025/23/33/image_10072025_23_33_01_5360.jpg', '/home/pi/Desktop/images/10072025/23/32/image_10072025_23_32_01_9033.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/23/48/image_10072025_23_48_01_9189.jpg
/home/pi/Desktop/images/10072025/23/47/image_10072025_23_47_02_1380.jpg
/home/pi/Desktop/images/10072025/23/41/image_10072025_23_41_02_0851.jpg
/home/pi/Desktop/images/10072025/23/35/image_10072025_23_35_02_1484.jpg
/home/pi/Desktop/images/10072025/23/33/image_10072025_23_33_01_5360.jpg
/home/pi/Desktop/images/10072025/23/32/image_10072025_23_32_01_9033.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371644877","1371644856","1371644799","1371644907","1371644746","1371644892"],"photo_ids_order":["1371644746","1371644799","1371644856","1371644877","1371644892","1371644907"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/c49f3853f3e89ef489d05adecfeb654a.jpg","text":"TemporaryFile(/tmp/multipartBody990083954511083613asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752254288476,"filename":"image_10072025_23_35_02_1484.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/56bb960700d4e491b5a0642a61e5693d.jpg","text":"TemporaryFile(/tmp/multipartBody6494032930990588047asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752254288476,"filename":"image_10072025_23_41_02_0851.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/72297bd87ee598a13e69137bee01db21.jpg","text":"TemporaryFile(/tmp/multipartBody7990423632085085062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752254288476,"filename":"image_10072025_23_47_02_1380.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/df917681ad44729cdd3ac22d624fd704.jpg","text":"TemporaryFile(/tmp/multipartBody3090095147931168401asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752254288476,"filename":"image_10072025_23_32_01_9033.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/2a37824c185c44c407da99e79cd4ba5c.jpg","text":"TemporaryFile(/tmp/multipartBody17673416174428482asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752254288476,"filename":"image_10072025_23_48_01_9189.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/db8d0a4f53dd1df20535d4cba9b3f7d8.jpg","text":"TemporaryFile(/tmp/multipartBody511114243729697491asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752254288476,"filename":"image_10072025_23_33_01_5360.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371644856","file1":"1371644799","file0":"1371644746","file4":"1371644892","file5":"1371644907","file3":"1371644877"},"map_files_photo_id_array":[{"photo_id":"1371644907","filename":"file5"},{"photo_id":"1371644856","filename":"file2"},{"photo_id":"1371644892","filename":"file4"},{"photo_id":"1371644799","filename":"file1"},{"photo_id":"1371644746","filename":"file0"},{"photo_id":"1371644877","filename":"file3"}],"portfolio_id":24773944,"hashtag_by_photo_ids":[{"1371644877":["hashtag1","hashtag2"]},{"1371644856":["hashtag1","hashtag2"]},{"1371644799":["hashtag1","hashtag2"]},{"1371644907":["hashtag1","hashtag2"]},{"1371644746":["hashtag1","hashtag2"]},{"1371644892":["hashtag1","hashtag2"]}],"comms":"Portfolio 24773944 used, photo_id : ArrayBuffer(1371644877, 1371644856, 1371644799, 1371644907, 1371644746, 1371644892)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 60.94237971305847 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 19:19:03.313605
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 1 files
1 photos no longer on disk
no photos to upload
time to upload: 0.32572078704833984 secondes ---
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 377, in upload_from_sqlite
    upload_photo_and_update_logs(files, lsr, port_id, datou_current_id, fc, hashtags = hashtags, verbose = verbose, nb_batch= nb_batch,batch_size=limit)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 74, in upload_photo_and_update_logs
    logger.info("no_longer_on_disk_list:",no_longer_on_disk_list)
Message: 'no_longer_on_disk_list:'
Arguments: (['/home/pi/Desktop/images/11072025/19/20/image_11072025_19_20_01_2489.jpg'],)
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/19/20/image_11072025_19_20_01_2489.jpg', 2)]
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 19:20:03.387845
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/23/31/image_10072025_23_31_02_0682.jpg', 2), ('/home/pi/Desktop/images/10072025/23/30/image_10072025_23_30_02_0602.jpg', 2), ('/home/pi/Desktop/images/10072025/23/29/image_10072025_23_29_01_9158.jpg', 2), ('/home/pi/Desktop/images/10072025/23/28/image_10072025_23_28_01_7986.jpg', 2), ('/home/pi/Desktop/images/10072025/23/27/image_10072025_23_27_02_0685.jpg', 2), ('/home/pi/Desktop/images/10072025/23/26/image_10072025_23_26_02_1925.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/23/31/image_10072025_23_31_02_0682.jpg', '/home/pi/Desktop/images/10072025/23/30/image_10072025_23_30_02_0602.jpg', '/home/pi/Desktop/images/10072025/23/29/image_10072025_23_29_01_9158.jpg', '/home/pi/Desktop/images/10072025/23/28/image_10072025_23_28_01_7986.jpg', '/home/pi/Desktop/images/10072025/23/27/image_10072025_23_27_02_0685.jpg', '/home/pi/Desktop/images/10072025/23/26/image_10072025_23_26_02_1925.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/23/31/image_10072025_23_31_02_0682.jpg
/home/pi/Desktop/images/10072025/23/30/image_10072025_23_30_02_0602.jpg
/home/pi/Desktop/images/10072025/23/29/image_10072025_23_29_01_9158.jpg
/home/pi/Desktop/images/10072025/23/28/image_10072025_23_28_01_7986.jpg
/home/pi/Desktop/images/10072025/23/27/image_10072025_23_27_02_0685.jpg
/home/pi/Desktop/images/10072025/23/26/image_10072025_23_26_02_1925.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371645611","1371645605","1371645595","1371645550","1371645495","1371645582"],"photo_ids_order":["1371645495","1371645550","1371645582","1371645595","1371645605","1371645611"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/1eea490c603808aa1d54a7608d6c63b3.jpg","text":"TemporaryFile(/tmp/multipartBody5467629741910320738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752254468068,"filename":"image_10072025_23_26_02_1925.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/ae5dbb147a93d7ef6c181b6417837030.jpg","text":"TemporaryFile(/tmp/multipartBody5626652164456710180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752254468068,"filename":"image_10072025_23_27_02_0685.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/f280c8dfd1d1a072512b115436943ab7.jpg","text":"TemporaryFile(/tmp/multipartBody9148284163489211084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752254468068,"filename":"image_10072025_23_28_01_7986.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/f45d3418d419541dbadb842459233111.jpg","text":"TemporaryFile(/tmp/multipartBody1634114281956924902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752254468068,"filename":"image_10072025_23_30_02_0602.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/cfde01c2f7cecc437853b444f8ea1160.jpg","text":"TemporaryFile(/tmp/multipartBody3210561842904085101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752254468068,"filename":"image_10072025_23_31_02_0682.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/160863008b57ac27a8136e0f56aca33f.jpg","text":"TemporaryFile(/tmp/multipartBody4347991199706661583asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752254468068,"filename":"image_10072025_23_29_01_9158.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371645582","file1":"1371645550","file0":"1371645495","file4":"1371645605","file5":"1371645611","file3":"1371645595"},"map_files_photo_id_array":[{"photo_id":"1371645611","filename":"file5"},{"photo_id":"1371645582","filename":"file2"},{"photo_id":"1371645605","filename":"file4"},{"photo_id":"1371645550","filename":"file1"},{"photo_id":"1371645495","filename":"file0"},{"photo_id":"1371645595","filename":"file3"}],"portfolio_id":24773944,"hashtag_by_photo_ids":[{"1371645611":["hashtag1","hashtag2"]},{"1371645605":["hashtag1","hashtag2"]},{"1371645595":["hashtag1","hashtag2"]},{"1371645550":["hashtag1","hashtag2"]},{"1371645495":["hashtag1","hashtag2"]},{"1371645582":["hashtag1","hashtag2"]}],"comms":"Portfolio 24773944 used, photo_id : ArrayBuffer(1371645611, 1371645605, 1371645595, 1371645550, 1371645495, 1371645582)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 59.17597007751465 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 19:22:02.827772
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/23/20/image_10072025_23_20_01_7799.jpg', 2), ('/home/pi/Desktop/images/10072025/23/19/image_10072025_23_19_02_0043.jpg', 2), ('/home/pi/Desktop/images/10072025/23/17/image_10072025_23_17_02_2667.jpg', 2), ('/home/pi/Desktop/images/10072025/23/13/image_10072025_23_13_01_6758.jpg', 2), ('/home/pi/Desktop/images/10072025/23/12/image_10072025_23_12_01_5977.jpg', 2), ('/home/pi/Desktop/images/10072025/23/11/image_10072025_23_11_01_8245.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/23/20/image_10072025_23_20_01_7799.jpg', '/home/pi/Desktop/images/10072025/23/19/image_10072025_23_19_02_0043.jpg', '/home/pi/Desktop/images/10072025/23/17/image_10072025_23_17_02_2667.jpg', '/home/pi/Desktop/images/10072025/23/13/image_10072025_23_13_01_6758.jpg', '/home/pi/Desktop/images/10072025/23/12/image_10072025_23_12_01_5977.jpg', '/home/pi/Desktop/images/10072025/23/11/image_10072025_23_11_01_8245.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/23/20/image_10072025_23_20_01_7799.jpg
/home/pi/Desktop/images/10072025/23/19/image_10072025_23_19_02_0043.jpg
/home/pi/Desktop/images/10072025/23/17/image_10072025_23_17_02_2667.jpg
/home/pi/Desktop/images/10072025/23/13/image_10072025_23_13_01_6758.jpg
/home/pi/Desktop/images/10072025/23/12/image_10072025_23_12_01_5977.jpg
/home/pi/Desktop/images/10072025/23/11/image_10072025_23_11_01_8245.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 4.947301864624023 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 19:23:03.830236
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/23/20/image_10072025_23_20_01_7799.jpg', 2), ('/home/pi/Desktop/images/10072025/23/19/image_10072025_23_19_02_0043.jpg', 2), ('/home/pi/Desktop/images/10072025/23/17/image_10072025_23_17_02_2667.jpg', 2), ('/home/pi/Desktop/images/10072025/23/13/image_10072025_23_13_01_6758.jpg', 2), ('/home/pi/Desktop/images/10072025/23/12/image_10072025_23_12_01_5977.jpg', 2), ('/home/pi/Desktop/images/10072025/23/11/image_10072025_23_11_01_8245.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/23/20/image_10072025_23_20_01_7799.jpg', '/home/pi/Desktop/images/10072025/23/19/image_10072025_23_19_02_0043.jpg', '/home/pi/Desktop/images/10072025/23/17/image_10072025_23_17_02_2667.jpg', '/home/pi/Desktop/images/10072025/23/13/image_10072025_23_13_01_6758.jpg', '/home/pi/Desktop/images/10072025/23/12/image_10072025_23_12_01_5977.jpg', '/home/pi/Desktop/images/10072025/23/11/image_10072025_23_11_01_8245.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/23/20/image_10072025_23_20_01_7799.jpg
/home/pi/Desktop/images/10072025/23/19/image_10072025_23_19_02_0043.jpg
/home/pi/Desktop/images/10072025/23/17/image_10072025_23_17_02_2667.jpg
/home/pi/Desktop/images/10072025/23/13/image_10072025_23_13_01_6758.jpg
/home/pi/Desktop/images/10072025/23/12/image_10072025_23_12_01_5977.jpg
/home/pi/Desktop/images/10072025/23/11/image_10072025_23_11_01_8245.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371646040","1371646034","1371646081","1371646059","1371646050","1371646073"],"photo_ids_order":["1371646034","1371646040","1371646050","1371646059","1371646073","1371646081"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/5f4d97fef7ede1a738c99a29f90f349b.jpg","text":"TemporaryFile(/tmp/multipartBody7567713053995332069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752254647536,"filename":"image_10072025_23_19_02_0043.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/8dfa365332ceb4ec0b27333dacfe6ef3.jpg","text":"TemporaryFile(/tmp/multipartBody3550103003589989485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752254647536,"filename":"image_10072025_23_20_01_7799.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/d1a28c5be756a996e3e41bace1fbf9b9.jpg","text":"TemporaryFile(/tmp/multipartBody1842596497472322468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752254647536,"filename":"image_10072025_23_11_01_8245.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/e5202a2cbd13eab18071e069289852f3.jpg","text":"TemporaryFile(/tmp/multipartBody709169845966004558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752254647536,"filename":"image_10072025_23_13_01_6758.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/1ed1567c76d62eefbf62477ce5725b99.jpg","text":"TemporaryFile(/tmp/multipartBody7919294977353701473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752254647536,"filename":"image_10072025_23_17_02_2667.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/3cdae726f99144ff79c4ff27406e2dc5.jpg","text":"TemporaryFile(/tmp/multipartBody7331689001738369593asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752254647536,"filename":"image_10072025_23_12_01_5977.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371646050","file1":"1371646040","file0":"1371646034","file4":"1371646073","file5":"1371646081","file3":"1371646059"},"map_files_photo_id_array":[{"photo_id":"1371646081","filename":"file5"},{"photo_id":"1371646050","filename":"file2"},{"photo_id":"1371646073","filename":"file4"},{"photo_id":"1371646040","filename":"file1"},{"photo_id":"1371646034","filename":"file0"},{"photo_id":"1371646059","filename":"file3"}],"portfolio_id":24773944,"hashtag_by_photo_ids":[{"1371646040":["hashtag1","hashtag2"]},{"1371646034":["hashtag1","hashtag2"]},{"1371646081":["hashtag1","hashtag2"]},{"1371646059":["hashtag1","hashtag2"]},{"1371646050":["hashtag1","hashtag2"]},{"1371646073":["hashtag1","hashtag2"]}],"comms":"Portfolio 24773944 used, photo_id : ArrayBuffer(1371646040, 1371646034, 1371646081, 1371646059, 1371646050, 1371646073)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.26939606666565 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 19:25:06.708823
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/23/10/image_10072025_23_10_01_8073.jpg', 2), ('/home/pi/Desktop/images/10072025/23/09/image_10072025_23_09_02_1564.jpg', 2), ('/home/pi/Desktop/images/10072025/23/08/image_10072025_23_08_02_2498.jpg', 2), ('/home/pi/Desktop/images/10072025/23/07/image_10072025_23_07_01_7858.jpg', 2), ('/home/pi/Desktop/images/10072025/23/06/image_10072025_23_06_01_7069.jpg', 2), ('/home/pi/Desktop/images/10072025/23/05/image_10072025_23_05_02_0995.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/23/10/image_10072025_23_10_01_8073.jpg', '/home/pi/Desktop/images/10072025/23/09/image_10072025_23_09_02_1564.jpg', '/home/pi/Desktop/images/10072025/23/08/image_10072025_23_08_02_2498.jpg', '/home/pi/Desktop/images/10072025/23/07/image_10072025_23_07_01_7858.jpg', '/home/pi/Desktop/images/10072025/23/06/image_10072025_23_06_01_7069.jpg', '/home/pi/Desktop/images/10072025/23/05/image_10072025_23_05_02_0995.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/23/10/image_10072025_23_10_01_8073.jpg
/home/pi/Desktop/images/10072025/23/09/image_10072025_23_09_02_1564.jpg
/home/pi/Desktop/images/10072025/23/08/image_10072025_23_08_02_2498.jpg
/home/pi/Desktop/images/10072025/23/07/image_10072025_23_07_01_7858.jpg
/home/pi/Desktop/images/10072025/23/06/image_10072025_23_06_01_7069.jpg
/home/pi/Desktop/images/10072025/23/05/image_10072025_23_05_02_0995.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371646217","1371646171","1371646189","1371646176","1371646164","1371646206"],"photo_ids_order":["1371646164","1371646171","1371646176","1371646189","1371646206","1371646217"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/6156f4ef7d1593a062539e8d14c8e7df.jpg","text":"TemporaryFile(/tmp/multipartBody7855158405966336389asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752254772448,"filename":"image_10072025_23_05_02_0995.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/03736ffa851a8de480f8e7926303972f.jpg","text":"TemporaryFile(/tmp/multipartBody6401425236938704040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752254772448,"filename":"image_10072025_23_09_02_1564.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/6b8faef0ebea5d0c0dd2f45592e6f785.jpg","text":"TemporaryFile(/tmp/multipartBody2189386925616235516asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752254772448,"filename":"image_10072025_23_07_01_7858.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/88b1ab19aa46d779e100b3a4f203d9f8.jpg","text":"TemporaryFile(/tmp/multipartBody8234794567085622876asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752254772448,"filename":"image_10072025_23_08_02_2498.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/63c9b74cdfe4f82e31fb4805a899c4c3.jpg","text":"TemporaryFile(/tmp/multipartBody9060465268405325805asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752254772448,"filename":"image_10072025_23_10_01_8073.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/0e2c76dfed60c900a8083a5c904d5e95.jpg","text":"TemporaryFile(/tmp/multipartBody1623426243250556964asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752254772448,"filename":"image_10072025_23_06_01_7069.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371646176","file1":"1371646171","file0":"1371646164","file4":"1371646206","file5":"1371646217","file3":"1371646189"},"map_files_photo_id_array":[{"photo_id":"1371646217","filename":"file5"},{"photo_id":"1371646176","filename":"file2"},{"photo_id":"1371646206","filename":"file4"},{"photo_id":"1371646171","filename":"file1"},{"photo_id":"1371646164","filename":"file0"},{"photo_id":"1371646189","filename":"file3"}],"portfolio_id":24773944,"hashtag_by_photo_ids":[{"1371646217":["hashtag1","hashtag2"]},{"1371646171":["hashtag1","hashtag2"]},{"1371646189":["hashtag1","hashtag2"]},{"1371646176":["hashtag1","hashtag2"]},{"1371646164":["hashtag1","hashtag2"]},{"1371646206":["hashtag1","hashtag2"]}],"comms":"Portfolio 24773944 used, photo_id : ArrayBuffer(1371646217, 1371646171, 1371646189, 1371646176, 1371646164, 1371646206)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 59.56719779968262 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 19:27:04.360573
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/23/04/image_10072025_23_04_01_7812.jpg', 2), ('/home/pi/Desktop/images/10072025/22/57/image_10072025_22_57_01_4465.jpg', 2), ('/home/pi/Desktop/images/10072025/22/50/image_10072025_22_50_01_5953.jpg', 2), ('/home/pi/Desktop/images/10072025/22/49/image_10072025_22_49_01_5131.jpg', 2), ('/home/pi/Desktop/images/10072025/22/47/image_10072025_22_47_01_7295.jpg', 2), ('/home/pi/Desktop/images/10072025/22/46/image_10072025_22_46_02_1515.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/23/04/image_10072025_23_04_01_7812.jpg', '/home/pi/Desktop/images/10072025/22/57/image_10072025_22_57_01_4465.jpg', '/home/pi/Desktop/images/10072025/22/50/image_10072025_22_50_01_5953.jpg', '/home/pi/Desktop/images/10072025/22/49/image_10072025_22_49_01_5131.jpg', '/home/pi/Desktop/images/10072025/22/47/image_10072025_22_47_01_7295.jpg', '/home/pi/Desktop/images/10072025/22/46/image_10072025_22_46_02_1515.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/23/04/image_10072025_23_04_01_7812.jpg
/home/pi/Desktop/images/10072025/22/57/image_10072025_22_57_01_4465.jpg
/home/pi/Desktop/images/10072025/22/50/image_10072025_22_50_01_5953.jpg
/home/pi/Desktop/images/10072025/22/49/image_10072025_22_49_01_5131.jpg
/home/pi/Desktop/images/10072025/22/47/image_10072025_22_47_01_7295.jpg
/home/pi/Desktop/images/10072025/22/46/image_10072025_22_46_02_1515.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371646339","1371646348","1371646296","1371646320","1371646308","1371646298"],"photo_ids_order":["1371646296","1371646298","1371646308","1371646320","1371646339","1371646348"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/f31af5b43238c8d8e9406ed8a5b9c341.jpg","text":"TemporaryFile(/tmp/multipartBody4882700945616209189asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752254889286,"filename":"image_10072025_22_47_01_7295.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/6dffb5bed6ecf803417c4f73e12cee6f.jpg","text":"TemporaryFile(/tmp/multipartBody6648511740350140632asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752254889286,"filename":"image_10072025_22_46_02_1515.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/1c1b44829302479df01a0610f15d7941.jpg","text":"TemporaryFile(/tmp/multipartBody2357356748527161920asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752254889286,"filename":"image_10072025_23_04_01_7812.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/5cf705fff87d86e52ab70265795899c6.jpg","text":"TemporaryFile(/tmp/multipartBody1871965025284017820asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752254889286,"filename":"image_10072025_22_49_01_5131.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/47d62030b2b2bc522cb7715f244f2ccd.jpg","text":"TemporaryFile(/tmp/multipartBody7835663099895744895asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752254889286,"filename":"image_10072025_22_50_01_5953.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/20c02c98d8e3839eb042b21a9877c202.jpg","text":"TemporaryFile(/tmp/multipartBody4346694955024388899asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752254889286,"filename":"image_10072025_22_57_01_4465.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371646308","file1":"1371646298","file0":"1371646296","file4":"1371646339","file5":"1371646348","file3":"1371646320"},"map_files_photo_id_array":[{"photo_id":"1371646348","filename":"file5"},{"photo_id":"1371646308","filename":"file2"},{"photo_id":"1371646339","filename":"file4"},{"photo_id":"1371646298","filename":"file1"},{"photo_id":"1371646296","filename":"file0"},{"photo_id":"1371646320","filename":"file3"}],"portfolio_id":24773944,"hashtag_by_photo_ids":[{"1371646339":["hashtag1","hashtag2"]},{"1371646348":["hashtag1","hashtag2"]},{"1371646296":["hashtag1","hashtag2"]},{"1371646320":["hashtag1","hashtag2"]},{"1371646308":["hashtag1","hashtag2"]},{"1371646298":["hashtag1","hashtag2"]}],"comms":"Portfolio 24773944 used, photo_id : ArrayBuffer(1371646339, 1371646348, 1371646296, 1371646320, 1371646308, 1371646298)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 61.12898635864258 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 19:29:04.040230
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/22/45/image_10072025_22_45_01_4392.jpg', 2), ('/home/pi/Desktop/images/10072025/22/44/image_10072025_22_44_02_2962.jpg', 2), ('/home/pi/Desktop/images/10072025/22/43/image_10072025_22_43_02_2277.jpg', 2), ('/home/pi/Desktop/images/10072025/22/42/image_10072025_22_42_01_8394.jpg', 2), ('/home/pi/Desktop/images/10072025/22/41/image_10072025_22_41_01_9407.jpg', 2), ('/home/pi/Desktop/images/10072025/22/40/image_10072025_22_40_01_8570.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/22/45/image_10072025_22_45_01_4392.jpg', '/home/pi/Desktop/images/10072025/22/44/image_10072025_22_44_02_2962.jpg', '/home/pi/Desktop/images/10072025/22/43/image_10072025_22_43_02_2277.jpg', '/home/pi/Desktop/images/10072025/22/42/image_10072025_22_42_01_8394.jpg', '/home/pi/Desktop/images/10072025/22/41/image_10072025_22_41_01_9407.jpg', '/home/pi/Desktop/images/10072025/22/40/image_10072025_22_40_01_8570.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/22/45/image_10072025_22_45_01_4392.jpg
/home/pi/Desktop/images/10072025/22/44/image_10072025_22_44_02_2962.jpg
/home/pi/Desktop/images/10072025/22/43/image_10072025_22_43_02_2277.jpg
/home/pi/Desktop/images/10072025/22/42/image_10072025_22_42_01_8394.jpg
/home/pi/Desktop/images/10072025/22/41/image_10072025_22_41_01_9407.jpg
/home/pi/Desktop/images/10072025/22/40/image_10072025_22_40_01_8570.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371646469","1371646477","1371646447","1371646432","1371646422","1371646419"],"photo_ids_order":["1371646419","1371646422","1371646432","1371646447","1371646469","1371646477"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/702a2b690b470fe92ae7bb1acefcf47c.jpg","text":"TemporaryFile(/tmp/multipartBody5053054087818977171asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752255008849,"filename":"image_10072025_22_41_01_9407.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/5d82a7fa85c242ffa452485405035b13.jpg","text":"TemporaryFile(/tmp/multipartBody1990520636723412240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752255008849,"filename":"image_10072025_22_40_01_8570.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/92636fc51bf054044d531f6e3ffb8bbf.jpg","text":"TemporaryFile(/tmp/multipartBody2616385757285907292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752255008849,"filename":"image_10072025_22_42_01_8394.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/935195d0a7bd4767c93c5174b2c740c1.jpg","text":"TemporaryFile(/tmp/multipartBody8560279524538108819asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752255008849,"filename":"image_10072025_22_43_02_2277.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/881bef119d5876d91223ce47606d6c0b.jpg","text":"TemporaryFile(/tmp/multipartBody854349389996595175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752255008849,"filename":"image_10072025_22_44_02_2962.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/50290f0af50bddfa05b3391d9d150bef.jpg","text":"TemporaryFile(/tmp/multipartBody5266490031247697973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752255008849,"filename":"image_10072025_22_45_01_4392.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371646432","file1":"1371646422","file0":"1371646419","file4":"1371646469","file5":"1371646477","file3":"1371646447"},"map_files_photo_id_array":[{"photo_id":"1371646477","filename":"file5"},{"photo_id":"1371646432","filename":"file2"},{"photo_id":"1371646469","filename":"file4"},{"photo_id":"1371646422","filename":"file1"},{"photo_id":"1371646419","filename":"file0"},{"photo_id":"1371646447","filename":"file3"}],"portfolio_id":24773944,"hashtag_by_photo_ids":[{"1371646469":["hashtag1","hashtag2"]},{"1371646477":["hashtag1","hashtag2"]},{"1371646447":["hashtag1","hashtag2"]},{"1371646432":["hashtag1","hashtag2"]},{"1371646422":["hashtag1","hashtag2"]},{"1371646419":["hashtag1","hashtag2"]}],"comms":"Portfolio 24773944 used, photo_id : ArrayBuffer(1371646469, 1371646477, 1371646447, 1371646432, 1371646422, 1371646419)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 62.71664047241211 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 19:31:04.134317
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/22/39/image_10072025_22_39_01_7803.jpg', 2), ('/home/pi/Desktop/images/10072025/22/38/image_10072025_22_38_02_0102.jpg', 2), ('/home/pi/Desktop/images/10072025/22/23/image_10072025_22_23_01_9475.jpg', 2), ('/home/pi/Desktop/images/10072025/22/21/image_10072025_22_21_01_8137.jpg', 2), ('/home/pi/Desktop/images/10072025/22/20/image_10072025_22_20_02_2000.jpg', 2), ('/home/pi/Desktop/images/10072025/22/19/image_10072025_22_19_01_4524.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/22/39/image_10072025_22_39_01_7803.jpg', '/home/pi/Desktop/images/10072025/22/38/image_10072025_22_38_02_0102.jpg', '/home/pi/Desktop/images/10072025/22/23/image_10072025_22_23_01_9475.jpg', '/home/pi/Desktop/images/10072025/22/21/image_10072025_22_21_01_8137.jpg', '/home/pi/Desktop/images/10072025/22/20/image_10072025_22_20_02_2000.jpg', '/home/pi/Desktop/images/10072025/22/19/image_10072025_22_19_01_4524.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/22/39/image_10072025_22_39_01_7803.jpg
/home/pi/Desktop/images/10072025/22/38/image_10072025_22_38_02_0102.jpg
/home/pi/Desktop/images/10072025/22/23/image_10072025_22_23_01_9475.jpg
/home/pi/Desktop/images/10072025/22/21/image_10072025_22_21_01_8137.jpg
/home/pi/Desktop/images/10072025/22/20/image_10072025_22_20_02_2000.jpg
/home/pi/Desktop/images/10072025/22/19/image_10072025_22_19_01_4524.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371646646","1371646616","1371646601","1371646633","1371646590","1371646583"],"photo_ids_order":["1371646583","1371646590","1371646601","1371646616","1371646633","1371646646"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/964b99b787952ac677d1b505e8029446.jpg","text":"TemporaryFile(/tmp/multipartBody7639852809711610592asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752255129096,"filename":"image_10072025_22_19_01_4524.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/e2766a4c1083bde1dcf34802eabe4b2d.jpg","text":"TemporaryFile(/tmp/multipartBody4759374297565574410asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752255129096,"filename":"image_10072025_22_21_01_8137.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/3b5f7090aecdd91931a4cd21a8ddb1a1.jpg","text":"TemporaryFile(/tmp/multipartBody8713352836436105492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752255129096,"filename":"image_10072025_22_23_01_9475.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/c0f8f19b5b8a553e35ac2a8902a32146.jpg","text":"TemporaryFile(/tmp/multipartBody1691403174855940541asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752255129096,"filename":"image_10072025_22_20_02_2000.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/1a4cb7edefc9cd1007e06ee66bd5a058.jpg","text":"TemporaryFile(/tmp/multipartBody1820912972532000742asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752255129096,"filename":"image_10072025_22_38_02_0102.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/d5eb5c70222b3343464e01df6eaa20c4.jpg","text":"TemporaryFile(/tmp/multipartBody7181529479807706918asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752255129096,"filename":"image_10072025_22_39_01_7803.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371646601","file1":"1371646590","file0":"1371646583","file4":"1371646633","file5":"1371646646","file3":"1371646616"},"map_files_photo_id_array":[{"photo_id":"1371646646","filename":"file5"},{"photo_id":"1371646601","filename":"file2"},{"photo_id":"1371646633","filename":"file4"},{"photo_id":"1371646590","filename":"file1"},{"photo_id":"1371646583","filename":"file0"},{"photo_id":"1371646616","filename":"file3"}],"portfolio_id":24773944,"hashtag_by_photo_ids":[{"1371646646":["hashtag1","hashtag2"]},{"1371646616":["hashtag1","hashtag2"]},{"1371646601":["hashtag1","hashtag2"]},{"1371646633":["hashtag1","hashtag2"]},{"1371646590":["hashtag1","hashtag2"]},{"1371646583":["hashtag1","hashtag2"]}],"comms":"Portfolio 24773944 used, photo_id : ArrayBuffer(1371646646, 1371646616, 1371646601, 1371646633, 1371646590, 1371646583)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 62.12857246398926 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 19:33:03.247935
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/22/18/image_10072025_22_18_01_3128.jpg', 2), ('/home/pi/Desktop/images/10072025/22/17/image_10072025_22_17_01_5499.jpg', 2), ('/home/pi/Desktop/images/10072025/22/15/image_10072025_22_15_01_4433.jpg', 2), ('/home/pi/Desktop/images/10072025/22/14/image_10072025_22_14_01_4777.jpg', 2), ('/home/pi/Desktop/images/10072025/22/13/image_10072025_22_13_01_5034.jpg', 2), ('/home/pi/Desktop/images/10072025/22/11/image_10072025_22_11_01_5634.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/22/18/image_10072025_22_18_01_3128.jpg', '/home/pi/Desktop/images/10072025/22/17/image_10072025_22_17_01_5499.jpg', '/home/pi/Desktop/images/10072025/22/15/image_10072025_22_15_01_4433.jpg', '/home/pi/Desktop/images/10072025/22/14/image_10072025_22_14_01_4777.jpg', '/home/pi/Desktop/images/10072025/22/13/image_10072025_22_13_01_5034.jpg', '/home/pi/Desktop/images/10072025/22/11/image_10072025_22_11_01_5634.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/22/18/image_10072025_22_18_01_3128.jpg
/home/pi/Desktop/images/10072025/22/17/image_10072025_22_17_01_5499.jpg
/home/pi/Desktop/images/10072025/22/15/image_10072025_22_15_01_4433.jpg
/home/pi/Desktop/images/10072025/22/14/image_10072025_22_14_01_4777.jpg
/home/pi/Desktop/images/10072025/22/13/image_10072025_22_13_01_5034.jpg
/home/pi/Desktop/images/10072025/22/11/image_10072025_22_11_01_5634.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371646739","1371646721","1371646726","1371646714","1371646749","1371646731"],"photo_ids_order":["1371646714","1371646721","1371646726","1371646731","1371646739","1371646749"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/7b439adb98adde9c18be1d8662af616f.jpg","text":"TemporaryFile(/tmp/multipartBody5261099186837549455asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752255247976,"filename":"image_10072025_22_13_01_5034.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/ebbbeedeac4d4b13b267318edae1827d.jpg","text":"TemporaryFile(/tmp/multipartBody4844301337688173761asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752255247976,"filename":"image_10072025_22_17_01_5499.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/86814f310483d3a8d98c8023b1948482.jpg","text":"TemporaryFile(/tmp/multipartBody5196855946410563262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752255247976,"filename":"image_10072025_22_15_01_4433.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/402ed70bf8c5bba8b901977d803b158e.jpg","text":"TemporaryFile(/tmp/multipartBody6468368187808558521asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752255247976,"filename":"image_10072025_22_18_01_3128.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/e24ad8908357896ea84a0a6d0b52d8f6.jpg","text":"TemporaryFile(/tmp/multipartBody6819771978128161812asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752255247976,"filename":"image_10072025_22_11_01_5634.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/ac10b2fafe8509ff13baeb7da30fa4b8.jpg","text":"TemporaryFile(/tmp/multipartBody2560545283130120230asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752255247976,"filename":"image_10072025_22_14_01_4777.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371646726","file1":"1371646721","file0":"1371646714","file4":"1371646739","file5":"1371646749","file3":"1371646731"},"map_files_photo_id_array":[{"photo_id":"1371646749","filename":"file5"},{"photo_id":"1371646726","filename":"file2"},{"photo_id":"1371646739","filename":"file4"},{"photo_id":"1371646721","filename":"file1"},{"photo_id":"1371646714","filename":"file0"},{"photo_id":"1371646731","filename":"file3"}],"portfolio_id":24773944,"hashtag_by_photo_ids":[{"1371646739":["hashtag1","hashtag2"]},{"1371646721":["hashtag1","hashtag2"]},{"1371646726":["hashtag1","hashtag2"]},{"1371646714":["hashtag1","hashtag2"]},{"1371646749":["hashtag1","hashtag2"]},{"1371646731":["hashtag1","hashtag2"]}],"comms":"Portfolio 24773944 used, photo_id : ArrayBuffer(1371646739, 1371646721, 1371646726, 1371646714, 1371646749, 1371646731)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 66.69770979881287 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 19:35:03.459993
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/22/02/image_10072025_22_02_01_3262.jpg', 2), ('/home/pi/Desktop/images/10072025/21/58/image_10072025_21_58_01_6556.jpg', 2), ('/home/pi/Desktop/images/10072025/21/57/image_10072025_21_57_02_0228.jpg', 2), ('/home/pi/Desktop/images/10072025/21/56/image_10072025_21_56_01_3576.jpg', 2), ('/home/pi/Desktop/images/10072025/21/55/image_10072025_21_55_02_0244.jpg', 2), ('/home/pi/Desktop/images/10072025/21/54/image_10072025_21_54_01_3670.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/22/02/image_10072025_22_02_01_3262.jpg', '/home/pi/Desktop/images/10072025/21/58/image_10072025_21_58_01_6556.jpg', '/home/pi/Desktop/images/10072025/21/57/image_10072025_21_57_02_0228.jpg', '/home/pi/Desktop/images/10072025/21/56/image_10072025_21_56_01_3576.jpg', '/home/pi/Desktop/images/10072025/21/55/image_10072025_21_55_02_0244.jpg', '/home/pi/Desktop/images/10072025/21/54/image_10072025_21_54_01_3670.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/22/02/image_10072025_22_02_01_3262.jpg
/home/pi/Desktop/images/10072025/21/58/image_10072025_21_58_01_6556.jpg
/home/pi/Desktop/images/10072025/21/57/image_10072025_21_57_02_0228.jpg
/home/pi/Desktop/images/10072025/21/56/image_10072025_21_56_01_3576.jpg
/home/pi/Desktop/images/10072025/21/55/image_10072025_21_55_02_0244.jpg
/home/pi/Desktop/images/10072025/21/54/image_10072025_21_54_01_3670.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371646817","1371646837","1371646854","1371646848","1371646827","1371646812"],"photo_ids_order":["1371646812","1371646817","1371646827","1371646837","1371646848","1371646854"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/c2bbb8b9ef9d1cf2bab798dad892df22.jpg","text":"TemporaryFile(/tmp/multipartBody7906344419102403764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752255368147,"filename":"image_10072025_21_58_01_6556.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/9f28c8a3aee5686b6e6f64c3194f72a4.jpg","text":"TemporaryFile(/tmp/multipartBody1488225067341024239asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752255368147,"filename":"image_10072025_21_56_01_3576.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/3697ecf298c8c4159fe68009bcf14d04.jpg","text":"TemporaryFile(/tmp/multipartBody630760030074863493asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752255368147,"filename":"image_10072025_21_54_01_3670.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/3de41dfeb0d85f0900c830c19129d84f.jpg","text":"TemporaryFile(/tmp/multipartBody5457257806497215762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752255368147,"filename":"image_10072025_21_55_02_0244.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/f8ecc186b25e4004c26c371ec2ca13be.jpg","text":"TemporaryFile(/tmp/multipartBody241751512493154967asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752255368147,"filename":"image_10072025_21_57_02_0228.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/226952126d1f2e33528901a656a95b87.jpg","text":"TemporaryFile(/tmp/multipartBody296878202226389140asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752255368147,"filename":"image_10072025_22_02_01_3262.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371646827","file1":"1371646817","file0":"1371646812","file4":"1371646848","file5":"1371646854","file3":"1371646837"},"map_files_photo_id_array":[{"photo_id":"1371646854","filename":"file5"},{"photo_id":"1371646827","filename":"file2"},{"photo_id":"1371646848","filename":"file4"},{"photo_id":"1371646817","filename":"file1"},{"photo_id":"1371646812","filename":"file0"},{"photo_id":"1371646837","filename":"file3"}],"portfolio_id":24773944,"hashtag_by_photo_ids":[{"1371646817":["hashtag1","hashtag2"]},{"1371646837":["hashtag1","hashtag2"]},{"1371646854":["hashtag1","hashtag2"]},{"1371646848":["hashtag1","hashtag2"]},{"1371646827":["hashtag1","hashtag2"]},{"1371646812":["hashtag1","hashtag2"]}],"comms":"Portfolio 24773944 used, photo_id : ArrayBuffer(1371646817, 1371646837, 1371646854, 1371646848, 1371646827, 1371646812)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 61.10381627082825 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 19:37:03.331773
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/21/53/image_10072025_21_53_01_4432.jpg', 2), ('/home/pi/Desktop/images/10072025/21/52/image_10072025_21_52_02_0599.jpg', 2), ('/home/pi/Desktop/images/10072025/21/51/image_10072025_21_51_01_9730.jpg', 2), ('/home/pi/Desktop/images/10072025/21/50/image_10072025_21_50_01_5550.jpg', 2), ('/home/pi/Desktop/images/10072025/21/47/image_10072025_21_47_02_1833.jpg', 2), ('/home/pi/Desktop/images/10072025/21/46/image_10072025_21_46_02_1222.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/21/53/image_10072025_21_53_01_4432.jpg', '/home/pi/Desktop/images/10072025/21/52/image_10072025_21_52_02_0599.jpg', '/home/pi/Desktop/images/10072025/21/51/image_10072025_21_51_01_9730.jpg', '/home/pi/Desktop/images/10072025/21/50/image_10072025_21_50_01_5550.jpg', '/home/pi/Desktop/images/10072025/21/47/image_10072025_21_47_02_1833.jpg', '/home/pi/Desktop/images/10072025/21/46/image_10072025_21_46_02_1222.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/21/53/image_10072025_21_53_01_4432.jpg
/home/pi/Desktop/images/10072025/21/52/image_10072025_21_52_02_0599.jpg
/home/pi/Desktop/images/10072025/21/51/image_10072025_21_51_01_9730.jpg
/home/pi/Desktop/images/10072025/21/50/image_10072025_21_50_01_5550.jpg
/home/pi/Desktop/images/10072025/21/47/image_10072025_21_47_02_1833.jpg
/home/pi/Desktop/images/10072025/21/46/image_10072025_21_46_02_1222.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371647126","1371647080","1371647250","1371647195","1371647214","1371647060"],"photo_ids_order":["1371647060","1371647080","1371647126","1371647195","1371647214","1371647250"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/a17364e5247f29632ba0e78196e6808e.jpg","text":"TemporaryFile(/tmp/multipartBody5201834563056216917asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752255488184,"filename":"image_10072025_21_51_01_9730.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/509ab284926a72c34485decd008abedf.jpg","text":"TemporaryFile(/tmp/multipartBody8547573417917500349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752255488184,"filename":"image_10072025_21_52_02_0599.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/7732bb6eaa0b3c7ba2182f64d2e5038d.jpg","text":"TemporaryFile(/tmp/multipartBody852780671319902673asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752255488184,"filename":"image_10072025_21_46_02_1222.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/ad5aa4a4d9a4956644144267f22e9967.jpg","text":"TemporaryFile(/tmp/multipartBody1341370320108290700asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752255488184,"filename":"image_10072025_21_50_01_5550.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/34822a9465b582afa82f3ca703c49fac.jpg","text":"TemporaryFile(/tmp/multipartBody8750965232074683395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752255488184,"filename":"image_10072025_21_47_02_1833.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/5aa0d109bd0608450108039e44d9af1e.jpg","text":"TemporaryFile(/tmp/multipartBody3231304067182730776asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752255488184,"filename":"image_10072025_21_53_01_4432.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371647126","file1":"1371647080","file0":"1371647060","file4":"1371647214","file5":"1371647250","file3":"1371647195"},"map_files_photo_id_array":[{"photo_id":"1371647250","filename":"file5"},{"photo_id":"1371647126","filename":"file2"},{"photo_id":"1371647214","filename":"file4"},{"photo_id":"1371647080","filename":"file1"},{"photo_id":"1371647060","filename":"file0"},{"photo_id":"1371647195","filename":"file3"}],"portfolio_id":24773944,"hashtag_by_photo_ids":[{"1371647126":["hashtag1","hashtag2"]},{"1371647080":["hashtag1","hashtag2"]},{"1371647250":["hashtag1","hashtag2"]},{"1371647195":["hashtag1","hashtag2"]},{"1371647214":["hashtag1","hashtag2"]},{"1371647060":["hashtag1","hashtag2"]}],"comms":"Portfolio 24773944 used, photo_id : ArrayBuffer(1371647126, 1371647080, 1371647250, 1371647195, 1371647214, 1371647060)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 62.918251514434814 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 19:39:03.465801
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/21/43/image_10072025_21_43_01_5614.jpg', 2), ('/home/pi/Desktop/images/10072025/21/41/image_10072025_21_41_02_0138.jpg', 2), ('/home/pi/Desktop/images/10072025/21/40/image_10072025_21_40_02_2502.jpg', 2), ('/home/pi/Desktop/images/10072025/21/39/image_10072025_21_39_01_6129.jpg', 2), ('/home/pi/Desktop/images/10072025/21/38/image_10072025_21_38_02_1971.jpg', 2), ('/home/pi/Desktop/images/10072025/21/37/image_10072025_21_37_01_7453.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/21/43/image_10072025_21_43_01_5614.jpg', '/home/pi/Desktop/images/10072025/21/41/image_10072025_21_41_02_0138.jpg', '/home/pi/Desktop/images/10072025/21/40/image_10072025_21_40_02_2502.jpg', '/home/pi/Desktop/images/10072025/21/39/image_10072025_21_39_01_6129.jpg', '/home/pi/Desktop/images/10072025/21/38/image_10072025_21_38_02_1971.jpg', '/home/pi/Desktop/images/10072025/21/37/image_10072025_21_37_01_7453.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/21/43/image_10072025_21_43_01_5614.jpg
/home/pi/Desktop/images/10072025/21/41/image_10072025_21_41_02_0138.jpg
/home/pi/Desktop/images/10072025/21/40/image_10072025_21_40_02_2502.jpg
/home/pi/Desktop/images/10072025/21/39/image_10072025_21_39_01_6129.jpg
/home/pi/Desktop/images/10072025/21/38/image_10072025_21_38_02_1971.jpg
/home/pi/Desktop/images/10072025/21/37/image_10072025_21_37_01_7453.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371647854","1371647644","1371647589","1371647781","1371647919","1371647709"],"photo_ids_order":["1371647589","1371647644","1371647709","1371647781","1371647854","1371647919"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/ce0b079701ea18742c852a4629c05cb1.jpg","text":"TemporaryFile(/tmp/multipartBody1767819461518199338asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752255608108,"filename":"image_10072025_21_38_02_1971.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/b1ab1137726e2712329db2585b2fb6f1.jpg","text":"TemporaryFile(/tmp/multipartBody7542359324477868459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752255608108,"filename":"image_10072025_21_41_02_0138.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/85f53d52170f130cdc8abdd8eaa84911.jpg","text":"TemporaryFile(/tmp/multipartBody6617046470530949989asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752255608108,"filename":"image_10072025_21_43_01_5614.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/08d2be5e46f44c82522da3a22c70143e.jpg","text":"TemporaryFile(/tmp/multipartBody3044466055286040028asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752255608108,"filename":"image_10072025_21_39_01_6129.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/d47151f4405ae93615082f50ea0df78d.jpg","text":"TemporaryFile(/tmp/multipartBody7419339041041463794asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752255608108,"filename":"image_10072025_21_37_01_7453.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/7af9a1b3928f909ce16b13e92136da29.jpg","text":"TemporaryFile(/tmp/multipartBody45859975508431844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752255608108,"filename":"image_10072025_21_40_02_2502.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371647709","file1":"1371647644","file0":"1371647589","file4":"1371647854","file5":"1371647919","file3":"1371647781"},"map_files_photo_id_array":[{"photo_id":"1371647919","filename":"file5"},{"photo_id":"1371647709","filename":"file2"},{"photo_id":"1371647854","filename":"file4"},{"photo_id":"1371647644","filename":"file1"},{"photo_id":"1371647589","filename":"file0"},{"photo_id":"1371647781","filename":"file3"}],"portfolio_id":24773944,"hashtag_by_photo_ids":[{"1371647854":["hashtag1","hashtag2"]},{"1371647644":["hashtag1","hashtag2"]},{"1371647589":["hashtag1","hashtag2"]},{"1371647781":["hashtag1","hashtag2"]},{"1371647919":["hashtag1","hashtag2"]},{"1371647709":["hashtag1","hashtag2"]}],"comms":"Portfolio 24773944 used, photo_id : ArrayBuffer(1371647854, 1371647644, 1371647589, 1371647781, 1371647919, 1371647709)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 62.973716497421265 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 19:41:03.974392
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/21/35/image_10072025_21_35_01_5702.jpg', 2), ('/home/pi/Desktop/images/10072025/21/34/image_10072025_21_34_01_9107.jpg', 2), ('/home/pi/Desktop/images/10072025/21/33/image_10072025_21_33_02_1717.jpg', 2), ('/home/pi/Desktop/images/10072025/21/32/image_10072025_21_32_01_9528.jpg', 2), ('/home/pi/Desktop/images/10072025/21/31/image_10072025_21_31_01_6500.jpg', 2), ('/home/pi/Desktop/images/10072025/21/30/image_10072025_21_30_01_7489.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/21/35/image_10072025_21_35_01_5702.jpg', '/home/pi/Desktop/images/10072025/21/34/image_10072025_21_34_01_9107.jpg', '/home/pi/Desktop/images/10072025/21/33/image_10072025_21_33_02_1717.jpg', '/home/pi/Desktop/images/10072025/21/32/image_10072025_21_32_01_9528.jpg', '/home/pi/Desktop/images/10072025/21/31/image_10072025_21_31_01_6500.jpg', '/home/pi/Desktop/images/10072025/21/30/image_10072025_21_30_01_7489.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/21/35/image_10072025_21_35_01_5702.jpg
/home/pi/Desktop/images/10072025/21/34/image_10072025_21_34_01_9107.jpg
/home/pi/Desktop/images/10072025/21/33/image_10072025_21_33_02_1717.jpg
/home/pi/Desktop/images/10072025/21/32/image_10072025_21_32_01_9528.jpg
/home/pi/Desktop/images/10072025/21/31/image_10072025_21_31_01_6500.jpg
/home/pi/Desktop/images/10072025/21/30/image_10072025_21_30_01_7489.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371648241","1371648304","1371648747","1371648411","1371648522","1371648629"],"photo_ids_order":["1371648241","1371648304","1371648411","1371648522","1371648629","1371648747"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/158364a698ed44bc24468f5e3bafaa23.jpg","text":"TemporaryFile(/tmp/multipartBody128743856367244004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752255728766,"filename":"image_10072025_21_35_01_5702.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/7ae543c53617c585f554bfb55c853bcf.jpg","text":"TemporaryFile(/tmp/multipartBody9020157403953846020asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752255728766,"filename":"image_10072025_21_34_01_9107.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/682b181f7191c266344a73c2061c6911.jpg","text":"TemporaryFile(/tmp/multipartBody701705541947738457asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752255728766,"filename":"image_10072025_21_30_01_7489.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/4025120ad9ecfce94c34b96eb8d0f99b.jpg","text":"TemporaryFile(/tmp/multipartBody5442563800528645588asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752255728766,"filename":"image_10072025_21_33_02_1717.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/51a8b7ea56ee185f0403292e598b7ffb.jpg","text":"TemporaryFile(/tmp/multipartBody5881077215354182631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752255728766,"filename":"image_10072025_21_32_01_9528.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/bdd1d821fcbaaca3beb68fef0f8905ef.jpg","text":"TemporaryFile(/tmp/multipartBody3547633664899113645asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752255728766,"filename":"image_10072025_21_31_01_6500.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371648411","file1":"1371648304","file0":"1371648241","file4":"1371648629","file5":"1371648747","file3":"1371648522"},"map_files_photo_id_array":[{"photo_id":"1371648747","filename":"file5"},{"photo_id":"1371648411","filename":"file2"},{"photo_id":"1371648629","filename":"file4"},{"photo_id":"1371648304","filename":"file1"},{"photo_id":"1371648241","filename":"file0"},{"photo_id":"1371648522","filename":"file3"}],"portfolio_id":24773944,"hashtag_by_photo_ids":[{"1371648241":["hashtag1","hashtag2"]},{"1371648304":["hashtag1","hashtag2"]},{"1371648747":["hashtag1","hashtag2"]},{"1371648411":["hashtag1","hashtag2"]},{"1371648522":["hashtag1","hashtag2"]},{"1371648629":["hashtag1","hashtag2"]}],"comms":"Portfolio 24773944 used, photo_id : ArrayBuffer(1371648241, 1371648304, 1371648747, 1371648411, 1371648522, 1371648629)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 61.11998248100281 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 19:43:03.648206
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/21/29/image_10072025_21_29_01_8255.jpg', 2), ('/home/pi/Desktop/images/10072025/21/28/image_10072025_21_28_01_7920.jpg', 2), ('/home/pi/Desktop/images/10072025/21/27/image_10072025_21_27_02_0681.jpg', 2), ('/home/pi/Desktop/images/10072025/21/19/image_10072025_21_19_01_5065.jpg', 2), ('/home/pi/Desktop/images/10072025/21/18/image_10072025_21_18_01_6473.jpg', 2), ('/home/pi/Desktop/images/10072025/21/17/image_10072025_21_17_01_8645.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/21/29/image_10072025_21_29_01_8255.jpg', '/home/pi/Desktop/images/10072025/21/28/image_10072025_21_28_01_7920.jpg', '/home/pi/Desktop/images/10072025/21/27/image_10072025_21_27_02_0681.jpg', '/home/pi/Desktop/images/10072025/21/19/image_10072025_21_19_01_5065.jpg', '/home/pi/Desktop/images/10072025/21/18/image_10072025_21_18_01_6473.jpg', '/home/pi/Desktop/images/10072025/21/17/image_10072025_21_17_01_8645.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/21/29/image_10072025_21_29_01_8255.jpg
/home/pi/Desktop/images/10072025/21/28/image_10072025_21_28_01_7920.jpg
/home/pi/Desktop/images/10072025/21/27/image_10072025_21_27_02_0681.jpg
/home/pi/Desktop/images/10072025/21/19/image_10072025_21_19_01_5065.jpg
/home/pi/Desktop/images/10072025/21/18/image_10072025_21_18_01_6473.jpg
/home/pi/Desktop/images/10072025/21/17/image_10072025_21_17_01_8645.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371649318","1371649225","1371649404","1371649289","1371649424","1371649372"],"photo_ids_order":["1371649225","1371649289","1371649318","1371649372","1371649404","1371649424"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/45693ac56fef61c8a400527008e8a1d0.jpg","text":"TemporaryFile(/tmp/multipartBody4996363157495329435asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752255848650,"filename":"image_10072025_21_27_02_0681.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/75f6e577a0ca95b47e40c1d8d47f0729.jpg","text":"TemporaryFile(/tmp/multipartBody144203074183862321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752255848650,"filename":"image_10072025_21_29_01_8255.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/4d6b9a5c6a4787ab907119e56136cd32.jpg","text":"TemporaryFile(/tmp/multipartBody6226965706897238418asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752255848650,"filename":"image_10072025_21_18_01_6473.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/5277edd3d108b7c3bb42c0d6bcf0e52f.jpg","text":"TemporaryFile(/tmp/multipartBody6541911651749350178asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752255848650,"filename":"image_10072025_21_28_01_7920.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/f7014683f9648d63d85d3f57ff0d3de2.jpg","text":"TemporaryFile(/tmp/multipartBody6801351987113153932asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752255848650,"filename":"image_10072025_21_17_01_8645.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/1dbc4cc10baebe6294d1fd7ab4e1685e.jpg","text":"TemporaryFile(/tmp/multipartBody6069028811567505081asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752255848650,"filename":"image_10072025_21_19_01_5065.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371649318","file1":"1371649289","file0":"1371649225","file4":"1371649404","file5":"1371649424","file3":"1371649372"},"map_files_photo_id_array":[{"photo_id":"1371649424","filename":"file5"},{"photo_id":"1371649318","filename":"file2"},{"photo_id":"1371649404","filename":"file4"},{"photo_id":"1371649289","filename":"file1"},{"photo_id":"1371649225","filename":"file0"},{"photo_id":"1371649372","filename":"file3"}],"portfolio_id":24773944,"hashtag_by_photo_ids":[{"1371649318":["hashtag1","hashtag2"]},{"1371649225":["hashtag1","hashtag2"]},{"1371649404":["hashtag1","hashtag2"]},{"1371649289":["hashtag1","hashtag2"]},{"1371649424":["hashtag1","hashtag2"]},{"1371649372":["hashtag1","hashtag2"]}],"comms":"Portfolio 24773944 used, photo_id : ArrayBuffer(1371649318, 1371649225, 1371649404, 1371649289, 1371649424, 1371649372)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 60.657809019088745 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 19:45:03.655236
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/21/16/image_10072025_21_16_01_3504.jpg', 2), ('/home/pi/Desktop/images/10072025/21/14/image_10072025_21_14_02_1796.jpg', 2), ('/home/pi/Desktop/images/10072025/21/13/image_10072025_21_13_01_6002.jpg', 2), ('/home/pi/Desktop/images/10072025/21/12/image_10072025_21_12_01_8376.jpg', 2), ('/home/pi/Desktop/images/10072025/21/11/image_10072025_21_11_01_3983.jpg', 2), ('/home/pi/Desktop/images/10072025/21/10/image_10072025_21_10_01_7374.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/21/16/image_10072025_21_16_01_3504.jpg', '/home/pi/Desktop/images/10072025/21/14/image_10072025_21_14_02_1796.jpg', '/home/pi/Desktop/images/10072025/21/13/image_10072025_21_13_01_6002.jpg', '/home/pi/Desktop/images/10072025/21/12/image_10072025_21_12_01_8376.jpg', '/home/pi/Desktop/images/10072025/21/11/image_10072025_21_11_01_3983.jpg', '/home/pi/Desktop/images/10072025/21/10/image_10072025_21_10_01_7374.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/21/16/image_10072025_21_16_01_3504.jpg
/home/pi/Desktop/images/10072025/21/14/image_10072025_21_14_02_1796.jpg
/home/pi/Desktop/images/10072025/21/13/image_10072025_21_13_01_6002.jpg
/home/pi/Desktop/images/10072025/21/12/image_10072025_21_12_01_8376.jpg
/home/pi/Desktop/images/10072025/21/11/image_10072025_21_11_01_3983.jpg
/home/pi/Desktop/images/10072025/21/10/image_10072025_21_10_01_7374.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371649881","1371649869","1371649899","1371649890","1371649854","1371649859"],"photo_ids_order":["1371649854","1371649859","1371649869","1371649881","1371649890","1371649899"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/a520b3e7483eb123e20bb099db55e400.jpg","text":"TemporaryFile(/tmp/multipartBody4794442381466564937asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752255968477,"filename":"image_10072025_21_12_01_8376.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/3784ba18cd9987ae720c40af2f307d9e.jpg","text":"TemporaryFile(/tmp/multipartBody1854093703176171556asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752255968477,"filename":"image_10072025_21_13_01_6002.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/892b5f2096998e668f6aed9eeff2b428.jpg","text":"TemporaryFile(/tmp/multipartBody698106884171323349asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752255968477,"filename":"image_10072025_21_10_01_7374.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/66b387bc7f408b1376aaf799e2622443.jpg","text":"TemporaryFile(/tmp/multipartBody4927324260651085064asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752255968477,"filename":"image_10072025_21_11_01_3983.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/f5493b24a437f15d899a26630fd246d3.jpg","text":"TemporaryFile(/tmp/multipartBody6527945841444760643asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752255968477,"filename":"image_10072025_21_16_01_3504.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/053e56b2fa143645e90e71eeffddfa2b.jpg","text":"TemporaryFile(/tmp/multipartBody2688897901576167844asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752255968477,"filename":"image_10072025_21_14_02_1796.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371649869","file1":"1371649859","file0":"1371649854","file4":"1371649890","file5":"1371649899","file3":"1371649881"},"map_files_photo_id_array":[{"photo_id":"1371649899","filename":"file5"},{"photo_id":"1371649869","filename":"file2"},{"photo_id":"1371649890","filename":"file4"},{"photo_id":"1371649859","filename":"file1"},{"photo_id":"1371649854","filename":"file0"},{"photo_id":"1371649881","filename":"file3"}],"portfolio_id":24773944,"hashtag_by_photo_ids":[{"1371649881":["hashtag1","hashtag2"]},{"1371649869":["hashtag1","hashtag2"]},{"1371649899":["hashtag1","hashtag2"]},{"1371649890":["hashtag1","hashtag2"]},{"1371649854":["hashtag1","hashtag2"]},{"1371649859":["hashtag1","hashtag2"]}],"comms":"Portfolio 24773944 used, photo_id : ArrayBuffer(1371649881, 1371649869, 1371649899, 1371649890, 1371649854, 1371649859)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 61.27810859680176 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 19:47:04.295117
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/21/09/image_10072025_21_09_01_9857.jpg', 2), ('/home/pi/Desktop/images/10072025/21/08/image_10072025_21_08_02_1715.jpg', 2), ('/home/pi/Desktop/images/10072025/21/07/image_10072025_21_07_02_2682.jpg', 2), ('/home/pi/Desktop/images/10072025/21/05/image_10072025_21_05_01_4805.jpg', 2), ('/home/pi/Desktop/images/10072025/21/02/image_10072025_21_02_01_5011.jpg', 2), ('/home/pi/Desktop/images/10072025/21/00/image_10072025_21_00_02_2063.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/21/09/image_10072025_21_09_01_9857.jpg', '/home/pi/Desktop/images/10072025/21/08/image_10072025_21_08_02_1715.jpg', '/home/pi/Desktop/images/10072025/21/07/image_10072025_21_07_02_2682.jpg', '/home/pi/Desktop/images/10072025/21/05/image_10072025_21_05_01_4805.jpg', '/home/pi/Desktop/images/10072025/21/02/image_10072025_21_02_01_5011.jpg', '/home/pi/Desktop/images/10072025/21/00/image_10072025_21_00_02_2063.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/21/09/image_10072025_21_09_01_9857.jpg
/home/pi/Desktop/images/10072025/21/08/image_10072025_21_08_02_1715.jpg
/home/pi/Desktop/images/10072025/21/07/image_10072025_21_07_02_2682.jpg
/home/pi/Desktop/images/10072025/21/05/image_10072025_21_05_01_4805.jpg
/home/pi/Desktop/images/10072025/21/02/image_10072025_21_02_01_5011.jpg
/home/pi/Desktop/images/10072025/21/00/image_10072025_21_00_02_2063.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371650071","1371650128","1371649991","1371649985","1371650016","1371650188"],"photo_ids_order":["1371649985","1371649991","1371650016","1371650071","1371650128","1371650188"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/3d6bb46b550862c51a24567be4e81b9b.jpg","text":"TemporaryFile(/tmp/multipartBody7113684188508984488asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752256089094,"filename":"image_10072025_21_05_01_4805.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/fbfe348a0efecfd57c5f5383e6e8f54b.jpg","text":"TemporaryFile(/tmp/multipartBody6636736309286509694asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752256089094,"filename":"image_10072025_21_02_01_5011.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/85b551910002e758609716760c0cc144.jpg","text":"TemporaryFile(/tmp/multipartBody8821824525965989629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752256089094,"filename":"image_10072025_21_08_02_1715.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/6ca33649d481a63dbad420a9bd33d007.jpg","text":"TemporaryFile(/tmp/multipartBody8820181108129438703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752256089094,"filename":"image_10072025_21_09_01_9857.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/6df4ddb2c96b811395aa9760c3b4ca00.jpg","text":"TemporaryFile(/tmp/multipartBody2424821360754990244asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752256089094,"filename":"image_10072025_21_07_02_2682.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/f0333c4d2eaa21d1d9e1e309306780db.jpg","text":"TemporaryFile(/tmp/multipartBody7120752463214116701asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752256089094,"filename":"image_10072025_21_00_02_2063.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371650016","file1":"1371649991","file0":"1371649985","file4":"1371650128","file5":"1371650188","file3":"1371650071"},"map_files_photo_id_array":[{"photo_id":"1371650188","filename":"file5"},{"photo_id":"1371650016","filename":"file2"},{"photo_id":"1371650128","filename":"file4"},{"photo_id":"1371649991","filename":"file1"},{"photo_id":"1371649985","filename":"file0"},{"photo_id":"1371650071","filename":"file3"}],"portfolio_id":24773944,"hashtag_by_photo_ids":[{"1371650071":["hashtag1","hashtag2"]},{"1371650128":["hashtag1","hashtag2"]},{"1371649991":["hashtag1","hashtag2"]},{"1371649985":["hashtag1","hashtag2"]},{"1371650016":["hashtag1","hashtag2"]},{"1371650188":["hashtag1","hashtag2"]}],"comms":"Portfolio 24773944 used, photo_id : ArrayBuffer(1371650071, 1371650128, 1371649991, 1371649985, 1371650016, 1371650188)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 59.83369469642639 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 19:49:03.381186
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/20/59/image_10072025_20_59_01_4495.jpg', 2), ('/home/pi/Desktop/images/10072025/20/52/image_10072025_20_52_01_8926.jpg', 2), ('/home/pi/Desktop/images/10072025/20/51/image_10072025_20_51_01_4105.jpg', 2), ('/home/pi/Desktop/images/10072025/20/50/image_10072025_20_50_01_3474.jpg', 2), ('/home/pi/Desktop/images/10072025/20/48/image_10072025_20_48_02_2149.jpg', 2), ('/home/pi/Desktop/images/10072025/20/47/image_10072025_20_47_01_4472.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/20/59/image_10072025_20_59_01_4495.jpg', '/home/pi/Desktop/images/10072025/20/52/image_10072025_20_52_01_8926.jpg', '/home/pi/Desktop/images/10072025/20/51/image_10072025_20_51_01_4105.jpg', '/home/pi/Desktop/images/10072025/20/50/image_10072025_20_50_01_3474.jpg', '/home/pi/Desktop/images/10072025/20/48/image_10072025_20_48_02_2149.jpg', '/home/pi/Desktop/images/10072025/20/47/image_10072025_20_47_01_4472.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/20/59/image_10072025_20_59_01_4495.jpg
/home/pi/Desktop/images/10072025/20/52/image_10072025_20_52_01_8926.jpg
/home/pi/Desktop/images/10072025/20/51/image_10072025_20_51_01_4105.jpg
/home/pi/Desktop/images/10072025/20/50/image_10072025_20_50_01_3474.jpg
/home/pi/Desktop/images/10072025/20/48/image_10072025_20_48_02_2149.jpg
/home/pi/Desktop/images/10072025/20/47/image_10072025_20_47_01_4472.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371650484","1371650561","1371650477","1371650537","1371650501","1371650491"],"photo_ids_order":["1371650477","1371650484","1371650491","1371650501","1371650537","1371650561"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/c4668dec4d13fb9927fff18bf2efce7d.jpg","text":"TemporaryFile(/tmp/multipartBody4947433955445381492asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752256208107,"filename":"image_10072025_20_52_01_8926.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/2a6c688632e939eee31a7a67f80812cf.jpg","text":"TemporaryFile(/tmp/multipartBody9078091260362830499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752256208107,"filename":"image_10072025_20_47_01_4472.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/e260236c336bfd39b69283ee73d9c199.jpg","text":"TemporaryFile(/tmp/multipartBody6273363127000425126asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752256208107,"filename":"image_10072025_20_59_01_4495.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/960064deaec69e35fc83b32510663a37.jpg","text":"TemporaryFile(/tmp/multipartBody4680242342390450944asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752256208107,"filename":"image_10072025_20_48_02_2149.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/6080f045bf3b246b93467f8dc040839c.jpg","text":"TemporaryFile(/tmp/multipartBody5057535628249082014asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752256208107,"filename":"image_10072025_20_50_01_3474.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/8b87a5f7bb41fe867313f9edf2fb8a84.jpg","text":"TemporaryFile(/tmp/multipartBody6799823977010641817asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752256208107,"filename":"image_10072025_20_51_01_4105.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371650491","file1":"1371650484","file0":"1371650477","file4":"1371650537","file5":"1371650561","file3":"1371650501"},"map_files_photo_id_array":[{"photo_id":"1371650561","filename":"file5"},{"photo_id":"1371650491","filename":"file2"},{"photo_id":"1371650537","filename":"file4"},{"photo_id":"1371650484","filename":"file1"},{"photo_id":"1371650477","filename":"file0"},{"photo_id":"1371650501","filename":"file3"}],"portfolio_id":24773944,"hashtag_by_photo_ids":[{"1371650484":["hashtag1","hashtag2"]},{"1371650561":["hashtag1","hashtag2"]},{"1371650477":["hashtag1","hashtag2"]},{"1371650537":["hashtag1","hashtag2"]},{"1371650501":["hashtag1","hashtag2"]},{"1371650491":["hashtag1","hashtag2"]}],"comms":"Portfolio 24773944 used, photo_id : ArrayBuffer(1371650484, 1371650561, 1371650477, 1371650537, 1371650501, 1371650491)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 64.02775549888611 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 19:51:03.603288
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/20/42/image_10072025_20_42_01_3370.jpg', 2), ('/home/pi/Desktop/images/10072025/20/41/image_10072025_20_41_01_6386.jpg', 2), ('/home/pi/Desktop/images/10072025/20/40/image_10072025_20_40_01_6319.jpg', 2), ('/home/pi/Desktop/images/10072025/20/39/image_10072025_20_39_01_5113.jpg', 2), ('/home/pi/Desktop/images/10072025/20/38/image_10072025_20_38_01_8078.jpg', 2), ('/home/pi/Desktop/images/10072025/20/37/image_10072025_20_37_01_3903.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/20/42/image_10072025_20_42_01_3370.jpg', '/home/pi/Desktop/images/10072025/20/41/image_10072025_20_41_01_6386.jpg', '/home/pi/Desktop/images/10072025/20/40/image_10072025_20_40_01_6319.jpg', '/home/pi/Desktop/images/10072025/20/39/image_10072025_20_39_01_5113.jpg', '/home/pi/Desktop/images/10072025/20/38/image_10072025_20_38_01_8078.jpg', '/home/pi/Desktop/images/10072025/20/37/image_10072025_20_37_01_3903.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/20/42/image_10072025_20_42_01_3370.jpg
/home/pi/Desktop/images/10072025/20/41/image_10072025_20_41_01_6386.jpg
/home/pi/Desktop/images/10072025/20/40/image_10072025_20_40_01_6319.jpg
/home/pi/Desktop/images/10072025/20/39/image_10072025_20_39_01_5113.jpg
/home/pi/Desktop/images/10072025/20/38/image_10072025_20_38_01_8078.jpg
/home/pi/Desktop/images/10072025/20/37/image_10072025_20_37_01_3903.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371650656","1371650691","1371650685","1371650667","1371650646","1371650640"],"photo_ids_order":["1371650640","1371650646","1371650656","1371650667","1371650685","1371650691"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/736cf3eee0868e09481ef491a1fb9aa0.jpg","text":"TemporaryFile(/tmp/multipartBody5603067863417020080asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752256327803,"filename":"image_10072025_20_40_01_6319.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/4955d78497c0270f6e105f9f8dc4396d.jpg","text":"TemporaryFile(/tmp/multipartBody835433652200046666asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752256327803,"filename":"image_10072025_20_37_01_3903.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/fe19aa46b12f92f68cdf4b38b13112cd.jpg","text":"TemporaryFile(/tmp/multipartBody8554437939077421164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752256327803,"filename":"image_10072025_20_38_01_8078.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/ecc4c6d047b25ced41867016348f3732.jpg","text":"TemporaryFile(/tmp/multipartBody4035310213831735208asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752256327803,"filename":"image_10072025_20_39_01_5113.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/c36fffd582e55b340728521ef2a1271a.jpg","text":"TemporaryFile(/tmp/multipartBody562615467036699680asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752256327803,"filename":"image_10072025_20_41_01_6386.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/5ad40a43a154ae8d4605a30158c7c81a.jpg","text":"TemporaryFile(/tmp/multipartBody9023177727413695289asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752256327803,"filename":"image_10072025_20_42_01_3370.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371650656","file1":"1371650646","file0":"1371650640","file4":"1371650685","file5":"1371650691","file3":"1371650667"},"map_files_photo_id_array":[{"photo_id":"1371650691","filename":"file5"},{"photo_id":"1371650656","filename":"file2"},{"photo_id":"1371650685","filename":"file4"},{"photo_id":"1371650646","filename":"file1"},{"photo_id":"1371650640","filename":"file0"},{"photo_id":"1371650667","filename":"file3"}],"portfolio_id":24773944,"hashtag_by_photo_ids":[{"1371650656":["hashtag1","hashtag2"]},{"1371650691":["hashtag1","hashtag2"]},{"1371650685":["hashtag1","hashtag2"]},{"1371650667":["hashtag1","hashtag2"]},{"1371650646":["hashtag1","hashtag2"]},{"1371650640":["hashtag1","hashtag2"]}],"comms":"Portfolio 24773944 used, photo_id : ArrayBuffer(1371650656, 1371650691, 1371650685, 1371650667, 1371650646, 1371650640)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 61.86867690086365 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 19:53:04.109235
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/20/36/image_10072025_20_36_01_4009.jpg', 2), ('/home/pi/Desktop/images/10072025/20/35/image_10072025_20_35_01_9410.jpg', 2), ('/home/pi/Desktop/images/10072025/20/33/image_10072025_20_33_01_8923.jpg', 2), ('/home/pi/Desktop/images/10072025/20/30/image_10072025_20_30_01_7092.jpg', 2), ('/home/pi/Desktop/images/10072025/20/29/image_10072025_20_29_01_6157.jpg', 2), ('/home/pi/Desktop/images/10072025/20/28/image_10072025_20_28_01_9231.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/20/36/image_10072025_20_36_01_4009.jpg', '/home/pi/Desktop/images/10072025/20/35/image_10072025_20_35_01_9410.jpg', '/home/pi/Desktop/images/10072025/20/33/image_10072025_20_33_01_8923.jpg', '/home/pi/Desktop/images/10072025/20/30/image_10072025_20_30_01_7092.jpg', '/home/pi/Desktop/images/10072025/20/29/image_10072025_20_29_01_6157.jpg', '/home/pi/Desktop/images/10072025/20/28/image_10072025_20_28_01_9231.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/20/36/image_10072025_20_36_01_4009.jpg
/home/pi/Desktop/images/10072025/20/35/image_10072025_20_35_01_9410.jpg
/home/pi/Desktop/images/10072025/20/33/image_10072025_20_33_01_8923.jpg
/home/pi/Desktop/images/10072025/20/30/image_10072025_20_30_01_7092.jpg
/home/pi/Desktop/images/10072025/20/29/image_10072025_20_29_01_6157.jpg
/home/pi/Desktop/images/10072025/20/28/image_10072025_20_28_01_9231.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371650833","1371650929","1371650917","1371650850","1371650885","1371650861"],"photo_ids_order":["1371650833","1371650850","1371650861","1371650885","1371650917","1371650929"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/8583929621f663ab37e69ae9cac767e7.jpg","text":"TemporaryFile(/tmp/multipartBody3046363707585954101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752256448035,"filename":"image_10072025_20_36_01_4009.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/b81c1277ddfb5c5feea06e08c1475289.jpg","text":"TemporaryFile(/tmp/multipartBody1127245098854570101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752256448035,"filename":"image_10072025_20_28_01_9231.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/7900858a6d0e048de94a0a0a022053b2.jpg","text":"TemporaryFile(/tmp/multipartBody8290170651189942096asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752256448035,"filename":"image_10072025_20_29_01_6157.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/0df19d4c2685ba9c1e696c2619e68af3.jpg","text":"TemporaryFile(/tmp/multipartBody9023649549799454806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752256448035,"filename":"image_10072025_20_35_01_9410.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/f2c070a1f5dbae6a35b2a1b01e9642d5.jpg","text":"TemporaryFile(/tmp/multipartBody6938260047612435162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752256448035,"filename":"image_10072025_20_30_01_7092.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/57a8fb29e60ee0402b760df372a4bdf3.jpg","text":"TemporaryFile(/tmp/multipartBody531459144003575461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752256448035,"filename":"image_10072025_20_33_01_8923.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371650861","file1":"1371650850","file0":"1371650833","file4":"1371650917","file5":"1371650929","file3":"1371650885"},"map_files_photo_id_array":[{"photo_id":"1371650929","filename":"file5"},{"photo_id":"1371650861","filename":"file2"},{"photo_id":"1371650917","filename":"file4"},{"photo_id":"1371650850","filename":"file1"},{"photo_id":"1371650833","filename":"file0"},{"photo_id":"1371650885","filename":"file3"}],"portfolio_id":24773944,"hashtag_by_photo_ids":[{"1371650833":["hashtag1","hashtag2"]},{"1371650929":["hashtag1","hashtag2"]},{"1371650917":["hashtag1","hashtag2"]},{"1371650850":["hashtag1","hashtag2"]},{"1371650885":["hashtag1","hashtag2"]},{"1371650861":["hashtag1","hashtag2"]}],"comms":"Portfolio 24773944 used, photo_id : ArrayBuffer(1371650833, 1371650929, 1371650917, 1371650850, 1371650885, 1371650861)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 60.65325212478638 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 19:55:03.877204
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/20/27/image_10072025_20_27_02_2087.jpg', 2), ('/home/pi/Desktop/images/10072025/20/26/image_10072025_20_26_01_4654.jpg', 2), ('/home/pi/Desktop/images/10072025/20/25/image_10072025_20_25_01_7733.jpg', 2), ('/home/pi/Desktop/images/10072025/20/21/image_10072025_20_21_02_1090.jpg', 2), ('/home/pi/Desktop/images/10072025/20/18/image_10072025_20_18_02_0020.jpg', 2), ('/home/pi/Desktop/images/10072025/20/17/image_10072025_20_17_01_5111.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/20/27/image_10072025_20_27_02_2087.jpg', '/home/pi/Desktop/images/10072025/20/26/image_10072025_20_26_01_4654.jpg', '/home/pi/Desktop/images/10072025/20/25/image_10072025_20_25_01_7733.jpg', '/home/pi/Desktop/images/10072025/20/21/image_10072025_20_21_02_1090.jpg', '/home/pi/Desktop/images/10072025/20/18/image_10072025_20_18_02_0020.jpg', '/home/pi/Desktop/images/10072025/20/17/image_10072025_20_17_01_5111.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/20/27/image_10072025_20_27_02_2087.jpg
/home/pi/Desktop/images/10072025/20/26/image_10072025_20_26_01_4654.jpg
/home/pi/Desktop/images/10072025/20/25/image_10072025_20_25_01_7733.jpg
/home/pi/Desktop/images/10072025/20/21/image_10072025_20_21_02_1090.jpg
/home/pi/Desktop/images/10072025/20/18/image_10072025_20_18_02_0020.jpg
/home/pi/Desktop/images/10072025/20/17/image_10072025_20_17_01_5111.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371651045","1371651027","1371651062","1371651038","1371651097","1371651055"],"photo_ids_order":["1371651027","1371651038","1371651045","1371651055","1371651062","1371651097"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/e1f08621c9955ca84a707e1a6c988a37.jpg","text":"TemporaryFile(/tmp/multipartBody3647294963345090461asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752256568519,"filename":"image_10072025_20_25_01_7733.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/fe02de5780a93a2700fc4269cf331577.jpg","text":"TemporaryFile(/tmp/multipartBody8601475219380061976asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752256568519,"filename":"image_10072025_20_27_02_2087.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/f908b1b259bae861cea976e53b76dd8c.jpg","text":"TemporaryFile(/tmp/multipartBody4875367378332090670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752256568519,"filename":"image_10072025_20_18_02_0020.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/babe0ec21626b746bb114edc52d07a0d.jpg","text":"TemporaryFile(/tmp/multipartBody3409376593560001249asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752256568519,"filename":"image_10072025_20_26_01_4654.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/54347ae064e728f0036d262c3105230e.jpg","text":"TemporaryFile(/tmp/multipartBody4258716367001450600asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752256568519,"filename":"image_10072025_20_17_01_5111.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/45bdb0beb31ed6efcd573e52105fc418.jpg","text":"TemporaryFile(/tmp/multipartBody5591200788072826157asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752256568519,"filename":"image_10072025_20_21_02_1090.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371651045","file1":"1371651038","file0":"1371651027","file4":"1371651062","file5":"1371651097","file3":"1371651055"},"map_files_photo_id_array":[{"photo_id":"1371651097","filename":"file5"},{"photo_id":"1371651045","filename":"file2"},{"photo_id":"1371651062","filename":"file4"},{"photo_id":"1371651038","filename":"file1"},{"photo_id":"1371651027","filename":"file0"},{"photo_id":"1371651055","filename":"file3"}],"portfolio_id":24773944,"hashtag_by_photo_ids":[{"1371651045":["hashtag1","hashtag2"]},{"1371651027":["hashtag1","hashtag2"]},{"1371651062":["hashtag1","hashtag2"]},{"1371651038":["hashtag1","hashtag2"]},{"1371651097":["hashtag1","hashtag2"]},{"1371651055":["hashtag1","hashtag2"]}],"comms":"Portfolio 24773944 used, photo_id : ArrayBuffer(1371651045, 1371651027, 1371651062, 1371651038, 1371651097, 1371651055)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 72.68760967254639 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 19:57:04.260671
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/20/15/image_10072025_20_15_02_1927.jpg', 2), ('/home/pi/Desktop/images/10072025/20/14/image_10072025_20_14_01_3722.jpg', 2), ('/home/pi/Desktop/images/10072025/20/03/image_10072025_20_03_01_8485.jpg', 2), ('/home/pi/Desktop/images/10072025/20/02/image_10072025_20_02_02_0720.jpg', 2), ('/home/pi/Desktop/images/10072025/20/01/image_10072025_20_01_02_1253.jpg', 2), ('/home/pi/Desktop/images/10072025/19/59/image_10072025_19_59_01_4692.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/20/15/image_10072025_20_15_02_1927.jpg', '/home/pi/Desktop/images/10072025/20/14/image_10072025_20_14_01_3722.jpg', '/home/pi/Desktop/images/10072025/20/03/image_10072025_20_03_01_8485.jpg', '/home/pi/Desktop/images/10072025/20/02/image_10072025_20_02_02_0720.jpg', '/home/pi/Desktop/images/10072025/20/01/image_10072025_20_01_02_1253.jpg', '/home/pi/Desktop/images/10072025/19/59/image_10072025_19_59_01_4692.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/20/15/image_10072025_20_15_02_1927.jpg
/home/pi/Desktop/images/10072025/20/14/image_10072025_20_14_01_3722.jpg
/home/pi/Desktop/images/10072025/20/03/image_10072025_20_03_01_8485.jpg
/home/pi/Desktop/images/10072025/20/02/image_10072025_20_02_02_0720.jpg
/home/pi/Desktop/images/10072025/20/01/image_10072025_20_01_02_1253.jpg
/home/pi/Desktop/images/10072025/19/59/image_10072025_19_59_01_4692.jpg
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 19:59:03.141126
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/20/15/image_10072025_20_15_02_1927.jpg', 2), ('/home/pi/Desktop/images/10072025/20/14/image_10072025_20_14_01_3722.jpg', 2), ('/home/pi/Desktop/images/10072025/20/03/image_10072025_20_03_01_8485.jpg', 2), ('/home/pi/Desktop/images/10072025/20/02/image_10072025_20_02_02_0720.jpg', 2), ('/home/pi/Desktop/images/10072025/20/01/image_10072025_20_01_02_1253.jpg', 2), ('/home/pi/Desktop/images/10072025/19/59/image_10072025_19_59_01_4692.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/20/15/image_10072025_20_15_02_1927.jpg', '/home/pi/Desktop/images/10072025/20/14/image_10072025_20_14_01_3722.jpg', '/home/pi/Desktop/images/10072025/20/03/image_10072025_20_03_01_8485.jpg', '/home/pi/Desktop/images/10072025/20/02/image_10072025_20_02_02_0720.jpg', '/home/pi/Desktop/images/10072025/20/01/image_10072025_20_01_02_1253.jpg', '/home/pi/Desktop/images/10072025/19/59/image_10072025_19_59_01_4692.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/20/15/image_10072025_20_15_02_1927.jpg
/home/pi/Desktop/images/10072025/20/14/image_10072025_20_14_01_3722.jpg
/home/pi/Desktop/images/10072025/20/03/image_10072025_20_03_01_8485.jpg
/home/pi/Desktop/images/10072025/20/02/image_10072025_20_02_02_0720.jpg
/home/pi/Desktop/images/10072025/20/01/image_10072025_20_01_02_1253.jpg
/home/pi/Desktop/images/10072025/19/59/image_10072025_19_59_01_4692.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371652338","1371652529","1371652400","1371652612","1371652677","1371652473"],"photo_ids_order":["1371652338","1371652400","1371652473","1371652529","1371652612","1371652677"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/6e5c7a1270397ea07a2b2b6f894b5eac.jpg","text":"TemporaryFile(/tmp/multipartBody3047997588860638981asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752256806417,"filename":"image_10072025_20_15_02_1927.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/700de5443164db9338a9b688df0182aa.jpg","text":"TemporaryFile(/tmp/multipartBody3732693914897154459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752256806417,"filename":"image_10072025_20_02_02_0720.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/0760ad91610cf26f3e219d98ec8d6fa0.jpg","text":"TemporaryFile(/tmp/multipartBody1181756271573852745asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752256806417,"filename":"image_10072025_20_14_01_3722.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/65fa9791a66a5a905f473217e39d1a65.jpg","text":"TemporaryFile(/tmp/multipartBody8260394697858151345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752256806417,"filename":"image_10072025_20_01_02_1253.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/75ccb29728c0b73662eafa16198b0415.jpg","text":"TemporaryFile(/tmp/multipartBody7534415540661387041asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752256806417,"filename":"image_10072025_19_59_01_4692.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/e85fa77c95d177c3c1847a2d1f8e462d.jpg","text":"TemporaryFile(/tmp/multipartBody2134413188581888653asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752256806417,"filename":"image_10072025_20_03_01_8485.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371652473","file1":"1371652400","file0":"1371652338","file4":"1371652612","file5":"1371652677","file3":"1371652529"},"map_files_photo_id_array":[{"photo_id":"1371652677","filename":"file5"},{"photo_id":"1371652473","filename":"file2"},{"photo_id":"1371652612","filename":"file4"},{"photo_id":"1371652400","filename":"file1"},{"photo_id":"1371652338","filename":"file0"},{"photo_id":"1371652529","filename":"file3"}],"portfolio_id":24773944,"hashtag_by_photo_ids":[{"1371652338":["hashtag1","hashtag2"]},{"1371652529":["hashtag1","hashtag2"]},{"1371652400":["hashtag1","hashtag2"]},{"1371652612":["hashtag1","hashtag2"]},{"1371652677":["hashtag1","hashtag2"]},{"1371652473":["hashtag1","hashtag2"]}],"comms":"Portfolio 24773944 used, photo_id : ArrayBuffer(1371652338, 1371652529, 1371652400, 1371652612, 1371652677, 1371652473)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 62.181559324264526 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 20:01:03.770345
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/19/58/image_10072025_19_58_02_2231.jpg', 2), ('/home/pi/Desktop/images/10072025/19/57/image_10072025_19_57_01_6107.jpg', 2), ('/home/pi/Desktop/images/10072025/19/56/image_10072025_19_56_01_6934.jpg', 2), ('/home/pi/Desktop/images/10072025/19/55/image_10072025_19_55_01_9023.jpg', 2), ('/home/pi/Desktop/images/10072025/19/54/image_10072025_19_54_01_4659.jpg', 2), ('/home/pi/Desktop/images/10072025/19/53/image_10072025_19_53_02_0135.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/19/58/image_10072025_19_58_02_2231.jpg', '/home/pi/Desktop/images/10072025/19/57/image_10072025_19_57_01_6107.jpg', '/home/pi/Desktop/images/10072025/19/56/image_10072025_19_56_01_6934.jpg', '/home/pi/Desktop/images/10072025/19/55/image_10072025_19_55_01_9023.jpg', '/home/pi/Desktop/images/10072025/19/54/image_10072025_19_54_01_4659.jpg', '/home/pi/Desktop/images/10072025/19/53/image_10072025_19_53_02_0135.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/19/58/image_10072025_19_58_02_2231.jpg
/home/pi/Desktop/images/10072025/19/57/image_10072025_19_57_01_6107.jpg
/home/pi/Desktop/images/10072025/19/56/image_10072025_19_56_01_6934.jpg
/home/pi/Desktop/images/10072025/19/55/image_10072025_19_55_01_9023.jpg
/home/pi/Desktop/images/10072025/19/54/image_10072025_19_54_01_4659.jpg
/home/pi/Desktop/images/10072025/19/53/image_10072025_19_53_02_0135.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371653133","1371653477","1371653395","1371653563","1371653338","1371653229"],"photo_ids_order":["1371653133","1371653229","1371653338","1371653395","1371653477","1371653563"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/9baf3fe1cff72375a478b6381690eeed.jpg","text":"TemporaryFile(/tmp/multipartBody6025864214690195870asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752256928090,"filename":"image_10072025_19_58_02_2231.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/2e3918964ba1baa2026c83eac60baa23.jpg","text":"TemporaryFile(/tmp/multipartBody5117984913965319527asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752256928090,"filename":"image_10072025_19_54_01_4659.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/b420161b0366defc745a5665a7b923c1.jpg","text":"TemporaryFile(/tmp/multipartBody6120102670220768799asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752256928090,"filename":"image_10072025_19_55_01_9023.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/57c45ad76ffa11a42f204e6ef83877b6.jpg","text":"TemporaryFile(/tmp/multipartBody7960676857875386712asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752256928090,"filename":"image_10072025_19_53_02_0135.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/18c6725be757ec9b6b8abef342e78ed3.jpg","text":"TemporaryFile(/tmp/multipartBody3498189633354543203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752256928090,"filename":"image_10072025_19_56_01_6934.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/36a4f25bbd0e2ca64a307e956bb81956.jpg","text":"TemporaryFile(/tmp/multipartBody8139017401786489494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752256928090,"filename":"image_10072025_19_57_01_6107.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371653338","file1":"1371653229","file0":"1371653133","file4":"1371653477","file5":"1371653563","file3":"1371653395"},"map_files_photo_id_array":[{"photo_id":"1371653563","filename":"file5"},{"photo_id":"1371653338","filename":"file2"},{"photo_id":"1371653477","filename":"file4"},{"photo_id":"1371653229","filename":"file1"},{"photo_id":"1371653133","filename":"file0"},{"photo_id":"1371653395","filename":"file3"}],"portfolio_id":24773944,"hashtag_by_photo_ids":[{"1371653133":["hashtag1","hashtag2"]},{"1371653477":["hashtag1","hashtag2"]},{"1371653395":["hashtag1","hashtag2"]},{"1371653563":["hashtag1","hashtag2"]},{"1371653338":["hashtag1","hashtag2"]},{"1371653229":["hashtag1","hashtag2"]}],"comms":"Portfolio 24773944 used, photo_id : ArrayBuffer(1371653133, 1371653477, 1371653395, 1371653563, 1371653338, 1371653229)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 59.61174035072327 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 20:03:04.269562
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/19/52/image_10072025_19_52_01_7951.jpg', 2), ('/home/pi/Desktop/images/10072025/19/51/image_10072025_19_51_01_4057.jpg', 2), ('/home/pi/Desktop/images/10072025/19/42/image_10072025_19_42_01_2910.jpg', 2), ('/home/pi/Desktop/images/10072025/19/41/image_10072025_19_41_01_7929.jpg', 2), ('/home/pi/Desktop/images/10072025/19/39/image_10072025_19_39_02_0835.jpg', 2), ('/home/pi/Desktop/images/10072025/19/33/image_10072025_19_33_01_2562.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/19/52/image_10072025_19_52_01_7951.jpg', '/home/pi/Desktop/images/10072025/19/51/image_10072025_19_51_01_4057.jpg', '/home/pi/Desktop/images/10072025/19/42/image_10072025_19_42_01_2910.jpg', '/home/pi/Desktop/images/10072025/19/41/image_10072025_19_41_01_7929.jpg', '/home/pi/Desktop/images/10072025/19/39/image_10072025_19_39_02_0835.jpg', '/home/pi/Desktop/images/10072025/19/33/image_10072025_19_33_01_2562.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/19/52/image_10072025_19_52_01_7951.jpg
/home/pi/Desktop/images/10072025/19/51/image_10072025_19_51_01_4057.jpg
/home/pi/Desktop/images/10072025/19/42/image_10072025_19_42_01_2910.jpg
/home/pi/Desktop/images/10072025/19/41/image_10072025_19_41_01_7929.jpg
/home/pi/Desktop/images/10072025/19/39/image_10072025_19_39_02_0835.jpg
/home/pi/Desktop/images/10072025/19/33/image_10072025_19_33_01_2562.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371654026","1371653963","1371653900","1371653839","1371654087","1371653809"],"photo_ids_order":["1371653809","1371653839","1371653900","1371653963","1371654026","1371654087"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/49fc38de8e1fb35260f5b54e63d8567c.jpg","text":"TemporaryFile(/tmp/multipartBody8984765956016577132asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752257048854,"filename":"image_10072025_19_39_02_0835.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/4c0a5d622cadbb95f0c988fd5adc4f85.jpg","text":"TemporaryFile(/tmp/multipartBody3474492941610145777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752257048854,"filename":"image_10072025_19_41_01_7929.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/a1a053c5d695ec0102a3788634de00b8.jpg","text":"TemporaryFile(/tmp/multipartBody8161822146207307423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752257048854,"filename":"image_10072025_19_42_01_2910.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/62fde72651ebe424d618d2680cc12de4.jpg","text":"TemporaryFile(/tmp/multipartBody3017645712302802767asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752257048854,"filename":"image_10072025_19_51_01_4057.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/ae8bcbfe4982d604c3940218cf845ce7.jpg","text":"TemporaryFile(/tmp/multipartBody1981137636523279758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752257048854,"filename":"image_10072025_19_33_01_2562.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/0b5ed748f6234a5429a8c3427a5e7218.jpg","text":"TemporaryFile(/tmp/multipartBody8280586814532597381asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752257048854,"filename":"image_10072025_19_52_01_7951.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371653900","file1":"1371653839","file0":"1371653809","file4":"1371654026","file5":"1371654087","file3":"1371653963"},"map_files_photo_id_array":[{"photo_id":"1371654087","filename":"file5"},{"photo_id":"1371653900","filename":"file2"},{"photo_id":"1371654026","filename":"file4"},{"photo_id":"1371653839","filename":"file1"},{"photo_id":"1371653809","filename":"file0"},{"photo_id":"1371653963","filename":"file3"}],"portfolio_id":24773944,"hashtag_by_photo_ids":[{"1371654026":["hashtag1","hashtag2"]},{"1371653963":["hashtag1","hashtag2"]},{"1371653900":["hashtag1","hashtag2"]},{"1371653839":["hashtag1","hashtag2"]},{"1371654087":["hashtag1","hashtag2"]},{"1371653809":["hashtag1","hashtag2"]}],"comms":"Portfolio 24773944 used, photo_id : ArrayBuffer(1371654026, 1371653963, 1371653900, 1371653839, 1371654087, 1371653809)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 63.118651390075684 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 20:05:03.474498
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/19/28/image_10072025_19_28_01_5327.jpg', 2), ('/home/pi/Desktop/images/10072025/19/18/image_10072025_19_18_01_6177.jpg', 2), ('/home/pi/Desktop/images/10072025/19/16/image_10072025_19_16_01_7544.jpg', 2), ('/home/pi/Desktop/images/10072025/19/15/image_10072025_19_15_02_1227.jpg', 2), ('/home/pi/Desktop/images/10072025/19/14/image_10072025_19_14_02_3059.jpg', 2), ('/home/pi/Desktop/images/10072025/19/13/image_10072025_19_13_01_2833.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/19/28/image_10072025_19_28_01_5327.jpg', '/home/pi/Desktop/images/10072025/19/18/image_10072025_19_18_01_6177.jpg', '/home/pi/Desktop/images/10072025/19/16/image_10072025_19_16_01_7544.jpg', '/home/pi/Desktop/images/10072025/19/15/image_10072025_19_15_02_1227.jpg', '/home/pi/Desktop/images/10072025/19/14/image_10072025_19_14_02_3059.jpg', '/home/pi/Desktop/images/10072025/19/13/image_10072025_19_13_01_2833.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/19/28/image_10072025_19_28_01_5327.jpg
/home/pi/Desktop/images/10072025/19/18/image_10072025_19_18_01_6177.jpg
/home/pi/Desktop/images/10072025/19/16/image_10072025_19_16_01_7544.jpg
/home/pi/Desktop/images/10072025/19/15/image_10072025_19_15_02_1227.jpg
/home/pi/Desktop/images/10072025/19/14/image_10072025_19_14_02_3059.jpg
/home/pi/Desktop/images/10072025/19/13/image_10072025_19_13_01_2833.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371654496","1371654509","1371654490","1371654520","1371654483","1371654465"],"photo_ids_order":["1371654465","1371654483","1371654490","1371654496","1371654509","1371654520"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/0ee57f0ebfc97797c9e74e887a09f503.jpg","text":"TemporaryFile(/tmp/multipartBody4565921854924681991asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752257167918,"filename":"image_10072025_19_15_02_1227.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/d8dddc606eb9fe6786dc257ddf4f92f6.jpg","text":"TemporaryFile(/tmp/multipartBody7920766197754495735asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752257167918,"filename":"image_10072025_19_14_02_3059.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/d11b3ab5c23a0b83cefca673d9c7f108.jpg","text":"TemporaryFile(/tmp/multipartBody3673352255063636344asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752257167918,"filename":"image_10072025_19_16_01_7544.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/faf2cf7d164d17ca01dffe684532aee8.jpg","text":"TemporaryFile(/tmp/multipartBody7704805672325108498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752257167918,"filename":"image_10072025_19_13_01_2833.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/0cea8573e6c7f31b0b5d7bc23957f555.jpg","text":"TemporaryFile(/tmp/multipartBody7247176530135709540asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752257167918,"filename":"image_10072025_19_18_01_6177.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/7150a0f482d0f00939211637a3834f01.jpg","text":"TemporaryFile(/tmp/multipartBody705572197735640883asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752257167918,"filename":"image_10072025_19_28_01_5327.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371654490","file1":"1371654483","file0":"1371654465","file4":"1371654509","file5":"1371654520","file3":"1371654496"},"map_files_photo_id_array":[{"photo_id":"1371654520","filename":"file5"},{"photo_id":"1371654490","filename":"file2"},{"photo_id":"1371654509","filename":"file4"},{"photo_id":"1371654483","filename":"file1"},{"photo_id":"1371654465","filename":"file0"},{"photo_id":"1371654496","filename":"file3"}],"portfolio_id":24773944,"hashtag_by_photo_ids":[{"1371654496":["hashtag1","hashtag2"]},{"1371654509":["hashtag1","hashtag2"]},{"1371654490":["hashtag1","hashtag2"]},{"1371654520":["hashtag1","hashtag2"]},{"1371654483":["hashtag1","hashtag2"]},{"1371654465":["hashtag1","hashtag2"]}],"comms":"Portfolio 24773944 used, photo_id : ArrayBuffer(1371654496, 1371654509, 1371654490, 1371654520, 1371654483, 1371654465)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 59.683332443237305 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 20:07:03.597426
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/19/12/image_10072025_19_12_02_1985.jpg', 2), ('/home/pi/Desktop/images/10072025/19/11/image_10072025_19_11_02_1499.jpg', 2), ('/home/pi/Desktop/images/10072025/19/10/image_10072025_19_10_02_2780.jpg', 2), ('/home/pi/Desktop/images/10072025/19/09/image_10072025_19_09_01_4253.jpg', 2), ('/home/pi/Desktop/images/10072025/19/08/image_10072025_19_08_01_5815.jpg', 2), ('/home/pi/Desktop/images/10072025/19/07/image_10072025_19_07_02_2093.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/19/12/image_10072025_19_12_02_1985.jpg', '/home/pi/Desktop/images/10072025/19/11/image_10072025_19_11_02_1499.jpg', '/home/pi/Desktop/images/10072025/19/10/image_10072025_19_10_02_2780.jpg', '/home/pi/Desktop/images/10072025/19/09/image_10072025_19_09_01_4253.jpg', '/home/pi/Desktop/images/10072025/19/08/image_10072025_19_08_01_5815.jpg', '/home/pi/Desktop/images/10072025/19/07/image_10072025_19_07_02_2093.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/19/12/image_10072025_19_12_02_1985.jpg
/home/pi/Desktop/images/10072025/19/11/image_10072025_19_11_02_1499.jpg
/home/pi/Desktop/images/10072025/19/10/image_10072025_19_10_02_2780.jpg
/home/pi/Desktop/images/10072025/19/09/image_10072025_19_09_01_4253.jpg
/home/pi/Desktop/images/10072025/19/08/image_10072025_19_08_01_5815.jpg
/home/pi/Desktop/images/10072025/19/07/image_10072025_19_07_02_2093.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371654991","1371654961","1371655000","1371654910","1371655019","1371655010"],"photo_ids_order":["1371654910","1371654961","1371654991","1371655000","1371655010","1371655019"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/0c2803c440313f282444226b04a3fafc.jpg","text":"TemporaryFile(/tmp/multipartBody3320354611814117950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752257288178,"filename":"image_10072025_19_10_02_2780.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/2730215493233b08dcec3b895e0ce305.jpg","text":"TemporaryFile(/tmp/multipartBody8353951359634414350asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752257288178,"filename":"image_10072025_19_11_02_1499.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/74d4330ab3e93c8532fe5f6df2047a02.jpg","text":"TemporaryFile(/tmp/multipartBody1803659473306569823asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752257288178,"filename":"image_10072025_19_09_01_4253.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/82e6661b3c350fb04ef428a0bd4e7720.jpg","text":"TemporaryFile(/tmp/multipartBody1300678332711175131asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752257288178,"filename":"image_10072025_19_12_02_1985.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/8241e85fca583d462ebef117be2c4e1f.jpg","text":"TemporaryFile(/tmp/multipartBody2637021374369892962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752257288178,"filename":"image_10072025_19_07_02_2093.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/d175514a5df0610bcc5d636e6f23638a.jpg","text":"TemporaryFile(/tmp/multipartBody6462613014652151723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752257288178,"filename":"image_10072025_19_08_01_5815.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371654991","file1":"1371654961","file0":"1371654910","file4":"1371655010","file5":"1371655019","file3":"1371655000"},"map_files_photo_id_array":[{"photo_id":"1371655019","filename":"file5"},{"photo_id":"1371654991","filename":"file2"},{"photo_id":"1371655010","filename":"file4"},{"photo_id":"1371654961","filename":"file1"},{"photo_id":"1371654910","filename":"file0"},{"photo_id":"1371655000","filename":"file3"}],"portfolio_id":24773944,"hashtag_by_photo_ids":[{"1371654991":["hashtag1","hashtag2"]},{"1371654961":["hashtag1","hashtag2"]},{"1371655000":["hashtag1","hashtag2"]},{"1371654910":["hashtag1","hashtag2"]},{"1371655019":["hashtag1","hashtag2"]},{"1371655010":["hashtag1","hashtag2"]}],"comms":"Portfolio 24773944 used, photo_id : ArrayBuffer(1371654991, 1371654961, 1371655000, 1371654910, 1371655019, 1371655010)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.51427221298218 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 20:09:03.157400
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 1 files
1 photos no longer on disk
no photos to upload
time to upload: 0.3571016788482666 secondes ---
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 377, in upload_from_sqlite
    upload_photo_and_update_logs(files, lsr, port_id, datou_current_id, fc, hashtags = hashtags, verbose = verbose, nb_batch= nb_batch,batch_size=limit)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 74, in upload_photo_and_update_logs
    logger.info("no_longer_on_disk_list:",no_longer_on_disk_list)
Message: 'no_longer_on_disk_list:'
Arguments: (['/home/pi/Desktop/images/11072025/20/10/image_11072025_20_10_01_3443.jpg'],)
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/20/10/image_11072025_20_10_01_3443.jpg', 2)]
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 20:10:03.391464
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/19/05/image_10072025_19_05_01_5949.jpg', 2), ('/home/pi/Desktop/images/10072025/19/04/image_10072025_19_04_01_8202.jpg', 2), ('/home/pi/Desktop/images/10072025/19/01/image_10072025_19_01_02_1375.jpg', 2), ('/home/pi/Desktop/images/10072025/19/00/image_10072025_19_00_01_6257.jpg', 2), ('/home/pi/Desktop/images/10072025/18/58/image_10072025_18_58_01_7671.jpg', 2), ('/home/pi/Desktop/images/10072025/18/57/image_10072025_18_57_02_1990.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/19/05/image_10072025_19_05_01_5949.jpg', '/home/pi/Desktop/images/10072025/19/04/image_10072025_19_04_01_8202.jpg', '/home/pi/Desktop/images/10072025/19/01/image_10072025_19_01_02_1375.jpg', '/home/pi/Desktop/images/10072025/19/00/image_10072025_19_00_01_6257.jpg', '/home/pi/Desktop/images/10072025/18/58/image_10072025_18_58_01_7671.jpg', '/home/pi/Desktop/images/10072025/18/57/image_10072025_18_57_02_1990.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/19/05/image_10072025_19_05_01_5949.jpg
/home/pi/Desktop/images/10072025/19/04/image_10072025_19_04_01_8202.jpg
/home/pi/Desktop/images/10072025/19/01/image_10072025_19_01_02_1375.jpg
/home/pi/Desktop/images/10072025/19/00/image_10072025_19_00_01_6257.jpg
/home/pi/Desktop/images/10072025/18/58/image_10072025_18_58_01_7671.jpg
/home/pi/Desktop/images/10072025/18/57/image_10072025_18_57_02_1990.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371655243","1371655312","1371655269","1371655305","1371655346","1371655262"],"photo_ids_order":["1371655243","1371655262","1371655269","1371655305","1371655312","1371655346"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/9cf0c4ee4b22a0cce8485cd272c34aea.jpg","text":"TemporaryFile(/tmp/multipartBody6859443457205508204asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752257467739,"filename":"image_10072025_19_05_01_5949.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/cfc4cd1496ed796b3a85703a1a07d391.jpg","text":"TemporaryFile(/tmp/multipartBody1839748197020529234asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752257467739,"filename":"image_10072025_18_58_01_7671.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/8bf5ae678d6f01ac8e8cbdd05ebff35a.jpg","text":"TemporaryFile(/tmp/multipartBody4971277823714649522asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752257467739,"filename":"image_10072025_19_01_02_1375.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/58bd39b00085a82b41502944df43c4dd.jpg","text":"TemporaryFile(/tmp/multipartBody3865129389347653963asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752257467739,"filename":"image_10072025_19_00_01_6257.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/958b6c581ab5be0c029fd5cfd4792264.jpg","text":"TemporaryFile(/tmp/multipartBody3460572759402308494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752257467739,"filename":"image_10072025_18_57_02_1990.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/6548ffbde883b0937c6e58805f180f7d.jpg","text":"TemporaryFile(/tmp/multipartBody1210237700049665487asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752257467739,"filename":"image_10072025_19_04_01_8202.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371655269","file1":"1371655262","file0":"1371655243","file4":"1371655312","file5":"1371655346","file3":"1371655305"},"map_files_photo_id_array":[{"photo_id":"1371655346","filename":"file5"},{"photo_id":"1371655269","filename":"file2"},{"photo_id":"1371655312","filename":"file4"},{"photo_id":"1371655262","filename":"file1"},{"photo_id":"1371655243","filename":"file0"},{"photo_id":"1371655305","filename":"file3"}],"portfolio_id":24773944,"hashtag_by_photo_ids":[{"1371655243":["hashtag1","hashtag2"]},{"1371655312":["hashtag1","hashtag2"]},{"1371655269":["hashtag1","hashtag2"]},{"1371655305":["hashtag1","hashtag2"]},{"1371655346":["hashtag1","hashtag2"]},{"1371655262":["hashtag1","hashtag2"]}],"comms":"Portfolio 24773944 used, photo_id : ArrayBuffer(1371655243, 1371655312, 1371655269, 1371655305, 1371655346, 1371655262)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.266862630844116 secondes ---
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 20:12:03.680161
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/18/53/image_10072025_18_53_01_6858.jpg', 2), ('/home/pi/Desktop/images/10072025/18/51/image_10072025_18_51_01_3120.jpg', 2), ('/home/pi/Desktop/images/10072025/18/50/image_10072025_18_50_01_5248.jpg', 2), ('/home/pi/Desktop/images/10072025/18/48/image_10072025_18_48_02_1261.jpg', 2), ('/home/pi/Desktop/images/10072025/18/47/image_10072025_18_47_01_4476.jpg', 2), ('/home/pi/Desktop/images/10072025/18/46/image_10072025_18_46_01_5020.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/18/53/image_10072025_18_53_01_6858.jpg', '/home/pi/Desktop/images/10072025/18/51/image_10072025_18_51_01_3120.jpg', '/home/pi/Desktop/images/10072025/18/50/image_10072025_18_50_01_5248.jpg', '/home/pi/Desktop/images/10072025/18/48/image_10072025_18_48_02_1261.jpg', '/home/pi/Desktop/images/10072025/18/47/image_10072025_18_47_01_4476.jpg', '/home/pi/Desktop/images/10072025/18/46/image_10072025_18_46_01_5020.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/18/53/image_10072025_18_53_01_6858.jpg
/home/pi/Desktop/images/10072025/18/51/image_10072025_18_51_01_3120.jpg
/home/pi/Desktop/images/10072025/18/50/image_10072025_18_50_01_5248.jpg
/home/pi/Desktop/images/10072025/18/48/image_10072025_18_48_02_1261.jpg
/home/pi/Desktop/images/10072025/18/47/image_10072025_18_47_01_4476.jpg
/home/pi/Desktop/images/10072025/18/46/image_10072025_18_46_01_5020.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371655540","1371655782","1371655845","1371655602","1371655710","1371655487"],"photo_ids_order":["1371655487","1371655540","1371655602","1371655710","1371655782","1371655845"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/712dee822e57c204063fe9805020301c.jpg","text":"TemporaryFile(/tmp/multipartBody7185963230388334578asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752257587971,"filename":"image_10072025_18_51_01_3120.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/d035f28dd273675fdf1a8c55ef8a4d27.jpg","text":"TemporaryFile(/tmp/multipartBody8393427315177145623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752257587971,"filename":"image_10072025_18_47_01_4476.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/42baba3ee27656e2044c231d2b6ac114.jpg","text":"TemporaryFile(/tmp/multipartBody5456393189679798720asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752257587971,"filename":"image_10072025_18_46_01_5020.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/4d3ed6b22dc1acf80e1f12f5c3e9a799.jpg","text":"TemporaryFile(/tmp/multipartBody1087920474452804162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752257587971,"filename":"image_10072025_18_50_01_5248.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/4501cd8d59df57bc0b3e88bf3e213f99.jpg","text":"TemporaryFile(/tmp/multipartBody666687515626547732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752257587971,"filename":"image_10072025_18_48_02_1261.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/63aa7e9054f8aac125e8d5b8aeb2da80.jpg","text":"TemporaryFile(/tmp/multipartBody6274674900394638642asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752257587971,"filename":"image_10072025_18_53_01_6858.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371655602","file1":"1371655540","file0":"1371655487","file4":"1371655782","file5":"1371655845","file3":"1371655710"},"map_files_photo_id_array":[{"photo_id":"1371655845","filename":"file5"},{"photo_id":"1371655602","filename":"file2"},{"photo_id":"1371655782","filename":"file4"},{"photo_id":"1371655540","filename":"file1"},{"photo_id":"1371655487","filename":"file0"},{"photo_id":"1371655710","filename":"file3"}],"portfolio_id":24773944,"hashtag_by_photo_ids":[{"1371655540":["hashtag1","hashtag2"]},{"1371655782":["hashtag1","hashtag2"]},{"1371655845":["hashtag1","hashtag2"]},{"1371655602":["hashtag1","hashtag2"]},{"1371655710":["hashtag1","hashtag2"]},{"1371655487":["hashtag1","hashtag2"]}],"comms":"Portfolio 24773944 used, photo_id : ArrayBuffer(1371655540, 1371655782, 1371655845, 1371655602, 1371655710, 1371655487)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.82143473625183 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 20:14:02.738527
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/18/44/image_10072025_18_44_02_0094.jpg', 2), ('/home/pi/Desktop/images/10072025/18/43/image_10072025_18_43_01_4278.jpg', 2), ('/home/pi/Desktop/images/10072025/18/42/image_10072025_18_42_01_4151.jpg', 2), ('/home/pi/Desktop/images/10072025/18/41/image_10072025_18_41_02_1698.jpg', 2), ('/home/pi/Desktop/images/10072025/18/40/image_10072025_18_40_01_8870.jpg', 2), ('/home/pi/Desktop/images/10072025/18/39/image_10072025_18_39_01_4286.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/18/44/image_10072025_18_44_02_0094.jpg', '/home/pi/Desktop/images/10072025/18/43/image_10072025_18_43_01_4278.jpg', '/home/pi/Desktop/images/10072025/18/42/image_10072025_18_42_01_4151.jpg', '/home/pi/Desktop/images/10072025/18/41/image_10072025_18_41_02_1698.jpg', '/home/pi/Desktop/images/10072025/18/40/image_10072025_18_40_01_8870.jpg', '/home/pi/Desktop/images/10072025/18/39/image_10072025_18_39_01_4286.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/18/44/image_10072025_18_44_02_0094.jpg
/home/pi/Desktop/images/10072025/18/43/image_10072025_18_43_01_4278.jpg
/home/pi/Desktop/images/10072025/18/42/image_10072025_18_42_01_4151.jpg
/home/pi/Desktop/images/10072025/18/41/image_10072025_18_41_02_1698.jpg
/home/pi/Desktop/images/10072025/18/40/image_10072025_18_40_01_8870.jpg
/home/pi/Desktop/images/10072025/18/39/image_10072025_18_39_01_4286.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371656835","1371656829","1371656801","1371656819","1371656810","1371656788"],"photo_ids_order":["1371656788","1371656801","1371656810","1371656819","1371656829","1371656835"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/dec1635a7c081fe14f9b301eb90d22ce.jpg","text":"TemporaryFile(/tmp/multipartBody4924938631229907123asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752257707269,"filename":"image_10072025_18_39_01_4286.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/0487fa5bb4eef98e30c357e9241753cf.jpg","text":"TemporaryFile(/tmp/multipartBody432583538549014285asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752257707269,"filename":"image_10072025_18_40_01_8870.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/fc083a8d091f37a3f1b81e31b3df83f4.jpg","text":"TemporaryFile(/tmp/multipartBody913056216583077495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752257707269,"filename":"image_10072025_18_43_01_4278.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/fdd5b80bfdad6a985ae800708118767d.jpg","text":"TemporaryFile(/tmp/multipartBody3035640698398128053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752257707269,"filename":"image_10072025_18_41_02_1698.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/84b591844cf9983c4c1f5a77a9b26e40.jpg","text":"TemporaryFile(/tmp/multipartBody2198777941404612031asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752257707269,"filename":"image_10072025_18_42_01_4151.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/f2f1790e22dc0db12a390dc2f5830d41.jpg","text":"TemporaryFile(/tmp/multipartBody6302871770877079421asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752257707269,"filename":"image_10072025_18_44_02_0094.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371656810","file1":"1371656801","file0":"1371656788","file4":"1371656829","file5":"1371656835","file3":"1371656819"},"map_files_photo_id_array":[{"photo_id":"1371656835","filename":"file5"},{"photo_id":"1371656810","filename":"file2"},{"photo_id":"1371656829","filename":"file4"},{"photo_id":"1371656801","filename":"file1"},{"photo_id":"1371656788","filename":"file0"},{"photo_id":"1371656819","filename":"file3"}],"portfolio_id":24773944,"hashtag_by_photo_ids":[{"1371656835":["hashtag1","hashtag2"]},{"1371656829":["hashtag1","hashtag2"]},{"1371656801":["hashtag1","hashtag2"]},{"1371656819":["hashtag1","hashtag2"]},{"1371656810":["hashtag1","hashtag2"]},{"1371656788":["hashtag1","hashtag2"]}],"comms":"Portfolio 24773944 used, photo_id : ArrayBuffer(1371656835, 1371656829, 1371656801, 1371656819, 1371656810, 1371656788)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.06896352767944 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 20:15:03.543398
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/18/38/image_10072025_18_38_01_6078.jpg', 2), ('/home/pi/Desktop/images/10072025/18/37/image_10072025_18_37_02_1047.jpg', 2), ('/home/pi/Desktop/images/10072025/18/35/image_10072025_18_35_02_0190.jpg', 2), ('/home/pi/Desktop/images/10072025/18/34/image_10072025_18_34_02_1239.jpg', 2), ('/home/pi/Desktop/images/10072025/18/33/image_10072025_18_33_01_4573.jpg', 2), ('/home/pi/Desktop/images/10072025/18/32/image_10072025_18_32_01_7476.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/18/38/image_10072025_18_38_01_6078.jpg', '/home/pi/Desktop/images/10072025/18/37/image_10072025_18_37_02_1047.jpg', '/home/pi/Desktop/images/10072025/18/35/image_10072025_18_35_02_0190.jpg', '/home/pi/Desktop/images/10072025/18/34/image_10072025_18_34_02_1239.jpg', '/home/pi/Desktop/images/10072025/18/33/image_10072025_18_33_01_4573.jpg', '/home/pi/Desktop/images/10072025/18/32/image_10072025_18_32_01_7476.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/18/38/image_10072025_18_38_01_6078.jpg
/home/pi/Desktop/images/10072025/18/37/image_10072025_18_37_02_1047.jpg
/home/pi/Desktop/images/10072025/18/35/image_10072025_18_35_02_0190.jpg
/home/pi/Desktop/images/10072025/18/34/image_10072025_18_34_02_1239.jpg
/home/pi/Desktop/images/10072025/18/33/image_10072025_18_33_01_4573.jpg
/home/pi/Desktop/images/10072025/18/32/image_10072025_18_32_01_7476.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371656895","1371656916","1371656859","1371656888","1371656867","1371656878"],"photo_ids_order":["1371656859","1371656867","1371656878","1371656888","1371656895","1371656916"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/33780df8cf7a714d76872fcfc602a748.jpg","text":"TemporaryFile(/tmp/multipartBody3321983942537490629asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752257767763,"filename":"image_10072025_18_33_01_4573.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/4de27ca1988d7adeb480b1847d4d651d.jpg","text":"TemporaryFile(/tmp/multipartBody6143050090129940847asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752257767763,"filename":"image_10072025_18_32_01_7476.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/5b5d695eaf1a94f58dc552e8b69a1e78.jpg","text":"TemporaryFile(/tmp/multipartBody7535525742505313669asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752257767763,"filename":"image_10072025_18_38_01_6078.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/a0cbf715c546876c54c76311d91005f7.jpg","text":"TemporaryFile(/tmp/multipartBody5612992563795634468asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752257767763,"filename":"image_10072025_18_34_02_1239.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/8312609049fa79a726cb9e70f80bcd31.jpg","text":"TemporaryFile(/tmp/multipartBody3787578429920933576asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752257767763,"filename":"image_10072025_18_37_02_1047.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/e0cb4d7e6eb4eb860a3381e04f98f27c.jpg","text":"TemporaryFile(/tmp/multipartBody3943427641229779446asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752257767763,"filename":"image_10072025_18_35_02_0190.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371656878","file1":"1371656867","file0":"1371656859","file4":"1371656895","file5":"1371656916","file3":"1371656888"},"map_files_photo_id_array":[{"photo_id":"1371656916","filename":"file5"},{"photo_id":"1371656878","filename":"file2"},{"photo_id":"1371656895","filename":"file4"},{"photo_id":"1371656867","filename":"file1"},{"photo_id":"1371656859","filename":"file0"},{"photo_id":"1371656888","filename":"file3"}],"portfolio_id":24773944,"hashtag_by_photo_ids":[{"1371656895":["hashtag1","hashtag2"]},{"1371656916":["hashtag1","hashtag2"]},{"1371656859":["hashtag1","hashtag2"]},{"1371656888":["hashtag1","hashtag2"]},{"1371656867":["hashtag1","hashtag2"]},{"1371656878":["hashtag1","hashtag2"]}],"comms":"Portfolio 24773944 used, photo_id : ArrayBuffer(1371656895, 1371656916, 1371656859, 1371656888, 1371656867, 1371656878)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.751386404037476 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 20:17:03.720132
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/18/31/image_10072025_18_31_01_7099.jpg', 2), ('/home/pi/Desktop/images/10072025/18/29/image_10072025_18_29_01_3454.jpg', 2), ('/home/pi/Desktop/images/10072025/18/28/image_10072025_18_28_02_1853.jpg', 2), ('/home/pi/Desktop/images/10072025/18/27/image_10072025_18_27_01_9070.jpg', 2), ('/home/pi/Desktop/images/10072025/18/25/image_10072025_18_25_01_7951.jpg', 2), ('/home/pi/Desktop/images/10072025/18/24/image_10072025_18_24_01_7891.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/18/31/image_10072025_18_31_01_7099.jpg', '/home/pi/Desktop/images/10072025/18/29/image_10072025_18_29_01_3454.jpg', '/home/pi/Desktop/images/10072025/18/28/image_10072025_18_28_02_1853.jpg', '/home/pi/Desktop/images/10072025/18/27/image_10072025_18_27_01_9070.jpg', '/home/pi/Desktop/images/10072025/18/25/image_10072025_18_25_01_7951.jpg', '/home/pi/Desktop/images/10072025/18/24/image_10072025_18_24_01_7891.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/18/31/image_10072025_18_31_01_7099.jpg
/home/pi/Desktop/images/10072025/18/29/image_10072025_18_29_01_3454.jpg
/home/pi/Desktop/images/10072025/18/28/image_10072025_18_28_02_1853.jpg
/home/pi/Desktop/images/10072025/18/27/image_10072025_18_27_01_9070.jpg
/home/pi/Desktop/images/10072025/18/25/image_10072025_18_25_01_7951.jpg
/home/pi/Desktop/images/10072025/18/24/image_10072025_18_24_01_7891.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371657312","1371657249","1371657228","1371657199","1371657302","1371657166"],"photo_ids_order":["1371657166","1371657199","1371657228","1371657249","1371657302","1371657312"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/198e5dc38dec325746244099d850e18c.jpg","text":"TemporaryFile(/tmp/multipartBody4603685819412075161asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752257887919,"filename":"image_10072025_18_24_01_7891.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/2e1e36e938eeaf3f76d9289b795de560.jpg","text":"TemporaryFile(/tmp/multipartBody7640318996386150146asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752257887919,"filename":"image_10072025_18_27_01_9070.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/26536d503d1dda5b026d7aa38c05c644.jpg","text":"TemporaryFile(/tmp/multipartBody888795732023281730asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752257887919,"filename":"image_10072025_18_28_02_1853.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/c29350af4709ccadd950673b9189ead6.jpg","text":"TemporaryFile(/tmp/multipartBody9101078515354839726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752257887919,"filename":"image_10072025_18_29_01_3454.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/34b676b237fc4b9871f8061c31a072e9.jpg","text":"TemporaryFile(/tmp/multipartBody5227675270344371048asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752257887919,"filename":"image_10072025_18_25_01_7951.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/dab78c5163692c68e2a2c4a80a931a13.jpg","text":"TemporaryFile(/tmp/multipartBody1744323129338006678asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752257887919,"filename":"image_10072025_18_31_01_7099.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371657228","file1":"1371657199","file0":"1371657166","file4":"1371657302","file5":"1371657312","file3":"1371657249"},"map_files_photo_id_array":[{"photo_id":"1371657312","filename":"file5"},{"photo_id":"1371657228","filename":"file2"},{"photo_id":"1371657302","filename":"file4"},{"photo_id":"1371657199","filename":"file1"},{"photo_id":"1371657166","filename":"file0"},{"photo_id":"1371657249","filename":"file3"}],"portfolio_id":24773944,"hashtag_by_photo_ids":[{"1371657312":["hashtag1","hashtag2"]},{"1371657249":["hashtag1","hashtag2"]},{"1371657228":["hashtag1","hashtag2"]},{"1371657199":["hashtag1","hashtag2"]},{"1371657302":["hashtag1","hashtag2"]},{"1371657166":["hashtag1","hashtag2"]}],"comms":"Portfolio 24773944 used, photo_id : ArrayBuffer(1371657312, 1371657249, 1371657228, 1371657199, 1371657302, 1371657166)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 70.70428442955017 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 20:19:03.963941
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/18/23/image_10072025_18_23_01_9591.jpg', 2), ('/home/pi/Desktop/images/10072025/18/22/image_10072025_18_22_01_2661.jpg', 2), ('/home/pi/Desktop/images/10072025/18/21/image_10072025_18_21_02_1254.jpg', 2), ('/home/pi/Desktop/images/10072025/18/20/image_10072025_18_20_02_0540.jpg', 2), ('/home/pi/Desktop/images/10072025/18/19/image_10072025_18_19_01_8962.jpg', 2), ('/home/pi/Desktop/images/10072025/18/18/image_10072025_18_18_01_9828.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/18/23/image_10072025_18_23_01_9591.jpg', '/home/pi/Desktop/images/10072025/18/22/image_10072025_18_22_01_2661.jpg', '/home/pi/Desktop/images/10072025/18/21/image_10072025_18_21_02_1254.jpg', '/home/pi/Desktop/images/10072025/18/20/image_10072025_18_20_02_0540.jpg', '/home/pi/Desktop/images/10072025/18/19/image_10072025_18_19_01_8962.jpg', '/home/pi/Desktop/images/10072025/18/18/image_10072025_18_18_01_9828.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/18/23/image_10072025_18_23_01_9591.jpg
/home/pi/Desktop/images/10072025/18/22/image_10072025_18_22_01_2661.jpg
/home/pi/Desktop/images/10072025/18/21/image_10072025_18_21_02_1254.jpg
/home/pi/Desktop/images/10072025/18/20/image_10072025_18_20_02_0540.jpg
/home/pi/Desktop/images/10072025/18/19/image_10072025_18_19_01_8962.jpg
/home/pi/Desktop/images/10072025/18/18/image_10072025_18_18_01_9828.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371657552","1371657495","1371657756","1371657527","1371657614","1371657697"],"photo_ids_order":["1371657495","1371657527","1371657552","1371657614","1371657697","1371657756"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/dbf66eb7c9de3d0837d282642083c48e.jpg","text":"TemporaryFile(/tmp/multipartBody3175665291212938464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752258008396,"filename":"image_10072025_18_21_02_1254.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/33d71823f48030c43a997a145f7601cc.jpg","text":"TemporaryFile(/tmp/multipartBody180197047945292968asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752258008396,"filename":"image_10072025_18_23_01_9591.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/f0ff4f0612f2fbc1f5343914b8d3edf9.jpg","text":"TemporaryFile(/tmp/multipartBody793229819520780558asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752258008396,"filename":"image_10072025_18_18_01_9828.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/1c3475904b13814ce1aac4799b1046bb.jpg","text":"TemporaryFile(/tmp/multipartBody6944458438718179927asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752258008396,"filename":"image_10072025_18_22_01_2661.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/f4eb3f13ab0dee867beaa74d74f87659.jpg","text":"TemporaryFile(/tmp/multipartBody4602494853582568930asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752258008396,"filename":"image_10072025_18_20_02_0540.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/9718d80b0925f9c994dc0fae6276a183.jpg","text":"TemporaryFile(/tmp/multipartBody8537084713848059379asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752258008396,"filename":"image_10072025_18_19_01_8962.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371657552","file1":"1371657527","file0":"1371657495","file4":"1371657697","file5":"1371657756","file3":"1371657614"},"map_files_photo_id_array":[{"photo_id":"1371657756","filename":"file5"},{"photo_id":"1371657552","filename":"file2"},{"photo_id":"1371657697","filename":"file4"},{"photo_id":"1371657527","filename":"file1"},{"photo_id":"1371657495","filename":"file0"},{"photo_id":"1371657614","filename":"file3"}],"portfolio_id":24773944,"hashtag_by_photo_ids":[{"1371657552":["hashtag1","hashtag2"]},{"1371657495":["hashtag1","hashtag2"]},{"1371657756":["hashtag1","hashtag2"]},{"1371657527":["hashtag1","hashtag2"]},{"1371657614":["hashtag1","hashtag2"]},{"1371657697":["hashtag1","hashtag2"]}],"comms":"Portfolio 24773944 used, photo_id : ArrayBuffer(1371657552, 1371657495, 1371657756, 1371657527, 1371657614, 1371657697)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 60.840553760528564 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 20:21:03.389259
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/18/17/image_10072025_18_17_02_1638.jpg', 2), ('/home/pi/Desktop/images/10072025/18/16/image_10072025_18_16_01_5291.jpg', 2), ('/home/pi/Desktop/images/10072025/18/14/image_10072025_18_14_01_6599.jpg', 2), ('/home/pi/Desktop/images/10072025/18/12/image_10072025_18_12_01_8088.jpg', 2), ('/home/pi/Desktop/images/10072025/18/09/image_10072025_18_09_01_7931.jpg', 2), ('/home/pi/Desktop/images/10072025/18/08/image_10072025_18_08_02_1798.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/18/17/image_10072025_18_17_02_1638.jpg', '/home/pi/Desktop/images/10072025/18/16/image_10072025_18_16_01_5291.jpg', '/home/pi/Desktop/images/10072025/18/14/image_10072025_18_14_01_6599.jpg', '/home/pi/Desktop/images/10072025/18/12/image_10072025_18_12_01_8088.jpg', '/home/pi/Desktop/images/10072025/18/09/image_10072025_18_09_01_7931.jpg', '/home/pi/Desktop/images/10072025/18/08/image_10072025_18_08_02_1798.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/18/17/image_10072025_18_17_02_1638.jpg
/home/pi/Desktop/images/10072025/18/16/image_10072025_18_16_01_5291.jpg
/home/pi/Desktop/images/10072025/18/14/image_10072025_18_14_01_6599.jpg
/home/pi/Desktop/images/10072025/18/12/image_10072025_18_12_01_8088.jpg
/home/pi/Desktop/images/10072025/18/09/image_10072025_18_09_01_7931.jpg
/home/pi/Desktop/images/10072025/18/08/image_10072025_18_08_02_1798.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371658605","1371658631","1371658369","1371658555","1371658459","1371658618"],"photo_ids_order":["1371658369","1371658459","1371658555","1371658605","1371658618","1371658631"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/cbb44c67268040cf760ae3174de78e07.jpg","text":"TemporaryFile(/tmp/multipartBody7578200507201400611asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752258127693,"filename":"image_10072025_18_12_01_8088.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/5dfb02bc3eb86b06ccddac1c470af732.jpg","text":"TemporaryFile(/tmp/multipartBody6716783527901893640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752258127693,"filename":"image_10072025_18_08_02_1798.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/31b2f0038313ec352743540de6c90869.jpg","text":"TemporaryFile(/tmp/multipartBody4397045199437780619asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752258127693,"filename":"image_10072025_18_17_02_1638.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/e0d6fc0f51c33d515ff45d317cfc929a.jpg","text":"TemporaryFile(/tmp/multipartBody1713504520277885519asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752258127693,"filename":"image_10072025_18_14_01_6599.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/da7efc937620c2c3d0001c75bb458025.jpg","text":"TemporaryFile(/tmp/multipartBody6093375270436963528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752258127693,"filename":"image_10072025_18_16_01_5291.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/5211383f5a40c0af86b1582e85b979c5.jpg","text":"TemporaryFile(/tmp/multipartBody2098439620092532301asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752258127693,"filename":"image_10072025_18_09_01_7931.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371658555","file1":"1371658459","file0":"1371658369","file4":"1371658618","file5":"1371658631","file3":"1371658605"},"map_files_photo_id_array":[{"photo_id":"1371658631","filename":"file5"},{"photo_id":"1371658555","filename":"file2"},{"photo_id":"1371658618","filename":"file4"},{"photo_id":"1371658459","filename":"file1"},{"photo_id":"1371658369","filename":"file0"},{"photo_id":"1371658605","filename":"file3"}],"portfolio_id":24773944,"hashtag_by_photo_ids":[{"1371658605":["hashtag1","hashtag2"]},{"1371658631":["hashtag1","hashtag2"]},{"1371658369":["hashtag1","hashtag2"]},{"1371658555":["hashtag1","hashtag2"]},{"1371658459":["hashtag1","hashtag2"]},{"1371658618":["hashtag1","hashtag2"]}],"comms":"Portfolio 24773944 used, photo_id : ArrayBuffer(1371658605, 1371658631, 1371658369, 1371658555, 1371658459, 1371658618)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 59.43177914619446 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 20:23:03.341664
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/18/07/image_10072025_18_07_01_8474.jpg', 2), ('/home/pi/Desktop/images/10072025/18/06/image_10072025_18_06_01_3464.jpg', 2), ('/home/pi/Desktop/images/10072025/18/05/image_10072025_18_05_01_4680.jpg', 2), ('/home/pi/Desktop/images/10072025/18/04/image_10072025_18_04_01_4970.jpg', 2), ('/home/pi/Desktop/images/10072025/18/02/image_10072025_18_02_02_1030.jpg', 2), ('/home/pi/Desktop/images/10072025/17/58/image_10072025_17_58_02_0834.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/18/07/image_10072025_18_07_01_8474.jpg', '/home/pi/Desktop/images/10072025/18/06/image_10072025_18_06_01_3464.jpg', '/home/pi/Desktop/images/10072025/18/05/image_10072025_18_05_01_4680.jpg', '/home/pi/Desktop/images/10072025/18/04/image_10072025_18_04_01_4970.jpg', '/home/pi/Desktop/images/10072025/18/02/image_10072025_18_02_02_1030.jpg', '/home/pi/Desktop/images/10072025/17/58/image_10072025_17_58_02_0834.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/18/07/image_10072025_18_07_01_8474.jpg
/home/pi/Desktop/images/10072025/18/06/image_10072025_18_06_01_3464.jpg
/home/pi/Desktop/images/10072025/18/05/image_10072025_18_05_01_4680.jpg
/home/pi/Desktop/images/10072025/18/04/image_10072025_18_04_01_4970.jpg
/home/pi/Desktop/images/10072025/18/02/image_10072025_18_02_02_1030.jpg
/home/pi/Desktop/images/10072025/17/58/image_10072025_17_58_02_0834.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371658731","1371658707","1371658722","1371658802","1371658714","1371658744"],"photo_ids_order":["1371658707","1371658714","1371658722","1371658731","1371658744","1371658802"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/f96102ffc83338bfc40fd72ba40253b5.jpg","text":"TemporaryFile(/tmp/multipartBody5632059467332246797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752258247424,"filename":"image_10072025_18_04_01_4970.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/a7f7f05717ff0f3f7e7a833efbc23974.jpg","text":"TemporaryFile(/tmp/multipartBody9211103563653802538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752258247424,"filename":"image_10072025_18_07_01_8474.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/d987461651e168db5fd18aade0974aa2.jpg","text":"TemporaryFile(/tmp/multipartBody26451875169699732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752258247424,"filename":"image_10072025_18_05_01_4680.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/6190d970fbf1cb71bc0c848eff447c9c.jpg","text":"TemporaryFile(/tmp/multipartBody247919907490994377asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752258247424,"filename":"image_10072025_17_58_02_0834.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/007d9f6d670b76b3af1997a268f6e782.jpg","text":"TemporaryFile(/tmp/multipartBody1832643374106183101asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752258247424,"filename":"image_10072025_18_06_01_3464.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/ff75f14a27bc83b34761a1e168b241cd.jpg","text":"TemporaryFile(/tmp/multipartBody5878511695843574586asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752258247424,"filename":"image_10072025_18_02_02_1030.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371658722","file1":"1371658714","file0":"1371658707","file4":"1371658744","file5":"1371658802","file3":"1371658731"},"map_files_photo_id_array":[{"photo_id":"1371658802","filename":"file5"},{"photo_id":"1371658722","filename":"file2"},{"photo_id":"1371658744","filename":"file4"},{"photo_id":"1371658714","filename":"file1"},{"photo_id":"1371658707","filename":"file0"},{"photo_id":"1371658731","filename":"file3"}],"portfolio_id":24773944,"hashtag_by_photo_ids":[{"1371658731":["hashtag1","hashtag2"]},{"1371658707":["hashtag1","hashtag2"]},{"1371658722":["hashtag1","hashtag2"]},{"1371658802":["hashtag1","hashtag2"]},{"1371658714":["hashtag1","hashtag2"]},{"1371658744":["hashtag1","hashtag2"]}],"comms":"Portfolio 24773944 used, photo_id : ArrayBuffer(1371658731, 1371658707, 1371658722, 1371658802, 1371658714, 1371658744)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 59.21507954597473 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 20:25:06.299782
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/17/57/image_10072025_17_57_01_6851.jpg', 2), ('/home/pi/Desktop/images/10072025/17/55/image_10072025_17_55_02_0015.jpg', 2), ('/home/pi/Desktop/images/10072025/17/54/image_10072025_17_54_02_0298.jpg', 2), ('/home/pi/Desktop/images/10072025/17/53/image_10072025_17_53_01_5894.jpg', 2), ('/home/pi/Desktop/images/10072025/17/52/image_10072025_17_52_02_2257.jpg', 2), ('/home/pi/Desktop/images/10072025/17/51/image_10072025_17_51_02_1100.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/17/57/image_10072025_17_57_01_6851.jpg', '/home/pi/Desktop/images/10072025/17/55/image_10072025_17_55_02_0015.jpg', '/home/pi/Desktop/images/10072025/17/54/image_10072025_17_54_02_0298.jpg', '/home/pi/Desktop/images/10072025/17/53/image_10072025_17_53_01_5894.jpg', '/home/pi/Desktop/images/10072025/17/52/image_10072025_17_52_02_2257.jpg', '/home/pi/Desktop/images/10072025/17/51/image_10072025_17_51_02_1100.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/17/57/image_10072025_17_57_01_6851.jpg
/home/pi/Desktop/images/10072025/17/55/image_10072025_17_55_02_0015.jpg
/home/pi/Desktop/images/10072025/17/54/image_10072025_17_54_02_0298.jpg
/home/pi/Desktop/images/10072025/17/53/image_10072025_17_53_01_5894.jpg
/home/pi/Desktop/images/10072025/17/52/image_10072025_17_52_02_2257.jpg
/home/pi/Desktop/images/10072025/17/51/image_10072025_17_51_02_1100.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371659403","1371659381","1371659375","1371659388","1371659413","1371659421"],"photo_ids_order":["1371659375","1371659381","1371659388","1371659403","1371659413","1371659421"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/12e9689975e52d01f8fe8623e01e4d36.jpg","text":"TemporaryFile(/tmp/multipartBody8883718327408080904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752258371225,"filename":"image_10072025_17_53_01_5894.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/2325362ea383741a3080b271b58296f3.jpg","text":"TemporaryFile(/tmp/multipartBody5180927393755397469asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752258371225,"filename":"image_10072025_17_55_02_0015.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/68665ad68a8d6f01ed417c33da25a3d7.jpg","text":"TemporaryFile(/tmp/multipartBody8497447929606221515asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752258371225,"filename":"image_10072025_17_57_01_6851.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/6206bb1740771cb84021f39cbb4b3300.jpg","text":"TemporaryFile(/tmp/multipartBody8429769272704615625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752258371225,"filename":"image_10072025_17_54_02_0298.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/243c700764367516a2b2ca9d5124bdf8.jpg","text":"TemporaryFile(/tmp/multipartBody1440120380500934807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752258371225,"filename":"image_10072025_17_52_02_2257.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/e4e979093a57da7ddae099978fee97b1.jpg","text":"TemporaryFile(/tmp/multipartBody8659720007350985235asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752258371225,"filename":"image_10072025_17_51_02_1100.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371659388","file1":"1371659381","file0":"1371659375","file4":"1371659413","file5":"1371659421","file3":"1371659403"},"map_files_photo_id_array":[{"photo_id":"1371659421","filename":"file5"},{"photo_id":"1371659388","filename":"file2"},{"photo_id":"1371659413","filename":"file4"},{"photo_id":"1371659381","filename":"file1"},{"photo_id":"1371659375","filename":"file0"},{"photo_id":"1371659403","filename":"file3"}],"portfolio_id":24773944,"hashtag_by_photo_ids":[{"1371659403":["hashtag1","hashtag2"]},{"1371659381":["hashtag1","hashtag2"]},{"1371659375":["hashtag1","hashtag2"]},{"1371659388":["hashtag1","hashtag2"]},{"1371659413":["hashtag1","hashtag2"]},{"1371659421":["hashtag1","hashtag2"]}],"comms":"Portfolio 24773944 used, photo_id : ArrayBuffer(1371659403, 1371659381, 1371659375, 1371659388, 1371659413, 1371659421)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 61.72069334983826 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 20:27:03.857338
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/17/47/image_10072025_17_47_01_4785.jpg', 2), ('/home/pi/Desktop/images/10072025/17/46/image_10072025_17_46_02_2878.jpg', 2), ('/home/pi/Desktop/images/10072025/17/45/image_10072025_17_45_01_5157.jpg', 2), ('/home/pi/Desktop/images/10072025/17/44/image_10072025_17_44_01_5232.jpg', 2), ('/home/pi/Desktop/images/10072025/17/43/image_10072025_17_43_01_4491.jpg', 2), ('/home/pi/Desktop/images/10072025/17/42/image_10072025_17_42_01_8492.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/17/47/image_10072025_17_47_01_4785.jpg', '/home/pi/Desktop/images/10072025/17/46/image_10072025_17_46_02_2878.jpg', '/home/pi/Desktop/images/10072025/17/45/image_10072025_17_45_01_5157.jpg', '/home/pi/Desktop/images/10072025/17/44/image_10072025_17_44_01_5232.jpg', '/home/pi/Desktop/images/10072025/17/43/image_10072025_17_43_01_4491.jpg', '/home/pi/Desktop/images/10072025/17/42/image_10072025_17_42_01_8492.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/17/47/image_10072025_17_47_01_4785.jpg
/home/pi/Desktop/images/10072025/17/46/image_10072025_17_46_02_2878.jpg
/home/pi/Desktop/images/10072025/17/45/image_10072025_17_45_01_5157.jpg
/home/pi/Desktop/images/10072025/17/44/image_10072025_17_44_01_5232.jpg
/home/pi/Desktop/images/10072025/17/43/image_10072025_17_43_01_4491.jpg
/home/pi/Desktop/images/10072025/17/42/image_10072025_17_42_01_8492.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371660003","1371659846","1371659828","1371659821","1371659934","1371659838"],"photo_ids_order":["1371659821","1371659828","1371659838","1371659846","1371659934","1371660003"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/2b2385ea4029065e67477ba7f4b6699c.jpg","text":"TemporaryFile(/tmp/multipartBody1040194256498972300asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752258488193,"filename":"image_10072025_17_42_01_8492.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/c24d18a8b1dd34bf9465d8a1f706468d.jpg","text":"TemporaryFile(/tmp/multipartBody1665279788377463419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752258488193,"filename":"image_10072025_17_44_01_5232.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/d035bbc9ece7817cb018e33c8a014356.jpg","text":"TemporaryFile(/tmp/multipartBody4800087150642338086asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752258488193,"filename":"image_10072025_17_46_02_2878.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/0b06bc6e4c6207634710409631721700.jpg","text":"TemporaryFile(/tmp/multipartBody4163262936533361184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752258488193,"filename":"image_10072025_17_47_01_4785.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/d2a67aa91cbc6ea9f47202f8194e0300.jpg","text":"TemporaryFile(/tmp/multipartBody8511383485330279356asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752258488193,"filename":"image_10072025_17_43_01_4491.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/884f257128ee2b04fc3d081433b1b258.jpg","text":"TemporaryFile(/tmp/multipartBody7591182573673919051asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752258488193,"filename":"image_10072025_17_45_01_5157.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371659838","file1":"1371659828","file0":"1371659821","file4":"1371659934","file5":"1371660003","file3":"1371659846"},"map_files_photo_id_array":[{"photo_id":"1371660003","filename":"file5"},{"photo_id":"1371659838","filename":"file2"},{"photo_id":"1371659934","filename":"file4"},{"photo_id":"1371659828","filename":"file1"},{"photo_id":"1371659821","filename":"file0"},{"photo_id":"1371659846","filename":"file3"}],"portfolio_id":24773944,"hashtag_by_photo_ids":[{"1371660003":["hashtag1","hashtag2"]},{"1371659846":["hashtag1","hashtag2"]},{"1371659828":["hashtag1","hashtag2"]},{"1371659821":["hashtag1","hashtag2"]},{"1371659934":["hashtag1","hashtag2"]},{"1371659838":["hashtag1","hashtag2"]}],"comms":"Portfolio 24773944 used, photo_id : ArrayBuffer(1371660003, 1371659846, 1371659828, 1371659821, 1371659934, 1371659838)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 59.59795784950256 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 20:29:03.948580
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/17/40/image_10072025_17_40_02_1438.jpg', 2), ('/home/pi/Desktop/images/10072025/17/39/image_10072025_17_39_01_8317.jpg', 2), ('/home/pi/Desktop/images/10072025/17/38/image_10072025_17_38_02_1475.jpg', 2), ('/home/pi/Desktop/images/10072025/17/37/image_10072025_17_37_01_4201.jpg', 2), ('/home/pi/Desktop/images/10072025/17/36/image_10072025_17_36_01_5492.jpg', 2), ('/home/pi/Desktop/images/10072025/17/35/image_10072025_17_35_01_6369.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/17/40/image_10072025_17_40_02_1438.jpg', '/home/pi/Desktop/images/10072025/17/39/image_10072025_17_39_01_8317.jpg', '/home/pi/Desktop/images/10072025/17/38/image_10072025_17_38_02_1475.jpg', '/home/pi/Desktop/images/10072025/17/37/image_10072025_17_37_01_4201.jpg', '/home/pi/Desktop/images/10072025/17/36/image_10072025_17_36_01_5492.jpg', '/home/pi/Desktop/images/10072025/17/35/image_10072025_17_35_01_6369.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/17/40/image_10072025_17_40_02_1438.jpg
/home/pi/Desktop/images/10072025/17/39/image_10072025_17_39_01_8317.jpg
/home/pi/Desktop/images/10072025/17/38/image_10072025_17_38_02_1475.jpg
/home/pi/Desktop/images/10072025/17/37/image_10072025_17_37_01_4201.jpg
/home/pi/Desktop/images/10072025/17/36/image_10072025_17_36_01_5492.jpg
/home/pi/Desktop/images/10072025/17/35/image_10072025_17_35_01_6369.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371660293","1371660350","1371660239","1371660457","1371660466","1371660409"],"photo_ids_order":["1371660239","1371660293","1371660350","1371660409","1371660457","1371660466"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/03df0ff8df3a4880e865fc00a4394421.jpg","text":"TemporaryFile(/tmp/multipartBody1284241686835695099asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752258608227,"filename":"image_10072025_17_39_01_8317.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/8020d9f4ecb13397e8f5c9a88644f980.jpg","text":"TemporaryFile(/tmp/multipartBody5727040792277214537asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752258608227,"filename":"image_10072025_17_38_02_1475.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/33bc206a1d52a491d289a902ce046305.jpg","text":"TemporaryFile(/tmp/multipartBody9162751363004605489asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752258608227,"filename":"image_10072025_17_40_02_1438.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/46b13a0830fef986a49ebf3367da7f73.jpg","text":"TemporaryFile(/tmp/multipartBody7193457047653664721asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752258608227,"filename":"image_10072025_17_36_01_5492.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/fa5eaff2f177ebb0c8f3caa5da0b2f3f.jpg","text":"TemporaryFile(/tmp/multipartBody4345040191867129321asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752258608227,"filename":"image_10072025_17_35_01_6369.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/569a795ffa4147e41f519d82b4a0036c.jpg","text":"TemporaryFile(/tmp/multipartBody5529957839798575151asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752258608227,"filename":"image_10072025_17_37_01_4201.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371660350","file1":"1371660293","file0":"1371660239","file4":"1371660457","file5":"1371660466","file3":"1371660409"},"map_files_photo_id_array":[{"photo_id":"1371660466","filename":"file5"},{"photo_id":"1371660350","filename":"file2"},{"photo_id":"1371660457","filename":"file4"},{"photo_id":"1371660293","filename":"file1"},{"photo_id":"1371660239","filename":"file0"},{"photo_id":"1371660409","filename":"file3"}],"portfolio_id":24773944,"hashtag_by_photo_ids":[{"1371660293":["hashtag1","hashtag2"]},{"1371660350":["hashtag1","hashtag2"]},{"1371660239":["hashtag1","hashtag2"]},{"1371660457":["hashtag1","hashtag2"]},{"1371660466":["hashtag1","hashtag2"]},{"1371660409":["hashtag1","hashtag2"]}],"comms":"Portfolio 24773944 used, photo_id : ArrayBuffer(1371660293, 1371660350, 1371660239, 1371660457, 1371660466, 1371660409)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 60.57005548477173 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 20:31:04.219954
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/17/34/image_10072025_17_34_01_8452.jpg', 2), ('/home/pi/Desktop/images/10072025/17/33/image_10072025_17_33_01_9980.jpg', 2), ('/home/pi/Desktop/images/10072025/17/31/image_10072025_17_31_01_2215.jpg', 2), ('/home/pi/Desktop/images/10072025/17/30/image_10072025_17_30_01_9224.jpg', 2), ('/home/pi/Desktop/images/10072025/17/28/image_10072025_17_28_01_3529.jpg', 2), ('/home/pi/Desktop/images/10072025/17/26/image_10072025_17_26_02_1671.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/17/34/image_10072025_17_34_01_8452.jpg', '/home/pi/Desktop/images/10072025/17/33/image_10072025_17_33_01_9980.jpg', '/home/pi/Desktop/images/10072025/17/31/image_10072025_17_31_01_2215.jpg', '/home/pi/Desktop/images/10072025/17/30/image_10072025_17_30_01_9224.jpg', '/home/pi/Desktop/images/10072025/17/28/image_10072025_17_28_01_3529.jpg', '/home/pi/Desktop/images/10072025/17/26/image_10072025_17_26_02_1671.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/17/34/image_10072025_17_34_01_8452.jpg
/home/pi/Desktop/images/10072025/17/33/image_10072025_17_33_01_9980.jpg
/home/pi/Desktop/images/10072025/17/31/image_10072025_17_31_01_2215.jpg
/home/pi/Desktop/images/10072025/17/30/image_10072025_17_30_01_9224.jpg
/home/pi/Desktop/images/10072025/17/28/image_10072025_17_28_01_3529.jpg
/home/pi/Desktop/images/10072025/17/26/image_10072025_17_26_02_1671.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371660563","1371660611","1371660580","1371660574","1371660556","1371660597"],"photo_ids_order":["1371660556","1371660563","1371660574","1371660580","1371660597","1371660611"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/d11c74c197ab6d24b1aaaea29547f662.jpg","text":"TemporaryFile(/tmp/multipartBody1868172852349235802asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752258728560,"filename":"image_10072025_17_33_01_9980.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/55462b2ca005fa224b05a318821cee6a.jpg","text":"TemporaryFile(/tmp/multipartBody4811481869558113695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752258728560,"filename":"image_10072025_17_26_02_1671.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/d5490ac400c1d3965a6603bb3965d2f1.jpg","text":"TemporaryFile(/tmp/multipartBody2831834576430030419asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752258728560,"filename":"image_10072025_17_30_01_9224.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/191affb5c6a95ff34dd50068da8ebda0.jpg","text":"TemporaryFile(/tmp/multipartBody5476407844159786276asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752258728560,"filename":"image_10072025_17_31_01_2215.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/56ed813d3e8edf1578f8dbac644d79a1.jpg","text":"TemporaryFile(/tmp/multipartBody8509700865264659366asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752258728560,"filename":"image_10072025_17_34_01_8452.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/43e9e522e6ba88774abe34a7159e153a.jpg","text":"TemporaryFile(/tmp/multipartBody2349754957525658221asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752258728560,"filename":"image_10072025_17_28_01_3529.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371660574","file1":"1371660563","file0":"1371660556","file4":"1371660597","file5":"1371660611","file3":"1371660580"},"map_files_photo_id_array":[{"photo_id":"1371660611","filename":"file5"},{"photo_id":"1371660574","filename":"file2"},{"photo_id":"1371660597","filename":"file4"},{"photo_id":"1371660563","filename":"file1"},{"photo_id":"1371660556","filename":"file0"},{"photo_id":"1371660580","filename":"file3"}],"portfolio_id":24773944,"hashtag_by_photo_ids":[{"1371660563":["hashtag1","hashtag2"]},{"1371660611":["hashtag1","hashtag2"]},{"1371660580":["hashtag1","hashtag2"]},{"1371660574":["hashtag1","hashtag2"]},{"1371660556":["hashtag1","hashtag2"]},{"1371660597":["hashtag1","hashtag2"]}],"comms":"Portfolio 24773944 used, photo_id : ArrayBuffer(1371660563, 1371660611, 1371660580, 1371660574, 1371660556, 1371660597)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 60.38719940185547 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 20:33:03.327295
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/17/25/image_10072025_17_25_01_5623.jpg', 2), ('/home/pi/Desktop/images/10072025/17/24/image_10072025_17_24_01_8295.jpg', 2), ('/home/pi/Desktop/images/10072025/17/23/image_10072025_17_23_01_7466.jpg', 2), ('/home/pi/Desktop/images/10072025/17/22/image_10072025_17_22_02_2273.jpg', 2), ('/home/pi/Desktop/images/10072025/17/21/image_10072025_17_21_01_6991.jpg', 2), ('/home/pi/Desktop/images/10072025/17/20/image_10072025_17_20_01_9901.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/17/25/image_10072025_17_25_01_5623.jpg', '/home/pi/Desktop/images/10072025/17/24/image_10072025_17_24_01_8295.jpg', '/home/pi/Desktop/images/10072025/17/23/image_10072025_17_23_01_7466.jpg', '/home/pi/Desktop/images/10072025/17/22/image_10072025_17_22_02_2273.jpg', '/home/pi/Desktop/images/10072025/17/21/image_10072025_17_21_01_6991.jpg', '/home/pi/Desktop/images/10072025/17/20/image_10072025_17_20_01_9901.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/17/25/image_10072025_17_25_01_5623.jpg
/home/pi/Desktop/images/10072025/17/24/image_10072025_17_24_01_8295.jpg
/home/pi/Desktop/images/10072025/17/23/image_10072025_17_23_01_7466.jpg
/home/pi/Desktop/images/10072025/17/22/image_10072025_17_22_02_2273.jpg
/home/pi/Desktop/images/10072025/17/21/image_10072025_17_21_01_6991.jpg
/home/pi/Desktop/images/10072025/17/20/image_10072025_17_20_01_9901.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371660762","1371660717","1371660701","1371660739","1371660730","1371660753"],"photo_ids_order":["1371660701","1371660717","1371660730","1371660739","1371660753","1371660762"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/cb0d95e99813300bf24271dd95e474f2.jpg","text":"TemporaryFile(/tmp/multipartBody7034476632491399948asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752258847823,"filename":"image_10072025_17_20_01_9901.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/7587de97f3895600f19e78bd79bf07c3.jpg","text":"TemporaryFile(/tmp/multipartBody867401567865234561asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752258847823,"filename":"image_10072025_17_24_01_8295.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/232db25bb32cd1be586502e3dbf2a7ba.jpg","text":"TemporaryFile(/tmp/multipartBody400350777568399084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752258847823,"filename":"image_10072025_17_25_01_5623.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/ce4e8e6833087c60f56fba54b6104aad.jpg","text":"TemporaryFile(/tmp/multipartBody3308574624610783725asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752258847823,"filename":"image_10072025_17_22_02_2273.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/f0925b4ce7105f5518f1bceefad0527c.jpg","text":"TemporaryFile(/tmp/multipartBody8271398118299492485asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752258847823,"filename":"image_10072025_17_23_01_7466.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/4e53840799fb706f79f775d19037976e.jpg","text":"TemporaryFile(/tmp/multipartBody4610854164988578838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752258847823,"filename":"image_10072025_17_21_01_6991.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371660730","file1":"1371660717","file0":"1371660701","file4":"1371660753","file5":"1371660762","file3":"1371660739"},"map_files_photo_id_array":[{"photo_id":"1371660762","filename":"file5"},{"photo_id":"1371660730","filename":"file2"},{"photo_id":"1371660753","filename":"file4"},{"photo_id":"1371660717","filename":"file1"},{"photo_id":"1371660701","filename":"file0"},{"photo_id":"1371660739","filename":"file3"}],"portfolio_id":24773944,"hashtag_by_photo_ids":[{"1371660762":["hashtag1","hashtag2"]},{"1371660717":["hashtag1","hashtag2"]},{"1371660701":["hashtag1","hashtag2"]},{"1371660739":["hashtag1","hashtag2"]},{"1371660730":["hashtag1","hashtag2"]},{"1371660753":["hashtag1","hashtag2"]}],"comms":"Portfolio 24773944 used, photo_id : ArrayBuffer(1371660762, 1371660717, 1371660701, 1371660739, 1371660730, 1371660753)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 61.17694115638733 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 20:35:03.775200
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/17/19/image_10072025_17_19_01_3155.jpg', 2), ('/home/pi/Desktop/images/10072025/17/15/image_10072025_17_15_02_1584.jpg', 2), ('/home/pi/Desktop/images/10072025/17/13/image_10072025_17_13_01_4930.jpg', 2), ('/home/pi/Desktop/images/10072025/17/11/image_10072025_17_11_01_8458.jpg', 2), ('/home/pi/Desktop/images/10072025/17/10/image_10072025_17_10_02_2683.jpg', 2), ('/home/pi/Desktop/images/10072025/17/09/image_10072025_17_09_01_5143.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/17/19/image_10072025_17_19_01_3155.jpg', '/home/pi/Desktop/images/10072025/17/15/image_10072025_17_15_02_1584.jpg', '/home/pi/Desktop/images/10072025/17/13/image_10072025_17_13_01_4930.jpg', '/home/pi/Desktop/images/10072025/17/11/image_10072025_17_11_01_8458.jpg', '/home/pi/Desktop/images/10072025/17/10/image_10072025_17_10_02_2683.jpg', '/home/pi/Desktop/images/10072025/17/09/image_10072025_17_09_01_5143.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/17/19/image_10072025_17_19_01_3155.jpg
/home/pi/Desktop/images/10072025/17/15/image_10072025_17_15_02_1584.jpg
/home/pi/Desktop/images/10072025/17/13/image_10072025_17_13_01_4930.jpg
/home/pi/Desktop/images/10072025/17/11/image_10072025_17_11_01_8458.jpg
/home/pi/Desktop/images/10072025/17/10/image_10072025_17_10_02_2683.jpg
/home/pi/Desktop/images/10072025/17/09/image_10072025_17_09_01_5143.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371660899","1371660893","1371660974","1371660896","1371660988","1371660910"],"photo_ids_order":["1371660893","1371660896","1371660899","1371660910","1371660974","1371660988"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/8738acd0aee899c3b1cd69ae8bb5b64a.jpg","text":"TemporaryFile(/tmp/multipartBody4889665311003261018asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752258968072,"filename":"image_10072025_17_13_01_4930.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/91e813524e4091109a1815593dbd73b9.jpg","text":"TemporaryFile(/tmp/multipartBody9044926781366099085asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752258968072,"filename":"image_10072025_17_19_01_3155.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/9264f45f59559bdd0c88d01105ba8d57.jpg","text":"TemporaryFile(/tmp/multipartBody5451095081618810888asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752258968072,"filename":"image_10072025_17_10_02_2683.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/86b9e16387e68e489ee2771eb7ade24c.jpg","text":"TemporaryFile(/tmp/multipartBody3684360386279020036asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752258968072,"filename":"image_10072025_17_15_02_1584.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/5fce39a7b678b5723b0118ea4f10e73a.jpg","text":"TemporaryFile(/tmp/multipartBody1138388294092119203asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752258968072,"filename":"image_10072025_17_09_01_5143.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/78e651f9a85a32ae734df853aaeca49a.jpg","text":"TemporaryFile(/tmp/multipartBody2583816223696793724asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752258968072,"filename":"image_10072025_17_11_01_8458.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371660899","file1":"1371660896","file0":"1371660893","file4":"1371660974","file5":"1371660988","file3":"1371660910"},"map_files_photo_id_array":[{"photo_id":"1371660988","filename":"file5"},{"photo_id":"1371660899","filename":"file2"},{"photo_id":"1371660974","filename":"file4"},{"photo_id":"1371660896","filename":"file1"},{"photo_id":"1371660893","filename":"file0"},{"photo_id":"1371660910","filename":"file3"}],"portfolio_id":24773944,"hashtag_by_photo_ids":[{"1371660899":["hashtag1","hashtag2"]},{"1371660893":["hashtag1","hashtag2"]},{"1371660974":["hashtag1","hashtag2"]},{"1371660896":["hashtag1","hashtag2"]},{"1371660988":["hashtag1","hashtag2"]},{"1371660910":["hashtag1","hashtag2"]}],"comms":"Portfolio 24773944 used, photo_id : ArrayBuffer(1371660899, 1371660893, 1371660974, 1371660896, 1371660988, 1371660910)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 61.41369414329529 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 20:37:04.090594
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/17/05/image_10072025_17_05_01_3906.jpg', 2), ('/home/pi/Desktop/images/10072025/17/03/image_10072025_17_03_01_4622.jpg', 2), ('/home/pi/Desktop/images/10072025/17/02/image_10072025_17_02_01_5568.jpg', 2), ('/home/pi/Desktop/images/10072025/17/01/image_10072025_17_01_01_9902.jpg', 2), ('/home/pi/Desktop/images/10072025/17/00/image_10072025_17_00_01_5507.jpg', 2), ('/home/pi/Desktop/images/10072025/16/54/image_10072025_16_54_01_6040.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/17/05/image_10072025_17_05_01_3906.jpg', '/home/pi/Desktop/images/10072025/17/03/image_10072025_17_03_01_4622.jpg', '/home/pi/Desktop/images/10072025/17/02/image_10072025_17_02_01_5568.jpg', '/home/pi/Desktop/images/10072025/17/01/image_10072025_17_01_01_9902.jpg', '/home/pi/Desktop/images/10072025/17/00/image_10072025_17_00_01_5507.jpg', '/home/pi/Desktop/images/10072025/16/54/image_10072025_16_54_01_6040.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/17/05/image_10072025_17_05_01_3906.jpg
/home/pi/Desktop/images/10072025/17/03/image_10072025_17_03_01_4622.jpg
/home/pi/Desktop/images/10072025/17/02/image_10072025_17_02_01_5568.jpg
/home/pi/Desktop/images/10072025/17/01/image_10072025_17_01_01_9902.jpg
/home/pi/Desktop/images/10072025/17/00/image_10072025_17_00_01_5507.jpg
/home/pi/Desktop/images/10072025/16/54/image_10072025_16_54_01_6040.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371661122","1371661139","1371661114","1371661149","1371661131","1371661110"],"photo_ids_order":["1371661110","1371661114","1371661122","1371661131","1371661139","1371661149"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/abfc6805010f0c7879f269c951fe2719.jpg","text":"TemporaryFile(/tmp/multipartBody2122148338323585227asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752259088324,"filename":"image_10072025_17_02_01_5568.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/bf6baed04b579a7043cd684f88e12dfa.jpg","text":"TemporaryFile(/tmp/multipartBody4583971344676385670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752259088324,"filename":"image_10072025_17_00_01_5507.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/7147c0427baef070ab2d5d75b6e16694.jpg","text":"TemporaryFile(/tmp/multipartBody6589816558052376787asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752259088324,"filename":"image_10072025_17_03_01_4622.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/06f17418d1704927c3bec767b980f6c1.jpg","text":"TemporaryFile(/tmp/multipartBody3931271846118915868asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752259088324,"filename":"image_10072025_16_54_01_6040.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/78d7562b91c4238d4d2d147eebf9700f.jpg","text":"TemporaryFile(/tmp/multipartBody4840889712502737405asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752259088324,"filename":"image_10072025_17_01_01_9902.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/e0f06fe3e35c434abc0d27ec9ae9386e.jpg","text":"TemporaryFile(/tmp/multipartBody6865980224974931138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752259088324,"filename":"image_10072025_17_05_01_3906.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371661122","file1":"1371661114","file0":"1371661110","file4":"1371661139","file5":"1371661149","file3":"1371661131"},"map_files_photo_id_array":[{"photo_id":"1371661149","filename":"file5"},{"photo_id":"1371661122","filename":"file2"},{"photo_id":"1371661139","filename":"file4"},{"photo_id":"1371661114","filename":"file1"},{"photo_id":"1371661110","filename":"file0"},{"photo_id":"1371661131","filename":"file3"}],"portfolio_id":24773944,"hashtag_by_photo_ids":[{"1371661122":["hashtag1","hashtag2"]},{"1371661139":["hashtag1","hashtag2"]},{"1371661114":["hashtag1","hashtag2"]},{"1371661149":["hashtag1","hashtag2"]},{"1371661131":["hashtag1","hashtag2"]},{"1371661110":["hashtag1","hashtag2"]}],"comms":"Portfolio 24773944 used, photo_id : ArrayBuffer(1371661122, 1371661139, 1371661114, 1371661149, 1371661131, 1371661110)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.5938184261322 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 20:39:03.610957
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/16/53/image_10072025_16_53_01_7212.jpg', 2), ('/home/pi/Desktop/images/10072025/16/45/image_10072025_16_45_01_9129.jpg', 2), ('/home/pi/Desktop/images/10072025/16/39/image_10072025_16_39_01_6325.jpg', 2), ('/home/pi/Desktop/images/10072025/16/38/image_10072025_16_38_02_2276.jpg', 2), ('/home/pi/Desktop/images/10072025/16/36/image_10072025_16_36_01_3544.jpg', 2), ('/home/pi/Desktop/images/10072025/16/35/image_10072025_16_35_01_6986.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/16/53/image_10072025_16_53_01_7212.jpg', '/home/pi/Desktop/images/10072025/16/45/image_10072025_16_45_01_9129.jpg', '/home/pi/Desktop/images/10072025/16/39/image_10072025_16_39_01_6325.jpg', '/home/pi/Desktop/images/10072025/16/38/image_10072025_16_38_02_2276.jpg', '/home/pi/Desktop/images/10072025/16/36/image_10072025_16_36_01_3544.jpg', '/home/pi/Desktop/images/10072025/16/35/image_10072025_16_35_01_6986.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/16/53/image_10072025_16_53_01_7212.jpg
/home/pi/Desktop/images/10072025/16/45/image_10072025_16_45_01_9129.jpg
/home/pi/Desktop/images/10072025/16/39/image_10072025_16_39_01_6325.jpg
/home/pi/Desktop/images/10072025/16/38/image_10072025_16_38_02_2276.jpg
/home/pi/Desktop/images/10072025/16/36/image_10072025_16_36_01_3544.jpg
/home/pi/Desktop/images/10072025/16/35/image_10072025_16_35_01_6986.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371661310","1371661276","1371661234","1371661284","1371661320","1371661239"],"photo_ids_order":["1371661234","1371661239","1371661276","1371661284","1371661310","1371661320"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/00ae6559e99e22d91869ca6127d297c0.jpg","text":"TemporaryFile(/tmp/multipartBody3159848861463227791asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752259207741,"filename":"image_10072025_16_36_01_3544.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/cf20137810e155083c6db47d73b1ac4a.jpg","text":"TemporaryFile(/tmp/multipartBody710254415491131661asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752259207741,"filename":"image_10072025_16_39_01_6325.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/f3bd7eb8f9c21771ae1c301a216bfaf4.jpg","text":"TemporaryFile(/tmp/multipartBody1382120127813840560asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752259207741,"filename":"image_10072025_16_53_01_7212.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/8b341de24f6fe96fee46e794c6d17314.jpg","text":"TemporaryFile(/tmp/multipartBody6329327637821348571asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752259207741,"filename":"image_10072025_16_38_02_2276.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/7cd8bfa36d0920f47da5a7b5c3ba353d.jpg","text":"TemporaryFile(/tmp/multipartBody31814688153209536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752259207741,"filename":"image_10072025_16_35_01_6986.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/f9e85d800a3de4060e5716b1bd1a9858.jpg","text":"TemporaryFile(/tmp/multipartBody6278415586572127988asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752259207741,"filename":"image_10072025_16_45_01_9129.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371661276","file1":"1371661239","file0":"1371661234","file4":"1371661310","file5":"1371661320","file3":"1371661284"},"map_files_photo_id_array":[{"photo_id":"1371661320","filename":"file5"},{"photo_id":"1371661276","filename":"file2"},{"photo_id":"1371661310","filename":"file4"},{"photo_id":"1371661239","filename":"file1"},{"photo_id":"1371661234","filename":"file0"},{"photo_id":"1371661284","filename":"file3"}],"portfolio_id":24773944,"hashtag_by_photo_ids":[{"1371661310":["hashtag1","hashtag2"]},{"1371661276":["hashtag1","hashtag2"]},{"1371661234":["hashtag1","hashtag2"]},{"1371661284":["hashtag1","hashtag2"]},{"1371661320":["hashtag1","hashtag2"]},{"1371661239":["hashtag1","hashtag2"]}],"comms":"Portfolio 24773944 used, photo_id : ArrayBuffer(1371661310, 1371661276, 1371661234, 1371661284, 1371661320, 1371661239)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 70.76896667480469 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 20:41:03.589859
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/16/34/image_10072025_16_34_02_0145.jpg', 2), ('/home/pi/Desktop/images/10072025/16/33/image_10072025_16_33_01_8621.jpg', 2), ('/home/pi/Desktop/images/10072025/16/30/image_10072025_16_30_01_5034.jpg', 2), ('/home/pi/Desktop/images/10072025/16/21/image_10072025_16_21_01_8280.jpg', 2), ('/home/pi/Desktop/images/10072025/16/20/image_10072025_16_20_02_1323.jpg', 2), ('/home/pi/Desktop/images/10072025/16/19/image_10072025_16_19_01_2522.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/16/34/image_10072025_16_34_02_0145.jpg', '/home/pi/Desktop/images/10072025/16/33/image_10072025_16_33_01_8621.jpg', '/home/pi/Desktop/images/10072025/16/30/image_10072025_16_30_01_5034.jpg', '/home/pi/Desktop/images/10072025/16/21/image_10072025_16_21_01_8280.jpg', '/home/pi/Desktop/images/10072025/16/20/image_10072025_16_20_02_1323.jpg', '/home/pi/Desktop/images/10072025/16/19/image_10072025_16_19_01_2522.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/16/34/image_10072025_16_34_02_0145.jpg
/home/pi/Desktop/images/10072025/16/33/image_10072025_16_33_01_8621.jpg
/home/pi/Desktop/images/10072025/16/30/image_10072025_16_30_01_5034.jpg
/home/pi/Desktop/images/10072025/16/21/image_10072025_16_21_01_8280.jpg
/home/pi/Desktop/images/10072025/16/20/image_10072025_16_20_02_1323.jpg
/home/pi/Desktop/images/10072025/16/19/image_10072025_16_19_01_2522.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371661373","1371661436","1371661415","1371661399","1371661447","1371661408"],"photo_ids_order":["1371661373","1371661399","1371661408","1371661415","1371661436","1371661447"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/bc1e03d6c64ee2dd708f1c5ff75d2945.jpg","text":"TemporaryFile(/tmp/multipartBody4563996993211832062asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752259327475,"filename":"image_10072025_16_34_02_0145.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/143b591b78aa3cc47e46b21b6b02e319.jpg","text":"TemporaryFile(/tmp/multipartBody5829290626126706797asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752259327475,"filename":"image_10072025_16_20_02_1323.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/eaae369f41ed10e7ee18f88fa39bc5e4.jpg","text":"TemporaryFile(/tmp/multipartBody2149214962782346498asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752259327475,"filename":"image_10072025_16_21_01_8280.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/d626bacd4f9cba50e05cc76f65cdbd02.jpg","text":"TemporaryFile(/tmp/multipartBody1659979691517155423asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752259327475,"filename":"image_10072025_16_33_01_8621.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/9294a28d9232a8fb276b151a200d51b5.jpg","text":"TemporaryFile(/tmp/multipartBody1572638859358623594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752259327475,"filename":"image_10072025_16_19_01_2522.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/c1df8ca77dda00800ffe49888add880e.jpg","text":"TemporaryFile(/tmp/multipartBody6259560013902075723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752259327475,"filename":"image_10072025_16_30_01_5034.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371661408","file1":"1371661399","file0":"1371661373","file4":"1371661436","file5":"1371661447","file3":"1371661415"},"map_files_photo_id_array":[{"photo_id":"1371661447","filename":"file5"},{"photo_id":"1371661408","filename":"file2"},{"photo_id":"1371661436","filename":"file4"},{"photo_id":"1371661399","filename":"file1"},{"photo_id":"1371661373","filename":"file0"},{"photo_id":"1371661415","filename":"file3"}],"portfolio_id":24773944,"hashtag_by_photo_ids":[{"1371661373":["hashtag1","hashtag2"]},{"1371661436":["hashtag1","hashtag2"]},{"1371661415":["hashtag1","hashtag2"]},{"1371661399":["hashtag1","hashtag2"]},{"1371661447":["hashtag1","hashtag2"]},{"1371661408":["hashtag1","hashtag2"]}],"comms":"Portfolio 24773944 used, photo_id : ArrayBuffer(1371661373, 1371661436, 1371661415, 1371661399, 1371661447, 1371661408)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 63.58490490913391 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 20:43:03.399162
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/16/18/image_10072025_16_18_01_3384.jpg', 2), ('/home/pi/Desktop/images/10072025/16/10/image_10072025_16_10_02_0936.jpg', 2), ('/home/pi/Desktop/images/10072025/16/08/image_10072025_16_08_02_1052.jpg', 2), ('/home/pi/Desktop/images/10072025/16/07/image_10072025_16_07_01_2760.jpg', 2), ('/home/pi/Desktop/images/10072025/16/06/image_10072025_16_06_02_2640.jpg', 2), ('/home/pi/Desktop/images/10072025/16/05/image_10072025_16_05_01_8614.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/16/18/image_10072025_16_18_01_3384.jpg', '/home/pi/Desktop/images/10072025/16/10/image_10072025_16_10_02_0936.jpg', '/home/pi/Desktop/images/10072025/16/08/image_10072025_16_08_02_1052.jpg', '/home/pi/Desktop/images/10072025/16/07/image_10072025_16_07_01_2760.jpg', '/home/pi/Desktop/images/10072025/16/06/image_10072025_16_06_02_2640.jpg', '/home/pi/Desktop/images/10072025/16/05/image_10072025_16_05_01_8614.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/16/18/image_10072025_16_18_01_3384.jpg
/home/pi/Desktop/images/10072025/16/10/image_10072025_16_10_02_0936.jpg
/home/pi/Desktop/images/10072025/16/08/image_10072025_16_08_02_1052.jpg
/home/pi/Desktop/images/10072025/16/07/image_10072025_16_07_01_2760.jpg
/home/pi/Desktop/images/10072025/16/06/image_10072025_16_06_02_2640.jpg
/home/pi/Desktop/images/10072025/16/05/image_10072025_16_05_01_8614.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371661561","1371661525","1371661551","1371661545","1371661539","1371661530"],"photo_ids_order":["1371661525","1371661530","1371661539","1371661545","1371661551","1371661561"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/665910a7aad1f23a62bea1f3565db127.jpg","text":"TemporaryFile(/tmp/multipartBody4574391548652905039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752259447195,"filename":"image_10072025_16_05_01_8614.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/450fc50fae3f4271cae0bd0f2fab6f99.jpg","text":"TemporaryFile(/tmp/multipartBody5786086261937613806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752259447195,"filename":"image_10072025_16_18_01_3384.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/dde4f1d28cf6689b4487abd8cabb579b.jpg","text":"TemporaryFile(/tmp/multipartBody2671638635248094163asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752259447195,"filename":"image_10072025_16_06_02_2640.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/46803a564359c7a52cb8402cbba1ef0b.jpg","text":"TemporaryFile(/tmp/multipartBody1046241001257041190asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752259447195,"filename":"image_10072025_16_07_01_2760.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/87ddd5bd0f7d1ae32630b8d71e9db795.jpg","text":"TemporaryFile(/tmp/multipartBody1026943527237903317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752259447195,"filename":"image_10072025_16_08_02_1052.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/6ee401c65b187fe79172e12e7d8b0257.jpg","text":"TemporaryFile(/tmp/multipartBody6480100987421009688asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752259447195,"filename":"image_10072025_16_10_02_0936.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371661539","file1":"1371661530","file0":"1371661525","file4":"1371661551","file5":"1371661561","file3":"1371661545"},"map_files_photo_id_array":[{"photo_id":"1371661561","filename":"file5"},{"photo_id":"1371661539","filename":"file2"},{"photo_id":"1371661551","filename":"file4"},{"photo_id":"1371661530","filename":"file1"},{"photo_id":"1371661525","filename":"file0"},{"photo_id":"1371661545","filename":"file3"}],"portfolio_id":24773944,"hashtag_by_photo_ids":[{"1371661561":["hashtag1","hashtag2"]},{"1371661525":["hashtag1","hashtag2"]},{"1371661551":["hashtag1","hashtag2"]},{"1371661545":["hashtag1","hashtag2"]},{"1371661539":["hashtag1","hashtag2"]},{"1371661530":["hashtag1","hashtag2"]}],"comms":"Portfolio 24773944 used, photo_id : ArrayBuffer(1371661561, 1371661525, 1371661551, 1371661545, 1371661539, 1371661530)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.10079741477966 secondes ---
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 20:45:03.898218
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/16/04/image_10072025_16_04_01_4588.jpg', 2), ('/home/pi/Desktop/images/10072025/16/03/image_10072025_16_03_01_9675.jpg', 2), ('/home/pi/Desktop/images/10072025/16/02/image_10072025_16_02_02_1653.jpg', 2), ('/home/pi/Desktop/images/10072025/16/00/image_10072025_16_00_01_7482.jpg', 2), ('/home/pi/Desktop/images/10072025/15/59/image_10072025_15_59_01_2894.jpg', 2), ('/home/pi/Desktop/images/10072025/15/58/image_10072025_15_58_01_7728.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/16/04/image_10072025_16_04_01_4588.jpg', '/home/pi/Desktop/images/10072025/16/03/image_10072025_16_03_01_9675.jpg', '/home/pi/Desktop/images/10072025/16/02/image_10072025_16_02_02_1653.jpg', '/home/pi/Desktop/images/10072025/16/00/image_10072025_16_00_01_7482.jpg', '/home/pi/Desktop/images/10072025/15/59/image_10072025_15_59_01_2894.jpg', '/home/pi/Desktop/images/10072025/15/58/image_10072025_15_58_01_7728.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/16/04/image_10072025_16_04_01_4588.jpg
/home/pi/Desktop/images/10072025/16/03/image_10072025_16_03_01_9675.jpg
/home/pi/Desktop/images/10072025/16/02/image_10072025_16_02_02_1653.jpg
/home/pi/Desktop/images/10072025/16/00/image_10072025_16_00_01_7482.jpg
/home/pi/Desktop/images/10072025/15/59/image_10072025_15_59_01_2894.jpg
/home/pi/Desktop/images/10072025/15/58/image_10072025_15_58_01_7728.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371661693","1371661755","1371661662","1371661647","1371661656","1371661641"],"photo_ids_order":["1371661641","1371661647","1371661656","1371661662","1371661693","1371661755"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/ee894bb24c8bb3f5cc689cbc4433f2b8.jpg","text":"TemporaryFile(/tmp/multipartBody7912333910940033550asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752259567732,"filename":"image_10072025_15_59_01_2894.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/7bba14cc241c894b62d19ec1204eed1e.jpg","text":"TemporaryFile(/tmp/multipartBody8770415017794855897asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752259567732,"filename":"image_10072025_15_58_01_7728.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/73e70bf5a53180eabc85423733d6c9e4.jpg","text":"TemporaryFile(/tmp/multipartBody576209080148422341asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752259567732,"filename":"image_10072025_16_00_01_7482.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/f5075cb9ebc1532791ea48f80e2de628.jpg","text":"TemporaryFile(/tmp/multipartBody726827060754781644asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752259567732,"filename":"image_10072025_16_03_01_9675.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/69c5693b35dcaec93306e8cb7dc2e139.jpg","text":"TemporaryFile(/tmp/multipartBody6693198637828591367asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752259567732,"filename":"image_10072025_16_02_02_1653.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/2e65a48199e5611bcaeb3aa051bbed35.jpg","text":"TemporaryFile(/tmp/multipartBody1296294967813589385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752259567732,"filename":"image_10072025_16_04_01_4588.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371661656","file1":"1371661647","file0":"1371661641","file4":"1371661693","file5":"1371661755","file3":"1371661662"},"map_files_photo_id_array":[{"photo_id":"1371661755","filename":"file5"},{"photo_id":"1371661656","filename":"file2"},{"photo_id":"1371661693","filename":"file4"},{"photo_id":"1371661647","filename":"file1"},{"photo_id":"1371661641","filename":"file0"},{"photo_id":"1371661662","filename":"file3"}],"portfolio_id":24773944,"hashtag_by_photo_ids":[{"1371661693":["hashtag1","hashtag2"]},{"1371661755":["hashtag1","hashtag2"]},{"1371661662":["hashtag1","hashtag2"]},{"1371661647":["hashtag1","hashtag2"]},{"1371661656":["hashtag1","hashtag2"]},{"1371661641":["hashtag1","hashtag2"]}],"comms":"Portfolio 24773944 used, photo_id : ArrayBuffer(1371661693, 1371661755, 1371661662, 1371661647, 1371661656, 1371661641)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 60.759167432785034 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 20:47:03.251437
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/15/57/image_10072025_15_57_01_9323.jpg', 2), ('/home/pi/Desktop/images/10072025/15/56/image_10072025_15_56_01_3375.jpg', 2), ('/home/pi/Desktop/images/10072025/15/55/image_10072025_15_55_02_0768.jpg', 2), ('/home/pi/Desktop/images/10072025/15/54/image_10072025_15_54_02_0957.jpg', 2), ('/home/pi/Desktop/images/10072025/15/53/image_10072025_15_53_02_1151.jpg', 2), ('/home/pi/Desktop/images/10072025/15/52/image_10072025_15_52_01_6671.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/15/57/image_10072025_15_57_01_9323.jpg', '/home/pi/Desktop/images/10072025/15/56/image_10072025_15_56_01_3375.jpg', '/home/pi/Desktop/images/10072025/15/55/image_10072025_15_55_02_0768.jpg', '/home/pi/Desktop/images/10072025/15/54/image_10072025_15_54_02_0957.jpg', '/home/pi/Desktop/images/10072025/15/53/image_10072025_15_53_02_1151.jpg', '/home/pi/Desktop/images/10072025/15/52/image_10072025_15_52_01_6671.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/15/57/image_10072025_15_57_01_9323.jpg
/home/pi/Desktop/images/10072025/15/56/image_10072025_15_56_01_3375.jpg
/home/pi/Desktop/images/10072025/15/55/image_10072025_15_55_02_0768.jpg
/home/pi/Desktop/images/10072025/15/54/image_10072025_15_54_02_0957.jpg
/home/pi/Desktop/images/10072025/15/53/image_10072025_15_53_02_1151.jpg
/home/pi/Desktop/images/10072025/15/52/image_10072025_15_52_01_6671.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371662392","1371662362","1371662373","1371662406","1371662369","1371662378"],"photo_ids_order":["1371662362","1371662369","1371662373","1371662378","1371662392","1371662406"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/177cacf38a3a8e025e2c4f3cc9455285.jpg","text":"TemporaryFile(/tmp/multipartBody2542134305502704839asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752259686986,"filename":"image_10072025_15_53_02_1151.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/137d57dad21f2bbf1f8d1ae569b8759a.jpg","text":"TemporaryFile(/tmp/multipartBody2197484075192376957asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752259686986,"filename":"image_10072025_15_57_01_9323.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/c700a32e63945e0d98e9189e7660303a.jpg","text":"TemporaryFile(/tmp/multipartBody5219773135383380148asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752259686986,"filename":"image_10072025_15_55_02_0768.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/9fd1705772fc38e83009b1758a38db13.jpg","text":"TemporaryFile(/tmp/multipartBody7601002200872234412asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752259686986,"filename":"image_10072025_15_52_01_6671.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/f5611c1a6511aa44a218872260a867ed.jpg","text":"TemporaryFile(/tmp/multipartBody7174975897475567199asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752259686986,"filename":"image_10072025_15_56_01_3375.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/50e4cff40ca8f887c3c4772d4ce5728f.jpg","text":"TemporaryFile(/tmp/multipartBody1691244756279783568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752259686986,"filename":"image_10072025_15_54_02_0957.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371662373","file1":"1371662369","file0":"1371662362","file4":"1371662392","file5":"1371662406","file3":"1371662378"},"map_files_photo_id_array":[{"photo_id":"1371662406","filename":"file5"},{"photo_id":"1371662373","filename":"file2"},{"photo_id":"1371662392","filename":"file4"},{"photo_id":"1371662369","filename":"file1"},{"photo_id":"1371662362","filename":"file0"},{"photo_id":"1371662378","filename":"file3"}],"portfolio_id":24773944,"hashtag_by_photo_ids":[{"1371662392":["hashtag1","hashtag2"]},{"1371662362":["hashtag1","hashtag2"]},{"1371662373":["hashtag1","hashtag2"]},{"1371662406":["hashtag1","hashtag2"]},{"1371662369":["hashtag1","hashtag2"]},{"1371662378":["hashtag1","hashtag2"]}],"comms":"Portfolio 24773944 used, photo_id : ArrayBuffer(1371662392, 1371662362, 1371662373, 1371662406, 1371662369, 1371662378)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.41054153442383 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 20:48:03.675296
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/15/51/image_10072025_15_51_01_5780.jpg', 2), ('/home/pi/Desktop/images/10072025/15/50/image_10072025_15_50_01_6862.jpg', 2), ('/home/pi/Desktop/images/10072025/15/49/image_10072025_15_49_01_3638.jpg', 2), ('/home/pi/Desktop/images/10072025/15/47/image_10072025_15_47_01_7313.jpg', 2), ('/home/pi/Desktop/images/10072025/15/46/image_10072025_15_46_02_2387.jpg', 2), ('/home/pi/Desktop/images/10072025/15/45/image_10072025_15_45_01_6302.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/15/51/image_10072025_15_51_01_5780.jpg', '/home/pi/Desktop/images/10072025/15/50/image_10072025_15_50_01_6862.jpg', '/home/pi/Desktop/images/10072025/15/49/image_10072025_15_49_01_3638.jpg', '/home/pi/Desktop/images/10072025/15/47/image_10072025_15_47_01_7313.jpg', '/home/pi/Desktop/images/10072025/15/46/image_10072025_15_46_02_2387.jpg', '/home/pi/Desktop/images/10072025/15/45/image_10072025_15_45_01_6302.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/15/51/image_10072025_15_51_01_5780.jpg
/home/pi/Desktop/images/10072025/15/50/image_10072025_15_50_01_6862.jpg
/home/pi/Desktop/images/10072025/15/49/image_10072025_15_49_01_3638.jpg
/home/pi/Desktop/images/10072025/15/47/image_10072025_15_47_01_7313.jpg
/home/pi/Desktop/images/10072025/15/46/image_10072025_15_46_02_2387.jpg
/home/pi/Desktop/images/10072025/15/45/image_10072025_15_45_01_6302.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371662450","1371662683","1371662428","1371662622","1371662514","1371662567"],"photo_ids_order":["1371662428","1371662450","1371662514","1371662567","1371662622","1371662683"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/7c3f37e7ba887b77439b25a8bd505640.jpg","text":"TemporaryFile(/tmp/multipartBody2238020190899662861asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752259747574,"filename":"image_10072025_15_50_01_6862.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/c2fe9112c8a8e7532f1e0c00acc32ed2.jpg","text":"TemporaryFile(/tmp/multipartBody5017205309992600538asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752259747574,"filename":"image_10072025_15_45_01_6302.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/892c9cc4798620faa84f8b6e5f519111.jpg","text":"TemporaryFile(/tmp/multipartBody916218640432636170asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752259747574,"filename":"image_10072025_15_51_01_5780.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/abb7cd05a52317a2c1d63b9bec01aef6.jpg","text":"TemporaryFile(/tmp/multipartBody7971173280388683609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752259747574,"filename":"image_10072025_15_46_02_2387.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/61372b3d1fd2ebede7738a0177cfdce7.jpg","text":"TemporaryFile(/tmp/multipartBody3839125969306874393asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752259747574,"filename":"image_10072025_15_49_01_3638.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/65cb9a1ff07af413b3155ef7834fde4e.jpg","text":"TemporaryFile(/tmp/multipartBody4745212732747079507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752259747574,"filename":"image_10072025_15_47_01_7313.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371662514","file1":"1371662450","file0":"1371662428","file4":"1371662622","file5":"1371662683","file3":"1371662567"},"map_files_photo_id_array":[{"photo_id":"1371662683","filename":"file5"},{"photo_id":"1371662514","filename":"file2"},{"photo_id":"1371662622","filename":"file4"},{"photo_id":"1371662450","filename":"file1"},{"photo_id":"1371662428","filename":"file0"},{"photo_id":"1371662567","filename":"file3"}],"portfolio_id":24773944,"hashtag_by_photo_ids":[{"1371662450":["hashtag1","hashtag2"]},{"1371662683":["hashtag1","hashtag2"]},{"1371662428":["hashtag1","hashtag2"]},{"1371662622":["hashtag1","hashtag2"]},{"1371662514":["hashtag1","hashtag2"]},{"1371662567":["hashtag1","hashtag2"]}],"comms":"Portfolio 24773944 used, photo_id : ArrayBuffer(1371662450, 1371662683, 1371662428, 1371662622, 1371662514, 1371662567)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 60.0730996131897 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 20:50:03.683280
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/15/44/image_10072025_15_44_01_4190.jpg', 2), ('/home/pi/Desktop/images/10072025/15/43/image_10072025_15_43_01_8282.jpg', 2), ('/home/pi/Desktop/images/10072025/15/42/image_10072025_15_42_02_1852.jpg', 2), ('/home/pi/Desktop/images/10072025/15/41/image_10072025_15_41_01_9027.jpg', 2), ('/home/pi/Desktop/images/10072025/15/40/image_10072025_15_40_01_9297.jpg', 2), ('/home/pi/Desktop/images/10072025/15/39/image_10072025_15_39_01_6636.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/15/44/image_10072025_15_44_01_4190.jpg', '/home/pi/Desktop/images/10072025/15/43/image_10072025_15_43_01_8282.jpg', '/home/pi/Desktop/images/10072025/15/42/image_10072025_15_42_02_1852.jpg', '/home/pi/Desktop/images/10072025/15/41/image_10072025_15_41_01_9027.jpg', '/home/pi/Desktop/images/10072025/15/40/image_10072025_15_40_01_9297.jpg', '/home/pi/Desktop/images/10072025/15/39/image_10072025_15_39_01_6636.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/15/44/image_10072025_15_44_01_4190.jpg
/home/pi/Desktop/images/10072025/15/43/image_10072025_15_43_01_8282.jpg
/home/pi/Desktop/images/10072025/15/42/image_10072025_15_42_02_1852.jpg
/home/pi/Desktop/images/10072025/15/41/image_10072025_15_41_01_9027.jpg
/home/pi/Desktop/images/10072025/15/40/image_10072025_15_40_01_9297.jpg
/home/pi/Desktop/images/10072025/15/39/image_10072025_15_39_01_6636.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371663076","1371663136","1371663156","1371663144","1371663114","1371663097"],"photo_ids_order":["1371663076","1371663097","1371663114","1371663136","1371663144","1371663156"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/0905079bad5419ba4a7d8cd8a2f22a5d.jpg","text":"TemporaryFile(/tmp/multipartBody8517739310024927595asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752259867799,"filename":"image_10072025_15_44_01_4190.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/e57da0391b9a0c836d78acff69775b2b.jpg","text":"TemporaryFile(/tmp/multipartBody5543576894543051345asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752259867799,"filename":"image_10072025_15_41_01_9027.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/884b4cc36b684093fc36308391a50397.jpg","text":"TemporaryFile(/tmp/multipartBody1833269996054498631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752259867799,"filename":"image_10072025_15_39_01_6636.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/97cdf9b0ebb54096451f99ecaac5082b.jpg","text":"TemporaryFile(/tmp/multipartBody6139076523718873637asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752259867799,"filename":"image_10072025_15_40_01_9297.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/d25dede25e1a1d6391f1057b2d8d61c8.jpg","text":"TemporaryFile(/tmp/multipartBody8217110887642358050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752259867799,"filename":"image_10072025_15_42_02_1852.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/750236a6ad1c25621b5bdba0356b1e58.jpg","text":"TemporaryFile(/tmp/multipartBody1496876119883613729asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752259867799,"filename":"image_10072025_15_43_01_8282.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371663114","file1":"1371663097","file0":"1371663076","file4":"1371663144","file5":"1371663156","file3":"1371663136"},"map_files_photo_id_array":[{"photo_id":"1371663156","filename":"file5"},{"photo_id":"1371663114","filename":"file2"},{"photo_id":"1371663144","filename":"file4"},{"photo_id":"1371663097","filename":"file1"},{"photo_id":"1371663076","filename":"file0"},{"photo_id":"1371663136","filename":"file3"}],"portfolio_id":24773944,"hashtag_by_photo_ids":[{"1371663076":["hashtag1","hashtag2"]},{"1371663136":["hashtag1","hashtag2"]},{"1371663156":["hashtag1","hashtag2"]},{"1371663144":["hashtag1","hashtag2"]},{"1371663114":["hashtag1","hashtag2"]},{"1371663097":["hashtag1","hashtag2"]}],"comms":"Portfolio 24773944 used, photo_id : ArrayBuffer(1371663076, 1371663136, 1371663156, 1371663144, 1371663114, 1371663097)","result":[],"list_datou_current":[]}'
Result OK !
 val : 1 : upload photos already in processing! 
uploaded 6 photos
time to upload: 58.684285402297974 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 20:52:03.166583
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/15/38/image_10072025_15_38_01_3492.jpg', 2), ('/home/pi/Desktop/images/10072025/15/37/image_10072025_15_37_02_0906.jpg', 2), ('/home/pi/Desktop/images/10072025/15/36/image_10072025_15_36_01_4034.jpg', 2), ('/home/pi/Desktop/images/10072025/15/35/image_10072025_15_35_01_9663.jpg', 2), ('/home/pi/Desktop/images/10072025/15/34/image_10072025_15_34_02_2875.jpg', 2), ('/home/pi/Desktop/images/10072025/15/31/image_10072025_15_31_01_9470.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/15/38/image_10072025_15_38_01_3492.jpg', '/home/pi/Desktop/images/10072025/15/37/image_10072025_15_37_02_0906.jpg', '/home/pi/Desktop/images/10072025/15/36/image_10072025_15_36_01_4034.jpg', '/home/pi/Desktop/images/10072025/15/35/image_10072025_15_35_01_9663.jpg', '/home/pi/Desktop/images/10072025/15/34/image_10072025_15_34_02_2875.jpg', '/home/pi/Desktop/images/10072025/15/31/image_10072025_15_31_01_9470.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/15/38/image_10072025_15_38_01_3492.jpg
/home/pi/Desktop/images/10072025/15/37/image_10072025_15_37_02_0906.jpg
/home/pi/Desktop/images/10072025/15/36/image_10072025_15_36_01_4034.jpg
/home/pi/Desktop/images/10072025/15/35/image_10072025_15_35_01_9663.jpg
/home/pi/Desktop/images/10072025/15/34/image_10072025_15_34_02_2875.jpg
/home/pi/Desktop/images/10072025/15/31/image_10072025_15_31_01_9470.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371663631","1371663613","1371663639","1371663606","1371663647","1371663623"],"photo_ids_order":["1371663606","1371663613","1371663623","1371663631","1371663639","1371663647"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/58f86180b96cedcec5bbdfe89306a1d5.jpg","text":"TemporaryFile(/tmp/multipartBody6768813879234048528asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752259987215,"filename":"image_10072025_15_35_01_9663.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/6d1e8ceab7ad7804f1a976071212287b.jpg","text":"TemporaryFile(/tmp/multipartBody3969967416143815822asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752259987215,"filename":"image_10072025_15_37_02_0906.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/2547e455672f58da7f2b655d1296f8b1.jpg","text":"TemporaryFile(/tmp/multipartBody1259741546432851192asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752259987215,"filename":"image_10072025_15_34_02_2875.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/16a24f8ec8c0272ed3ef315529220e92.jpg","text":"TemporaryFile(/tmp/multipartBody2689794028719114864asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752259987215,"filename":"image_10072025_15_38_01_3492.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/ff5bce3c0668135e672caa17862b30e8.jpg","text":"TemporaryFile(/tmp/multipartBody812399752053408438asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752259987215,"filename":"image_10072025_15_31_01_9470.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/d6bf8f7751c158e4248e112f74ae63f0.jpg","text":"TemporaryFile(/tmp/multipartBody1746185907437884362asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752259987215,"filename":"image_10072025_15_36_01_4034.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371663623","file1":"1371663613","file0":"1371663606","file4":"1371663639","file5":"1371663647","file3":"1371663631"},"map_files_photo_id_array":[{"photo_id":"1371663647","filename":"file5"},{"photo_id":"1371663623","filename":"file2"},{"photo_id":"1371663639","filename":"file4"},{"photo_id":"1371663613","filename":"file1"},{"photo_id":"1371663606","filename":"file0"},{"photo_id":"1371663631","filename":"file3"}],"portfolio_id":24773944,"hashtag_by_photo_ids":[{"1371663631":["hashtag1","hashtag2"]},{"1371663613":["hashtag1","hashtag2"]},{"1371663639":["hashtag1","hashtag2"]},{"1371663606":["hashtag1","hashtag2"]},{"1371663647":["hashtag1","hashtag2"]},{"1371663623":["hashtag1","hashtag2"]}],"comms":"Portfolio 24773944 used, photo_id : ArrayBuffer(1371663631, 1371663613, 1371663639, 1371663606, 1371663647, 1371663623)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.35884976387024 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 20:53:04.120477
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/15/28/image_10072025_15_28_01_4041.jpg', 2), ('/home/pi/Desktop/images/10072025/15/27/image_10072025_15_27_01_4055.jpg', 2), ('/home/pi/Desktop/images/10072025/15/26/image_10072025_15_26_01_7358.jpg', 2), ('/home/pi/Desktop/images/10072025/15/25/image_10072025_15_25_01_7791.jpg', 2), ('/home/pi/Desktop/images/10072025/15/21/image_10072025_15_21_02_2767.jpg', 2), ('/home/pi/Desktop/images/10072025/15/20/image_10072025_15_20_01_2907.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/15/28/image_10072025_15_28_01_4041.jpg', '/home/pi/Desktop/images/10072025/15/27/image_10072025_15_27_01_4055.jpg', '/home/pi/Desktop/images/10072025/15/26/image_10072025_15_26_01_7358.jpg', '/home/pi/Desktop/images/10072025/15/25/image_10072025_15_25_01_7791.jpg', '/home/pi/Desktop/images/10072025/15/21/image_10072025_15_21_02_2767.jpg', '/home/pi/Desktop/images/10072025/15/20/image_10072025_15_20_01_2907.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/15/28/image_10072025_15_28_01_4041.jpg
/home/pi/Desktop/images/10072025/15/27/image_10072025_15_27_01_4055.jpg
/home/pi/Desktop/images/10072025/15/26/image_10072025_15_26_01_7358.jpg
/home/pi/Desktop/images/10072025/15/25/image_10072025_15_25_01_7791.jpg
/home/pi/Desktop/images/10072025/15/21/image_10072025_15_21_02_2767.jpg
/home/pi/Desktop/images/10072025/15/20/image_10072025_15_20_01_2907.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371663673","1371663696","1371663681","1371663714","1371663723","1371663689"],"photo_ids_order":["1371663673","1371663681","1371663689","1371663696","1371663714","1371663723"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/e7c660f901f7fd8337948bcb0fc40042.jpg","text":"TemporaryFile(/tmp/multipartBody1716790222494671259asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752260048602,"filename":"image_10072025_15_28_01_4041.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/95c0e096712c27585afd605475ac2670.jpg","text":"TemporaryFile(/tmp/multipartBody1114868182339525337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752260048602,"filename":"image_10072025_15_25_01_7791.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/5ff4b9c496f05c3c72aae99f44ae743b.jpg","text":"TemporaryFile(/tmp/multipartBody8808986370346814900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752260048602,"filename":"image_10072025_15_27_01_4055.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/24afa044960458a7298d6d45ea5f914f.jpg","text":"TemporaryFile(/tmp/multipartBody7147276959197240552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752260048602,"filename":"image_10072025_15_21_02_2767.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/9ecfe21fab61254b3cf52eb760d2fa93.jpg","text":"TemporaryFile(/tmp/multipartBody5929197843097760762asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752260048602,"filename":"image_10072025_15_20_01_2907.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/0b8cdf6b28bfca7bc45cc12b9c28aa2a.jpg","text":"TemporaryFile(/tmp/multipartBody8924320537540014174asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752260048602,"filename":"image_10072025_15_26_01_7358.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371663689","file1":"1371663681","file0":"1371663673","file4":"1371663714","file5":"1371663723","file3":"1371663696"},"map_files_photo_id_array":[{"photo_id":"1371663723","filename":"file5"},{"photo_id":"1371663689","filename":"file2"},{"photo_id":"1371663714","filename":"file4"},{"photo_id":"1371663681","filename":"file1"},{"photo_id":"1371663673","filename":"file0"},{"photo_id":"1371663696","filename":"file3"}],"portfolio_id":24773944,"hashtag_by_photo_ids":[{"1371663673":["hashtag1","hashtag2"]},{"1371663696":["hashtag1","hashtag2"]},{"1371663681":["hashtag1","hashtag2"]},{"1371663714":["hashtag1","hashtag2"]},{"1371663723":["hashtag1","hashtag2"]},{"1371663689":["hashtag1","hashtag2"]}],"comms":"Portfolio 24773944 used, photo_id : ArrayBuffer(1371663673, 1371663696, 1371663681, 1371663714, 1371663723, 1371663689)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 59.09278130531311 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 20:55:03.818344
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/15/19/image_10072025_15_19_01_4888.jpg', 2), ('/home/pi/Desktop/images/10072025/15/18/image_10072025_15_18_02_0524.jpg', 2), ('/home/pi/Desktop/images/10072025/15/17/image_10072025_15_17_01_4071.jpg', 2), ('/home/pi/Desktop/images/10072025/15/16/image_10072025_15_16_01_7842.jpg', 2), ('/home/pi/Desktop/images/10072025/15/14/image_10072025_15_14_01_5282.jpg', 2), ('/home/pi/Desktop/images/10072025/15/13/image_10072025_15_13_02_1845.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/15/19/image_10072025_15_19_01_4888.jpg', '/home/pi/Desktop/images/10072025/15/18/image_10072025_15_18_02_0524.jpg', '/home/pi/Desktop/images/10072025/15/17/image_10072025_15_17_01_4071.jpg', '/home/pi/Desktop/images/10072025/15/16/image_10072025_15_16_01_7842.jpg', '/home/pi/Desktop/images/10072025/15/14/image_10072025_15_14_01_5282.jpg', '/home/pi/Desktop/images/10072025/15/13/image_10072025_15_13_02_1845.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/15/19/image_10072025_15_19_01_4888.jpg
/home/pi/Desktop/images/10072025/15/18/image_10072025_15_18_02_0524.jpg
/home/pi/Desktop/images/10072025/15/17/image_10072025_15_17_01_4071.jpg
/home/pi/Desktop/images/10072025/15/16/image_10072025_15_16_01_7842.jpg
/home/pi/Desktop/images/10072025/15/14/image_10072025_15_14_01_5282.jpg
/home/pi/Desktop/images/10072025/15/13/image_10072025_15_13_02_1845.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371663789","1371663861","1371663825","1371663813","1371663804","1371663796"],"photo_ids_order":["1371663789","1371663796","1371663804","1371663813","1371663825","1371663861"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/aa0c490ea9b04404f4665d921d2bb3fa.jpg","text":"TemporaryFile(/tmp/multipartBody3162914948956279332asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752260168337,"filename":"image_10072025_15_19_01_4888.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/5b41c61d56b2f9f3ce9469b3c7558222.jpg","text":"TemporaryFile(/tmp/multipartBody8420301353439093732asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752260168337,"filename":"image_10072025_15_13_02_1845.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/30d59a7af222fd7e25eb349e273821aa.jpg","text":"TemporaryFile(/tmp/multipartBody21876453928362370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752260168337,"filename":"image_10072025_15_14_01_5282.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/b575fcca17a2f03294ae349264084324.jpg","text":"TemporaryFile(/tmp/multipartBody1222679396417277115asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752260168337,"filename":"image_10072025_15_16_01_7842.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/9d34c4500c8021a5220d6085d16a7797.jpg","text":"TemporaryFile(/tmp/multipartBody5536613534089287738asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752260168337,"filename":"image_10072025_15_17_01_4071.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/7e3ffec60b63cc8efb4a9c013c01c5be.jpg","text":"TemporaryFile(/tmp/multipartBody8550826314896892264asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752260168337,"filename":"image_10072025_15_18_02_0524.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371663804","file1":"1371663796","file0":"1371663789","file4":"1371663825","file5":"1371663861","file3":"1371663813"},"map_files_photo_id_array":[{"photo_id":"1371663861","filename":"file5"},{"photo_id":"1371663804","filename":"file2"},{"photo_id":"1371663825","filename":"file4"},{"photo_id":"1371663796","filename":"file1"},{"photo_id":"1371663789","filename":"file0"},{"photo_id":"1371663813","filename":"file3"}],"portfolio_id":24773944,"hashtag_by_photo_ids":[{"1371663789":["hashtag1","hashtag2"]},{"1371663861":["hashtag1","hashtag2"]},{"1371663825":["hashtag1","hashtag2"]},{"1371663813":["hashtag1","hashtag2"]},{"1371663804":["hashtag1","hashtag2"]},{"1371663796":["hashtag1","hashtag2"]}],"comms":"Portfolio 24773944 used, photo_id : ArrayBuffer(1371663789, 1371663861, 1371663825, 1371663813, 1371663804, 1371663796)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 59.00745964050293 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 20:57:03.925681
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/15/12/image_10072025_15_12_01_5385.jpg', 2), ('/home/pi/Desktop/images/10072025/15/11/image_10072025_15_11_01_9628.jpg', 2), ('/home/pi/Desktop/images/10072025/15/10/image_10072025_15_10_02_2500.jpg', 2), ('/home/pi/Desktop/images/10072025/15/09/image_10072025_15_09_01_8769.jpg', 2), ('/home/pi/Desktop/images/10072025/15/07/image_10072025_15_07_02_1551.jpg', 2), ('/home/pi/Desktop/images/10072025/15/05/image_10072025_15_05_01_4432.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/15/12/image_10072025_15_12_01_5385.jpg', '/home/pi/Desktop/images/10072025/15/11/image_10072025_15_11_01_9628.jpg', '/home/pi/Desktop/images/10072025/15/10/image_10072025_15_10_02_2500.jpg', '/home/pi/Desktop/images/10072025/15/09/image_10072025_15_09_01_8769.jpg', '/home/pi/Desktop/images/10072025/15/07/image_10072025_15_07_02_1551.jpg', '/home/pi/Desktop/images/10072025/15/05/image_10072025_15_05_01_4432.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/15/12/image_10072025_15_12_01_5385.jpg
/home/pi/Desktop/images/10072025/15/11/image_10072025_15_11_01_9628.jpg
/home/pi/Desktop/images/10072025/15/10/image_10072025_15_10_02_2500.jpg
/home/pi/Desktop/images/10072025/15/09/image_10072025_15_09_01_8769.jpg
/home/pi/Desktop/images/10072025/15/07/image_10072025_15_07_02_1551.jpg
/home/pi/Desktop/images/10072025/15/05/image_10072025_15_05_01_4432.jpg
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 20:59:04.027399
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 1 files
1 photos no longer on disk
no photos to upload
time to upload: 0.333467960357666 secondes ---
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 377, in upload_from_sqlite
    upload_photo_and_update_logs(files, lsr, port_id, datou_current_id, fc, hashtags = hashtags, verbose = verbose, nb_batch= nb_batch,batch_size=limit)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 74, in upload_photo_and_update_logs
    logger.info("no_longer_on_disk_list:",no_longer_on_disk_list)
Message: 'no_longer_on_disk_list:'
Arguments: (['/home/pi/Desktop/images/11072025/21/00/image_11072025_21_00_02_0728.jpg'],)
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/21/00/image_11072025_21_00_02_0728.jpg', 2)]
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 21:00:03.258670
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/15/12/image_10072025_15_12_01_5385.jpg', 2), ('/home/pi/Desktop/images/10072025/15/11/image_10072025_15_11_01_9628.jpg', 2), ('/home/pi/Desktop/images/10072025/15/10/image_10072025_15_10_02_2500.jpg', 2), ('/home/pi/Desktop/images/10072025/15/09/image_10072025_15_09_01_8769.jpg', 2), ('/home/pi/Desktop/images/10072025/15/07/image_10072025_15_07_02_1551.jpg', 2), ('/home/pi/Desktop/images/10072025/15/05/image_10072025_15_05_01_4432.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/15/12/image_10072025_15_12_01_5385.jpg', '/home/pi/Desktop/images/10072025/15/11/image_10072025_15_11_01_9628.jpg', '/home/pi/Desktop/images/10072025/15/10/image_10072025_15_10_02_2500.jpg', '/home/pi/Desktop/images/10072025/15/09/image_10072025_15_09_01_8769.jpg', '/home/pi/Desktop/images/10072025/15/07/image_10072025_15_07_02_1551.jpg', '/home/pi/Desktop/images/10072025/15/05/image_10072025_15_05_01_4432.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/15/12/image_10072025_15_12_01_5385.jpg
/home/pi/Desktop/images/10072025/15/11/image_10072025_15_11_01_9628.jpg
/home/pi/Desktop/images/10072025/15/10/image_10072025_15_10_02_2500.jpg
/home/pi/Desktop/images/10072025/15/09/image_10072025_15_09_01_8769.jpg
/home/pi/Desktop/images/10072025/15/07/image_10072025_15_07_02_1551.jpg
/home/pi/Desktop/images/10072025/15/05/image_10072025_15_05_01_4432.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 3.0674896240234375 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 21:01:03.975236
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/15/12/image_10072025_15_12_01_5385.jpg', 2), ('/home/pi/Desktop/images/10072025/15/11/image_10072025_15_11_01_9628.jpg', 2), ('/home/pi/Desktop/images/10072025/15/10/image_10072025_15_10_02_2500.jpg', 2), ('/home/pi/Desktop/images/10072025/15/09/image_10072025_15_09_01_8769.jpg', 2), ('/home/pi/Desktop/images/10072025/15/07/image_10072025_15_07_02_1551.jpg', 2), ('/home/pi/Desktop/images/10072025/15/05/image_10072025_15_05_01_4432.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/15/12/image_10072025_15_12_01_5385.jpg', '/home/pi/Desktop/images/10072025/15/11/image_10072025_15_11_01_9628.jpg', '/home/pi/Desktop/images/10072025/15/10/image_10072025_15_10_02_2500.jpg', '/home/pi/Desktop/images/10072025/15/09/image_10072025_15_09_01_8769.jpg', '/home/pi/Desktop/images/10072025/15/07/image_10072025_15_07_02_1551.jpg', '/home/pi/Desktop/images/10072025/15/05/image_10072025_15_05_01_4432.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/15/12/image_10072025_15_12_01_5385.jpg
/home/pi/Desktop/images/10072025/15/11/image_10072025_15_11_01_9628.jpg
/home/pi/Desktop/images/10072025/15/10/image_10072025_15_10_02_2500.jpg
/home/pi/Desktop/images/10072025/15/09/image_10072025_15_09_01_8769.jpg
/home/pi/Desktop/images/10072025/15/07/image_10072025_15_07_02_1551.jpg
/home/pi/Desktop/images/10072025/15/05/image_10072025_15_05_01_4432.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371665922","1371665808","1371666082","1371665869","1371666013","1371665752"],"photo_ids_order":["1371665752","1371665808","1371665869","1371665922","1371666013","1371666082"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/d459b59e0e6f37f47209d3c5c107e6eb.jpg","text":"TemporaryFile(/tmp/multipartBody5464685548291843923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752260527369,"filename":"image_10072025_15_09_01_8769.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/51460bd3a00bd7382cd5dc2789708cf9.jpg","text":"TemporaryFile(/tmp/multipartBody3805830482288022699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752260527369,"filename":"image_10072025_15_11_01_9628.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/d361a896946c650524f7c58e06c5cd34.jpg","text":"TemporaryFile(/tmp/multipartBody5375943426385952657asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752260527369,"filename":"image_10072025_15_05_01_4432.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/0e4db5210a560300b1231689bbfc7b57.jpg","text":"TemporaryFile(/tmp/multipartBody2915863181831608232asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752260527369,"filename":"image_10072025_15_10_02_2500.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/788dcc6650f47bd137820b45ec8c97f5.jpg","text":"TemporaryFile(/tmp/multipartBody5648502305415087178asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752260527369,"filename":"image_10072025_15_07_02_1551.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/cf813d6dc2b463fbd6d6c6b4b3490232.jpg","text":"TemporaryFile(/tmp/multipartBody5669597360823963636asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752260527369,"filename":"image_10072025_15_12_01_5385.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371665869","file1":"1371665808","file0":"1371665752","file4":"1371666013","file5":"1371666082","file3":"1371665922"},"map_files_photo_id_array":[{"photo_id":"1371666082","filename":"file5"},{"photo_id":"1371665869","filename":"file2"},{"photo_id":"1371666013","filename":"file4"},{"photo_id":"1371665808","filename":"file1"},{"photo_id":"1371665752","filename":"file0"},{"photo_id":"1371665922","filename":"file3"}],"portfolio_id":24773944,"hashtag_by_photo_ids":[{"1371665922":["hashtag1","hashtag2"]},{"1371665808":["hashtag1","hashtag2"]},{"1371666082":["hashtag1","hashtag2"]},{"1371665869":["hashtag1","hashtag2"]},{"1371666013":["hashtag1","hashtag2"]},{"1371665752":["hashtag1","hashtag2"]}],"comms":"Portfolio 24773944 used, photo_id : ArrayBuffer(1371665922, 1371665808, 1371666082, 1371665869, 1371666013, 1371665752)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 67.81681203842163 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 21:03:03.219191
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/15/04/image_10072025_15_04_01_3477.jpg', 2), ('/home/pi/Desktop/images/10072025/15/03/image_10072025_15_03_01_9382.jpg', 2), ('/home/pi/Desktop/images/10072025/15/02/image_10072025_15_02_02_0598.jpg', 2), ('/home/pi/Desktop/images/10072025/15/01/image_10072025_15_01_01_5049.jpg', 2), ('/home/pi/Desktop/images/10072025/15/00/image_10072025_15_00_01_7301.jpg', 2), ('/home/pi/Desktop/images/10072025/14/58/image_10072025_14_58_01_6083.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/15/04/image_10072025_15_04_01_3477.jpg', '/home/pi/Desktop/images/10072025/15/03/image_10072025_15_03_01_9382.jpg', '/home/pi/Desktop/images/10072025/15/02/image_10072025_15_02_02_0598.jpg', '/home/pi/Desktop/images/10072025/15/01/image_10072025_15_01_01_5049.jpg', '/home/pi/Desktop/images/10072025/15/00/image_10072025_15_00_01_7301.jpg', '/home/pi/Desktop/images/10072025/14/58/image_10072025_14_58_01_6083.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/15/04/image_10072025_15_04_01_3477.jpg
/home/pi/Desktop/images/10072025/15/03/image_10072025_15_03_01_9382.jpg
/home/pi/Desktop/images/10072025/15/02/image_10072025_15_02_02_0598.jpg
/home/pi/Desktop/images/10072025/15/01/image_10072025_15_01_01_5049.jpg
/home/pi/Desktop/images/10072025/15/00/image_10072025_15_00_01_7301.jpg
/home/pi/Desktop/images/10072025/14/58/image_10072025_14_58_01_6083.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371666246","1371666485","1371666518","1371666364","1371666418","1371666301"],"photo_ids_order":["1371666246","1371666301","1371666364","1371666418","1371666485","1371666518"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/eb62781a7f272d655d7fc0808b1818b5.jpg","text":"TemporaryFile(/tmp/multipartBody7391916739016590084asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752260647656,"filename":"image_10072025_15_04_01_3477.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/55544d394489f24c9a0c79fc890a4eb9.jpg","text":"TemporaryFile(/tmp/multipartBody2426277356439009903asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752260647656,"filename":"image_10072025_15_00_01_7301.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/805fcd86abf161b3f89a0959feb03166.jpg","text":"TemporaryFile(/tmp/multipartBody4046871003108858352asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752260647656,"filename":"image_10072025_14_58_01_6083.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/bcc1e9d98bff4a287de9d1e3df4fe46c.jpg","text":"TemporaryFile(/tmp/multipartBody419116818724481580asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752260647656,"filename":"image_10072025_15_02_02_0598.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/d29bf787e18bc508bd094ffc974a3b29.jpg","text":"TemporaryFile(/tmp/multipartBody154919963316871119asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752260647656,"filename":"image_10072025_15_01_01_5049.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/a70e4fac9c17edca8d67415182e35a69.jpg","text":"TemporaryFile(/tmp/multipartBody4036962904659108102asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752260647656,"filename":"image_10072025_15_03_01_9382.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371666364","file1":"1371666301","file0":"1371666246","file4":"1371666485","file5":"1371666518","file3":"1371666418"},"map_files_photo_id_array":[{"photo_id":"1371666518","filename":"file5"},{"photo_id":"1371666364","filename":"file2"},{"photo_id":"1371666485","filename":"file4"},{"photo_id":"1371666301","filename":"file1"},{"photo_id":"1371666246","filename":"file0"},{"photo_id":"1371666418","filename":"file3"}],"portfolio_id":24773944,"hashtag_by_photo_ids":[{"1371666246":["hashtag1","hashtag2"]},{"1371666485":["hashtag1","hashtag2"]},{"1371666518":["hashtag1","hashtag2"]},{"1371666364":["hashtag1","hashtag2"]},{"1371666418":["hashtag1","hashtag2"]},{"1371666301":["hashtag1","hashtag2"]}],"comms":"Portfolio 24773944 used, photo_id : ArrayBuffer(1371666246, 1371666485, 1371666518, 1371666364, 1371666418, 1371666301)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 63.52151393890381 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 21:05:03.304840
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/14/56/image_10072025_14_56_01_7289.jpg', 2), ('/home/pi/Desktop/images/10072025/14/54/image_10072025_14_54_02_2127.jpg', 2), ('/home/pi/Desktop/images/10072025/14/53/image_10072025_14_53_01_6845.jpg', 2), ('/home/pi/Desktop/images/10072025/14/52/image_10072025_14_52_02_0919.jpg', 2), ('/home/pi/Desktop/images/10072025/14/51/image_10072025_14_51_02_0287.jpg', 2), ('/home/pi/Desktop/images/10072025/14/50/image_10072025_14_50_01_8092.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/14/56/image_10072025_14_56_01_7289.jpg', '/home/pi/Desktop/images/10072025/14/54/image_10072025_14_54_02_2127.jpg', '/home/pi/Desktop/images/10072025/14/53/image_10072025_14_53_01_6845.jpg', '/home/pi/Desktop/images/10072025/14/52/image_10072025_14_52_02_0919.jpg', '/home/pi/Desktop/images/10072025/14/51/image_10072025_14_51_02_0287.jpg', '/home/pi/Desktop/images/10072025/14/50/image_10072025_14_50_01_8092.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/14/56/image_10072025_14_56_01_7289.jpg
/home/pi/Desktop/images/10072025/14/54/image_10072025_14_54_02_2127.jpg
/home/pi/Desktop/images/10072025/14/53/image_10072025_14_53_01_6845.jpg
/home/pi/Desktop/images/10072025/14/52/image_10072025_14_52_02_0919.jpg
/home/pi/Desktop/images/10072025/14/51/image_10072025_14_51_02_0287.jpg
/home/pi/Desktop/images/10072025/14/50/image_10072025_14_50_01_8092.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371666735","1371666785","1371666755","1371666764","1371666750","1371666744"],"photo_ids_order":["1371666735","1371666744","1371666750","1371666755","1371666764","1371666785"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/78733ee2601be5d933465cda2de44436.jpg","text":"TemporaryFile(/tmp/multipartBody6396795888632241209asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752260767629,"filename":"image_10072025_14_56_01_7289.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/c8307c3f26c355b4f83d71713002c39f.jpg","text":"TemporaryFile(/tmp/multipartBody5039152921088604512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752260767629,"filename":"image_10072025_14_50_01_8092.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/6812a09a954eecac7312e749a88f96ec.jpg","text":"TemporaryFile(/tmp/multipartBody2322538604367671066asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752260767629,"filename":"image_10072025_14_52_02_0919.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/17537069ee4eac6a83793a77125af88d.jpg","text":"TemporaryFile(/tmp/multipartBody8638843672013970923asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752260767629,"filename":"image_10072025_14_51_02_0287.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/f18da732b6e73b9843fb8826ce241dc3.jpg","text":"TemporaryFile(/tmp/multipartBody8573054743966085552asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752260767629,"filename":"image_10072025_14_53_01_6845.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/41f54eba4adc19430cf1cecffb55b180.jpg","text":"TemporaryFile(/tmp/multipartBody4338785934579506200asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752260767629,"filename":"image_10072025_14_54_02_2127.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371666750","file1":"1371666744","file0":"1371666735","file4":"1371666764","file5":"1371666785","file3":"1371666755"},"map_files_photo_id_array":[{"photo_id":"1371666785","filename":"file5"},{"photo_id":"1371666750","filename":"file2"},{"photo_id":"1371666764","filename":"file4"},{"photo_id":"1371666744","filename":"file1"},{"photo_id":"1371666735","filename":"file0"},{"photo_id":"1371666755","filename":"file3"}],"portfolio_id":24773944,"hashtag_by_photo_ids":[{"1371666735":["hashtag1","hashtag2"]},{"1371666785":["hashtag1","hashtag2"]},{"1371666755":["hashtag1","hashtag2"]},{"1371666764":["hashtag1","hashtag2"]},{"1371666750":["hashtag1","hashtag2"]},{"1371666744":["hashtag1","hashtag2"]}],"comms":"Portfolio 24773944 used, photo_id : ArrayBuffer(1371666735, 1371666785, 1371666755, 1371666764, 1371666750, 1371666744)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 59.57822036743164 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 21:07:03.753016
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/14/49/image_10072025_14_49_02_0084.jpg', 2), ('/home/pi/Desktop/images/10072025/14/48/image_10072025_14_48_02_2551.jpg', 2), ('/home/pi/Desktop/images/10072025/14/47/image_10072025_14_47_01_2853.jpg', 2), ('/home/pi/Desktop/images/10072025/14/46/image_10072025_14_46_01_9344.jpg', 2), ('/home/pi/Desktop/images/10072025/14/45/image_10072025_14_45_01_6804.jpg', 2), ('/home/pi/Desktop/images/10072025/14/44/image_10072025_14_44_01_7673.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/14/49/image_10072025_14_49_02_0084.jpg', '/home/pi/Desktop/images/10072025/14/48/image_10072025_14_48_02_2551.jpg', '/home/pi/Desktop/images/10072025/14/47/image_10072025_14_47_01_2853.jpg', '/home/pi/Desktop/images/10072025/14/46/image_10072025_14_46_01_9344.jpg', '/home/pi/Desktop/images/10072025/14/45/image_10072025_14_45_01_6804.jpg', '/home/pi/Desktop/images/10072025/14/44/image_10072025_14_44_01_7673.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/14/49/image_10072025_14_49_02_0084.jpg
/home/pi/Desktop/images/10072025/14/48/image_10072025_14_48_02_2551.jpg
/home/pi/Desktop/images/10072025/14/47/image_10072025_14_47_01_2853.jpg
/home/pi/Desktop/images/10072025/14/46/image_10072025_14_46_01_9344.jpg
/home/pi/Desktop/images/10072025/14/45/image_10072025_14_45_01_6804.jpg
/home/pi/Desktop/images/10072025/14/44/image_10072025_14_44_01_7673.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371667454","1371667220","1371667396","1371667276","1371667336","1371667131"],"photo_ids_order":["1371667131","1371667220","1371667276","1371667336","1371667396","1371667454"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/d078f15f1672f371a4dfe8f231a8de88.jpg","text":"TemporaryFile(/tmp/multipartBody8427667829011501947asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752260888015,"filename":"image_10072025_14_44_01_7673.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/408d8f765c0824db21951233ae7508d2.jpg","text":"TemporaryFile(/tmp/multipartBody7912402973647844122asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752260888015,"filename":"image_10072025_14_48_02_2551.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/f8726f0639d69f21f66aee066a9d56ca.jpg","text":"TemporaryFile(/tmp/multipartBody7449326452075351090asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752260888015,"filename":"image_10072025_14_45_01_6804.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/834856989e547c0f9e1931f137a84a1a.jpg","text":"TemporaryFile(/tmp/multipartBody7947067822812444337asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752260888015,"filename":"image_10072025_14_47_01_2853.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/ac16f0144048aa3e14f25197d6c3a34e.jpg","text":"TemporaryFile(/tmp/multipartBody6013794513365161824asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752260888015,"filename":"image_10072025_14_46_01_9344.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/eddcdb6378f857bdab9bcee305f4f4b8.jpg","text":"TemporaryFile(/tmp/multipartBody2430335953044015625asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752260888015,"filename":"image_10072025_14_49_02_0084.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371667276","file1":"1371667220","file0":"1371667131","file4":"1371667396","file5":"1371667454","file3":"1371667336"},"map_files_photo_id_array":[{"photo_id":"1371667454","filename":"file5"},{"photo_id":"1371667276","filename":"file2"},{"photo_id":"1371667396","filename":"file4"},{"photo_id":"1371667220","filename":"file1"},{"photo_id":"1371667131","filename":"file0"},{"photo_id":"1371667336","filename":"file3"}],"portfolio_id":24773944,"hashtag_by_photo_ids":[{"1371667454":["hashtag1","hashtag2"]},{"1371667220":["hashtag1","hashtag2"]},{"1371667396":["hashtag1","hashtag2"]},{"1371667276":["hashtag1","hashtag2"]},{"1371667336":["hashtag1","hashtag2"]},{"1371667131":["hashtag1","hashtag2"]}],"comms":"Portfolio 24773944 used, photo_id : ArrayBuffer(1371667454, 1371667220, 1371667396, 1371667276, 1371667336, 1371667131)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.733433961868286 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 21:09:03.234725
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/14/43/image_10072025_14_43_01_9417.jpg', 2), ('/home/pi/Desktop/images/10072025/14/42/image_10072025_14_42_01_3996.jpg', 2), ('/home/pi/Desktop/images/10072025/14/41/image_10072025_14_41_02_0126.jpg', 2), ('/home/pi/Desktop/images/10072025/14/40/image_10072025_14_40_01_8753.jpg', 2), ('/home/pi/Desktop/images/10072025/14/39/image_10072025_14_39_01_9687.jpg', 2), ('/home/pi/Desktop/images/10072025/14/38/image_10072025_14_38_01_9717.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/14/43/image_10072025_14_43_01_9417.jpg', '/home/pi/Desktop/images/10072025/14/42/image_10072025_14_42_01_3996.jpg', '/home/pi/Desktop/images/10072025/14/41/image_10072025_14_41_02_0126.jpg', '/home/pi/Desktop/images/10072025/14/40/image_10072025_14_40_01_8753.jpg', '/home/pi/Desktop/images/10072025/14/39/image_10072025_14_39_01_9687.jpg', '/home/pi/Desktop/images/10072025/14/38/image_10072025_14_38_01_9717.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/14/43/image_10072025_14_43_01_9417.jpg
/home/pi/Desktop/images/10072025/14/42/image_10072025_14_42_01_3996.jpg
/home/pi/Desktop/images/10072025/14/41/image_10072025_14_41_02_0126.jpg
/home/pi/Desktop/images/10072025/14/40/image_10072025_14_40_01_8753.jpg
/home/pi/Desktop/images/10072025/14/39/image_10072025_14_39_01_9687.jpg
/home/pi/Desktop/images/10072025/14/38/image_10072025_14_38_01_9717.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371667859","1371667787","1371667798","1371667749","1371668004","1371667923"],"photo_ids_order":["1371667749","1371667787","1371667798","1371667859","1371667923","1371668004"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/782b2d546bbbfea6a4bcb5095187a834.jpg","text":"TemporaryFile(/tmp/multipartBody7384488775284620124asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752261007390,"filename":"image_10072025_14_40_01_8753.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/d1b65eddc37e01cddf1b314e23926359.jpg","text":"TemporaryFile(/tmp/multipartBody625716573201011313asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752261007390,"filename":"image_10072025_14_42_01_3996.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/4e5610073c06f52679f7806c4cd73503.jpg","text":"TemporaryFile(/tmp/multipartBody300002048658526178asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752261007390,"filename":"image_10072025_14_41_02_0126.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/d1b49ea68ad8e7fd9e2a375865b84ff5.jpg","text":"TemporaryFile(/tmp/multipartBody6439933099673661439asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752261007390,"filename":"image_10072025_14_43_01_9417.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/0d93b689537a9a37f048e1f58c9c688f.jpg","text":"TemporaryFile(/tmp/multipartBody5411411982918827495asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752261007390,"filename":"image_10072025_14_38_01_9717.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/1c90ea8c9da19cf4e2e58773b28d8bab.jpg","text":"TemporaryFile(/tmp/multipartBody8156558969337664138asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752261007390,"filename":"image_10072025_14_39_01_9687.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371667798","file1":"1371667787","file0":"1371667749","file4":"1371667923","file5":"1371668004","file3":"1371667859"},"map_files_photo_id_array":[{"photo_id":"1371668004","filename":"file5"},{"photo_id":"1371667798","filename":"file2"},{"photo_id":"1371667923","filename":"file4"},{"photo_id":"1371667787","filename":"file1"},{"photo_id":"1371667749","filename":"file0"},{"photo_id":"1371667859","filename":"file3"}],"portfolio_id":24773944,"hashtag_by_photo_ids":[{"1371667859":["hashtag1","hashtag2"]},{"1371667787":["hashtag1","hashtag2"]},{"1371667798":["hashtag1","hashtag2"]},{"1371667749":["hashtag1","hashtag2"]},{"1371668004":["hashtag1","hashtag2"]},{"1371667923":["hashtag1","hashtag2"]}],"comms":"Portfolio 24773944 used, photo_id : ArrayBuffer(1371667859, 1371667787, 1371667798, 1371667749, 1371668004, 1371667923)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 61.22049617767334 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 21:11:03.560598
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/14/37/image_10072025_14_37_01_5246.jpg', 2), ('/home/pi/Desktop/images/10072025/14/36/image_10072025_14_36_02_2337.jpg', 2), ('/home/pi/Desktop/images/10072025/14/35/image_10072025_14_35_02_1499.jpg', 2), ('/home/pi/Desktop/images/10072025/14/34/image_10072025_14_34_01_8602.jpg', 2), ('/home/pi/Desktop/images/10072025/14/27/image_10072025_14_27_02_2324.jpg', 2), ('/home/pi/Desktop/images/10072025/14/26/image_10072025_14_26_01_7293.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/14/37/image_10072025_14_37_01_5246.jpg', '/home/pi/Desktop/images/10072025/14/36/image_10072025_14_36_02_2337.jpg', '/home/pi/Desktop/images/10072025/14/35/image_10072025_14_35_02_1499.jpg', '/home/pi/Desktop/images/10072025/14/34/image_10072025_14_34_01_8602.jpg', '/home/pi/Desktop/images/10072025/14/27/image_10072025_14_27_02_2324.jpg', '/home/pi/Desktop/images/10072025/14/26/image_10072025_14_26_01_7293.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/14/37/image_10072025_14_37_01_5246.jpg
/home/pi/Desktop/images/10072025/14/36/image_10072025_14_36_02_2337.jpg
/home/pi/Desktop/images/10072025/14/35/image_10072025_14_35_02_1499.jpg
/home/pi/Desktop/images/10072025/14/34/image_10072025_14_34_01_8602.jpg
/home/pi/Desktop/images/10072025/14/27/image_10072025_14_27_02_2324.jpg
/home/pi/Desktop/images/10072025/14/26/image_10072025_14_26_01_7293.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371668620","1371668536","1371668592","1371668787","1371668681","1371668738"],"photo_ids_order":["1371668536","1371668592","1371668620","1371668681","1371668738","1371668787"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/00caea6416e3a246185fdb0613dbed6e.jpg","text":"TemporaryFile(/tmp/multipartBody8986557217751310631asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752261127699,"filename":"image_10072025_14_35_02_1499.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/dc09c4000f4a99e914a64be727a52ed7.jpg","text":"TemporaryFile(/tmp/multipartBody617070096347137630asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752261127699,"filename":"image_10072025_14_37_01_5246.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/23e4f231b897a2a6f1b609006eb23908.jpg","text":"TemporaryFile(/tmp/multipartBody2189225792758031240asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752261127699,"filename":"image_10072025_14_36_02_2337.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/5803be1b4d999a6b81276774a3f27708.jpg","text":"TemporaryFile(/tmp/multipartBody6060678172209175517asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752261127699,"filename":"image_10072025_14_26_01_7293.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/9d7992d4d158b0545f02cb3f244232c8.jpg","text":"TemporaryFile(/tmp/multipartBody8445581460950485278asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752261127699,"filename":"image_10072025_14_34_01_8602.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/f2f4c6d4449c106b8620d1c01fef3daf.jpg","text":"TemporaryFile(/tmp/multipartBody8250704905280166253asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752261127699,"filename":"image_10072025_14_27_02_2324.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371668620","file1":"1371668592","file0":"1371668536","file4":"1371668738","file5":"1371668787","file3":"1371668681"},"map_files_photo_id_array":[{"photo_id":"1371668787","filename":"file5"},{"photo_id":"1371668620","filename":"file2"},{"photo_id":"1371668738","filename":"file4"},{"photo_id":"1371668592","filename":"file1"},{"photo_id":"1371668536","filename":"file0"},{"photo_id":"1371668681","filename":"file3"}],"portfolio_id":24773944,"hashtag_by_photo_ids":[{"1371668620":["hashtag1","hashtag2"]},{"1371668536":["hashtag1","hashtag2"]},{"1371668592":["hashtag1","hashtag2"]},{"1371668787":["hashtag1","hashtag2"]},{"1371668681":["hashtag1","hashtag2"]},{"1371668738":["hashtag1","hashtag2"]}],"comms":"Portfolio 24773944 used, photo_id : ArrayBuffer(1371668620, 1371668536, 1371668592, 1371668787, 1371668681, 1371668738)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 60.64029550552368 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 21:13:03.789032
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/14/25/image_10072025_14_25_01_8336.jpg', 2), ('/home/pi/Desktop/images/10072025/14/24/image_10072025_14_24_02_1646.jpg', 2), ('/home/pi/Desktop/images/10072025/14/23/image_10072025_14_23_01_3949.jpg', 2), ('/home/pi/Desktop/images/10072025/14/22/image_10072025_14_22_01_4338.jpg', 2), ('/home/pi/Desktop/images/10072025/14/21/image_10072025_14_21_01_2545.jpg', 2), ('/home/pi/Desktop/images/10072025/14/17/image_10072025_14_17_01_7119.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/14/25/image_10072025_14_25_01_8336.jpg', '/home/pi/Desktop/images/10072025/14/24/image_10072025_14_24_02_1646.jpg', '/home/pi/Desktop/images/10072025/14/23/image_10072025_14_23_01_3949.jpg', '/home/pi/Desktop/images/10072025/14/22/image_10072025_14_22_01_4338.jpg', '/home/pi/Desktop/images/10072025/14/21/image_10072025_14_21_01_2545.jpg', '/home/pi/Desktop/images/10072025/14/17/image_10072025_14_17_01_7119.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/14/25/image_10072025_14_25_01_8336.jpg
/home/pi/Desktop/images/10072025/14/24/image_10072025_14_24_02_1646.jpg
/home/pi/Desktop/images/10072025/14/23/image_10072025_14_23_01_3949.jpg
/home/pi/Desktop/images/10072025/14/22/image_10072025_14_22_01_4338.jpg
/home/pi/Desktop/images/10072025/14/21/image_10072025_14_21_01_2545.jpg
/home/pi/Desktop/images/10072025/14/17/image_10072025_14_17_01_7119.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371669454","1371669382","1371669376","1371669403","1371669527","1371669388"],"photo_ids_order":["1371669376","1371669382","1371669388","1371669403","1371669454","1371669527"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/c27bfd17bba2eb8bb0aa2b5221dff3b2.jpg","text":"TemporaryFile(/tmp/multipartBody6706282110034123711asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752261248061,"filename":"image_10072025_14_21_01_2545.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/224fe1b891f6d5be038d3d33fe51bc5c.jpg","text":"TemporaryFile(/tmp/multipartBody1580634496785953846asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752261248061,"filename":"image_10072025_14_24_02_1646.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/bc4424e45d99bbcbfc0c55fb88b9ba93.jpg","text":"TemporaryFile(/tmp/multipartBody4779175981220494323asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752261248061,"filename":"image_10072025_14_25_01_8336.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/aaa5a4ce7e160a0556c8746b4897cc1c.jpg","text":"TemporaryFile(/tmp/multipartBody1057412325935816109asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752261248061,"filename":"image_10072025_14_22_01_4338.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/c64e2b4b7191b87b991150f77163814a.jpg","text":"TemporaryFile(/tmp/multipartBody3531155320610147185asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752261248061,"filename":"image_10072025_14_17_01_7119.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/6a6727e3d31afd2f4bc6bf7fab686da3.jpg","text":"TemporaryFile(/tmp/multipartBody7046566099115166602asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752261248061,"filename":"image_10072025_14_23_01_3949.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371669388","file1":"1371669382","file0":"1371669376","file4":"1371669454","file5":"1371669527","file3":"1371669403"},"map_files_photo_id_array":[{"photo_id":"1371669527","filename":"file5"},{"photo_id":"1371669388","filename":"file2"},{"photo_id":"1371669454","filename":"file4"},{"photo_id":"1371669382","filename":"file1"},{"photo_id":"1371669376","filename":"file0"},{"photo_id":"1371669403","filename":"file3"}],"portfolio_id":24773944,"hashtag_by_photo_ids":[{"1371669454":["hashtag1","hashtag2"]},{"1371669382":["hashtag1","hashtag2"]},{"1371669376":["hashtag1","hashtag2"]},{"1371669403":["hashtag1","hashtag2"]},{"1371669527":["hashtag1","hashtag2"]},{"1371669388":["hashtag1","hashtag2"]}],"comms":"Portfolio 24773944 used, photo_id : ArrayBuffer(1371669454, 1371669382, 1371669376, 1371669403, 1371669527, 1371669388)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 59.72029209136963 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 21:15:03.802354
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/14/15/image_10072025_14_15_01_6071.jpg', 2), ('/home/pi/Desktop/images/10072025/14/11/image_10072025_14_11_01_4344.jpg', 2), ('/home/pi/Desktop/images/10072025/14/10/image_10072025_14_10_01_4197.jpg', 2), ('/home/pi/Desktop/images/10072025/14/07/image_10072025_14_07_01_5272.jpg', 2), ('/home/pi/Desktop/images/10072025/14/05/image_10072025_14_05_01_5838.jpg', 2), ('/home/pi/Desktop/images/10072025/14/04/image_10072025_14_04_01_3807.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/14/15/image_10072025_14_15_01_6071.jpg', '/home/pi/Desktop/images/10072025/14/11/image_10072025_14_11_01_4344.jpg', '/home/pi/Desktop/images/10072025/14/10/image_10072025_14_10_01_4197.jpg', '/home/pi/Desktop/images/10072025/14/07/image_10072025_14_07_01_5272.jpg', '/home/pi/Desktop/images/10072025/14/05/image_10072025_14_05_01_5838.jpg', '/home/pi/Desktop/images/10072025/14/04/image_10072025_14_04_01_3807.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/14/15/image_10072025_14_15_01_6071.jpg
/home/pi/Desktop/images/10072025/14/11/image_10072025_14_11_01_4344.jpg
/home/pi/Desktop/images/10072025/14/10/image_10072025_14_10_01_4197.jpg
/home/pi/Desktop/images/10072025/14/07/image_10072025_14_07_01_5272.jpg
/home/pi/Desktop/images/10072025/14/05/image_10072025_14_05_01_5838.jpg
/home/pi/Desktop/images/10072025/14/04/image_10072025_14_04_01_3807.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371669676","1371669693","1371669613","1371669651","1371669603","1371669632"],"photo_ids_order":["1371669603","1371669613","1371669632","1371669651","1371669676","1371669693"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/a7b4b8f81a776f87a3292cdcee8cb776.jpg","text":"TemporaryFile(/tmp/multipartBody321169963546632703asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752261368049,"filename":"image_10072025_14_05_01_5838.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/afe3f210833cd5c58ac228e52f31a0f6.jpg","text":"TemporaryFile(/tmp/multipartBody4473054963908687026asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752261368049,"filename":"image_10072025_14_04_01_3807.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/723d2189aa68ecb2c4a7f39e832cbb52.jpg","text":"TemporaryFile(/tmp/multipartBody5882477823280216777asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752261368049,"filename":"image_10072025_14_11_01_4344.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/fad77a2c659d6b9c95fc8d780fcf213e.jpg","text":"TemporaryFile(/tmp/multipartBody4101806460493763050asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752261368049,"filename":"image_10072025_14_07_01_5272.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/f2a2cdfabdaa445551c2d87ab199d5ef.jpg","text":"TemporaryFile(/tmp/multipartBody6087815905605951931asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752261368049,"filename":"image_10072025_14_15_01_6071.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/d249edcfa271c27d7ad270eecf939e12.jpg","text":"TemporaryFile(/tmp/multipartBody9134117673085269150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752261368049,"filename":"image_10072025_14_10_01_4197.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371669632","file1":"1371669613","file0":"1371669603","file4":"1371669676","file5":"1371669693","file3":"1371669651"},"map_files_photo_id_array":[{"photo_id":"1371669693","filename":"file5"},{"photo_id":"1371669632","filename":"file2"},{"photo_id":"1371669676","filename":"file4"},{"photo_id":"1371669613","filename":"file1"},{"photo_id":"1371669603","filename":"file0"},{"photo_id":"1371669651","filename":"file3"}],"portfolio_id":24773944,"hashtag_by_photo_ids":[{"1371669676":["hashtag1","hashtag2"]},{"1371669693":["hashtag1","hashtag2"]},{"1371669613":["hashtag1","hashtag2"]},{"1371669651":["hashtag1","hashtag2"]},{"1371669603":["hashtag1","hashtag2"]},{"1371669632":["hashtag1","hashtag2"]}],"comms":"Portfolio 24773944 used, photo_id : ArrayBuffer(1371669676, 1371669693, 1371669613, 1371669651, 1371669603, 1371669632)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 60.127718687057495 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 21:17:04.120708
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/14/03/image_10072025_14_03_02_2298.jpg', 2), ('/home/pi/Desktop/images/10072025/14/02/image_10072025_14_02_01_7249.jpg', 2), ('/home/pi/Desktop/images/10072025/14/01/image_10072025_14_01_02_2321.jpg', 2), ('/home/pi/Desktop/images/10072025/14/00/image_10072025_14_00_01_6147.jpg', 2), ('/home/pi/Desktop/images/10072025/13/59/image_10072025_13_59_02_3044.jpg', 2), ('/home/pi/Desktop/images/10072025/13/58/image_10072025_13_58_02_1974.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/14/03/image_10072025_14_03_02_2298.jpg', '/home/pi/Desktop/images/10072025/14/02/image_10072025_14_02_01_7249.jpg', '/home/pi/Desktop/images/10072025/14/01/image_10072025_14_01_02_2321.jpg', '/home/pi/Desktop/images/10072025/14/00/image_10072025_14_00_01_6147.jpg', '/home/pi/Desktop/images/10072025/13/59/image_10072025_13_59_02_3044.jpg', '/home/pi/Desktop/images/10072025/13/58/image_10072025_13_58_02_1974.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/14/03/image_10072025_14_03_02_2298.jpg
/home/pi/Desktop/images/10072025/14/02/image_10072025_14_02_01_7249.jpg
/home/pi/Desktop/images/10072025/14/01/image_10072025_14_01_02_2321.jpg
/home/pi/Desktop/images/10072025/14/00/image_10072025_14_00_01_6147.jpg
/home/pi/Desktop/images/10072025/13/59/image_10072025_13_59_02_3044.jpg
/home/pi/Desktop/images/10072025/13/58/image_10072025_13_58_02_1974.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371669820","1371669802","1371669957","1371669807","1371669851","1371669815"],"photo_ids_order":["1371669802","1371669807","1371669815","1371669820","1371669851","1371669957"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/ca48101e87ce78f3b135a6993f87d3da.jpg","text":"TemporaryFile(/tmp/multipartBody2833080494050776904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752261488286,"filename":"image_10072025_14_00_01_6147.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/8972f3feb5858b55f6b3cb7f92a1caff.jpg","text":"TemporaryFile(/tmp/multipartBody2701663272220395395asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752261488286,"filename":"image_10072025_14_03_02_2298.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/68b1815d865b3a43ac03de3f1b02cc6e.jpg","text":"TemporaryFile(/tmp/multipartBody8028588559412444811asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752261488286,"filename":"image_10072025_13_58_02_1974.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/447a15f63c707ea4329224a98a1de4db.jpg","text":"TemporaryFile(/tmp/multipartBody2904605396021920737asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752261488286,"filename":"image_10072025_14_02_01_7249.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/6614e77fa9d90ba646ed853627d5fcb6.jpg","text":"TemporaryFile(/tmp/multipartBody8824768023262936623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752261488286,"filename":"image_10072025_13_59_02_3044.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/bcd66ea5c587642fc14828555a0000f8.jpg","text":"TemporaryFile(/tmp/multipartBody3520199162843451758asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752261488286,"filename":"image_10072025_14_01_02_2321.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371669815","file1":"1371669807","file0":"1371669802","file4":"1371669851","file5":"1371669957","file3":"1371669820"},"map_files_photo_id_array":[{"photo_id":"1371669957","filename":"file5"},{"photo_id":"1371669815","filename":"file2"},{"photo_id":"1371669851","filename":"file4"},{"photo_id":"1371669807","filename":"file1"},{"photo_id":"1371669802","filename":"file0"},{"photo_id":"1371669820","filename":"file3"}],"portfolio_id":24773944,"hashtag_by_photo_ids":[{"1371669820":["hashtag1","hashtag2"]},{"1371669802":["hashtag1","hashtag2"]},{"1371669957":["hashtag1","hashtag2"]},{"1371669807":["hashtag1","hashtag2"]},{"1371669851":["hashtag1","hashtag2"]},{"1371669815":["hashtag1","hashtag2"]}],"comms":"Portfolio 24773944 used, photo_id : ArrayBuffer(1371669820, 1371669802, 1371669957, 1371669807, 1371669851, 1371669815)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.166709661483765 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 21:18:03.392227
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/13/56/image_10072025_13_56_02_0715.jpg', 2), ('/home/pi/Desktop/images/10072025/13/55/image_10072025_13_55_02_0296.jpg', 2), ('/home/pi/Desktop/images/10072025/13/54/image_10072025_13_54_01_2180.jpg', 2), ('/home/pi/Desktop/images/10072025/13/53/image_10072025_13_53_01_6276.jpg', 2), ('/home/pi/Desktop/images/10072025/13/51/image_10072025_13_51_01_4150.jpg', 2), ('/home/pi/Desktop/images/10072025/13/49/image_10072025_13_49_01_7896.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/13/56/image_10072025_13_56_02_0715.jpg', '/home/pi/Desktop/images/10072025/13/55/image_10072025_13_55_02_0296.jpg', '/home/pi/Desktop/images/10072025/13/54/image_10072025_13_54_01_2180.jpg', '/home/pi/Desktop/images/10072025/13/53/image_10072025_13_53_01_6276.jpg', '/home/pi/Desktop/images/10072025/13/51/image_10072025_13_51_01_4150.jpg', '/home/pi/Desktop/images/10072025/13/49/image_10072025_13_49_01_7896.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/13/56/image_10072025_13_56_02_0715.jpg
/home/pi/Desktop/images/10072025/13/55/image_10072025_13_55_02_0296.jpg
/home/pi/Desktop/images/10072025/13/54/image_10072025_13_54_01_2180.jpg
/home/pi/Desktop/images/10072025/13/53/image_10072025_13_53_01_6276.jpg
/home/pi/Desktop/images/10072025/13/51/image_10072025_13_51_01_4150.jpg
/home/pi/Desktop/images/10072025/13/49/image_10072025_13_49_01_7896.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371670249","1371670306","1371670293","1371670128","1371670277","1371670209"],"photo_ids_order":["1371670128","1371670209","1371670249","1371670277","1371670293","1371670306"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/0f4c6d66f24643e9e2de9a527fe57771.jpg","text":"TemporaryFile(/tmp/multipartBody3297419481508179150asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752261547540,"filename":"image_10072025_13_54_01_2180.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/ce71d125a7dc0605083b2e3010680b67.jpg","text":"TemporaryFile(/tmp/multipartBody8684662860135194872asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752261547540,"filename":"image_10072025_13_49_01_7896.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/eb3410e4df8e1bfc38557b1b94dfd2c4.jpg","text":"TemporaryFile(/tmp/multipartBody800360644357724756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752261547540,"filename":"image_10072025_13_51_01_4150.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/2f510d74682a219468d0caeeb49becff.jpg","text":"TemporaryFile(/tmp/multipartBody4504645540322022793asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752261547540,"filename":"image_10072025_13_56_02_0715.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/dbfe217b6914ccb8fae297581805ec5c.jpg","text":"TemporaryFile(/tmp/multipartBody2241547942300191164asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752261547540,"filename":"image_10072025_13_53_01_6276.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/dbb9863203d0e66f48bc35be4f1a1b80.jpg","text":"TemporaryFile(/tmp/multipartBody3856768991053179499asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752261547540,"filename":"image_10072025_13_55_02_0296.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371670249","file1":"1371670209","file0":"1371670128","file4":"1371670293","file5":"1371670306","file3":"1371670277"},"map_files_photo_id_array":[{"photo_id":"1371670306","filename":"file5"},{"photo_id":"1371670249","filename":"file2"},{"photo_id":"1371670293","filename":"file4"},{"photo_id":"1371670209","filename":"file1"},{"photo_id":"1371670128","filename":"file0"},{"photo_id":"1371670277","filename":"file3"}],"portfolio_id":24773944,"hashtag_by_photo_ids":[{"1371670249":["hashtag1","hashtag2"]},{"1371670306":["hashtag1","hashtag2"]},{"1371670293":["hashtag1","hashtag2"]},{"1371670128":["hashtag1","hashtag2"]},{"1371670277":["hashtag1","hashtag2"]},{"1371670209":["hashtag1","hashtag2"]}],"comms":"Portfolio 24773944 used, photo_id : ArrayBuffer(1371670249, 1371670306, 1371670293, 1371670128, 1371670277, 1371670209)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 60.64350080490112 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 21:20:02.728395
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/13/47/image_10072025_13_47_02_0217.jpg', 2), ('/home/pi/Desktop/images/10072025/13/45/image_10072025_13_45_01_5341.jpg', 2), ('/home/pi/Desktop/images/10072025/13/44/image_10072025_13_44_01_9542.jpg', 2), ('/home/pi/Desktop/images/10072025/13/43/image_10072025_13_43_02_1239.jpg', 2), ('/home/pi/Desktop/images/10072025/13/42/image_10072025_13_42_01_9000.jpg', 2), ('/home/pi/Desktop/images/10072025/13/41/image_10072025_13_41_02_1942.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/13/47/image_10072025_13_47_02_0217.jpg', '/home/pi/Desktop/images/10072025/13/45/image_10072025_13_45_01_5341.jpg', '/home/pi/Desktop/images/10072025/13/44/image_10072025_13_44_01_9542.jpg', '/home/pi/Desktop/images/10072025/13/43/image_10072025_13_43_02_1239.jpg', '/home/pi/Desktop/images/10072025/13/42/image_10072025_13_42_01_9000.jpg', '/home/pi/Desktop/images/10072025/13/41/image_10072025_13_41_02_1942.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/13/47/image_10072025_13_47_02_0217.jpg
/home/pi/Desktop/images/10072025/13/45/image_10072025_13_45_01_5341.jpg
/home/pi/Desktop/images/10072025/13/44/image_10072025_13_44_01_9542.jpg
/home/pi/Desktop/images/10072025/13/43/image_10072025_13_43_02_1239.jpg
/home/pi/Desktop/images/10072025/13/42/image_10072025_13_42_01_9000.jpg
/home/pi/Desktop/images/10072025/13/41/image_10072025_13_41_02_1942.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 4.127382516860962 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 21:21:03.488197
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/13/47/image_10072025_13_47_02_0217.jpg', 2), ('/home/pi/Desktop/images/10072025/13/45/image_10072025_13_45_01_5341.jpg', 2), ('/home/pi/Desktop/images/10072025/13/44/image_10072025_13_44_01_9542.jpg', 2), ('/home/pi/Desktop/images/10072025/13/43/image_10072025_13_43_02_1239.jpg', 2), ('/home/pi/Desktop/images/10072025/13/42/image_10072025_13_42_01_9000.jpg', 2), ('/home/pi/Desktop/images/10072025/13/41/image_10072025_13_41_02_1942.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/13/47/image_10072025_13_47_02_0217.jpg', '/home/pi/Desktop/images/10072025/13/45/image_10072025_13_45_01_5341.jpg', '/home/pi/Desktop/images/10072025/13/44/image_10072025_13_44_01_9542.jpg', '/home/pi/Desktop/images/10072025/13/43/image_10072025_13_43_02_1239.jpg', '/home/pi/Desktop/images/10072025/13/42/image_10072025_13_42_01_9000.jpg', '/home/pi/Desktop/images/10072025/13/41/image_10072025_13_41_02_1942.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/13/47/image_10072025_13_47_02_0217.jpg
/home/pi/Desktop/images/10072025/13/45/image_10072025_13_45_01_5341.jpg
/home/pi/Desktop/images/10072025/13/44/image_10072025_13_44_01_9542.jpg
/home/pi/Desktop/images/10072025/13/43/image_10072025_13_43_02_1239.jpg
/home/pi/Desktop/images/10072025/13/42/image_10072025_13_42_01_9000.jpg
/home/pi/Desktop/images/10072025/13/41/image_10072025_13_41_02_1942.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371670678","1371670720","1371670671","1371670697","1371670733","1371670664"],"photo_ids_order":["1371670664","1371670671","1371670678","1371670697","1371670720","1371670733"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/bae23977b92712057feac42af5cc9476.jpg","text":"TemporaryFile(/tmp/multipartBody4035677290002690430asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752261726663,"filename":"image_10072025_13_44_01_9542.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/8069b0d3b97e24c15d64bff86f294627.jpg","text":"TemporaryFile(/tmp/multipartBody2802776556294268250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752261726663,"filename":"image_10072025_13_42_01_9000.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/752c39d655ea7664c3e55efe73c153a7.jpg","text":"TemporaryFile(/tmp/multipartBody631563633729556838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752261726663,"filename":"image_10072025_13_45_01_5341.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/e1c91ce0ef31a5ef7e06bb69482ff337.jpg","text":"TemporaryFile(/tmp/multipartBody7688919996178906985asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752261726663,"filename":"image_10072025_13_43_02_1239.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/bbe61f41a132618924309a26456d102a.jpg","text":"TemporaryFile(/tmp/multipartBody4518465863412851290asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752261726663,"filename":"image_10072025_13_41_02_1942.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/213ed566a2324ddbfae14497d6eb9b50.jpg","text":"TemporaryFile(/tmp/multipartBody4316960915620700242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752261726663,"filename":"image_10072025_13_47_02_0217.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371670678","file1":"1371670671","file0":"1371670664","file4":"1371670720","file5":"1371670733","file3":"1371670697"},"map_files_photo_id_array":[{"photo_id":"1371670733","filename":"file5"},{"photo_id":"1371670678","filename":"file2"},{"photo_id":"1371670720","filename":"file4"},{"photo_id":"1371670671","filename":"file1"},{"photo_id":"1371670664","filename":"file0"},{"photo_id":"1371670697","filename":"file3"}],"portfolio_id":24773944,"hashtag_by_photo_ids":[{"1371670678":["hashtag1","hashtag2"]},{"1371670720":["hashtag1","hashtag2"]},{"1371670671":["hashtag1","hashtag2"]},{"1371670697":["hashtag1","hashtag2"]},{"1371670733":["hashtag1","hashtag2"]},{"1371670664":["hashtag1","hashtag2"]}],"comms":"Portfolio 24773944 used, photo_id : ArrayBuffer(1371670678, 1371670720, 1371670671, 1371670697, 1371670733, 1371670664)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 60.6693115234375 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 21:23:03.880741
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/13/40/image_10072025_13_40_02_2625.jpg', 2), ('/home/pi/Desktop/images/10072025/13/39/image_10072025_13_39_01_3375.jpg', 2), ('/home/pi/Desktop/images/10072025/13/38/image_10072025_13_38_01_2973.jpg', 2), ('/home/pi/Desktop/images/10072025/13/37/image_10072025_13_37_02_1233.jpg', 2), ('/home/pi/Desktop/images/10072025/13/36/image_10072025_13_36_01_4738.jpg', 2), ('/home/pi/Desktop/images/10072025/13/35/image_10072025_13_35_01_3567.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/13/40/image_10072025_13_40_02_2625.jpg', '/home/pi/Desktop/images/10072025/13/39/image_10072025_13_39_01_3375.jpg', '/home/pi/Desktop/images/10072025/13/38/image_10072025_13_38_01_2973.jpg', '/home/pi/Desktop/images/10072025/13/37/image_10072025_13_37_02_1233.jpg', '/home/pi/Desktop/images/10072025/13/36/image_10072025_13_36_01_4738.jpg', '/home/pi/Desktop/images/10072025/13/35/image_10072025_13_35_01_3567.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/13/40/image_10072025_13_40_02_2625.jpg
/home/pi/Desktop/images/10072025/13/39/image_10072025_13_39_01_3375.jpg
/home/pi/Desktop/images/10072025/13/38/image_10072025_13_38_01_2973.jpg
/home/pi/Desktop/images/10072025/13/37/image_10072025_13_37_02_1233.jpg
/home/pi/Desktop/images/10072025/13/36/image_10072025_13_36_01_4738.jpg
/home/pi/Desktop/images/10072025/13/35/image_10072025_13_35_01_3567.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371670826","1371670813","1371670807","1371670854","1371670842","1371670820"],"photo_ids_order":["1371670807","1371670813","1371670820","1371670826","1371670842","1371670854"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/af7359e42a686a258139d6f43d4a16a6.jpg","text":"TemporaryFile(/tmp/multipartBody1815844605826958962asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752261848518,"filename":"image_10072025_13_37_02_1233.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/e141a87cd49a7e70ff608de6ebb8eeb8.jpg","text":"TemporaryFile(/tmp/multipartBody534409152769321039asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752261848518,"filename":"image_10072025_13_39_01_3375.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/e68cdde663f82e4cfed218d50fde861f.jpg","text":"TemporaryFile(/tmp/multipartBody1047856686173144223asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752261848518,"filename":"image_10072025_13_40_02_2625.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/697052187905fc42cd7eb1b830a87d9a.jpg","text":"TemporaryFile(/tmp/multipartBody39860810675062681asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752261848518,"filename":"image_10072025_13_35_01_3567.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/57645ea4edc0a944dbc6c479ad613eb4.jpg","text":"TemporaryFile(/tmp/multipartBody5936719306228045212asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752261848518,"filename":"image_10072025_13_36_01_4738.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/2dfa7e8aa7fd1695b2e20c2be4bf8243.jpg","text":"TemporaryFile(/tmp/multipartBody2179932410600326555asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752261848518,"filename":"image_10072025_13_38_01_2973.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371670820","file1":"1371670813","file0":"1371670807","file4":"1371670842","file5":"1371670854","file3":"1371670826"},"map_files_photo_id_array":[{"photo_id":"1371670854","filename":"file5"},{"photo_id":"1371670820","filename":"file2"},{"photo_id":"1371670842","filename":"file4"},{"photo_id":"1371670813","filename":"file1"},{"photo_id":"1371670807","filename":"file0"},{"photo_id":"1371670826","filename":"file3"}],"portfolio_id":24773944,"hashtag_by_photo_ids":[{"1371670826":["hashtag1","hashtag2"]},{"1371670813":["hashtag1","hashtag2"]},{"1371670807":["hashtag1","hashtag2"]},{"1371670854":["hashtag1","hashtag2"]},{"1371670842":["hashtag1","hashtag2"]},{"1371670820":["hashtag1","hashtag2"]}],"comms":"Portfolio 24773944 used, photo_id : ArrayBuffer(1371670826, 1371670813, 1371670807, 1371670854, 1371670842, 1371670820)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 60.502333879470825 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 21:25:07.294256
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/13/34/image_10072025_13_34_01_7824.jpg', 2), ('/home/pi/Desktop/images/10072025/13/33/image_10072025_13_33_01_7337.jpg', 2), ('/home/pi/Desktop/images/10072025/13/32/image_10072025_13_32_02_3707.jpg', 2), ('/home/pi/Desktop/images/10072025/13/31/image_10072025_13_31_02_2008.jpg', 2), ('/home/pi/Desktop/images/10072025/13/30/image_10072025_13_30_01_9359.jpg', 2), ('/home/pi/Desktop/images/10072025/13/29/image_10072025_13_29_01_4320.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/13/34/image_10072025_13_34_01_7824.jpg', '/home/pi/Desktop/images/10072025/13/33/image_10072025_13_33_01_7337.jpg', '/home/pi/Desktop/images/10072025/13/32/image_10072025_13_32_02_3707.jpg', '/home/pi/Desktop/images/10072025/13/31/image_10072025_13_31_02_2008.jpg', '/home/pi/Desktop/images/10072025/13/30/image_10072025_13_30_01_9359.jpg', '/home/pi/Desktop/images/10072025/13/29/image_10072025_13_29_01_4320.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/13/34/image_10072025_13_34_01_7824.jpg
/home/pi/Desktop/images/10072025/13/33/image_10072025_13_33_01_7337.jpg
/home/pi/Desktop/images/10072025/13/32/image_10072025_13_32_02_3707.jpg
/home/pi/Desktop/images/10072025/13/31/image_10072025_13_31_02_2008.jpg
/home/pi/Desktop/images/10072025/13/30/image_10072025_13_30_01_9359.jpg
/home/pi/Desktop/images/10072025/13/29/image_10072025_13_29_01_4320.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371670963","1371670942","1371670986","1371670974","1371670947","1371670952"],"photo_ids_order":["1371670942","1371670947","1371670952","1371670963","1371670974","1371670986"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/316ba54634e11df518d75d9e2c4b85ed.jpg","text":"TemporaryFile(/tmp/multipartBody1262082205497442723asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752261972075,"filename":"image_10072025_13_31_02_2008.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/55a1b23d28f8561cd0638bad71bec06a.jpg","text":"TemporaryFile(/tmp/multipartBody4937303267107750385asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752261972075,"filename":"image_10072025_13_34_01_7824.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/85a540044bb0974eed57509a4357c445.jpg","text":"TemporaryFile(/tmp/multipartBody3116898643280472971asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752261972075,"filename":"image_10072025_13_29_01_4320.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/7e031c9b0491345b538f17e134fc7f1f.jpg","text":"TemporaryFile(/tmp/multipartBody1900198131556904175asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752261972075,"filename":"image_10072025_13_30_01_9359.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/9b68dfb64f289bc16d4068f4b87d578a.jpg","text":"TemporaryFile(/tmp/multipartBody8602928420223667440asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752261972075,"filename":"image_10072025_13_33_01_7337.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/f222708b6ead5ca1c5812de9f1a3f9d9.jpg","text":"TemporaryFile(/tmp/multipartBody532788749505201675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752261972075,"filename":"image_10072025_13_32_02_3707.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371670952","file1":"1371670947","file0":"1371670942","file4":"1371670974","file5":"1371670986","file3":"1371670963"},"map_files_photo_id_array":[{"photo_id":"1371670986","filename":"file5"},{"photo_id":"1371670952","filename":"file2"},{"photo_id":"1371670974","filename":"file4"},{"photo_id":"1371670947","filename":"file1"},{"photo_id":"1371670942","filename":"file0"},{"photo_id":"1371670963","filename":"file3"}],"portfolio_id":24773944,"hashtag_by_photo_ids":[{"1371670963":["hashtag1","hashtag2"]},{"1371670942":["hashtag1","hashtag2"]},{"1371670986":["hashtag1","hashtag2"]},{"1371670974":["hashtag1","hashtag2"]},{"1371670947":["hashtag1","hashtag2"]},{"1371670952":["hashtag1","hashtag2"]}],"comms":"Portfolio 24773944 used, photo_id : ArrayBuffer(1371670963, 1371670942, 1371670986, 1371670974, 1371670947, 1371670952)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 60.917954444885254 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 21:27:04.014480
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/13/28/image_10072025_13_28_02_0680.jpg', 2), ('/home/pi/Desktop/images/10072025/13/27/image_10072025_13_27_01_4541.jpg', 2), ('/home/pi/Desktop/images/10072025/13/26/image_10072025_13_26_01_8214.jpg', 2), ('/home/pi/Desktop/images/10072025/13/25/image_10072025_13_25_01_3975.jpg', 2), ('/home/pi/Desktop/images/10072025/13/21/image_10072025_13_21_01_3542.jpg', 2), ('/home/pi/Desktop/images/10072025/13/20/image_10072025_13_20_01_8636.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/13/28/image_10072025_13_28_02_0680.jpg', '/home/pi/Desktop/images/10072025/13/27/image_10072025_13_27_01_4541.jpg', '/home/pi/Desktop/images/10072025/13/26/image_10072025_13_26_01_8214.jpg', '/home/pi/Desktop/images/10072025/13/25/image_10072025_13_25_01_3975.jpg', '/home/pi/Desktop/images/10072025/13/21/image_10072025_13_21_01_3542.jpg', '/home/pi/Desktop/images/10072025/13/20/image_10072025_13_20_01_8636.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/13/28/image_10072025_13_28_02_0680.jpg
/home/pi/Desktop/images/10072025/13/27/image_10072025_13_27_01_4541.jpg
/home/pi/Desktop/images/10072025/13/26/image_10072025_13_26_01_8214.jpg
/home/pi/Desktop/images/10072025/13/25/image_10072025_13_25_01_3975.jpg
/home/pi/Desktop/images/10072025/13/21/image_10072025_13_21_01_3542.jpg
/home/pi/Desktop/images/10072025/13/20/image_10072025_13_20_01_8636.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371671155","1371671128","1371671209","1371671136","1371671264","1371671144"],"photo_ids_order":["1371671128","1371671136","1371671144","1371671155","1371671209","1371671264"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/44dfb54e865951354bcb07732796c23f.jpg","text":"TemporaryFile(/tmp/multipartBody8556127097315758764asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752262088586,"filename":"image_10072025_13_25_01_3975.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/3930c065f336b28d6fa77f277a7c1adc.jpg","text":"TemporaryFile(/tmp/multipartBody6237577985908728187asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752262088586,"filename":"image_10072025_13_28_02_0680.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/4cbde943b30416236b241450f872567e.jpg","text":"TemporaryFile(/tmp/multipartBody1010577432186785695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752262088586,"filename":"image_10072025_13_21_01_3542.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/81394244da0a249492ba7d292474b8b7.jpg","text":"TemporaryFile(/tmp/multipartBody3228976755270483262asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752262088586,"filename":"image_10072025_13_27_01_4541.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/ff1ff698ea22b3a0d854face960d569c.jpg","text":"TemporaryFile(/tmp/multipartBody4162591786243270904asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752262088586,"filename":"image_10072025_13_20_01_8636.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/46988579dd131f2f6447ad648480cdef.jpg","text":"TemporaryFile(/tmp/multipartBody468002605198966040asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752262088586,"filename":"image_10072025_13_26_01_8214.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371671144","file1":"1371671136","file0":"1371671128","file4":"1371671209","file5":"1371671264","file3":"1371671155"},"map_files_photo_id_array":[{"photo_id":"1371671264","filename":"file5"},{"photo_id":"1371671144","filename":"file2"},{"photo_id":"1371671209","filename":"file4"},{"photo_id":"1371671136","filename":"file1"},{"photo_id":"1371671128","filename":"file0"},{"photo_id":"1371671155","filename":"file3"}],"portfolio_id":24773944,"hashtag_by_photo_ids":[{"1371671155":["hashtag1","hashtag2"]},{"1371671128":["hashtag1","hashtag2"]},{"1371671209":["hashtag1","hashtag2"]},{"1371671136":["hashtag1","hashtag2"]},{"1371671264":["hashtag1","hashtag2"]},{"1371671144":["hashtag1","hashtag2"]}],"comms":"Portfolio 24773944 used, photo_id : ArrayBuffer(1371671155, 1371671128, 1371671209, 1371671136, 1371671264, 1371671144)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 62.3774037361145 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 21:29:03.899949
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/13/17/image_10072025_13_17_02_0820.jpg', 2), ('/home/pi/Desktop/images/10072025/13/16/image_10072025_13_16_01_3625.jpg', 2), ('/home/pi/Desktop/images/10072025/13/15/image_10072025_13_15_01_9662.jpg', 2), ('/home/pi/Desktop/images/10072025/13/14/image_10072025_13_14_02_0631.jpg', 2), ('/home/pi/Desktop/images/10072025/13/13/image_10072025_13_13_02_1842.jpg', 2), ('/home/pi/Desktop/images/10072025/13/12/image_10072025_13_12_02_0483.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/13/17/image_10072025_13_17_02_0820.jpg', '/home/pi/Desktop/images/10072025/13/16/image_10072025_13_16_01_3625.jpg', '/home/pi/Desktop/images/10072025/13/15/image_10072025_13_15_01_9662.jpg', '/home/pi/Desktop/images/10072025/13/14/image_10072025_13_14_02_0631.jpg', '/home/pi/Desktop/images/10072025/13/13/image_10072025_13_13_02_1842.jpg', '/home/pi/Desktop/images/10072025/13/12/image_10072025_13_12_02_0483.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/13/17/image_10072025_13_17_02_0820.jpg
/home/pi/Desktop/images/10072025/13/16/image_10072025_13_16_01_3625.jpg
/home/pi/Desktop/images/10072025/13/15/image_10072025_13_15_01_9662.jpg
/home/pi/Desktop/images/10072025/13/14/image_10072025_13_14_02_0631.jpg
/home/pi/Desktop/images/10072025/13/13/image_10072025_13_13_02_1842.jpg
/home/pi/Desktop/images/10072025/13/12/image_10072025_13_12_02_0483.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371671475","1371671556","1371671565","1371671532","1371671486","1371671516"],"photo_ids_order":["1371671475","1371671486","1371671516","1371671532","1371671556","1371671565"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/c094425b7271f16db8b3d09d4db0c5e6.jpg","text":"TemporaryFile(/tmp/multipartBody7799050135191521695asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752262208498,"filename":"image_10072025_13_17_02_0820.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/0a6455243924c5e847cedc735c94fc25.jpg","text":"TemporaryFile(/tmp/multipartBody4373606989731619544asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752262208498,"filename":"image_10072025_13_13_02_1842.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/b929348928fd94115e9f3771fbf033b3.jpg","text":"TemporaryFile(/tmp/multipartBody7531428621221526536asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752262208498,"filename":"image_10072025_13_12_02_0483.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/703610454b47700ecbf2c34bee020630.jpg","text":"TemporaryFile(/tmp/multipartBody8162964777895193905asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752262208498,"filename":"image_10072025_13_14_02_0631.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/87e4589bac0e7040ab0f1ad7236d74ac.jpg","text":"TemporaryFile(/tmp/multipartBody4255607294226592768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752262208498,"filename":"image_10072025_13_16_01_3625.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/6fb50483dff5f121deb5ba9ce4eb530f.jpg","text":"TemporaryFile(/tmp/multipartBody3747404466801007816asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752262208498,"filename":"image_10072025_13_15_01_9662.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371671516","file1":"1371671486","file0":"1371671475","file4":"1371671556","file5":"1371671565","file3":"1371671532"},"map_files_photo_id_array":[{"photo_id":"1371671565","filename":"file5"},{"photo_id":"1371671516","filename":"file2"},{"photo_id":"1371671556","filename":"file4"},{"photo_id":"1371671486","filename":"file1"},{"photo_id":"1371671475","filename":"file0"},{"photo_id":"1371671532","filename":"file3"}],"portfolio_id":24773944,"hashtag_by_photo_ids":[{"1371671475":["hashtag1","hashtag2"]},{"1371671556":["hashtag1","hashtag2"]},{"1371671565":["hashtag1","hashtag2"]},{"1371671532":["hashtag1","hashtag2"]},{"1371671486":["hashtag1","hashtag2"]},{"1371671516":["hashtag1","hashtag2"]}],"comms":"Portfolio 24773944 used, photo_id : ArrayBuffer(1371671475, 1371671556, 1371671565, 1371671532, 1371671486, 1371671516)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 61.8662486076355 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 21:31:03.955823
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/13/06/image_10072025_13_06_01_7971.jpg', 2), ('/home/pi/Desktop/images/10072025/12/58/image_10072025_12_58_01_5338.jpg', 2), ('/home/pi/Desktop/images/10072025/12/56/image_10072025_12_56_01_7035.jpg', 2), ('/home/pi/Desktop/images/10072025/12/55/image_10072025_12_55_01_8928.jpg', 2), ('/home/pi/Desktop/images/10072025/12/54/image_10072025_12_54_01_3607.jpg', 2), ('/home/pi/Desktop/images/10072025/12/53/image_10072025_12_53_02_2114.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/13/06/image_10072025_13_06_01_7971.jpg', '/home/pi/Desktop/images/10072025/12/58/image_10072025_12_58_01_5338.jpg', '/home/pi/Desktop/images/10072025/12/56/image_10072025_12_56_01_7035.jpg', '/home/pi/Desktop/images/10072025/12/55/image_10072025_12_55_01_8928.jpg', '/home/pi/Desktop/images/10072025/12/54/image_10072025_12_54_01_3607.jpg', '/home/pi/Desktop/images/10072025/12/53/image_10072025_12_53_02_2114.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/13/06/image_10072025_13_06_01_7971.jpg
/home/pi/Desktop/images/10072025/12/58/image_10072025_12_58_01_5338.jpg
/home/pi/Desktop/images/10072025/12/56/image_10072025_12_56_01_7035.jpg
/home/pi/Desktop/images/10072025/12/55/image_10072025_12_55_01_8928.jpg
/home/pi/Desktop/images/10072025/12/54/image_10072025_12_54_01_3607.jpg
/home/pi/Desktop/images/10072025/12/53/image_10072025_12_53_02_2114.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371672118","1371671941","1371671886","1371672000","1371672056","1371672172"],"photo_ids_order":["1371671886","1371671941","1371672000","1371672056","1371672118","1371672172"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/8c178037381388aa5f90940920403a80.jpg","text":"TemporaryFile(/tmp/multipartBody4999488366082192851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752262328810,"filename":"image_10072025_12_54_01_3607.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/5ad019d533eb55aeab98279935ed5e49.jpg","text":"TemporaryFile(/tmp/multipartBody4099014651819591277asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752262328810,"filename":"image_10072025_12_58_01_5338.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/9aba5446a5da09494504749a47fd28a7.jpg","text":"TemporaryFile(/tmp/multipartBody746590910760962053asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752262328810,"filename":"image_10072025_13_06_01_7971.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/b465a44995881af33340d11c639d9e9f.jpg","text":"TemporaryFile(/tmp/multipartBody4641220749803127568asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752262328810,"filename":"image_10072025_12_56_01_7035.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/9988f0bc9ae121d6c08f5cf32a2cdede.jpg","text":"TemporaryFile(/tmp/multipartBody8461131587241777260asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752262328810,"filename":"image_10072025_12_55_01_8928.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/950413942a7e66a9f1ad3c4f8c0df3c7.jpg","text":"TemporaryFile(/tmp/multipartBody6123937282554314069asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752262328810,"filename":"image_10072025_12_53_02_2114.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371672000","file1":"1371671941","file0":"1371671886","file4":"1371672118","file5":"1371672172","file3":"1371672056"},"map_files_photo_id_array":[{"photo_id":"1371672172","filename":"file5"},{"photo_id":"1371672000","filename":"file2"},{"photo_id":"1371672118","filename":"file4"},{"photo_id":"1371671941","filename":"file1"},{"photo_id":"1371671886","filename":"file0"},{"photo_id":"1371672056","filename":"file3"}],"portfolio_id":24773944,"hashtag_by_photo_ids":[{"1371672118":["hashtag1","hashtag2"]},{"1371671941":["hashtag1","hashtag2"]},{"1371671886":["hashtag1","hashtag2"]},{"1371672000":["hashtag1","hashtag2"]},{"1371672056":["hashtag1","hashtag2"]},{"1371672172":["hashtag1","hashtag2"]}],"comms":"Portfolio 24773944 used, photo_id : ArrayBuffer(1371672118, 1371671941, 1371671886, 1371672000, 1371672056, 1371672172)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 60.67737889289856 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 21:33:03.901158
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/12/52/image_10072025_12_52_01_7482.jpg', 2), ('/home/pi/Desktop/images/10072025/12/51/image_10072025_12_51_01_8060.jpg', 2), ('/home/pi/Desktop/images/10072025/12/50/image_10072025_12_50_02_1149.jpg', 2), ('/home/pi/Desktop/images/10072025/12/49/image_10072025_12_49_01_3817.jpg', 2), ('/home/pi/Desktop/images/10072025/12/48/image_10072025_12_48_01_6632.jpg', 2), ('/home/pi/Desktop/images/10072025/12/46/image_10072025_12_46_01_3450.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/12/52/image_10072025_12_52_01_7482.jpg', '/home/pi/Desktop/images/10072025/12/51/image_10072025_12_51_01_8060.jpg', '/home/pi/Desktop/images/10072025/12/50/image_10072025_12_50_02_1149.jpg', '/home/pi/Desktop/images/10072025/12/49/image_10072025_12_49_01_3817.jpg', '/home/pi/Desktop/images/10072025/12/48/image_10072025_12_48_01_6632.jpg', '/home/pi/Desktop/images/10072025/12/46/image_10072025_12_46_01_3450.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/12/52/image_10072025_12_52_01_7482.jpg
/home/pi/Desktop/images/10072025/12/51/image_10072025_12_51_01_8060.jpg
/home/pi/Desktop/images/10072025/12/50/image_10072025_12_50_02_1149.jpg
/home/pi/Desktop/images/10072025/12/49/image_10072025_12_49_01_3817.jpg
/home/pi/Desktop/images/10072025/12/48/image_10072025_12_48_01_6632.jpg
/home/pi/Desktop/images/10072025/12/46/image_10072025_12_46_01_3450.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371672657","1371672601","1371672441","1371672490","1371672410","1371672541"],"photo_ids_order":["1371672410","1371672441","1371672490","1371672541","1371672601","1371672657"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/de370db78c6fc93df31f02585cdf363f.jpg","text":"TemporaryFile(/tmp/multipartBody4700441017006761670asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752262448640,"filename":"image_10072025_12_46_01_3450.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/ee3dfb7f0859eeca45da5d038566f2b6.jpg","text":"TemporaryFile(/tmp/multipartBody1279403027347458502asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752262448640,"filename":"image_10072025_12_48_01_6632.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/c633dc148ad6151f91208810c39d3c72.jpg","text":"TemporaryFile(/tmp/multipartBody7525276622650404494asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752262448640,"filename":"image_10072025_12_51_01_8060.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/1746059f38b4dc9f160445bfc9288151.jpg","text":"TemporaryFile(/tmp/multipartBody8553452459771915369asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752262448640,"filename":"image_10072025_12_50_02_1149.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/f65c771f5f744aa8579846043bc10d1c.jpg","text":"TemporaryFile(/tmp/multipartBody125116931821172692asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752262448640,"filename":"image_10072025_12_52_01_7482.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/9b6a447a303afce4c66ffebf4d06cc50.jpg","text":"TemporaryFile(/tmp/multipartBody5379793111219803507asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752262448640,"filename":"image_10072025_12_49_01_3817.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371672490","file1":"1371672441","file0":"1371672410","file4":"1371672601","file5":"1371672657","file3":"1371672541"},"map_files_photo_id_array":[{"photo_id":"1371672657","filename":"file5"},{"photo_id":"1371672490","filename":"file2"},{"photo_id":"1371672601","filename":"file4"},{"photo_id":"1371672441","filename":"file1"},{"photo_id":"1371672410","filename":"file0"},{"photo_id":"1371672541","filename":"file3"}],"portfolio_id":24773944,"hashtag_by_photo_ids":[{"1371672657":["hashtag1","hashtag2"]},{"1371672601":["hashtag1","hashtag2"]},{"1371672441":["hashtag1","hashtag2"]},{"1371672490":["hashtag1","hashtag2"]},{"1371672410":["hashtag1","hashtag2"]},{"1371672541":["hashtag1","hashtag2"]}],"comms":"Portfolio 24773944 used, photo_id : ArrayBuffer(1371672657, 1371672601, 1371672441, 1371672490, 1371672410, 1371672541)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 59.52683925628662 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 21:35:03.358793
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/12/45/image_10072025_12_45_01_2608.jpg', 2), ('/home/pi/Desktop/images/10072025/12/44/image_10072025_12_44_01_4982.jpg', 2), ('/home/pi/Desktop/images/10072025/12/43/image_10072025_12_43_01_8092.jpg', 2), ('/home/pi/Desktop/images/10072025/12/42/image_10072025_12_42_02_1182.jpg', 2), ('/home/pi/Desktop/images/10072025/12/41/image_10072025_12_41_01_2332.jpg', 2), ('/home/pi/Desktop/images/10072025/12/37/image_10072025_12_37_01_6726.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/12/45/image_10072025_12_45_01_2608.jpg', '/home/pi/Desktop/images/10072025/12/44/image_10072025_12_44_01_4982.jpg', '/home/pi/Desktop/images/10072025/12/43/image_10072025_12_43_01_8092.jpg', '/home/pi/Desktop/images/10072025/12/42/image_10072025_12_42_02_1182.jpg', '/home/pi/Desktop/images/10072025/12/41/image_10072025_12_41_01_2332.jpg', '/home/pi/Desktop/images/10072025/12/37/image_10072025_12_37_01_6726.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/12/45/image_10072025_12_45_01_2608.jpg
/home/pi/Desktop/images/10072025/12/44/image_10072025_12_44_01_4982.jpg
/home/pi/Desktop/images/10072025/12/43/image_10072025_12_43_01_8092.jpg
/home/pi/Desktop/images/10072025/12/42/image_10072025_12_42_02_1182.jpg
/home/pi/Desktop/images/10072025/12/41/image_10072025_12_41_01_2332.jpg
/home/pi/Desktop/images/10072025/12/37/image_10072025_12_37_01_6726.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371673046","1371673034","1371673016","1371673007","1371673024","1371673000"],"photo_ids_order":["1371673000","1371673007","1371673016","1371673024","1371673034","1371673046"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/890fcf35022a7522491f8e344614a87d.jpg","text":"TemporaryFile(/tmp/multipartBody196453507170640786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752262567914,"filename":"image_10072025_12_37_01_6726.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/fdc248058ffadbd127d615d89c6e5b3b.jpg","text":"TemporaryFile(/tmp/multipartBody574000561701924959asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752262567914,"filename":"image_10072025_12_41_01_2332.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/5628cac7aec765542480a9fdee516144.jpg","text":"TemporaryFile(/tmp/multipartBody7536979325714195928asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752262567914,"filename":"image_10072025_12_43_01_8092.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/51b95836726f4fab73aebe5d4bb38ce4.jpg","text":"TemporaryFile(/tmp/multipartBody2978209925214182825asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752262567914,"filename":"image_10072025_12_44_01_4982.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/707ee35a461f09dfa163ed90361e7910.jpg","text":"TemporaryFile(/tmp/multipartBody7438395464446177169asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752262567914,"filename":"image_10072025_12_42_02_1182.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/cda3e1c0736aac9b3137293b3022dd0d.jpg","text":"TemporaryFile(/tmp/multipartBody681959074389473447asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752262567914,"filename":"image_10072025_12_45_01_2608.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371673016","file1":"1371673007","file0":"1371673000","file4":"1371673034","file5":"1371673046","file3":"1371673024"},"map_files_photo_id_array":[{"photo_id":"1371673046","filename":"file5"},{"photo_id":"1371673016","filename":"file2"},{"photo_id":"1371673034","filename":"file4"},{"photo_id":"1371673007","filename":"file1"},{"photo_id":"1371673000","filename":"file0"},{"photo_id":"1371673024","filename":"file3"}],"portfolio_id":24773944,"hashtag_by_photo_ids":[{"1371673046":["hashtag1","hashtag2"]},{"1371673034":["hashtag1","hashtag2"]},{"1371673016":["hashtag1","hashtag2"]},{"1371673007":["hashtag1","hashtag2"]},{"1371673024":["hashtag1","hashtag2"]},{"1371673000":["hashtag1","hashtag2"]}],"comms":"Portfolio 24773944 used, photo_id : ArrayBuffer(1371673046, 1371673034, 1371673016, 1371673007, 1371673024, 1371673000)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 64.41957926750183 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 21:37:03.598980
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/12/30/image_10072025_12_30_01_2493.jpg', 2), ('/home/pi/Desktop/images/10072025/12/29/image_10072025_12_29_01_6088.jpg', 2), ('/home/pi/Desktop/images/10072025/12/25/image_10072025_12_25_01_7782.jpg', 2), ('/home/pi/Desktop/images/10072025/12/23/image_10072025_12_23_01_5515.jpg', 2), ('/home/pi/Desktop/images/10072025/12/22/image_10072025_12_22_01_4319.jpg', 2), ('/home/pi/Desktop/images/10072025/12/21/image_10072025_12_21_01_7069.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/12/30/image_10072025_12_30_01_2493.jpg', '/home/pi/Desktop/images/10072025/12/29/image_10072025_12_29_01_6088.jpg', '/home/pi/Desktop/images/10072025/12/25/image_10072025_12_25_01_7782.jpg', '/home/pi/Desktop/images/10072025/12/23/image_10072025_12_23_01_5515.jpg', '/home/pi/Desktop/images/10072025/12/22/image_10072025_12_22_01_4319.jpg', '/home/pi/Desktop/images/10072025/12/21/image_10072025_12_21_01_7069.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/12/30/image_10072025_12_30_01_2493.jpg
/home/pi/Desktop/images/10072025/12/29/image_10072025_12_29_01_6088.jpg
/home/pi/Desktop/images/10072025/12/25/image_10072025_12_25_01_7782.jpg
/home/pi/Desktop/images/10072025/12/23/image_10072025_12_23_01_5515.jpg
/home/pi/Desktop/images/10072025/12/22/image_10072025_12_22_01_4319.jpg
/home/pi/Desktop/images/10072025/12/21/image_10072025_12_21_01_7069.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371673473","1371673568","1371673576","1371673516","1371673525","1371673497"],"photo_ids_order":["1371673473","1371673497","1371673516","1371673525","1371673568","1371673576"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/85913c248b30701a9410de7760273593.jpg","text":"TemporaryFile(/tmp/multipartBody5313492931034194465asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752262688301,"filename":"image_10072025_12_30_01_2493.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/dfbd62d16e837be4f5b4760848b34421.jpg","text":"TemporaryFile(/tmp/multipartBody7252650950361681633asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752262688301,"filename":"image_10072025_12_22_01_4319.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/e34e91b88e56034dd93bdaf7a63c0275.jpg","text":"TemporaryFile(/tmp/multipartBody3021760823611982216asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752262688301,"filename":"image_10072025_12_21_01_7069.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/861ddbd7704db6b8191c0df91a66015b.jpg","text":"TemporaryFile(/tmp/multipartBody7599409703058430950asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752262688301,"filename":"image_10072025_12_25_01_7782.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/be5ef4514776de875f22cc98b66038c3.jpg","text":"TemporaryFile(/tmp/multipartBody8325770511740678663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752262688301,"filename":"image_10072025_12_23_01_5515.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/5903163d8cbb5626e64828a1b82c157f.jpg","text":"TemporaryFile(/tmp/multipartBody8383350878719099464asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752262688301,"filename":"image_10072025_12_29_01_6088.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371673516","file1":"1371673497","file0":"1371673473","file4":"1371673568","file5":"1371673576","file3":"1371673525"},"map_files_photo_id_array":[{"photo_id":"1371673576","filename":"file5"},{"photo_id":"1371673516","filename":"file2"},{"photo_id":"1371673568","filename":"file4"},{"photo_id":"1371673497","filename":"file1"},{"photo_id":"1371673473","filename":"file0"},{"photo_id":"1371673525","filename":"file3"}],"portfolio_id":24773944,"hashtag_by_photo_ids":[{"1371673473":["hashtag1","hashtag2"]},{"1371673568":["hashtag1","hashtag2"]},{"1371673576":["hashtag1","hashtag2"]},{"1371673516":["hashtag1","hashtag2"]},{"1371673525":["hashtag1","hashtag2"]},{"1371673497":["hashtag1","hashtag2"]}],"comms":"Portfolio 24773944 used, photo_id : ArrayBuffer(1371673473, 1371673568, 1371673576, 1371673516, 1371673525, 1371673497)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.075891971588135 secondes ---
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 21:39:04.031544
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/12/20/image_10072025_12_20_01_8763.jpg', 2), ('/home/pi/Desktop/images/10072025/12/19/image_10072025_12_19_01_8949.jpg', 2), ('/home/pi/Desktop/images/10072025/12/17/image_10072025_12_17_01_5567.jpg', 2), ('/home/pi/Desktop/images/10072025/12/16/image_10072025_12_16_02_1445.jpg', 2), ('/home/pi/Desktop/images/10072025/12/15/image_10072025_12_15_02_3134.jpg', 2), ('/home/pi/Desktop/images/10072025/12/14/image_10072025_12_14_02_2904.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/12/20/image_10072025_12_20_01_8763.jpg', '/home/pi/Desktop/images/10072025/12/19/image_10072025_12_19_01_8949.jpg', '/home/pi/Desktop/images/10072025/12/17/image_10072025_12_17_01_5567.jpg', '/home/pi/Desktop/images/10072025/12/16/image_10072025_12_16_02_1445.jpg', '/home/pi/Desktop/images/10072025/12/15/image_10072025_12_15_02_3134.jpg', '/home/pi/Desktop/images/10072025/12/14/image_10072025_12_14_02_2904.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/12/20/image_10072025_12_20_01_8763.jpg
/home/pi/Desktop/images/10072025/12/19/image_10072025_12_19_01_8949.jpg
/home/pi/Desktop/images/10072025/12/17/image_10072025_12_17_01_5567.jpg
/home/pi/Desktop/images/10072025/12/16/image_10072025_12_16_02_1445.jpg
/home/pi/Desktop/images/10072025/12/15/image_10072025_12_15_02_3134.jpg
/home/pi/Desktop/images/10072025/12/14/image_10072025_12_14_02_2904.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371673671","1371673701","1371673679","1371673742","1371673720","1371673686"],"photo_ids_order":["1371673671","1371673679","1371673686","1371673701","1371673720","1371673742"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/adf90f8d334a89a93c91dfd99269b199.jpg","text":"TemporaryFile(/tmp/multipartBody775907989274113173asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752262808632,"filename":"image_10072025_12_20_01_8763.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/61b1644991b57a3d5764a19366f5e311.jpg","text":"TemporaryFile(/tmp/multipartBody3787913704031282004asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752262808632,"filename":"image_10072025_12_16_02_1445.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/08eb03260dc8deac7ac8f8decf10b64d.jpg","text":"TemporaryFile(/tmp/multipartBody6279558742909205318asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752262808632,"filename":"image_10072025_12_19_01_8949.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/711dd5ec75c48b7715fdc7b72d4c0065.jpg","text":"TemporaryFile(/tmp/multipartBody3973643014073586271asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752262808632,"filename":"image_10072025_12_14_02_2904.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/3e0c07e568c1ba4a333261f496ebb307.jpg","text":"TemporaryFile(/tmp/multipartBody1905270794903722065asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752262808632,"filename":"image_10072025_12_15_02_3134.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/9f29dae63469742f5b69a7db552bb82e.jpg","text":"TemporaryFile(/tmp/multipartBody3993418630968154011asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752262808632,"filename":"image_10072025_12_17_01_5567.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371673686","file1":"1371673679","file0":"1371673671","file4":"1371673720","file5":"1371673742","file3":"1371673701"},"map_files_photo_id_array":[{"photo_id":"1371673742","filename":"file5"},{"photo_id":"1371673686","filename":"file2"},{"photo_id":"1371673720","filename":"file4"},{"photo_id":"1371673679","filename":"file1"},{"photo_id":"1371673671","filename":"file0"},{"photo_id":"1371673701","filename":"file3"}],"portfolio_id":24773944,"hashtag_by_photo_ids":[{"1371673671":["hashtag1","hashtag2"]},{"1371673701":["hashtag1","hashtag2"]},{"1371673679":["hashtag1","hashtag2"]},{"1371673742":["hashtag1","hashtag2"]},{"1371673720":["hashtag1","hashtag2"]},{"1371673686":["hashtag1","hashtag2"]}],"comms":"Portfolio 24773944 used, photo_id : ArrayBuffer(1371673671, 1371673701, 1371673679, 1371673742, 1371673720, 1371673686)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 58.2613959312439 secondes ---
 val : 1 : upload photos already in processing! 
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 21:41:03.672823
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/12/11/image_10072025_12_11_01_7586.jpg', 2), ('/home/pi/Desktop/images/10072025/12/10/image_10072025_12_10_01_8604.jpg', 2), ('/home/pi/Desktop/images/10072025/12/09/image_10072025_12_09_02_1050.jpg', 2), ('/home/pi/Desktop/images/10072025/12/05/image_10072025_12_05_01_3852.jpg', 2), ('/home/pi/Desktop/images/10072025/12/03/image_10072025_12_03_01_7842.jpg', 2), ('/home/pi/Desktop/images/10072025/12/01/image_10072025_12_01_02_1559.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/12/11/image_10072025_12_11_01_7586.jpg', '/home/pi/Desktop/images/10072025/12/10/image_10072025_12_10_01_8604.jpg', '/home/pi/Desktop/images/10072025/12/09/image_10072025_12_09_02_1050.jpg', '/home/pi/Desktop/images/10072025/12/05/image_10072025_12_05_01_3852.jpg', '/home/pi/Desktop/images/10072025/12/03/image_10072025_12_03_01_7842.jpg', '/home/pi/Desktop/images/10072025/12/01/image_10072025_12_01_02_1559.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/12/11/image_10072025_12_11_01_7586.jpg
/home/pi/Desktop/images/10072025/12/10/image_10072025_12_10_01_8604.jpg
/home/pi/Desktop/images/10072025/12/09/image_10072025_12_09_02_1050.jpg
/home/pi/Desktop/images/10072025/12/05/image_10072025_12_05_01_3852.jpg
/home/pi/Desktop/images/10072025/12/03/image_10072025_12_03_01_7842.jpg
/home/pi/Desktop/images/10072025/12/01/image_10072025_12_01_02_1559.jpg
after data_to_send, before sending request
after request
uploaded 0 photos
time to upload: 4.501660108566284 secondes ---
<Response [400]>
b'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n<html><head>\n<title>400 Bad Request</title>\n</head><body>\n<h1>Bad Request</h1>\n<p>Your browser sent a request that this server could not understand.<br />\n</p>\n<hr>\n<address>Apache/2.4.41 (Ubuntu) Server at marlene.fotonower.com Port 443</address>\n</body></html>\n'
400
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 21:42:03.341727
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/12/11/image_10072025_12_11_01_7586.jpg', 2), ('/home/pi/Desktop/images/10072025/12/10/image_10072025_12_10_01_8604.jpg', 2), ('/home/pi/Desktop/images/10072025/12/09/image_10072025_12_09_02_1050.jpg', 2), ('/home/pi/Desktop/images/10072025/12/05/image_10072025_12_05_01_3852.jpg', 2), ('/home/pi/Desktop/images/10072025/12/03/image_10072025_12_03_01_7842.jpg', 2), ('/home/pi/Desktop/images/10072025/12/01/image_10072025_12_01_02_1559.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/12/11/image_10072025_12_11_01_7586.jpg', '/home/pi/Desktop/images/10072025/12/10/image_10072025_12_10_01_8604.jpg', '/home/pi/Desktop/images/10072025/12/09/image_10072025_12_09_02_1050.jpg', '/home/pi/Desktop/images/10072025/12/05/image_10072025_12_05_01_3852.jpg', '/home/pi/Desktop/images/10072025/12/03/image_10072025_12_03_01_7842.jpg', '/home/pi/Desktop/images/10072025/12/01/image_10072025_12_01_02_1559.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/12/11/image_10072025_12_11_01_7586.jpg
/home/pi/Desktop/images/10072025/12/10/image_10072025_12_10_01_8604.jpg
/home/pi/Desktop/images/10072025/12/09/image_10072025_12_09_02_1050.jpg
/home/pi/Desktop/images/10072025/12/05/image_10072025_12_05_01_3852.jpg
/home/pi/Desktop/images/10072025/12/03/image_10072025_12_03_01_7842.jpg
/home/pi/Desktop/images/10072025/12/01/image_10072025_12_01_02_1559.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371673895","1371673916","1371673910","1371673924","1371673933","1371673903"],"photo_ids_order":["1371673895","1371673903","1371673910","1371673916","1371673924","1371673933"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/146c966c4794325b8071056544066c7c.jpg","text":"TemporaryFile(/tmp/multipartBody8674498299025771696asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752262986675,"filename":"image_10072025_12_11_01_7586.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/7f1389cb56cf56b9554c368fab668bcf.jpg","text":"TemporaryFile(/tmp/multipartBody693093214234538698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752262986675,"filename":"image_10072025_12_05_01_3852.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/3f8fd9e46faf381d5cc940b6e27e51eb.jpg","text":"TemporaryFile(/tmp/multipartBody8262529378865655973asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752262986675,"filename":"image_10072025_12_09_02_1050.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/eb1e96908f232fc7f836de75bc5087be.jpg","text":"TemporaryFile(/tmp/multipartBody2390099108446139866asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752262986675,"filename":"image_10072025_12_03_01_7842.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/4700c8969d4f7d849fff9a92282ce55c.jpg","text":"TemporaryFile(/tmp/multipartBody4349555823624771806asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752262986675,"filename":"image_10072025_12_01_02_1559.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/bd2730f29bd7324c16996f5b4becd0ac.jpg","text":"TemporaryFile(/tmp/multipartBody1321018728583336626asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752262986675,"filename":"image_10072025_12_10_01_8604.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371673910","file1":"1371673903","file0":"1371673895","file4":"1371673924","file5":"1371673933","file3":"1371673916"},"map_files_photo_id_array":[{"photo_id":"1371673933","filename":"file5"},{"photo_id":"1371673910","filename":"file2"},{"photo_id":"1371673924","filename":"file4"},{"photo_id":"1371673903","filename":"file1"},{"photo_id":"1371673895","filename":"file0"},{"photo_id":"1371673916","filename":"file3"}],"portfolio_id":24773944,"hashtag_by_photo_ids":[{"1371673895":["hashtag1","hashtag2"]},{"1371673916":["hashtag1","hashtag2"]},{"1371673910":["hashtag1","hashtag2"]},{"1371673924":["hashtag1","hashtag2"]},{"1371673933":["hashtag1","hashtag2"]},{"1371673903":["hashtag1","hashtag2"]}],"comms":"Portfolio 24773944 used, photo_id : ArrayBuffer(1371673895, 1371673916, 1371673910, 1371673924, 1371673933, 1371673903)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 55.94457721710205 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 21:43:03.248979
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/11/57/image_10072025_11_57_01_8711.jpg', 2), ('/home/pi/Desktop/images/10072025/11/54/image_10072025_11_54_02_1101.jpg', 2), ('/home/pi/Desktop/images/10072025/11/48/image_10072025_11_48_01_8461.jpg', 2), ('/home/pi/Desktop/images/10072025/11/44/image_10072025_11_44_02_2519.jpg', 2), ('/home/pi/Desktop/images/10072025/11/41/image_10072025_11_41_02_1245.jpg', 2), ('/home/pi/Desktop/images/10072025/11/39/image_10072025_11_39_01_8261.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/11/57/image_10072025_11_57_01_8711.jpg', '/home/pi/Desktop/images/10072025/11/54/image_10072025_11_54_02_1101.jpg', '/home/pi/Desktop/images/10072025/11/48/image_10072025_11_48_01_8461.jpg', '/home/pi/Desktop/images/10072025/11/44/image_10072025_11_44_02_2519.jpg', '/home/pi/Desktop/images/10072025/11/41/image_10072025_11_41_02_1245.jpg', '/home/pi/Desktop/images/10072025/11/39/image_10072025_11_39_01_8261.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/11/57/image_10072025_11_57_01_8711.jpg
/home/pi/Desktop/images/10072025/11/54/image_10072025_11_54_02_1101.jpg
/home/pi/Desktop/images/10072025/11/48/image_10072025_11_48_01_8461.jpg
/home/pi/Desktop/images/10072025/11/44/image_10072025_11_44_02_2519.jpg
/home/pi/Desktop/images/10072025/11/41/image_10072025_11_41_02_1245.jpg
/home/pi/Desktop/images/10072025/11/39/image_10072025_11_39_01_8261.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371674051","1371673982","1371674105","1371674077","1371674097","1371674085"],"photo_ids_order":["1371673982","1371674051","1371674077","1371674085","1371674097","1371674105"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/ebde547161ec8a544284ca5191815a1f.jpg","text":"TemporaryFile(/tmp/multipartBody4389032856977392353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752263048122,"filename":"image_10072025_11_54_02_1101.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/431981dbf88f17c3e3ac1ade987578e6.jpg","text":"TemporaryFile(/tmp/multipartBody1295395338312285525asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752263048122,"filename":"image_10072025_11_57_01_8711.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/a7f4006fe2b903eb4c466f582173fe61.jpg","text":"TemporaryFile(/tmp/multipartBody8588705190452358201asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752263048122,"filename":"image_10072025_11_39_01_8261.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/7b0af1a0097648466b53078af4f19dd4.jpg","text":"TemporaryFile(/tmp/multipartBody2179202132631558706asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752263048122,"filename":"image_10072025_11_48_01_8461.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/7bb9499a2d43837991050aec2874ce0f.jpg","text":"TemporaryFile(/tmp/multipartBody52007272213828838asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752263048122,"filename":"image_10072025_11_41_02_1245.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/2b156b8353a4f803c91ce3f408446354.jpg","text":"TemporaryFile(/tmp/multipartBody3340927117365655607asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752263048122,"filename":"image_10072025_11_44_02_2519.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371674077","file1":"1371674051","file0":"1371673982","file4":"1371674097","file5":"1371674105","file3":"1371674085"},"map_files_photo_id_array":[{"photo_id":"1371674105","filename":"file5"},{"photo_id":"1371674077","filename":"file2"},{"photo_id":"1371674097","filename":"file4"},{"photo_id":"1371674051","filename":"file1"},{"photo_id":"1371673982","filename":"file0"},{"photo_id":"1371674085","filename":"file3"}],"portfolio_id":24773944,"hashtag_by_photo_ids":[{"1371674051":["hashtag1","hashtag2"]},{"1371673982":["hashtag1","hashtag2"]},{"1371674105":["hashtag1","hashtag2"]},{"1371674077":["hashtag1","hashtag2"]},{"1371674097":["hashtag1","hashtag2"]},{"1371674085":["hashtag1","hashtag2"]}],"comms":"Portfolio 24773944 used, photo_id : ArrayBuffer(1371674051, 1371673982, 1371674105, 1371674077, 1371674097, 1371674085)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 56.40317106246948 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 21:44:02.854788
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/11/38/image_10072025_11_38_01_6522.jpg', 2), ('/home/pi/Desktop/images/10072025/11/37/image_10072025_11_37_01_8016.jpg', 2), ('/home/pi/Desktop/images/10072025/11/36/image_10072025_11_36_02_2394.jpg', 2), ('/home/pi/Desktop/images/10072025/11/35/image_10072025_11_35_01_3730.jpg', 2), ('/home/pi/Desktop/images/10072025/11/33/image_10072025_11_33_01_5804.jpg', 2), ('/home/pi/Desktop/images/10072025/11/32/image_10072025_11_32_01_3623.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/11/38/image_10072025_11_38_01_6522.jpg', '/home/pi/Desktop/images/10072025/11/37/image_10072025_11_37_01_8016.jpg', '/home/pi/Desktop/images/10072025/11/36/image_10072025_11_36_02_2394.jpg', '/home/pi/Desktop/images/10072025/11/35/image_10072025_11_35_01_3730.jpg', '/home/pi/Desktop/images/10072025/11/33/image_10072025_11_33_01_5804.jpg', '/home/pi/Desktop/images/10072025/11/32/image_10072025_11_32_01_3623.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/11/38/image_10072025_11_38_01_6522.jpg
/home/pi/Desktop/images/10072025/11/37/image_10072025_11_37_01_8016.jpg
/home/pi/Desktop/images/10072025/11/36/image_10072025_11_36_02_2394.jpg
/home/pi/Desktop/images/10072025/11/35/image_10072025_11_35_01_3730.jpg
/home/pi/Desktop/images/10072025/11/33/image_10072025_11_33_01_5804.jpg
/home/pi/Desktop/images/10072025/11/32/image_10072025_11_32_01_3623.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371674336","1371674243","1371674219","1371674389","1371674467","1371674259"],"photo_ids_order":["1371674219","1371674243","1371674259","1371674336","1371674389","1371674467"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/7a529ab0c8edb673192fc97153670cd4.jpg","text":"TemporaryFile(/tmp/multipartBody2821913066731933370asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752263107644,"filename":"image_10072025_11_35_01_3730.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/fd928a8def55ce274e281a354c54cbf3.jpg","text":"TemporaryFile(/tmp/multipartBody1057154770886902717asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752263107644,"filename":"image_10072025_11_37_01_8016.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/f6eae308d61d6af9274b60b0fa19acf6.jpg","text":"TemporaryFile(/tmp/multipartBody9131085944177301409asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752263107644,"filename":"image_10072025_11_38_01_6522.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/15852b99d7634c61408a871ccfbfd0c4.jpg","text":"TemporaryFile(/tmp/multipartBody3329539106778579110asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752263107644,"filename":"image_10072025_11_33_01_5804.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/fd69a36a8cdc3ca7f7fb6bcd958213b0.jpg","text":"TemporaryFile(/tmp/multipartBody2183834335863102902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752263107644,"filename":"image_10072025_11_32_01_3623.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/ccf5b1965cb545c88bd09236623a2705.jpg","text":"TemporaryFile(/tmp/multipartBody8069871500227200851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752263107644,"filename":"image_10072025_11_36_02_2394.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371674259","file1":"1371674243","file0":"1371674219","file4":"1371674389","file5":"1371674467","file3":"1371674336"},"map_files_photo_id_array":[{"photo_id":"1371674467","filename":"file5"},{"photo_id":"1371674259","filename":"file2"},{"photo_id":"1371674389","filename":"file4"},{"photo_id":"1371674243","filename":"file1"},{"photo_id":"1371674219","filename":"file0"},{"photo_id":"1371674336","filename":"file3"}],"portfolio_id":24773944,"hashtag_by_photo_ids":[{"1371674336":["hashtag1","hashtag2"]},{"1371674243":["hashtag1","hashtag2"]},{"1371674219":["hashtag1","hashtag2"]},{"1371674389":["hashtag1","hashtag2"]},{"1371674467":["hashtag1","hashtag2"]},{"1371674259":["hashtag1","hashtag2"]}],"comms":"Portfolio 24773944 used, photo_id : ArrayBuffer(1371674336, 1371674243, 1371674219, 1371674389, 1371674467, 1371674259)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 57.833784103393555 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 21:45:03.731854
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/11/31/image_10072025_11_31_01_9139.jpg', 2), ('/home/pi/Desktop/images/10072025/11/30/image_10072025_11_30_01_9875.jpg', 2), ('/home/pi/Desktop/images/10072025/11/29/image_10072025_11_29_01_4480.jpg', 2), ('/home/pi/Desktop/images/10072025/11/28/image_10072025_11_28_01_4816.jpg', 2), ('/home/pi/Desktop/images/10072025/11/27/image_10072025_11_27_01_8260.jpg', 2), ('/home/pi/Desktop/images/10072025/11/26/image_10072025_11_26_01_4640.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/11/31/image_10072025_11_31_01_9139.jpg', '/home/pi/Desktop/images/10072025/11/30/image_10072025_11_30_01_9875.jpg', '/home/pi/Desktop/images/10072025/11/29/image_10072025_11_29_01_4480.jpg', '/home/pi/Desktop/images/10072025/11/28/image_10072025_11_28_01_4816.jpg', '/home/pi/Desktop/images/10072025/11/27/image_10072025_11_27_01_8260.jpg', '/home/pi/Desktop/images/10072025/11/26/image_10072025_11_26_01_4640.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/11/31/image_10072025_11_31_01_9139.jpg
/home/pi/Desktop/images/10072025/11/30/image_10072025_11_30_01_9875.jpg
/home/pi/Desktop/images/10072025/11/29/image_10072025_11_29_01_4480.jpg
/home/pi/Desktop/images/10072025/11/28/image_10072025_11_28_01_4816.jpg
/home/pi/Desktop/images/10072025/11/27/image_10072025_11_27_01_8260.jpg
/home/pi/Desktop/images/10072025/11/26/image_10072025_11_26_01_4640.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371674687","1371674639","1371674714","1371674563","1371674583","1371674701"],"photo_ids_order":["1371674563","1371674583","1371674639","1371674687","1371674701","1371674714"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/37540f4662c9f677fa3da189b79a141c.jpg","text":"TemporaryFile(/tmp/multipartBody6098599544350688114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752263168786,"filename":"image_10072025_11_28_01_4816.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/79d2bae962e56010be3c3eb183abe1ca.jpg","text":"TemporaryFile(/tmp/multipartBody5221827085795545402asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752263168786,"filename":"image_10072025_11_29_01_4480.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/139d728d7b1ad009de05ba52b2f80bd5.jpg","text":"TemporaryFile(/tmp/multipartBody6694858321646464623asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752263168786,"filename":"image_10072025_11_26_01_4640.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/c3abd7c8d4ce4483eb45386f7c0deb3e.jpg","text":"TemporaryFile(/tmp/multipartBody7412769708726903449asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752263168786,"filename":"image_10072025_11_31_01_9139.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/13f8894f66839d8dfca63d0e5f5e2670.jpg","text":"TemporaryFile(/tmp/multipartBody6645718824189810155asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752263168786,"filename":"image_10072025_11_30_01_9875.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/b1e32ac5eb144b5298b865bfa4fe3e14.jpg","text":"TemporaryFile(/tmp/multipartBody7309370069981248562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752263168786,"filename":"image_10072025_11_27_01_8260.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371674639","file1":"1371674583","file0":"1371674563","file4":"1371674701","file5":"1371674714","file3":"1371674687"},"map_files_photo_id_array":[{"photo_id":"1371674714","filename":"file5"},{"photo_id":"1371674639","filename":"file2"},{"photo_id":"1371674701","filename":"file4"},{"photo_id":"1371674583","filename":"file1"},{"photo_id":"1371674563","filename":"file0"},{"photo_id":"1371674687","filename":"file3"}],"portfolio_id":24773944,"hashtag_by_photo_ids":[{"1371674687":["hashtag1","hashtag2"]},{"1371674639":["hashtag1","hashtag2"]},{"1371674714":["hashtag1","hashtag2"]},{"1371674563":["hashtag1","hashtag2"]},{"1371674583":["hashtag1","hashtag2"]},{"1371674701":["hashtag1","hashtag2"]}],"comms":"Portfolio 24773944 used, photo_id : ArrayBuffer(1371674687, 1371674639, 1371674714, 1371674563, 1371674583, 1371674701)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 61.61319351196289 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 21:47:04.390290
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/11/25/image_10072025_11_25_01_6763.jpg', 2), ('/home/pi/Desktop/images/10072025/11/24/image_10072025_11_24_02_0714.jpg', 2), ('/home/pi/Desktop/images/10072025/11/23/image_10072025_11_23_01_2934.jpg', 2), ('/home/pi/Desktop/images/10072025/11/21/image_10072025_11_21_01_3583.jpg', 2), ('/home/pi/Desktop/images/10072025/11/20/image_10072025_11_20_01_6937.jpg', 2), ('/home/pi/Desktop/images/10072025/11/19/image_10072025_11_19_01_9518.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/11/25/image_10072025_11_25_01_6763.jpg', '/home/pi/Desktop/images/10072025/11/24/image_10072025_11_24_02_0714.jpg', '/home/pi/Desktop/images/10072025/11/23/image_10072025_11_23_01_2934.jpg', '/home/pi/Desktop/images/10072025/11/21/image_10072025_11_21_01_3583.jpg', '/home/pi/Desktop/images/10072025/11/20/image_10072025_11_20_01_6937.jpg', '/home/pi/Desktop/images/10072025/11/19/image_10072025_11_19_01_9518.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/11/25/image_10072025_11_25_01_6763.jpg
/home/pi/Desktop/images/10072025/11/24/image_10072025_11_24_02_0714.jpg
/home/pi/Desktop/images/10072025/11/23/image_10072025_11_23_01_2934.jpg
/home/pi/Desktop/images/10072025/11/21/image_10072025_11_21_01_3583.jpg
/home/pi/Desktop/images/10072025/11/20/image_10072025_11_20_01_6937.jpg
/home/pi/Desktop/images/10072025/11/19/image_10072025_11_19_01_9518.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371674838","1371674805","1371674831","1371674815","1371674820","1371674808"],"photo_ids_order":["1371674805","1371674808","1371674815","1371674820","1371674831","1371674838"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/c1fc24ca53b7005caf12afb1bc2810fb.jpg","text":"TemporaryFile(/tmp/multipartBody7428297429937517979asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752263289470,"filename":"image_10072025_11_19_01_9518.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/e657f9621e296de37f75c12a8d27dd5f.jpg","text":"TemporaryFile(/tmp/multipartBody2725964922691966417asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752263289470,"filename":"image_10072025_11_25_01_6763.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/96f6f19e435da10905653e2e6273f180.jpg","text":"TemporaryFile(/tmp/multipartBody3956401572528274413asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752263289470,"filename":"image_10072025_11_20_01_6937.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/54cdf51165cf5ca959f13fec1a88179c.jpg","text":"TemporaryFile(/tmp/multipartBody8958721805253901105asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752263289470,"filename":"image_10072025_11_23_01_2934.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/fc749edc3ebe843928266c3e05aa1508.jpg","text":"TemporaryFile(/tmp/multipartBody7819450423862265912asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752263289470,"filename":"image_10072025_11_21_01_3583.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/606f15ac4dea364d2eb4839f298fa9fd.jpg","text":"TemporaryFile(/tmp/multipartBody6667155835482935095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752263289470,"filename":"image_10072025_11_24_02_0714.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371674815","file1":"1371674808","file0":"1371674805","file4":"1371674831","file5":"1371674838","file3":"1371674820"},"map_files_photo_id_array":[{"photo_id":"1371674838","filename":"file5"},{"photo_id":"1371674815","filename":"file2"},{"photo_id":"1371674831","filename":"file4"},{"photo_id":"1371674808","filename":"file1"},{"photo_id":"1371674805","filename":"file0"},{"photo_id":"1371674820","filename":"file3"}],"portfolio_id":24773944,"hashtag_by_photo_ids":[{"1371674838":["hashtag1","hashtag2"]},{"1371674805":["hashtag1","hashtag2"]},{"1371674831":["hashtag1","hashtag2"]},{"1371674815":["hashtag1","hashtag2"]},{"1371674820":["hashtag1","hashtag2"]},{"1371674808":["hashtag1","hashtag2"]}],"comms":"Portfolio 24773944 used, photo_id : ArrayBuffer(1371674838, 1371674805, 1371674831, 1371674815, 1371674820, 1371674808)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 59.51132917404175 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 21:49:03.569398
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 1 files
1 photos no longer on disk
no photos to upload
time to upload: 0.3178441524505615 secondes ---
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 377, in upload_from_sqlite
    upload_photo_and_update_logs(files, lsr, port_id, datou_current_id, fc, hashtags = hashtags, verbose = verbose, nb_batch= nb_batch,batch_size=limit)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 74, in upload_photo_and_update_logs
    logger.info("no_longer_on_disk_list:",no_longer_on_disk_list)
Message: 'no_longer_on_disk_list:'
Arguments: (['/home/pi/Desktop/images/11072025/21/50/image_11072025_21_50_01_3585.jpg'],)
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/21/50/image_11072025_21_50_01_3585.jpg', 2)]
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 21:50:03.645303
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/11/18/image_10072025_11_18_02_1047.jpg', 2), ('/home/pi/Desktop/images/10072025/11/16/image_10072025_11_16_01_7802.jpg', 2), ('/home/pi/Desktop/images/10072025/11/15/image_10072025_11_15_01_5258.jpg', 2), ('/home/pi/Desktop/images/10072025/11/14/image_10072025_11_14_02_0541.jpg', 2), ('/home/pi/Desktop/images/10072025/11/13/image_10072025_11_13_01_9181.jpg', 2), ('/home/pi/Desktop/images/10072025/11/11/image_10072025_11_11_02_2303.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/11/18/image_10072025_11_18_02_1047.jpg', '/home/pi/Desktop/images/10072025/11/16/image_10072025_11_16_01_7802.jpg', '/home/pi/Desktop/images/10072025/11/15/image_10072025_11_15_01_5258.jpg', '/home/pi/Desktop/images/10072025/11/14/image_10072025_11_14_02_0541.jpg', '/home/pi/Desktop/images/10072025/11/13/image_10072025_11_13_01_9181.jpg', '/home/pi/Desktop/images/10072025/11/11/image_10072025_11_11_02_2303.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/11/18/image_10072025_11_18_02_1047.jpg
/home/pi/Desktop/images/10072025/11/16/image_10072025_11_16_01_7802.jpg
/home/pi/Desktop/images/10072025/11/15/image_10072025_11_15_01_5258.jpg
/home/pi/Desktop/images/10072025/11/14/image_10072025_11_14_02_0541.jpg
/home/pi/Desktop/images/10072025/11/13/image_10072025_11_13_01_9181.jpg
/home/pi/Desktop/images/10072025/11/11/image_10072025_11_11_02_2303.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371675116","1371675038","1371675107","1371675085","1371675042","1371675024"],"photo_ids_order":["1371675024","1371675038","1371675042","1371675085","1371675107","1371675116"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/c50eb910ab081bb30d425016e49139ad.jpg","text":"TemporaryFile(/tmp/multipartBody3117392991624082114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752263468144,"filename":"image_10072025_11_11_02_2303.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/f1336aee6af55f3964c12acf50948019.jpg","text":"TemporaryFile(/tmp/multipartBody1499882237318636741asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752263468144,"filename":"image_10072025_11_16_01_7802.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/c2cf8960ef3a1d88835dde35003b916d.jpg","text":"TemporaryFile(/tmp/multipartBody1660638990127422057asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752263468144,"filename":"image_10072025_11_13_01_9181.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/958769a36227ca151bc1561c17c9edea.jpg","text":"TemporaryFile(/tmp/multipartBody6855503882279534319asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752263468144,"filename":"image_10072025_11_14_02_0541.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/8c8c76a30b780e59a1a9f34032d357cb.jpg","text":"TemporaryFile(/tmp/multipartBody5620615793124820130asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752263468144,"filename":"image_10072025_11_15_01_5258.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/9159cf001169445cda0edaba622100d2.jpg","text":"TemporaryFile(/tmp/multipartBody4005442382567045114asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752263468144,"filename":"image_10072025_11_18_02_1047.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371675042","file1":"1371675038","file0":"1371675024","file4":"1371675107","file5":"1371675116","file3":"1371675085"},"map_files_photo_id_array":[{"photo_id":"1371675116","filename":"file5"},{"photo_id":"1371675042","filename":"file2"},{"photo_id":"1371675107","filename":"file4"},{"photo_id":"1371675038","filename":"file1"},{"photo_id":"1371675024","filename":"file0"},{"photo_id":"1371675085","filename":"file3"}],"portfolio_id":24773944,"hashtag_by_photo_ids":[{"1371675116":["hashtag1","hashtag2"]},{"1371675038":["hashtag1","hashtag2"]},{"1371675107":["hashtag1","hashtag2"]},{"1371675085":["hashtag1","hashtag2"]},{"1371675042":["hashtag1","hashtag2"]},{"1371675024":["hashtag1","hashtag2"]}],"comms":"Portfolio 24773944 used, photo_id : ArrayBuffer(1371675116, 1371675038, 1371675107, 1371675085, 1371675042, 1371675024)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 72.22029066085815 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 21:52:02.929717
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/11/10/image_10072025_11_10_01_6008.jpg', 2), ('/home/pi/Desktop/images/10072025/11/09/image_10072025_11_09_01_5094.jpg', 2), ('/home/pi/Desktop/images/10072025/11/08/image_10072025_11_08_01_8161.jpg', 2), ('/home/pi/Desktop/images/10072025/11/07/image_10072025_11_07_01_6152.jpg', 2), ('/home/pi/Desktop/images/10072025/11/06/image_10072025_11_06_01_5647.jpg', 2), ('/home/pi/Desktop/images/10072025/11/05/image_10072025_11_05_01_8010.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/11/10/image_10072025_11_10_01_6008.jpg', '/home/pi/Desktop/images/10072025/11/09/image_10072025_11_09_01_5094.jpg', '/home/pi/Desktop/images/10072025/11/08/image_10072025_11_08_01_8161.jpg', '/home/pi/Desktop/images/10072025/11/07/image_10072025_11_07_01_6152.jpg', '/home/pi/Desktop/images/10072025/11/06/image_10072025_11_06_01_5647.jpg', '/home/pi/Desktop/images/10072025/11/05/image_10072025_11_05_01_8010.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/11/10/image_10072025_11_10_01_6008.jpg
/home/pi/Desktop/images/10072025/11/09/image_10072025_11_09_01_5094.jpg
/home/pi/Desktop/images/10072025/11/08/image_10072025_11_08_01_8161.jpg
/home/pi/Desktop/images/10072025/11/07/image_10072025_11_07_01_6152.jpg
/home/pi/Desktop/images/10072025/11/06/image_10072025_11_06_01_5647.jpg
/home/pi/Desktop/images/10072025/11/05/image_10072025_11_05_01_8010.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371675242","1371675262","1371675253","1371675232","1371675226","1371675270"],"photo_ids_order":["1371675226","1371675232","1371675242","1371675253","1371675262","1371675270"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/a9c73f2f9d7f9560b54d919b9227f930.jpg","text":"TemporaryFile(/tmp/multipartBody5660239598024045460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752263587504,"filename":"image_10072025_11_08_01_8161.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/15468296e58fdf65ca9f6a0b59baa1ff.jpg","text":"TemporaryFile(/tmp/multipartBody1669550566023341567asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752263587504,"filename":"image_10072025_11_06_01_5647.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/9cd6c2a2199a4006e66e9a8c9dfae5a8.jpg","text":"TemporaryFile(/tmp/multipartBody7497824264375163698asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752263587504,"filename":"image_10072025_11_07_01_6152.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/1105279f2f83b0db08b4d3e3bebe1f8d.jpg","text":"TemporaryFile(/tmp/multipartBody8368403670002830835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752263587504,"filename":"image_10072025_11_09_01_5094.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/72ad36246180b74336d7dcbac5a0dbec.jpg","text":"TemporaryFile(/tmp/multipartBody7952313906680619052asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752263587504,"filename":"image_10072025_11_10_01_6008.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/b9c3cd807b39b06e6a309a598bf44bbb.jpg","text":"TemporaryFile(/tmp/multipartBody419253212838735699asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752263587504,"filename":"image_10072025_11_05_01_8010.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371675242","file1":"1371675232","file0":"1371675226","file4":"1371675262","file5":"1371675270","file3":"1371675253"},"map_files_photo_id_array":[{"photo_id":"1371675270","filename":"file5"},{"photo_id":"1371675242","filename":"file2"},{"photo_id":"1371675262","filename":"file4"},{"photo_id":"1371675232","filename":"file1"},{"photo_id":"1371675226","filename":"file0"},{"photo_id":"1371675253","filename":"file3"}],"portfolio_id":24773944,"hashtag_by_photo_ids":[{"1371675242":["hashtag1","hashtag2"]},{"1371675262":["hashtag1","hashtag2"]},{"1371675253":["hashtag1","hashtag2"]},{"1371675232":["hashtag1","hashtag2"]},{"1371675226":["hashtag1","hashtag2"]},{"1371675270":["hashtag1","hashtag2"]}],"comms":"Portfolio 24773944 used, photo_id : ArrayBuffer(1371675242, 1371675262, 1371675253, 1371675232, 1371675226, 1371675270)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 61.006940603256226 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 21:54:03.236660
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/11/04/image_10072025_11_04_01_2886.jpg', 2), ('/home/pi/Desktop/images/10072025/11/03/image_10072025_11_03_01_8784.jpg', 2), ('/home/pi/Desktop/images/10072025/11/02/image_10072025_11_02_02_0681.jpg', 2), ('/home/pi/Desktop/images/10072025/11/01/image_10072025_11_01_01_4633.jpg', 2), ('/home/pi/Desktop/images/10072025/11/00/image_10072025_11_00_01_5802.jpg', 2), ('/home/pi/Desktop/images/10072025/10/59/image_10072025_10_59_02_2624.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/11/04/image_10072025_11_04_01_2886.jpg', '/home/pi/Desktop/images/10072025/11/03/image_10072025_11_03_01_8784.jpg', '/home/pi/Desktop/images/10072025/11/02/image_10072025_11_02_02_0681.jpg', '/home/pi/Desktop/images/10072025/11/01/image_10072025_11_01_01_4633.jpg', '/home/pi/Desktop/images/10072025/11/00/image_10072025_11_00_01_5802.jpg', '/home/pi/Desktop/images/10072025/10/59/image_10072025_10_59_02_2624.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/11/04/image_10072025_11_04_01_2886.jpg
/home/pi/Desktop/images/10072025/11/03/image_10072025_11_03_01_8784.jpg
/home/pi/Desktop/images/10072025/11/02/image_10072025_11_02_02_0681.jpg
/home/pi/Desktop/images/10072025/11/01/image_10072025_11_01_01_4633.jpg
/home/pi/Desktop/images/10072025/11/00/image_10072025_11_00_01_5802.jpg
/home/pi/Desktop/images/10072025/10/59/image_10072025_10_59_02_2624.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371675368","1371675355","1371675352","1371675433","1371675360","1371675504"],"photo_ids_order":["1371675352","1371675355","1371675360","1371675368","1371675433","1371675504"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/42d76e17de73fd2d7074e940f446107a.jpg","text":"TemporaryFile(/tmp/multipartBody7345240367621398460asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752263708096,"filename":"image_10072025_11_01_01_4633.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/fdfff04caf6470ae21359c6295546fc6.jpg","text":"TemporaryFile(/tmp/multipartBody6101955682964571640asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752263708096,"filename":"image_10072025_11_03_01_8784.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/3d3464691c5a208517725f7d1cd3d07c.jpg","text":"TemporaryFile(/tmp/multipartBody8237310249390543007asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752263708096,"filename":"image_10072025_11_04_01_2886.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/43793ccbd86408d13a357b3c1e3f4864.jpg","text":"TemporaryFile(/tmp/multipartBody7118511048640652835asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752263708096,"filename":"image_10072025_11_00_01_5802.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/8f9d2565b738c9bb0b6a4bc095a88514.jpg","text":"TemporaryFile(/tmp/multipartBody5922972710324165353asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752263708096,"filename":"image_10072025_11_02_02_0681.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/d8ae7b04c08bb6a437e937d05f54a42e.jpg","text":"TemporaryFile(/tmp/multipartBody5261429706854594095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752263708096,"filename":"image_10072025_10_59_02_2624.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371675360","file1":"1371675355","file0":"1371675352","file4":"1371675433","file5":"1371675504","file3":"1371675368"},"map_files_photo_id_array":[{"photo_id":"1371675504","filename":"file5"},{"photo_id":"1371675360","filename":"file2"},{"photo_id":"1371675433","filename":"file4"},{"photo_id":"1371675355","filename":"file1"},{"photo_id":"1371675352","filename":"file0"},{"photo_id":"1371675368","filename":"file3"}],"portfolio_id":24773944,"hashtag_by_photo_ids":[{"1371675368":["hashtag1","hashtag2"]},{"1371675355":["hashtag1","hashtag2"]},{"1371675352":["hashtag1","hashtag2"]},{"1371675433":["hashtag1","hashtag2"]},{"1371675360":["hashtag1","hashtag2"]},{"1371675504":["hashtag1","hashtag2"]}],"comms":"Portfolio 24773944 used, photo_id : ArrayBuffer(1371675368, 1371675355, 1371675352, 1371675433, 1371675360, 1371675504)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 64.22725677490234 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 21:56:03.149760
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/10/58/image_10072025_10_58_01_8708.jpg', 2), ('/home/pi/Desktop/images/10072025/10/57/image_10072025_10_57_01_5918.jpg', 2), ('/home/pi/Desktop/images/10072025/10/56/image_10072025_10_56_01_5942.jpg', 2), ('/home/pi/Desktop/images/10072025/10/55/image_10072025_10_55_02_0661.jpg', 2), ('/home/pi/Desktop/images/10072025/10/54/image_10072025_10_54_02_2107.jpg', 2), ('/home/pi/Desktop/images/10072025/10/52/image_10072025_10_52_02_0929.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/10/58/image_10072025_10_58_01_8708.jpg', '/home/pi/Desktop/images/10072025/10/57/image_10072025_10_57_01_5918.jpg', '/home/pi/Desktop/images/10072025/10/56/image_10072025_10_56_01_5942.jpg', '/home/pi/Desktop/images/10072025/10/55/image_10072025_10_55_02_0661.jpg', '/home/pi/Desktop/images/10072025/10/54/image_10072025_10_54_02_2107.jpg', '/home/pi/Desktop/images/10072025/10/52/image_10072025_10_52_02_0929.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/10/58/image_10072025_10_58_01_8708.jpg
/home/pi/Desktop/images/10072025/10/57/image_10072025_10_57_01_5918.jpg
/home/pi/Desktop/images/10072025/10/56/image_10072025_10_56_01_5942.jpg
/home/pi/Desktop/images/10072025/10/55/image_10072025_10_55_02_0661.jpg
/home/pi/Desktop/images/10072025/10/54/image_10072025_10_54_02_2107.jpg
/home/pi/Desktop/images/10072025/10/52/image_10072025_10_52_02_0929.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371676217","1371676103","1371676162","1371676266","1371676056","1371676277"],"photo_ids_order":["1371676056","1371676103","1371676162","1371676217","1371676266","1371676277"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/830a2eb614dfe7d5cbaef321db9d1781.jpg","text":"TemporaryFile(/tmp/multipartBody8391658373836919675asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752263827787,"filename":"image_10072025_10_55_02_0661.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/cc105c3c92906ab94aa08ef8fe6af5c1.jpg","text":"TemporaryFile(/tmp/multipartBody1388058984069859025asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752263827787,"filename":"image_10072025_10_57_01_5918.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/252205d502acf9fdf3f69c3974cad1c0.jpg","text":"TemporaryFile(/tmp/multipartBody6658245715990645242asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752263827787,"filename":"image_10072025_10_56_01_5942.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/6f7d918c8db19f7b0c37a9f2927e1c3c.jpg","text":"TemporaryFile(/tmp/multipartBody1356969771918366548asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752263827787,"filename":"image_10072025_10_54_02_2107.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/31d41852543ed2e4fc185d22fb29ec35.jpg","text":"TemporaryFile(/tmp/multipartBody8775273360927608165asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752263827787,"filename":"image_10072025_10_58_01_8708.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/1861d6c064a43d109596e3de781890a9.jpg","text":"TemporaryFile(/tmp/multipartBody298439379670833902asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752263827787,"filename":"image_10072025_10_52_02_0929.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371676162","file1":"1371676103","file0":"1371676056","file4":"1371676266","file5":"1371676277","file3":"1371676217"},"map_files_photo_id_array":[{"photo_id":"1371676277","filename":"file5"},{"photo_id":"1371676162","filename":"file2"},{"photo_id":"1371676266","filename":"file4"},{"photo_id":"1371676103","filename":"file1"},{"photo_id":"1371676056","filename":"file0"},{"photo_id":"1371676217","filename":"file3"}],"portfolio_id":24773944,"hashtag_by_photo_ids":[{"1371676217":["hashtag1","hashtag2"]},{"1371676103":["hashtag1","hashtag2"]},{"1371676162":["hashtag1","hashtag2"]},{"1371676266":["hashtag1","hashtag2"]},{"1371676056":["hashtag1","hashtag2"]},{"1371676277":["hashtag1","hashtag2"]}],"comms":"Portfolio 24773944 used, photo_id : ArrayBuffer(1371676217, 1371676103, 1371676162, 1371676266, 1371676056, 1371676277)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 59.54919195175171 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 21:59:03.742296
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/10/51/image_10072025_10_51_01_6465.jpg', 2), ('/home/pi/Desktop/images/10072025/10/48/image_10072025_10_48_01_2701.jpg', 2), ('/home/pi/Desktop/images/10072025/10/47/image_10072025_10_47_02_1830.jpg', 2), ('/home/pi/Desktop/images/10072025/10/46/image_10072025_10_46_01_8957.jpg', 2), ('/home/pi/Desktop/images/10072025/10/45/image_10072025_10_45_02_0850.jpg', 2), ('/home/pi/Desktop/images/10072025/10/44/image_10072025_10_44_01_8795.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/10/51/image_10072025_10_51_01_6465.jpg', '/home/pi/Desktop/images/10072025/10/48/image_10072025_10_48_01_2701.jpg', '/home/pi/Desktop/images/10072025/10/47/image_10072025_10_47_02_1830.jpg', '/home/pi/Desktop/images/10072025/10/46/image_10072025_10_46_01_8957.jpg', '/home/pi/Desktop/images/10072025/10/45/image_10072025_10_45_02_0850.jpg', '/home/pi/Desktop/images/10072025/10/44/image_10072025_10_44_01_8795.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/10/51/image_10072025_10_51_01_6465.jpg
/home/pi/Desktop/images/10072025/10/48/image_10072025_10_48_01_2701.jpg
/home/pi/Desktop/images/10072025/10/47/image_10072025_10_47_02_1830.jpg
/home/pi/Desktop/images/10072025/10/46/image_10072025_10_46_01_8957.jpg
/home/pi/Desktop/images/10072025/10/45/image_10072025_10_45_02_0850.jpg
/home/pi/Desktop/images/10072025/10/44/image_10072025_10_44_01_8795.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371677479","1371677350","1371677361","1371677337","1371677366","1371677411"],"photo_ids_order":["1371677337","1371677350","1371677361","1371677366","1371677411","1371677479"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/9739a6b1beb6635234cb51fd93dc9e36.jpg","text":"TemporaryFile(/tmp/multipartBody4049733310791825037asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752264008462,"filename":"image_10072025_10_44_01_8795.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/01e3c7bf8e36bbbffde485947c0b54c2.jpg","text":"TemporaryFile(/tmp/multipartBody3749387490605869807asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752264008462,"filename":"image_10072025_10_48_01_2701.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/ea459bddc653ebd99c8e40c248f79596.jpg","text":"TemporaryFile(/tmp/multipartBody768437072213228292asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752264008462,"filename":"image_10072025_10_47_02_1830.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/004019579257cdc526008defd8cc2986.jpg","text":"TemporaryFile(/tmp/multipartBody7192606147195222563asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752264008462,"filename":"image_10072025_10_51_01_6465.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/bf65e6eda862449a3e86ee6aed1cde18.jpg","text":"TemporaryFile(/tmp/multipartBody6471500389931341969asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752264008462,"filename":"image_10072025_10_46_01_8957.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/841f26d48a9424fd7ff71e1969f1a3ae.jpg","text":"TemporaryFile(/tmp/multipartBody6793900540721426184asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752264008462,"filename":"image_10072025_10_45_02_0850.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371677361","file1":"1371677350","file0":"1371677337","file4":"1371677411","file5":"1371677479","file3":"1371677366"},"map_files_photo_id_array":[{"photo_id":"1371677479","filename":"file5"},{"photo_id":"1371677361","filename":"file2"},{"photo_id":"1371677411","filename":"file4"},{"photo_id":"1371677350","filename":"file1"},{"photo_id":"1371677337","filename":"file0"},{"photo_id":"1371677366","filename":"file3"}],"portfolio_id":24773944,"hashtag_by_photo_ids":[{"1371677479":["hashtag1","hashtag2"]},{"1371677350":["hashtag1","hashtag2"]},{"1371677361":["hashtag1","hashtag2"]},{"1371677337":["hashtag1","hashtag2"]},{"1371677366":["hashtag1","hashtag2"]},{"1371677411":["hashtag1","hashtag2"]}],"comms":"Portfolio 24773944 used, photo_id : ArrayBuffer(1371677479, 1371677350, 1371677361, 1371677337, 1371677366, 1371677411)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 64.41498017311096 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 22:01:04.110403
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/10/43/image_10072025_10_43_01_8222.jpg', 2), ('/home/pi/Desktop/images/10072025/10/42/image_10072025_10_42_01_4043.jpg', 2), ('/home/pi/Desktop/images/10072025/10/41/image_10072025_10_41_01_5922.jpg', 2), ('/home/pi/Desktop/images/10072025/10/40/image_10072025_10_40_01_3998.jpg', 2), ('/home/pi/Desktop/images/10072025/10/39/image_10072025_10_39_01_7433.jpg', 2), ('/home/pi/Desktop/images/10072025/10/38/image_10072025_10_38_01_5685.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/10/43/image_10072025_10_43_01_8222.jpg', '/home/pi/Desktop/images/10072025/10/42/image_10072025_10_42_01_4043.jpg', '/home/pi/Desktop/images/10072025/10/41/image_10072025_10_41_01_5922.jpg', '/home/pi/Desktop/images/10072025/10/40/image_10072025_10_40_01_3998.jpg', '/home/pi/Desktop/images/10072025/10/39/image_10072025_10_39_01_7433.jpg', '/home/pi/Desktop/images/10072025/10/38/image_10072025_10_38_01_5685.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/10/43/image_10072025_10_43_01_8222.jpg
/home/pi/Desktop/images/10072025/10/42/image_10072025_10_42_01_4043.jpg
/home/pi/Desktop/images/10072025/10/41/image_10072025_10_41_01_5922.jpg
/home/pi/Desktop/images/10072025/10/40/image_10072025_10_40_01_3998.jpg
/home/pi/Desktop/images/10072025/10/39/image_10072025_10_39_01_7433.jpg
/home/pi/Desktop/images/10072025/10/38/image_10072025_10_38_01_5685.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371678177","1371678309","1371677859","1371677949","1371678074","1371677804"],"photo_ids_order":["1371677804","1371677859","1371677949","1371678074","1371678177","1371678309"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/a376c5bbf71e7e4b6fd10658d736521e.jpg","text":"TemporaryFile(/tmp/multipartBody9182608500399306459asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752264129149,"filename":"image_10072025_10_39_01_7433.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/142c10aeb53595aa6e2499fac11fd653.jpg","text":"TemporaryFile(/tmp/multipartBody7190875131945341111asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752264129149,"filename":"image_10072025_10_38_01_5685.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/52ff60c7529b62a979c9d86172ce4d4f.jpg","text":"TemporaryFile(/tmp/multipartBody180525164969503579asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752264129149,"filename":"image_10072025_10_42_01_4043.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/e4a18a6bab8304bab5e97de4545ea6ff.jpg","text":"TemporaryFile(/tmp/multipartBody5369472344290682512asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752264129149,"filename":"image_10072025_10_41_01_5922.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/c98c65ec0ebc476fc539ce9e0fa947e2.jpg","text":"TemporaryFile(/tmp/multipartBody8992390075315300773asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752264129149,"filename":"image_10072025_10_40_01_3998.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/9b42b7ee7d5c22cb4c4dce773e0df04e.jpg","text":"TemporaryFile(/tmp/multipartBody7834231691514483478asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752264129149,"filename":"image_10072025_10_43_01_8222.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371677949","file1":"1371677859","file0":"1371677804","file4":"1371678177","file5":"1371678309","file3":"1371678074"},"map_files_photo_id_array":[{"photo_id":"1371678309","filename":"file5"},{"photo_id":"1371677949","filename":"file2"},{"photo_id":"1371678177","filename":"file4"},{"photo_id":"1371677859","filename":"file1"},{"photo_id":"1371677804","filename":"file0"},{"photo_id":"1371678074","filename":"file3"}],"portfolio_id":24773944,"hashtag_by_photo_ids":[{"1371678177":["hashtag1","hashtag2"]},{"1371678309":["hashtag1","hashtag2"]},{"1371677859":["hashtag1","hashtag2"]},{"1371677949":["hashtag1","hashtag2"]},{"1371678074":["hashtag1","hashtag2"]},{"1371677804":["hashtag1","hashtag2"]}],"comms":"Portfolio 24773944 used, photo_id : ArrayBuffer(1371678177, 1371678309, 1371677859, 1371677949, 1371678074, 1371677804)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 61.14257001876831 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 22:03:03.537265
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/10/37/image_10072025_10_37_02_1872.jpg', 2), ('/home/pi/Desktop/images/10072025/10/36/image_10072025_10_36_02_0091.jpg', 2), ('/home/pi/Desktop/images/10072025/10/35/image_10072025_10_35_01_6155.jpg', 2), ('/home/pi/Desktop/images/10072025/10/34/image_10072025_10_34_01_8181.jpg', 2), ('/home/pi/Desktop/images/10072025/10/33/image_10072025_10_33_02_0702.jpg', 2), ('/home/pi/Desktop/images/10072025/10/32/image_10072025_10_32_02_0288.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/10/37/image_10072025_10_37_02_1872.jpg', '/home/pi/Desktop/images/10072025/10/36/image_10072025_10_36_02_0091.jpg', '/home/pi/Desktop/images/10072025/10/35/image_10072025_10_35_01_6155.jpg', '/home/pi/Desktop/images/10072025/10/34/image_10072025_10_34_01_8181.jpg', '/home/pi/Desktop/images/10072025/10/33/image_10072025_10_33_02_0702.jpg', '/home/pi/Desktop/images/10072025/10/32/image_10072025_10_32_02_0288.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/10/37/image_10072025_10_37_02_1872.jpg
/home/pi/Desktop/images/10072025/10/36/image_10072025_10_36_02_0091.jpg
/home/pi/Desktop/images/10072025/10/35/image_10072025_10_35_01_6155.jpg
/home/pi/Desktop/images/10072025/10/34/image_10072025_10_34_01_8181.jpg
/home/pi/Desktop/images/10072025/10/33/image_10072025_10_33_02_0702.jpg
/home/pi/Desktop/images/10072025/10/32/image_10072025_10_32_02_0288.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371679365","1371680460","1371679931","1371679727","1371679520","1371680189"],"photo_ids_order":["1371679365","1371679520","1371679727","1371679931","1371680189","1371680460"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/6e2cdc7b3646110537eb07ab1903f3ae.jpg","text":"TemporaryFile(/tmp/multipartBody9073312333029555851asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752264248115,"filename":"image_10072025_10_37_02_1872.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/ba0ca87e766e86777b7ca14b73a116fc.jpg","text":"TemporaryFile(/tmp/multipartBody8717127011500134731asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752264248115,"filename":"image_10072025_10_32_02_0288.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/a9323c093734a8afce3b2e2003adfb61.jpg","text":"TemporaryFile(/tmp/multipartBody8907445611775232076asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752264248115,"filename":"image_10072025_10_34_01_8181.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/961ee1956eff4afa213dd0a54d47d6c2.jpg","text":"TemporaryFile(/tmp/multipartBody7965604975858849531asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752264248115,"filename":"image_10072025_10_35_01_6155.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/4c427da9b4a3e2d892bc02fa9586f9dc.jpg","text":"TemporaryFile(/tmp/multipartBody8279110779425385658asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752264248115,"filename":"image_10072025_10_36_02_0091.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/b05383ec8f4936ef2df73cc81c71bc97.jpg","text":"TemporaryFile(/tmp/multipartBody901519404014678283asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752264248115,"filename":"image_10072025_10_33_02_0702.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371679727","file1":"1371679520","file0":"1371679365","file4":"1371680189","file5":"1371680460","file3":"1371679931"},"map_files_photo_id_array":[{"photo_id":"1371680460","filename":"file5"},{"photo_id":"1371679727","filename":"file2"},{"photo_id":"1371680189","filename":"file4"},{"photo_id":"1371679520","filename":"file1"},{"photo_id":"1371679365","filename":"file0"},{"photo_id":"1371679931","filename":"file3"}],"portfolio_id":24773944,"hashtag_by_photo_ids":[{"1371679365":["hashtag1","hashtag2"]},{"1371680460":["hashtag1","hashtag2"]},{"1371679931":["hashtag1","hashtag2"]},{"1371679727":["hashtag1","hashtag2"]},{"1371679520":["hashtag1","hashtag2"]},{"1371680189":["hashtag1","hashtag2"]}],"comms":"Portfolio 24773944 used, photo_id : ArrayBuffer(1371679365, 1371680460, 1371679931, 1371679727, 1371679520, 1371680189)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 62.80263018608093 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 22:05:03.738546
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/10/31/image_10072025_10_31_01_3948.jpg', 2), ('/home/pi/Desktop/images/10072025/10/30/image_10072025_10_30_01_4692.jpg', 2), ('/home/pi/Desktop/images/10072025/10/29/image_10072025_10_29_02_1947.jpg', 2), ('/home/pi/Desktop/images/10072025/10/28/image_10072025_10_28_01_4806.jpg', 2), ('/home/pi/Desktop/images/10072025/10/26/image_10072025_10_26_01_5587.jpg', 2), ('/home/pi/Desktop/images/10072025/10/25/image_10072025_10_25_02_0040.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/10/31/image_10072025_10_31_01_3948.jpg', '/home/pi/Desktop/images/10072025/10/30/image_10072025_10_30_01_4692.jpg', '/home/pi/Desktop/images/10072025/10/29/image_10072025_10_29_02_1947.jpg', '/home/pi/Desktop/images/10072025/10/28/image_10072025_10_28_01_4806.jpg', '/home/pi/Desktop/images/10072025/10/26/image_10072025_10_26_01_5587.jpg', '/home/pi/Desktop/images/10072025/10/25/image_10072025_10_25_02_0040.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/10/31/image_10072025_10_31_01_3948.jpg
/home/pi/Desktop/images/10072025/10/30/image_10072025_10_30_01_4692.jpg
/home/pi/Desktop/images/10072025/10/29/image_10072025_10_29_02_1947.jpg
/home/pi/Desktop/images/10072025/10/28/image_10072025_10_28_01_4806.jpg
/home/pi/Desktop/images/10072025/10/26/image_10072025_10_26_01_5587.jpg
/home/pi/Desktop/images/10072025/10/25/image_10072025_10_25_02_0040.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371682787","1371682588","1371682939","1371682402","1371683100","1371683291"],"photo_ids_order":["1371682402","1371682588","1371682787","1371682939","1371683100","1371683291"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/59842d2ea4bd5cfc16e60e0608b10226.jpg","text":"TemporaryFile(/tmp/multipartBody3047549364379154238asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752264368785,"filename":"image_10072025_10_29_02_1947.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/892266cc53efeb403d8d9e52fd09ff12.jpg","text":"TemporaryFile(/tmp/multipartBody3696434689911272922asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752264368785,"filename":"image_10072025_10_30_01_4692.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/e0a2cd3ec28be4cc6c727f93a03b349a.jpg","text":"TemporaryFile(/tmp/multipartBody3928707640837132562asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752264368785,"filename":"image_10072025_10_28_01_4806.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/88ebb5c1d7f8aaa239fa06873d1a558e.jpg","text":"TemporaryFile(/tmp/multipartBody4167822869832116070asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752264368785,"filename":"image_10072025_10_31_01_3948.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/ae35a557b06a46296b2e06d6a59281b5.jpg","text":"TemporaryFile(/tmp/multipartBody2792261906357059095asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752264368785,"filename":"image_10072025_10_26_01_5587.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/2c7f1e2202dbc1c0de963de640c2f879.jpg","text":"TemporaryFile(/tmp/multipartBody6038504375648663180asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752264368785,"filename":"image_10072025_10_25_02_0040.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371682787","file1":"1371682588","file0":"1371682402","file4":"1371683100","file5":"1371683291","file3":"1371682939"},"map_files_photo_id_array":[{"photo_id":"1371683291","filename":"file5"},{"photo_id":"1371682787","filename":"file2"},{"photo_id":"1371683100","filename":"file4"},{"photo_id":"1371682588","filename":"file1"},{"photo_id":"1371682402","filename":"file0"},{"photo_id":"1371682939","filename":"file3"}],"portfolio_id":24773944,"hashtag_by_photo_ids":[{"1371682787":["hashtag1","hashtag2"]},{"1371682588":["hashtag1","hashtag2"]},{"1371682939":["hashtag1","hashtag2"]},{"1371682402":["hashtag1","hashtag2"]},{"1371683100":["hashtag1","hashtag2"]},{"1371683291":["hashtag1","hashtag2"]}],"comms":"Portfolio 24773944 used, photo_id : ArrayBuffer(1371682787, 1371682588, 1371682939, 1371682402, 1371683100, 1371683291)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 59.98551678657532 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 22:07:03.484750
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/10/23/image_10072025_10_23_02_2284.jpg', 2), ('/home/pi/Desktop/images/10072025/10/21/image_10072025_10_21_01_3372.jpg', 2), ('/home/pi/Desktop/images/10072025/10/20/image_10072025_10_20_01_7663.jpg', 2), ('/home/pi/Desktop/images/10072025/10/19/image_10072025_10_19_01_2834.jpg', 2), ('/home/pi/Desktop/images/10072025/10/18/image_10072025_10_18_01_4659.jpg', 2), ('/home/pi/Desktop/images/10072025/10/17/image_10072025_10_17_01_3713.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/10/23/image_10072025_10_23_02_2284.jpg', '/home/pi/Desktop/images/10072025/10/21/image_10072025_10_21_01_3372.jpg', '/home/pi/Desktop/images/10072025/10/20/image_10072025_10_20_01_7663.jpg', '/home/pi/Desktop/images/10072025/10/19/image_10072025_10_19_01_2834.jpg', '/home/pi/Desktop/images/10072025/10/18/image_10072025_10_18_01_4659.jpg', '/home/pi/Desktop/images/10072025/10/17/image_10072025_10_17_01_3713.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/10/23/image_10072025_10_23_02_2284.jpg
/home/pi/Desktop/images/10072025/10/21/image_10072025_10_21_01_3372.jpg
/home/pi/Desktop/images/10072025/10/20/image_10072025_10_20_01_7663.jpg
/home/pi/Desktop/images/10072025/10/19/image_10072025_10_19_01_2834.jpg
/home/pi/Desktop/images/10072025/10/18/image_10072025_10_18_01_4659.jpg
/home/pi/Desktop/images/10072025/10/17/image_10072025_10_17_01_3713.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371685356","1371685536","1371685190","1371685005","1371685439","1371685103"],"photo_ids_order":["1371685005","1371685103","1371685190","1371685356","1371685439","1371685536"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/5265b1d44caea1416d2aac9f361f3b5c.jpg","text":"TemporaryFile(/tmp/multipartBody9126114234158824452asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752264488121,"filename":"image_10072025_10_19_01_2834.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/6fcdbe0a828f6add319bf873c435e5f8.jpg","text":"TemporaryFile(/tmp/multipartBody6583132350492235162asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752264488121,"filename":"image_10072025_10_17_01_3713.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/54b73067cd6e335d66fa5c0e1c36849b.jpg","text":"TemporaryFile(/tmp/multipartBody2595326383476826663asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752264488121,"filename":"image_10072025_10_20_01_7663.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/f580231da6e2d4098014f2bb1c773615.jpg","text":"TemporaryFile(/tmp/multipartBody3836425507244340768asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752264488121,"filename":"image_10072025_10_23_02_2284.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/357a47213116917c8fc83bf62e3d8146.jpg","text":"TemporaryFile(/tmp/multipartBody7868232581246014196asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752264488121,"filename":"image_10072025_10_18_01_4659.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/b3a4dc6e6bb6b8492db2267d93667d73.jpg","text":"TemporaryFile(/tmp/multipartBody6942271808825311889asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752264488121,"filename":"image_10072025_10_21_01_3372.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371685190","file1":"1371685103","file0":"1371685005","file4":"1371685439","file5":"1371685536","file3":"1371685356"},"map_files_photo_id_array":[{"photo_id":"1371685536","filename":"file5"},{"photo_id":"1371685190","filename":"file2"},{"photo_id":"1371685439","filename":"file4"},{"photo_id":"1371685103","filename":"file1"},{"photo_id":"1371685005","filename":"file0"},{"photo_id":"1371685356","filename":"file3"}],"portfolio_id":24773944,"hashtag_by_photo_ids":[{"1371685356":["hashtag1","hashtag2"]},{"1371685536":["hashtag1","hashtag2"]},{"1371685190":["hashtag1","hashtag2"]},{"1371685005":["hashtag1","hashtag2"]},{"1371685439":["hashtag1","hashtag2"]},{"1371685103":["hashtag1","hashtag2"]}],"comms":"Portfolio 24773944 used, photo_id : ArrayBuffer(1371685356, 1371685536, 1371685190, 1371685005, 1371685439, 1371685103)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 60.009485960006714 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 22:09:04.263239
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/10/16/image_10072025_10_16_01_7256.jpg', 2), ('/home/pi/Desktop/images/10072025/10/15/image_10072025_10_15_01_9147.jpg', 2), ('/home/pi/Desktop/images/10072025/10/14/image_10072025_10_14_01_9370.jpg', 2), ('/home/pi/Desktop/images/10072025/10/13/image_10072025_10_13_01_7172.jpg', 2), ('/home/pi/Desktop/images/10072025/10/12/image_10072025_10_12_02_0053.jpg', 2), ('/home/pi/Desktop/images/10072025/10/11/image_10072025_10_11_02_1300.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/10/16/image_10072025_10_16_01_7256.jpg', '/home/pi/Desktop/images/10072025/10/15/image_10072025_10_15_01_9147.jpg', '/home/pi/Desktop/images/10072025/10/14/image_10072025_10_14_01_9370.jpg', '/home/pi/Desktop/images/10072025/10/13/image_10072025_10_13_01_7172.jpg', '/home/pi/Desktop/images/10072025/10/12/image_10072025_10_12_02_0053.jpg', '/home/pi/Desktop/images/10072025/10/11/image_10072025_10_11_02_1300.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/10/16/image_10072025_10_16_01_7256.jpg
/home/pi/Desktop/images/10072025/10/15/image_10072025_10_15_01_9147.jpg
/home/pi/Desktop/images/10072025/10/14/image_10072025_10_14_01_9370.jpg
/home/pi/Desktop/images/10072025/10/13/image_10072025_10_13_01_7172.jpg
/home/pi/Desktop/images/10072025/10/12/image_10072025_10_12_02_0053.jpg
/home/pi/Desktop/images/10072025/10/11/image_10072025_10_11_02_1300.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371686276","1371686330","1371686216","1371686494","1371686161","1371686422"],"photo_ids_order":["1371686161","1371686216","1371686276","1371686330","1371686422","1371686494"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/2572e6b4ba26930d8ea6cb75aa5186ba.jpg","text":"TemporaryFile(/tmp/multipartBody7075646518482023594asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752264608992,"filename":"image_10072025_10_14_01_9370.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/ecdcc3f462e132a23e41a457f0886c98.jpg","text":"TemporaryFile(/tmp/multipartBody5133062294655615786asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752264608992,"filename":"image_10072025_10_13_01_7172.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/48c52a050bddfdfa42ddc2b4dc0e5a69.jpg","text":"TemporaryFile(/tmp/multipartBody5712547135237598900asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752264608992,"filename":"image_10072025_10_15_01_9147.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/f7f4678d74517546953ae74cc02f50be.jpg","text":"TemporaryFile(/tmp/multipartBody6473087652021867141asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752264608992,"filename":"image_10072025_10_11_02_1300.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/c7a4a77b5081d79e6d4829185feec17d.jpg","text":"TemporaryFile(/tmp/multipartBody1893517892662490756asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752264608992,"filename":"image_10072025_10_16_01_7256.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/ea5584ef1651c41250c5916eacfde434.jpg","text":"TemporaryFile(/tmp/multipartBody8417240913342301693asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752264608992,"filename":"image_10072025_10_12_02_0053.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371686276","file1":"1371686216","file0":"1371686161","file4":"1371686422","file5":"1371686494","file3":"1371686330"},"map_files_photo_id_array":[{"photo_id":"1371686494","filename":"file5"},{"photo_id":"1371686276","filename":"file2"},{"photo_id":"1371686422","filename":"file4"},{"photo_id":"1371686216","filename":"file1"},{"photo_id":"1371686161","filename":"file0"},{"photo_id":"1371686330","filename":"file3"}],"portfolio_id":24773944,"hashtag_by_photo_ids":[{"1371686276":["hashtag1","hashtag2"]},{"1371686330":["hashtag1","hashtag2"]},{"1371686216":["hashtag1","hashtag2"]},{"1371686494":["hashtag1","hashtag2"]},{"1371686161":["hashtag1","hashtag2"]},{"1371686422":["hashtag1","hashtag2"]}],"comms":"Portfolio 24773944 used, photo_id : ArrayBuffer(1371686276, 1371686330, 1371686216, 1371686494, 1371686161, 1371686422)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 61.598660707473755 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 22:11:03.658008
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/10/10/image_10072025_10_10_01_8898.jpg', 2), ('/home/pi/Desktop/images/10072025/10/09/image_10072025_10_09_02_1974.jpg', 2), ('/home/pi/Desktop/images/10072025/10/08/image_10072025_10_08_01_6730.jpg', 2), ('/home/pi/Desktop/images/10072025/10/07/image_10072025_10_07_02_1123.jpg', 2), ('/home/pi/Desktop/images/10072025/10/06/image_10072025_10_06_02_3153.jpg', 2), ('/home/pi/Desktop/images/10072025/10/05/image_10072025_10_05_02_0183.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/10/10/image_10072025_10_10_01_8898.jpg', '/home/pi/Desktop/images/10072025/10/09/image_10072025_10_09_02_1974.jpg', '/home/pi/Desktop/images/10072025/10/08/image_10072025_10_08_01_6730.jpg', '/home/pi/Desktop/images/10072025/10/07/image_10072025_10_07_02_1123.jpg', '/home/pi/Desktop/images/10072025/10/06/image_10072025_10_06_02_3153.jpg', '/home/pi/Desktop/images/10072025/10/05/image_10072025_10_05_02_0183.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/10/10/image_10072025_10_10_01_8898.jpg
/home/pi/Desktop/images/10072025/10/09/image_10072025_10_09_02_1974.jpg
/home/pi/Desktop/images/10072025/10/08/image_10072025_10_08_01_6730.jpg
/home/pi/Desktop/images/10072025/10/07/image_10072025_10_07_02_1123.jpg
/home/pi/Desktop/images/10072025/10/06/image_10072025_10_06_02_3153.jpg
/home/pi/Desktop/images/10072025/10/05/image_10072025_10_05_02_0183.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371686811","1371686828","1371686804","1371686776","1371686887","1371686914"],"photo_ids_order":["1371686776","1371686804","1371686811","1371686828","1371686887","1371686914"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/4502a41d28b9cb06f30a95d010f805b4.jpg","text":"TemporaryFile(/tmp/multipartBody5693001975509820784asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752264728483,"filename":"image_10072025_10_08_01_6730.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/14886cb044cae9a43eb3f9410e84e468.jpg","text":"TemporaryFile(/tmp/multipartBody7541218346366488546asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752264728483,"filename":"image_10072025_10_07_02_1123.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/1e363dcd6570e26dd7626564288fcbc2.jpg","text":"TemporaryFile(/tmp/multipartBody5477518627640845609asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752264728483,"filename":"image_10072025_10_09_02_1974.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/e572d9f2ac14d6941c473a46ea16e2ae.jpg","text":"TemporaryFile(/tmp/multipartBody27583043778905810asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752264728483,"filename":"image_10072025_10_10_01_8898.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/1d341920af4e0c7406023bc925fc2267.jpg","text":"TemporaryFile(/tmp/multipartBody8304504315588021218asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752264728483,"filename":"image_10072025_10_06_02_3153.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/7218de86ce8a015916922078d31be3f2.jpg","text":"TemporaryFile(/tmp/multipartBody2224994429194244219asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752264728483,"filename":"image_10072025_10_05_02_0183.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371686811","file1":"1371686804","file0":"1371686776","file4":"1371686887","file5":"1371686914","file3":"1371686828"},"map_files_photo_id_array":[{"photo_id":"1371686914","filename":"file5"},{"photo_id":"1371686811","filename":"file2"},{"photo_id":"1371686887","filename":"file4"},{"photo_id":"1371686804","filename":"file1"},{"photo_id":"1371686776","filename":"file0"},{"photo_id":"1371686828","filename":"file3"}],"portfolio_id":24773944,"hashtag_by_photo_ids":[{"1371686811":["hashtag1","hashtag2"]},{"1371686828":["hashtag1","hashtag2"]},{"1371686804":["hashtag1","hashtag2"]},{"1371686776":["hashtag1","hashtag2"]},{"1371686887":["hashtag1","hashtag2"]},{"1371686914":["hashtag1","hashtag2"]}],"comms":"Portfolio 24773944 used, photo_id : ArrayBuffer(1371686811, 1371686828, 1371686804, 1371686776, 1371686887, 1371686914)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 60.23966312408447 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 22:13:04.046167
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/10/04/image_10072025_10_04_01_2289.jpg', 2), ('/home/pi/Desktop/images/10072025/10/03/image_10072025_10_03_01_2999.jpg', 2), ('/home/pi/Desktop/images/10072025/10/02/image_10072025_10_02_01_6378.jpg', 2), ('/home/pi/Desktop/images/10072025/10/01/image_10072025_10_01_02_0564.jpg', 2), ('/home/pi/Desktop/images/10072025/09/58/image_10072025_09_58_01_4632.jpg', 2), ('/home/pi/Desktop/images/10072025/09/57/image_10072025_09_57_02_1553.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/10/04/image_10072025_10_04_01_2289.jpg', '/home/pi/Desktop/images/10072025/10/03/image_10072025_10_03_01_2999.jpg', '/home/pi/Desktop/images/10072025/10/02/image_10072025_10_02_01_6378.jpg', '/home/pi/Desktop/images/10072025/10/01/image_10072025_10_01_02_0564.jpg', '/home/pi/Desktop/images/10072025/09/58/image_10072025_09_58_01_4632.jpg', '/home/pi/Desktop/images/10072025/09/57/image_10072025_09_57_02_1553.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/10/04/image_10072025_10_04_01_2289.jpg
/home/pi/Desktop/images/10072025/10/03/image_10072025_10_03_01_2999.jpg
/home/pi/Desktop/images/10072025/10/02/image_10072025_10_02_01_6378.jpg
/home/pi/Desktop/images/10072025/10/01/image_10072025_10_01_02_0564.jpg
/home/pi/Desktop/images/10072025/09/58/image_10072025_09_58_01_4632.jpg
/home/pi/Desktop/images/10072025/09/57/image_10072025_09_57_02_1553.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371687402","1371687692","1371687536","1371687481","1371687643","1371687601"],"photo_ids_order":["1371687402","1371687481","1371687536","1371687601","1371687643","1371687692"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/ea51fdd456fa13c2de83604b809bbdb7.jpg","text":"TemporaryFile(/tmp/multipartBody3316539182500414286asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752264848810,"filename":"image_10072025_10_04_01_2289.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/47ab26dfaebec68725eff70f34ff00c2.jpg","text":"TemporaryFile(/tmp/multipartBody4311479567203866718asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752264848810,"filename":"image_10072025_09_57_02_1553.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/a2309dc9b8c0afaf551877ea9afdbebb.jpg","text":"TemporaryFile(/tmp/multipartBody3505266411213500473asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752264848810,"filename":"image_10072025_10_02_01_6378.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/a47d5d57b2e2ad544620bab9509c5a07.jpg","text":"TemporaryFile(/tmp/multipartBody8091387485702481024asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752264848810,"filename":"image_10072025_10_03_01_2999.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/f5ce4d0d7a0e8e82e0af80723e9c979b.jpg","text":"TemporaryFile(/tmp/multipartBody6136201231076931911asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752264848810,"filename":"image_10072025_09_58_01_4632.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/44aec46f3acfd46b25a2118f781a85c1.jpg","text":"TemporaryFile(/tmp/multipartBody1698341311419764659asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752264848810,"filename":"image_10072025_10_01_02_0564.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371687536","file1":"1371687481","file0":"1371687402","file4":"1371687643","file5":"1371687692","file3":"1371687601"},"map_files_photo_id_array":[{"photo_id":"1371687692","filename":"file5"},{"photo_id":"1371687536","filename":"file2"},{"photo_id":"1371687643","filename":"file4"},{"photo_id":"1371687481","filename":"file1"},{"photo_id":"1371687402","filename":"file0"},{"photo_id":"1371687601","filename":"file3"}],"portfolio_id":24773944,"hashtag_by_photo_ids":[{"1371687402":["hashtag1","hashtag2"]},{"1371687692":["hashtag1","hashtag2"]},{"1371687536":["hashtag1","hashtag2"]},{"1371687481":["hashtag1","hashtag2"]},{"1371687643":["hashtag1","hashtag2"]},{"1371687601":["hashtag1","hashtag2"]}],"comms":"Portfolio 24773944 used, photo_id : ArrayBuffer(1371687402, 1371687692, 1371687536, 1371687481, 1371687643, 1371687601)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 73.07474040985107 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 22:15:03.362101
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
in upload_photo_and_update_logs, uploading 6 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/09/56/image_10072025_09_56_01_9263.jpg', 2), ('/home/pi/Desktop/images/10072025/09/55/image_10072025_09_55_01_6601.jpg', 2), ('/home/pi/Desktop/images/10072025/09/54/image_10072025_09_54_01_6437.jpg', 2), ('/home/pi/Desktop/images/10072025/09/53/image_10072025_09_53_02_0855.jpg', 2), ('/home/pi/Desktop/images/10072025/09/52/image_10072025_09_52_01_8321.jpg', 2), ('/home/pi/Desktop/images/10072025/09/51/image_10072025_09_51_02_1085.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/09/56/image_10072025_09_56_01_9263.jpg', '/home/pi/Desktop/images/10072025/09/55/image_10072025_09_55_01_6601.jpg', '/home/pi/Desktop/images/10072025/09/54/image_10072025_09_54_01_6437.jpg', '/home/pi/Desktop/images/10072025/09/53/image_10072025_09_53_02_0855.jpg', '/home/pi/Desktop/images/10072025/09/52/image_10072025_09_52_01_8321.jpg', '/home/pi/Desktop/images/10072025/09/51/image_10072025_09_51_02_1085.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/09/56/image_10072025_09_56_01_9263.jpg
/home/pi/Desktop/images/10072025/09/55/image_10072025_09_55_01_6601.jpg
/home/pi/Desktop/images/10072025/09/54/image_10072025_09_54_01_6437.jpg
/home/pi/Desktop/images/10072025/09/53/image_10072025_09_53_02_0855.jpg
/home/pi/Desktop/images/10072025/09/52/image_10072025_09_52_01_8321.jpg
/home/pi/Desktop/images/10072025/09/51/image_10072025_09_51_02_1085.jpg
 val : 1 : upload photos already in processing! 
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371689545","1371689652","1371689376","1371688968","1371689244","1371689099"],"photo_ids_order":["1371688968","1371689099","1371689244","1371689376","1371689545","1371689652"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/0d719b668f98508e3e33e01d2054f32e.jpg","text":"TemporaryFile(/tmp/multipartBody2388811063397000726asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752264968140,"filename":"image_10072025_09_52_01_8321.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/9222a9b214dff5ee6234ba5ab7e8a3ad.jpg","text":"TemporaryFile(/tmp/multipartBody33995092029155120asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752264968140,"filename":"image_10072025_09_51_02_1085.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/49a4c94dbeeedeb53b4ac2d2c00277ab.jpg","text":"TemporaryFile(/tmp/multipartBody2777910976045936877asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752264968140,"filename":"image_10072025_09_53_02_0855.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/9626ea826c968af628264f6196b4a2d5.jpg","text":"TemporaryFile(/tmp/multipartBody3095204202786426960asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752264968140,"filename":"image_10072025_09_56_01_9263.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/75750743356c197bb27d4c6dd1b1843b.jpg","text":"TemporaryFile(/tmp/multipartBody9142045521526144250asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752264968140,"filename":"image_10072025_09_54_01_6437.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/bd025a5e45515553ffd2a9ed232606f7.jpg","text":"TemporaryFile(/tmp/multipartBody4506134540283746342asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752264968140,"filename":"image_10072025_09_55_01_6601.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371689244","file1":"1371689099","file0":"1371688968","file4":"1371689545","file5":"1371689652","file3":"1371689376"},"map_files_photo_id_array":[{"photo_id":"1371689652","filename":"file5"},{"photo_id":"1371689244","filename":"file2"},{"photo_id":"1371689545","filename":"file4"},{"photo_id":"1371689099","filename":"file1"},{"photo_id":"1371688968","filename":"file0"},{"photo_id":"1371689376","filename":"file3"}],"portfolio_id":24773944,"hashtag_by_photo_ids":[{"1371689545":["hashtag1","hashtag2"]},{"1371689652":["hashtag1","hashtag2"]},{"1371689376":["hashtag1","hashtag2"]},{"1371688968":["hashtag1","hashtag2"]},{"1371689244":["hashtag1","hashtag2"]},{"1371689099":["hashtag1","hashtag2"]}],"comms":"Portfolio 24773944 used, photo_id : ArrayBuffer(1371689545, 1371689652, 1371689376, 1371688968, 1371689244, 1371689099)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 6 photos
time to upload: 61.97040343284607 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 22:17:03.241318
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
  port_id : 24773944
  datou_current_id : 3262187
in upload_from_sqlite, uploading in 24773944
in upload_photo_and_update_logs, uploading 4 files
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/10072025/09/50/image_10072025_09_50_01_6704.jpg', 2), ('/home/pi/Desktop/images/10072025/09/49/image_10072025_09_49_02_1978.jpg', 2), ('/home/pi/Desktop/images/10072025/09/48/image_10072025_09_48_01_4944.jpg', 2), ('/home/pi/Desktop/images/10072025/09/47/image_10072025_09_47_01_8377.jpg', 2)]
in upload media
 Upload medias :  ['/home/pi/Desktop/images/10072025/09/50/image_10072025_09_50_01_6704.jpg', '/home/pi/Desktop/images/10072025/09/49/image_10072025_09_49_02_1978.jpg', '/home/pi/Desktop/images/10072025/09/48/image_10072025_09_48_01_4944.jpg', '/home/pi/Desktop/images/10072025/09/47/image_10072025_09_47_01_8377.jpg'] : url : https://marlene.fotonower.com/api/v1/secured/photo/upload?token=035006c8a8acff541e6b264f3a90e0b8&datou_current_id=3262187&datou=0
/home/pi/Desktop/images/10072025/09/50/image_10072025_09_50_01_6704.jpg
/home/pi/Desktop/images/10072025/09/49/image_10072025_09_49_02_1978.jpg
/home/pi/Desktop/images/10072025/09/48/image_10072025_09_48_01_4944.jpg
/home/pi/Desktop/images/10072025/09/47/image_10072025_09_47_01_8377.jpg
after data_to_send, before sending request
after request
<Response [200]>
b'{"photo_ids":["1371690668","1371690727","1371690690","1371690612"],"photo_ids_order":["1371690612","1371690668","1371690690","1371690727"],"photo_detail":[{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/d6e23de131b85291ced3ec7ed2c076e7.jpg","text":"TemporaryFile(/tmp/multipartBody5564896042404536914asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752265086767,"filename":"image_10072025_09_49_02_1978.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/e4a8bdc1c5bcedd43eb004cbcf4d3c55.jpg","text":"TemporaryFile(/tmp/multipartBody4349220708402785476asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752265086767,"filename":"image_10072025_09_47_01_8377.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/9b6176e2f63f005df38062be3cfc7454.jpg","text":"TemporaryFile(/tmp/multipartBody1378332478872047317asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752265086767,"filename":"image_10072025_09_48_01_4944.jpg","height":0,"width":0},{"mtr_user_id":739,"url":"https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/7/11/c27f190ede59cf2e2c25d35af7e67e04.jpg","text":"TemporaryFile(/tmp/multipartBody2020532784680421612asTemporaryFile)","latitude":0.0,"longitude":0.0,"uploaded_at":1752265086767,"filename":"image_10072025_09_50_01_6704.jpg","height":0,"width":0}],"map_files_photo_id":{"file2":"1371690690","file1":"1371690668","file0":"1371690612","file3":"1371690727"},"map_files_photo_id_array":[{"photo_id":"1371690690","filename":"file2"},{"photo_id":"1371690668","filename":"file1"},{"photo_id":"1371690612","filename":"file0"},{"photo_id":"1371690727","filename":"file3"}],"portfolio_id":24773944,"hashtag_by_photo_ids":[{"1371690668":["hashtag1","hashtag2"]},{"1371690727":["hashtag1","hashtag2"]},{"1371690690":["hashtag1","hashtag2"]},{"1371690612":["hashtag1","hashtag2"]}],"comms":"Portfolio 24773944 used, photo_id : ArrayBuffer(1371690668, 1371690727, 1371690690, 1371690612)","result":[],"list_datou_current":[]}'
Result OK !
uploaded 4 photos
time to upload: 44.64852523803711 secondes ---
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 22:18:03.611089
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 22:19:03.713202
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 22:20:02.900738
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 22:21:03.743062
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 22:22:03.055133
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 22:23:04.119285
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 22:24:03.686172
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 22:25:06.145123
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 22:26:02.990500
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 22:27:03.846638
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 22:28:03.172479
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 22:29:03.918213
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 22:30:03.350531
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 22:31:03.196805
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 22:32:02.738656
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 22:33:03.672387
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 22:34:02.891534
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 22:35:03.787796
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 22:36:03.521217
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 22:37:03.367993
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 22:38:02.763286
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 22:39:03.687913
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 1 files
1 photos no longer on disk
no photos to upload
time to upload: 0.31406307220458984 secondes ---
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 377, in upload_from_sqlite
    upload_photo_and_update_logs(files, lsr, port_id, datou_current_id, fc, hashtags = hashtags, verbose = verbose, nb_batch= nb_batch,batch_size=limit)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 74, in upload_photo_and_update_logs
    logger.info("no_longer_on_disk_list:",no_longer_on_disk_list)
Message: 'no_longer_on_disk_list:'
Arguments: (['/home/pi/Desktop/images/11072025/22/40/image_11072025_22_40_01_7454.jpg'],)
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/22/40/image_11072025_22_40_01_7454.jpg', 2)]
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 22:40:03.696403
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 22:41:03.663058
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 22:42:02.851684
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 22:43:03.662540
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 22:44:02.965775
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 22:45:03.875489
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 22:46:03.190352
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 22:47:04.048064
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 22:48:02.779233
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 22:49:03.493690
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 22:50:02.801326
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 22:51:03.640117
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 22:52:02.809671
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 22:53:03.579408
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 22:54:03.068082
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 22:55:03.903989
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 22:56:03.331152
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 22:57:03.211914
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 22:59:03.482363
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 23:00:02.764861
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 23:01:03.730726
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 23:02:03.099306
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 23:03:03.915818
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 23:04:03.042759
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 23:05:04.046816
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 23:06:03.341639
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 23:07:03.019205
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 23:08:02.946147
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 23:09:03.863098
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 23:10:03.182417
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 23:11:04.097722
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 23:12:02.794519
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 23:13:03.549277
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 23:14:02.874745
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 23:15:03.639695
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 23:16:02.925916
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 23:17:04.077481
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 23:18:03.415412
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 23:19:03.462294
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 23:20:03.394857
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 23:21:03.381256
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 23:22:02.768126
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 23:23:03.799163
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 23:24:03.187524
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 23:25:06.714313
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 23:26:03.536659
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 23:27:04.005538
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 23:28:03.417007
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 23:29:03.219746
  port_id : 24815670
  datou_current_id : 3267800
in upload_from_sqlite, uploading in 24815670
in upload_photo_and_update_logs, uploading 1 files
1 photos no longer on disk
no photos to upload
time to upload: 0.3277401924133301 secondes ---
--- Logging error ---
Traceback (most recent call last):
  File "/usr/lib/python3.7/logging/__init__.py", line 1034, in emit
    msg = self.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 880, in format
    return fmt.format(record)
  File "/usr/lib/python3.7/logging/__init__.py", line 619, in format
    record.message = record.getMessage()
  File "/usr/lib/python3.7/logging/__init__.py", line 380, in getMessage
    msg = msg % self.args
TypeError: not all arguments converted during string formatting
Call stack:
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 627, in <module>
    limit=x.limit_upload, status=status, order=x.order, verbose=verbose,nb_batch=x.nb_batch_upload)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 377, in upload_from_sqlite
    upload_photo_and_update_logs(files, lsr, port_id, datou_current_id, fc, hashtags = hashtags, verbose = verbose, nb_batch= nb_batch,batch_size=limit)
  File "/home/pi/workarea/git/raspi-fotonower-x/python/upload_photos.py", line 74, in upload_photo_and_update_logs
    logger.info("no_longer_on_disk_list:",no_longer_on_disk_list)
Message: 'no_longer_on_disk_list:'
Arguments: (['/home/pi/Desktop/images/11072025/23/30/image_11072025_23_30_01_2292.jpg'],)
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
error upload
[('/home/pi/Desktop/images/11072025/23/30/image_11072025_23_30_01_2292.jpg', 2)]
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 23:30:03.540147
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 23:31:03.290086
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 23:32:02.737428
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 23:33:03.848584
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 23:34:02.975430
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 23:35:03.785931
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 23:36:03.195938
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 23:37:04.146402
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 23:38:03.380711
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 23:39:03.322464
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 23:40:03.498894
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 23:41:03.460295
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 23:42:03.491273
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 23:43:03.172065
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 23:44:02.721964
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 23:45:03.586323
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 23:46:02.906522
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 23:47:03.858689
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 23:48:02.972629
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 23:49:03.893586
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 23:50:03.379381
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 23:51:03.254402
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 23:52:03.707611
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 23:53:03.328589
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 23:54:02.891323
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 23:55:03.734788
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 23:56:03.123292
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
Start to upload photos with parameters : -n test_valcor_dechet_0325_48MP -o DESC -u marlene.fotonower.com -P https -f /home/pi/Desktop/images -t 035006c8a8acff541e6b264f3a90e0b8 --datou_id=0 --threshold=60 -j upload_by_sql_test -v --interval 10 --last_days 30 --status_upload 2
2025-07-11 23:57:04.060093
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 11062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 12062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 13062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 14062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 15062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 16062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 17062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 18062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 19062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 20062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 21062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 22062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 23062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 24062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 25062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 26062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 27062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 28062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 29062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 30062025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 01072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 02072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 03072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 04072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 05072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 06072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 07072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 08072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 09072025
we dont have photos to upload , we try to find old photos to upload, we are looking for photos on 10072025
we dont have any photos to upload
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250711 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250611 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250612 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250613 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250614 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250615 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250616 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250617 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250618 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250619 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250620 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250621 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250622 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250623 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250624 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250625 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250626 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250627 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250628 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250629 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250630 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250701 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250702 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250703 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250704 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250705 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250706 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250707 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250708 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250709 ORDER BY id_local DESC LIMIT 6;
SELECT filename, to_upload FROM mra_photos  WHERE to_upload in (2, 2)   AND day_taken_at = 20250710 ORDER BY id_local DESC LIMIT 6;
